/* Public Ferrari-inspired account platform */
:root {
  --page-width: 1160px;
  --app-gutter: clamp(16px, 4vw, 44px);
  --panel: linear-gradient(
    145deg,
    rgba(25, 25, 29, 0.96),
    rgba(15, 15, 18, 0.98)
  );
  --panel-soft: rgba(255, 255, 255, 0.035);
  --shadow-deep: 0 24px 70px rgba(0, 0, 0, 0.42);
  --line-red: rgba(227, 6, 19, 0.42);
  --car-hero: url("https://images.unsplash.com/photo-1583121274602-3e2820c69888?auto=format&fit=crop&w=1800&q=85");
}

body {
  background:
    radial-gradient(
      ellipse at 75% -20%,
      rgba(227, 6, 19, 0.13),
      transparent 42%
    ),
    linear-gradient(180deg, #0a0a0c, #101014 58%, #09090b);
}

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
}

h1,
h2,
h3,
.fieldmark-title,
.dashboard-brand,
.product-page-header,
.records-header,
.team-reward-header,
.withdraw-header-fixed,
.recharge-header-strip {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.honda-auth-container {
  position: relative;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden auto;
  padding: max(22px, env(safe-area-inset-top)) 18px
    max(22px, env(safe-area-inset-bottom));
  background: #09090b;
}

.honda-auth-container::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 9, 0.92), rgba(7, 7, 9, 0.34)),
    linear-gradient(0deg, #09090b, transparent 62%),
    var(--car-hero) center 47% / cover;
  content: "";
  opacity: 0.72;
}

.honda-auth-container::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 7px,
    rgba(255, 255, 255, 0.018) 8px 9px
  );
  content: "";
  pointer-events: none;
}

.fieldmark-card {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  padding: 0 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 2px solid var(--red);
  border-radius: 8px;
  background: rgba(13, 13, 16, 0.91);
  box-shadow:
    var(--shadow-deep),
    0 0 35px rgba(227, 6, 19, 0.12);
  backdrop-filter: blur(18px);
}

body.drive-intro-active {
  overflow: hidden;
}

.auth-hero {
  position: relative;
  height: 155px;
  margin: 0 -30px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.12), rgba(9, 9, 11, 0.65)),
    var(--car-hero) center 55% / cover;
}

.auth-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 65%;
  background: linear-gradient(0deg, rgba(13, 13, 16, 0.98), transparent);
  content: "";
}

.auth-hero > img,
.auth-hero-wash {
  display: none !important;
}

.fieldmark-logo-wrapper {
  position: absolute;
  z-index: 1;
  left: 30px;
  bottom: 15px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 242, 0, 0.7);
  border-radius: 6px;
  background: linear-gradient(145deg, #e30613, #72050b);
  color: #fff;
  font-family: var(--display);
  font-size: 30px;
  font-style: italic;
  font-weight: 800;
}

.fieldmark-logo-wrapper::after {
  content: none;
}

.auth-logo-mark {
  color: #fff;
  font-family: var(--display);
  font-size: 30px;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.fieldmark-logo-wrapper img {
  display: none !important;
}

.fieldmark-header {
  margin-bottom: 22px;
}

.auth-panel-kicker,
.product-page-kicker,
.cockpit-kicker,
.recharge-header-kicker,
.vault-kicker {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fieldmark-title {
  margin: 0;
  color: #fff;
  font-size: 38px;
  line-height: 0.98;
}

.fieldmark-form {
  display: grid;
  gap: 16px;
}

.fieldmark-input-group {
  display: grid;
  gap: 7px;
}

.fieldmark-input-group label,
.recharge-field-label,
.honda-input-label {
  color: #cbcbd2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.fieldmark-field-box,
.recharge-custom-box,
.withdraw-input-box-ev,
.honda-bank-form input,
.honda-bank-form select,
.driver-password-field input,
.login-box input,
input,
select,
textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #141419;
  color: #fff;
}

.fieldmark-field-box {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 0 9px 0 12px;
}

.fieldmark-field-box:focus-within,
.recharge-custom-box:focus-within,
.withdraw-input-box-ev:focus-within,
.honda-bank-form input:focus,
.honda-bank-form select:focus,
.driver-password-field:focus-within,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--red-hot);
  box-shadow:
    0 0 0 3px rgba(255, 40, 0, 0.12),
    0 0 20px rgba(255, 40, 0, 0.1);
}

.fieldmark-field-box input,
.recharge-custom-box input,
.withdraw-input-box-ev input,
.honda-bank-form input,
.honda-bank-form select,
.driver-password-field input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
}

.fieldmark-field-box input {
  flex: 1 1 auto;
  min-height: 46px;
  padding: 0;
}

.auth-submit-spinner {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-submit-spin 700ms linear infinite;
}

.fieldmark-btn-submit:disabled {
  cursor: wait;
  filter: saturate(0.7);
  opacity: 0.78;
  transform: none;
}

.honda-auth-container.active .fieldmark-card {
  animation: auth-card-in 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes auth-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes auth-card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.phone-country-code {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
  color: #f4f4f6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.phone-country-name {
  color: #a5a5af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

input::placeholder,
textarea::placeholder {
  color: #73737e;
}

.eye-toggle,
.fieldmark-link-btn {
  color: #ff6b63;
}

.fieldmark-field-box .eye-toggle {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px !important;
  background: rgba(255, 255, 255, 0.035);
  color: #c3c0c8;
  cursor: pointer;
}

.fieldmark-field-box .eye-toggle:hover,
.fieldmark-field-box .eye-toggle.active {
  border-color: rgba(227, 6, 19, 0.42);
  background: rgba(227, 6, 19, 0.12);
  color: #ff716a;
}

.fieldmark-btn-submit,
.primary-gradient-btn,
#withdrawSubmitBtn,
.claim-bonus-btn,
.mx-invest-btn,
.honda-submit-btn,
.driver-save-button,
.purchase-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: linear-gradient(105deg, #e30613, #b0000c 72%, #79050b);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.22);
  cursor: pointer;
  transition:
    filter 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.fieldmark-btn-submit:hover,
.primary-gradient-btn:hover,
#withdrawSubmitBtn:hover,
.claim-bonus-btn:hover:not(:disabled),
.mx-invest-btn:hover,
.honda-submit-btn:hover,
.purchase-btn:hover {
  filter: brightness(1.13);
  box-shadow: 0 12px 30px rgba(227, 6, 19, 0.36);
  transform: translateY(-1px);
}

.fieldmark-btn-submit:disabled,
.claim-bonus-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.fieldmark-switch-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 12px;
}

.fieldmark-link-btn {
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

/* Authenticated dashboard */
.dashboard {
  width: 100%;
  padding-bottom: 112px;
  background: transparent;
}

.dashboard-topbar {
  position: sticky;
  z-index: 500;
  top: 0;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(var(--app-gutter), env(safe-area-inset-right)) 0
    max(var(--app-gutter), env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(18px);
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 23px;
  text-decoration: none;
}

.dashboard-brand-mark {
  display: grid;
  width: 34px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 242, 0, 0.6);
  border-radius: 5px;
  background: linear-gradient(145deg, #e30613, #70040a);
  font-size: 25px;
  font-style: italic;
  line-height: 1;
}

.dashboard-notification-btn {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  cursor: pointer;
}

.dashboard-notification-btn:hover {
  border-color: var(--line-red);
  color: var(--red-hot);
}

.dashboard-notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-hot);
}

.telegram-welcome-modal {
  position: fixed;
  z-index: 2500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.telegram-welcome-modal[hidden] {
  display: none;
}

.telegram-welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 5, 0.78);
  backdrop-filter: blur(8px);
  animation: telegramBackdropIn 180ms ease both;
}

.telegram-welcome-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: clamp(28px, 7vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--red-hot);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(227, 6, 19, 0.16), transparent 55%),
    #141418;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  text-align: center;
  animation: telegramDialogIn 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.telegram-welcome-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.telegram-welcome-close:hover {
  border-color: var(--line-red);
  color: #fff;
}

.telegram-welcome-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(42, 171, 238, 0.32);
  border-radius: 20px;
  background: rgba(42, 171, 238, 0.12);
  color: #36aeea;
  font-size: 32px;
}

.telegram-welcome-kicker {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.telegram-welcome-dialog h2 {
  margin: 10px 0;
  color: #fff;
  font-size: clamp(30px, 7vw, 38px);
  line-height: 1;
}

.telegram-welcome-dialog p {
  margin: 0 auto 24px;
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
}

.telegram-welcome-join {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(42, 171, 238, 0.65);
  border-radius: 999px;
  background: linear-gradient(110deg, #229ed9, #1687c4);
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.22);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.telegram-welcome-join[hidden] {
  display: none;
}

.telegram-welcome-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(34, 158, 217, 0.34);
}

.telegram-welcome-channel {
  margin-top: 10px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.telegram-welcome-channel:hover {
  border-color: rgba(42, 171, 238, 0.55);
  background: rgba(42, 171, 238, 0.1);
  box-shadow: 0 10px 26px rgba(34, 158, 217, 0.12);
}

.telegram-welcome-later {
  margin-top: 14px;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.telegram-welcome-later:hover {
  color: #fff;
}

@keyframes telegramBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes telegramDialogIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .telegram-welcome-backdrop,
  .telegram-welcome-dialog {
    animation: none;
  }

  .telegram-welcome-join {
    transition: none;
  }
}

.flyer-container {
  display: none !important;
}

.dashboard .main-container {
  width: min(calc(100% - 2 * var(--app-gutter)), var(--page-width));
  margin: 24px auto 0;
  padding-bottom: 0;
}

.dashboard-cockpit {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: 7px;
  background:
    linear-gradient(125deg, rgba(227, 6, 19, 0.06), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow-deep);
}

.dashboard-hero {
  position: relative;
  display: flex;
  min-height: clamp(300px, 42vw, 470px);
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 2px solid var(--red-hot);
  border-radius: var(--radius);
  background: #17171b;
  box-shadow:
    var(--shadow-deep),
    0 0 34px rgba(227, 6, 19, 0.1);
  isolation: isolate;
}

.dashboard-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  animation: heroCarReveal 800ms ease both;
}

.dashboard-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 7, 9, 0.94) 0%,
      rgba(7, 7, 9, 0.62) 42%,
      rgba(7, 7, 9, 0.06) 100%
    ),
    linear-gradient(0deg, rgba(7, 7, 9, 0.93), transparent 56%);
  content: "";
}

.dashboard-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 8px,
    rgba(255, 255, 255, 0.015) 9px 10px
  );
  content: "";
  pointer-events: none;
}

.dashboard-hero-content {
  width: min(100%, 640px);
  padding: clamp(24px, 5vw, 54px);
}

.dashboard-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-hero-kicker::before {
  width: 19px;
  height: 2px;
  background: var(--red-hot);
  content: "";
}

.dashboard-hero h1 {
  max-width: 600px;
  margin: 13px 0 18px;
  color: #fff;
  font-size: clamp(42px, 7.4vw, 82px);
  line-height: 0.88;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45);
}

.dashboard-hero h1 span {
  display: block;
  color: var(--red-hot);
}

.hero-balance-label {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-balance-value {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dashboard-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 650px;
}

.dashboard-wallet-balance {
  min-width: 0;
}

.dashboard-wallet-balance + .dashboard-wallet-balance {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.dashboard-wallet-balance .hero-balance-label {
  letter-spacing: 0.09em;
}

.dashboard-wallet-balance .hero-balance-label small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.dashboard-wallet-balance .hero-balance-value {
  display: block;
  margin-top: 6px;
  font-size: clamp(24px, 4vw, 38px);
}

.profile-withdrawal-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.profile-withdrawal-balance strong {
  color: #fff;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.cockpit-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cockpit-header-row h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.cockpit-live-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid rgba(129, 211, 155, 0.24);
  border-radius: 4px;
  background: rgba(129, 211, 155, 0.06);
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cockpit-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-card.metric-gauge {
  position: relative;
  display: flex;
  min-height: 142px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(145deg, #1c1c20, #121216);
}

.metric-card.metric-gauge::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--red);
  content: "";
}

.metric-gauge-dial {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: conic-gradient(
    from 225deg,
    var(--red) 0 36%,
    rgba(255, 255, 255, 0.08) 36% 100%
  );
  opacity: 0.9;
}

.metric-gauge-dial::after {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: #151518;
  content: "";
}

.metric-gauge-needle {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 23px;
  width: 2px;
  height: 15px;
  border-radius: 2px;
  background: var(--yellow);
  transform: rotate(39deg);
  transform-origin: bottom;
}

.metric-gauge-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
}

.metric-label,
.metric-gauge-copy small {
  color: var(--muted);
  font-size: 10px;
}

.metric-gauge-copy strong {
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cockpit-data-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding-top: 17px;
  margin-top: 15px;
  border-top: 1px solid var(--line);
}

.cockpit-data-strip > div {
  display: grid;
  gap: 2px;
}

.cockpit-data-strip > div span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.cockpit-data-strip > div strong {
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
}

.cockpit-data-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.cockpit-data-status i,
.cockpit-live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(129, 211, 155, 0.55);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.action-grid .action-card {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(110deg, #1b1b1f, #121216);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.action-grid .action-card:hover {
  border-color: var(--line-red);
  background: linear-gradient(110deg, #261719, #141216);
  transform: translateY(-2px);
}

.action-grid .action-card > div:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.23);
  border-radius: 5px;
  background: rgba(227, 6, 19, 0.12);
  color: #ff5146;
}

.action-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.action-caption {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.active-tag.is-completed {
  border-color: rgba(174, 174, 185, 0.2);
  background: rgba(174, 174, 185, 0.08);
  color: #c2c1ca;
}

.action-text {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.action-chevron {
  margin-left: auto;
  color: #777780;
  font-size: 10px;
}

.gift-code-fab {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(227, 6, 19, 0.28);
  cursor: pointer;
}

.gift-code-fab {
  position: fixed;
  z-index: 600;
  right: max(22px, env(safe-area-inset-right));
  bottom: 105px;
}

/* Model collection */
.garage-showcase {
  padding: 24px 0 5px;
}

.garage-showcase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.garage-showcase-header h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.garage-showcase-header a {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.garage-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.garage-model-card {
  position: relative;
  display: flex;
  min-height: 190px;
  align-items: end;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(0deg, rgba(8, 8, 10, 0.28), rgba(8, 8, 10, 0.02) 72%),
    url("https://images.unsplash.com/photo-1592198084033-aade902d1aae?auto=format&fit=crop&w=1200&q=85")
      center 52% / cover;
  color: #fff;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}

.garage-model-card:nth-child(2) {
  background-position: 67% center;
}

.garage-model-card:nth-child(3) {
  background-position: 32% center;
}

.garage-model-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(8, 8, 10, 0.96),
    rgba(8, 8, 10, 0.02) 78%
  );
  content: "";
  transition: background 180ms ease;
}

.garage-model-card:hover {
  border-color: var(--line-red);
}

.garage-model-card > span {
  display: grid;
  gap: 2px;
}

.garage-model-card small {
  color: var(--yellow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.garage-model-card strong {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}

/* Product plans */
.product-page,
.profile-page,
.bank-page,
.recharge-page,
.records-page,
.withdraw-page,
.invite-page,
.investment-page,
#earningsPage,
.team-reward-page {
  width: 100%;
  margin-inline: auto;
  padding-bottom: max(36px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 50% 0, rgba(227, 6, 19, 0.09), transparent 36%),
    #0a0a0c;
}

.product-page-header,
.records-header,
.bank-header,
.withdraw-header-fixed,
.recharge-header-strip,
.investment-header,
.team-reward-header,
.invite-header-fixed-v2 {
  position: sticky;
  z-index: 500;
  top: 0;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 10px max(var(--app-gutter), env(safe-area-inset-right)) 10px
    max(var(--app-gutter), env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(16px);
}

.product-page-header {
  justify-content: space-between;
}

.product-page-header h1,
.records-header h2,
.investment-header h2,
.withdraw-header-fixed h2,
.team-reward-header h1 {
  margin: 0;
  color: #fff;
  font-size: 25px;
}

.active-investments-btn,
.history-btn,
.records-back-btn,
.bank-back-btn,
.withdraw-back-btn-v2,
.recharge-back-btn-v2,
.investment-back-btn,
.invite-back-btn-v2,
.team-reward-header > button,
.back-btn-white {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-soft);
  color: #fff;
  cursor: pointer;
}

.active-investments-btn {
  display: inline-flex;
  width: auto;
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.product-hero-banner {
  position: relative;
  display: flex;
  width: min(calc(100% - 2 * var(--app-gutter)), var(--page-width));
  min-height: 210px;
  align-items: end;
  overflow: hidden;
  margin: 18px auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--car-hero) center 55% / cover;
  isolation: isolate;
}

.product-hero-banner::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.9), rgba(8, 8, 10, 0.08)),
    linear-gradient(0deg, rgba(8, 8, 10, 0.82), transparent 75%);
  content: "";
}

.product-hero-banner > img,
.product-hero-shade {
  display: none !important;
}

.product-hero-copy {
  display: grid;
  gap: 5px;
  max-width: 560px;
  padding: 22px;
}

.product-hero-copy span,
.product-page-kicker {
  color: var(--yellow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.product-hero-copy strong {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(27px, 5vw, 40px);
  line-height: 0.98;
}

.product-summary-row,
.product-list-heading,
.product-page-list {
  width: min(calc(100% - 2 * var(--app-gutter)), var(--page-width));
  margin-inline: auto;
}

.product-summary-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.product-summary-row > div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
}

.product-summary-row span,
.product-summary-row > div > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.product-summary-row strong {
  color: #fff;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1;
}

.product-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 12px;
}

.product-list-heading h2 {
  margin: 0;
  font-size: 25px;
}

.product-list-heading > span {
  color: var(--muted);
  font-size: 10px;
}

.product-list-container,
#dynamicProductList {
  width: 100%;
}

.mx-product-card {
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 7px !important;
  background: var(--panel) !important;
  box-shadow: var(--shadow-deep) !important;
}

.mx-card-header,
.team-reward-summary div {
  background: linear-gradient(110deg, #79060b, #e30613 60%, #8d050d) !important;
}

.mx-plan-name,
.mx-main-price,
.mx-info-value,
.mx-info-label,
.mx-price-label,
.product-page-header h1,
.product-list-heading h2,
.investment-sub-header h1,
.investment-header h2 {
  color: #fff !important;
}

.mx-info-value,
.mx-earnings-val,
.reward-row strong,
.team-reward-summary strong {
  color: var(--yellow) !important;
}

/* Profile */
.profile-page .profile-top-section {
  padding: 22px var(--app-gutter);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(140deg, #17171b, #0a0a0c 72%);
}

.profile-page .profile-header-row,
.profile-page .profile-intro-row,
.driver-status-strip,
.driver-telemetry-grid {
  width: min(100%, 900px);
  margin-inline: auto;
}

.profile-page .profile-brand-logo {
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
}

.profile-page .profile-status-badge,
.driver-membership-rank,
.driver-joined-date {
  color: var(--muted);
}

.profile-page .profile-intro-row {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
}

.profile-page .profile-avatar {
  overflow: hidden;
  border: 2px solid rgba(227, 6, 19, 0.6);
  border-radius: 6px;
  background: #18181d;
}

.profile-page .profile-avatar-image {
  display: none;
}

.profile-page .honda-user-meta h2 {
  color: #fff;
  font-family: var(--display);
  font-size: 27px;
}

.profile-page .honda-main-card {
  width: min(100%, 900px);
  margin: 14px auto 0;
  border: 1px solid var(--line-red);
  border-radius: 6px;
  background: linear-gradient(110deg, #241415, #141216 65%, #121216);
  color: #fff;
}

.profile-page .honda-amount-row,
.profile-page .honda-amount-row span {
  color: #fff;
  font-family: var(--display);
  font-size: 34px;
}

.profile-page .driver-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.profile-page .driver-metric,
.profile-page .settings-group-wrapper,
.profile-page .settings-list-box {
  border: 1px solid var(--line) !important;
  border-radius: 5px !important;
  background: var(--panel) !important;
  color: #fff;
}

.profile-page .profile-scroll-container {
  width: min(calc(100% - 2 * var(--app-gutter)), 900px);
  margin: 0 auto;
  padding-top: 14px;
}

.driver-settings-tab {
  border: 1px solid var(--line) !important;
  border-radius: 5px !important;
  background: var(--surface) !important;
  color: var(--muted) !important;
}

.driver-settings-tab.active {
  border-color: var(--line-red) !important;
  background: rgba(227, 6, 19, 0.12) !important;
  color: #fff !important;
}

/* Bank / private account */
.bank-page {
  padding-bottom: 35px;
}

.bank-header {
  position: sticky;
}

.bank-header h2 {
  margin: 0;
  color: #fff;
  font-size: 23px;
}

.honda-bank-container {
  display: grid;
  width: min(calc(100% - 2 * var(--app-gutter)), 740px);
  gap: 14px;
  margin: 0 auto;
  padding: 24px 0;
}

.vault-intro h1 {
  margin: 5px 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 0.95;
}

.vault-intro p,
.vault-connection {
  color: var(--muted);
  font-size: 11px;
}

.vault-membership-pass {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 2px solid var(--red);
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.018) 0 2px,
      transparent 2px 5px
    ),
    linear-gradient(130deg, #26262b, #111115 58%, #300d10);
  box-shadow: var(--shadow-deep);
}

.vault-membership-pass::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 16, 0.03), rgba(13, 13, 16, 0.68)),
    var(--car-hero) 60% 50% / cover;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.vault-pass-topline,
.vault-pass-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #dddde2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.vault-pass-state {
  color: var(--yellow);
}

.vault-pass-bank {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  color: #fff;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
}

.vault-pass-account {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: #c7c7cf;
  font-size: 15px;
  letter-spacing: 0.16em;
}

.vault-pass-footer {
  margin-top: 22px;
  align-items: end;
}

.vault-pass-footer > div {
  display: grid;
  gap: 3px;
}

.vault-pass-footer > div strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
}

.vault-pass-watermark {
  position: absolute;
  right: 19px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--display);
  font-size: 190px;
  font-style: italic;
  font-weight: 800;
}

.vault-security-strip,
.honda-notice-card,
.rules-card-ev,
.recharge-info-box,
.invite-rules-card,
.benefits-container {
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: var(--panel) !important;
  color: var(--muted);
}

.honda-bank-form {
  display: grid;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.honda-input-group {
  display: grid;
  gap: 7px;
}

.honda-bank-form input,
.honda-bank-form select {
  padding: 0 12px;
}

.honda-verification-notice {
  color: var(--muted);
  font-size: 11px;
}

/* Recharge and withdrawal */
.recharge-page,
.withdraw-page {
  padding-bottom: 35px;
}

.recharge-header-strip,
.withdraw-header-fixed {
  justify-content: flex-start;
}

.recharge-header-meta {
  display: grid;
  gap: 1px;
}

.recharge-header-title {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.history-btn {
  width: auto;
  height: 34px;
  margin-left: auto;
  padding: 0 10px;
  color: var(--yellow);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.recharge-page-container,
.withdraw-page .recharge-container {
  display: grid;
  width: min(calc(100% - 2 * var(--app-gutter)), 850px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 11px;
  margin: 0 auto;
  padding: 18px 0 30px;
}

.deposit-summary-card,
.deposit-card,
.withdraw-page .balance-card-ev,
.withdraw-page .input-card-ev,
.withdraw-page #withdrawBankCard {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: #fff;
}

.deposit-summary-card {
  border-top-color: var(--line-red);
}

.deposit-summary-card::after,
.withdraw-page .balance-card-ev::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 18, 0.03), rgba(15, 15, 18, 0.78)),
    var(--car-hero) center / cover;
  content: "";
  opacity: 0.13;
  pointer-events: none;
}

.deposit-summary-card > *,
.withdraw-page .balance-card-ev > * {
  position: relative;
  z-index: 1;
}

.summary-label,
.section-title,
.balance-label-ev,
.card-header-ev,
.section-tag,
.fuel-reserve-status,
.recharge-field-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recharge-available-row strong,
.withdraw-page #withdrawBalance {
  color: #fff;
  font-family: var(--display);
  font-size: 34px;
  font-variant-numeric: tabular-nums;
}

.fuel-reserve-track,
.withdraw-balance-meter {
  height: 4px;
  overflow: hidden;
  margin-top: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.fuel-reserve-track span,
.withdraw-balance-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--red-hot), var(--yellow));
}

.recharge-page .section-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.recharge-page .section-title {
  color: #fff;
}

.recharge-custom-box {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #141419;
}

.recharge-currency-mark,
.currency-neon {
  color: var(--red-hot);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
}

.recharge-custom-box input,
.withdraw-input-box-ev input {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.recharge-custom-box input:focus,
.withdraw-input-box-ev input:focus {
  border: 0;
  box-shadow: none;
}

.recharge-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.recharge-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.recharge-keypad button {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: linear-gradient(145deg, #202026, #151519);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
  touch-action: manipulation;
}

.recharge-keypad button:hover {
  border-color: rgba(255, 98, 91, 0.45);
  background: linear-gradient(145deg, #2a2022, #191519);
}

.recharge-keypad button:active {
  transform: scale(0.96);
}

.recharge-keypad .recharge-keypad-action {
  background: rgba(227, 6, 19, 0.1);
  color: #ff827c;
  font-size: 12px;
}

.fuel-selection-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.fuel-selection-readout > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.recharge-page .section-tag {
  color: var(--yellow);
}

.recharge-page .amount-option {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #17171b;
  color: #fff;
  text-align: left;
}

.recharge-page .amount-option span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.recharge-page .amount-option strong {
  color: var(--yellow);
  font-size: 12px;
  line-height: 1.1;
}

.recharge-page .amount-option strong,
.fuel-selection-readout strong {
  color: var(--yellow);
}

.recharge-page .amount-option.active,
.recharge-page .amount-option.selected {
  border-color: var(--red-hot);
  background: rgba(227, 6, 19, 0.13);
  box-shadow: 0 0 17px rgba(227, 6, 19, 0.12);
}

.payment-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-channel-option {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(29, 29, 34, 0.96), rgba(18, 18, 22, 0.98));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.payment-channel-option:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.payment-channel-option:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
}

.payment-channel-option.active,
.payment-channel-option.selected {
  border-color: rgba(255, 40, 0, 0.7);
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.2), rgba(31, 17, 19, 0.98));
  box-shadow: 0 10px 30px rgba(227, 6, 19, 0.14), inset 0 0 0 1px rgba(227, 6, 19, 0.08);
}

.payment-channel-option .option-badge {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  color: #d7d7dd;
  font-size: 15px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.payment-channel-option.active .option-badge,
.payment-channel-option.selected .option-badge {
  border-color: rgba(255, 40, 0, 0.25);
  background: rgba(227, 6, 19, 0.17);
  color: #ff555e;
}

.recharge-page #depositBtn,
.withdraw-page #withdrawSubmitBtn {
  grid-column: 1 / -1;
  width: 100%;
}

.recharge-info-box,
.rules-card-ev {
  grid-column: 1 / -1;
  padding: 15px;
}

.info-title,
.rules-title-ev {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.info-row-item,
.rule-item-ev {
  color: var(--muted);
  font-size: 11px;
}

.withdraw-page .balance-card-ev {
  min-height: 150px;
  border-top-color: var(--red);
}

.withdraw-page .withdraw-balance-logo {
  display: none;
}

.withdraw-page .min-text-ev {
  color: var(--yellow);
}

.withdraw-input-box-ev {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #141419;
}

.withdraw-fee-breakdown > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 10px;
}

.withdraw-fee-breakdown > div + div {
  border-top: 1px solid var(--line);
}

.withdraw-fee-breakdown strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.withdraw-page .withdraw-fee-breakdown {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
}

.withdraw-page .withdraw-net-row strong {
  color: var(--yellow);
}

.withdraw-page .bank-sub-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
}

.withdraw-bank-section-title {
  margin-bottom: 12px;
  padding-left: 5px;
}

#bankEmptyState {
  display: none;
  padding: 15px;
  text-align: center;
}

.mx-empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 180px;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: #121216;
  text-align: center;
}

.mx-empty-state > i {
  margin-bottom: 3px;
  color: #ff716a;
  font-size: 24px;
}

.mx-empty-state strong {
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
}

.mx-empty-state span {
  color: #a5a5af;
  font-size: 11px;
}

.withdraw-page .sub-card-label {
  color: var(--muted);
}

.withdraw-page .sub-card-value {
  color: #fff;
}

/* Records, referrals and team */
.records-page {
  min-height: 100vh;
}

.records-header {
  min-height: 72px;
}

.records-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.records-header-kicker,
.records-feed-kicker {
  display: block;
  color: #85858f;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.records-branding h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.1;
}

.records-brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: linear-gradient(145deg, #e30613, #78040a);
  color: #fff;
  box-shadow: 0 8px 22px rgba(227, 6, 19, 0.2);
}

.records-brand-mark i {
  font-size: 15px;
}

.records-secure-label,
.records-live-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #aaaab3;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.records-secure-label {
  margin-left: auto;
}

.records-secure-label i {
  color: #81d39b;
  font-size: 12px;
}

.records-content {
  width: min(calc(100% - 2 * var(--app-gutter)), 900px);
  margin: 0 auto;
  padding: 24px 0 max(50px, env(safe-area-inset-bottom));
}

.records-intro {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background:
    radial-gradient(
      ellipse at 84% 50%,
      rgba(227, 6, 19, 0.22),
      transparent 38%
    ),
    linear-gradient(130deg, rgba(31, 31, 36, 0.98), rgba(15, 15, 19, 0.98));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
  animation: records-enter 480ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.records-intro-copy {
  position: relative;
  z-index: 1;
}

.records-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c4c4cc;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.records-eyebrow > span,
.records-live-label > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(227, 6, 19, 0.7);
}

.records-intro h1 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: clamp(36px, 7vw, 58px);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.records-intro h1 span {
  color: #ff3b30;
}

.records-intro-copy p {
  margin: 0;
  color: #aaaab3;
  font-size: 12px;
}

.records-intro-art {
  position: relative;
  display: grid;
  width: 170px;
  height: 170px;
  flex: 0 0 170px;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.records-intro-art > i {
  z-index: 1;
  font-size: 37px;
  filter: drop-shadow(0 5px 18px rgba(227, 6, 19, 0.55));
}

.records-art-ring {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.records-art-ring-outer {
  width: 160px;
  height: 160px;
}

.records-art-ring-inner {
  width: 112px;
  height: 112px;
  border-color: rgba(227, 6, 19, 0.32);
  box-shadow: 0 0 40px rgba(227, 6, 19, 0.12);
}

.records-feed {
  margin-top: 30px;
}

.records-feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.records-feed-heading h2 {
  margin: 4px 0 0;
  color: #fff;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
}

.records-live-label {
  padding: 8px 10px;
  border: 1px solid rgba(129, 211, 155, 0.16);
  border-radius: 99px;
  background: rgba(129, 211, 155, 0.06);
  color: #a5dcb5;
  font-size: 8px;
}

.records-live-label > span {
  width: 6px;
  height: 6px;
  background: #81d39b;
  box-shadow: 0 0 10px rgba(129, 211, 155, 0.6);
}

.records-filter {
  display: flex;
  gap: 5px;
}

.records-filter .filter-btn {
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #9898a2;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.records-filter .filter-btn.active {
  border-color: rgba(227, 6, 19, 0.24);
  background: rgba(227, 6, 19, 0.12);
  color: #fff;
}

.records-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
}

.records-tools-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 9px;
  margin: 12px 0;
}

.records-search,
.records-period-control {
  display: flex;
  min-width: 0;
  min-height: 43px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: #85858f;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.records-search:focus-within,
.records-period-control:focus-within {
  border-color: rgba(227, 6, 19, 0.52);
  background: rgba(255, 255, 255, 0.055);
}

.records-search > i,
.records-period-control > i {
  flex: 0 0 auto;
  font-size: 12px;
}

.records-search input,
.records-period-control select {
  width: 100%;
  min-width: 0;
  min-height: 41px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f2f2f4;
  font-size: 11px;
}

.records-search input:focus,
.records-period-control select:focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}

.records-search input::placeholder {
  color: #777781;
}

.records-search input::-webkit-search-cancel-button {
  display: none;
}

.records-search button {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #b9b9c1;
  cursor: pointer;
}

.records-search button[hidden] {
  display: none;
}

.records-period-control {
  width: 150px;
}

.records-period-control select {
  cursor: pointer;
}

.records-period-control option {
  background: #17171b;
  color: #fff;
}

.records-export-btn {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(227, 6, 19, 0.3);
  border-radius: 13px;
  background: rgba(227, 6, 19, 0.1);
  color: #f5d6d6;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.records-export-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 59, 48, 0.62);
  background: rgba(227, 6, 19, 0.18);
}

.records-export-btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.records-results-count {
  margin: 16px 2px 8px;
  color: #85858f;
  font-size: 10px;
  font-weight: 600;
}

.transaction-telemetry-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  color: #9898a2;
  font-size: 9px;
}

.transaction-telemetry-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
}

.status-dot-pending {
  background: #e9ae52;
}

.status-dot-processing {
  background: #7da8ff;
}

.status-dot-completed {
  background: #65cf91;
}

.status-dot-failed {
  background: #fa6868;
}

#recordsContainer {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
}

.record-card {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: #fff;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

#recordsPage .record-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

#recordsPage .record-card {
  animation: records-enter 340ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

#recordsPage .record-card:nth-child(2) {
  animation-delay: 35ms;
}

#recordsPage .record-card:nth-child(3) {
  animation-delay: 70ms;
}

#recordsPage .record-card:nth-child(4) {
  animation-delay: 105ms;
}

#recordsPage .record-card:nth-child(5) {
  animation-delay: 140ms;
}

#recordsPage .record-card:nth-child(6) {
  animation-delay: 175ms;
}

@keyframes records-enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#recordsPage .record-icon-box {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #e9e9ed;
  font-size: 15px;
}

#recordsPage .record-icon-box.icon-withdrawal {
  border-color: rgba(255, 129, 129, 0.16);
  background: rgba(227, 6, 19, 0.1);
  color: #ff7777;
}

#recordsPage .record-icon-box.icon-deposit {
  border-color: rgba(129, 211, 155, 0.15);
  background: rgba(129, 211, 155, 0.08);
  color: #81d39b;
}

#recordsPage .record-icon-box.icon-bonus {
  border-color: rgba(180, 145, 255, 0.2);
  background: rgba(140, 104, 219, 0.12);
  color: #c2a7ff;
}

#recordsPage .record-middle {
  min-width: 0;
  flex: 1 1 auto;
}

#recordsPage .record-transaction {
  overflow: hidden;
  color: #f5f5f7;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#recordsPage .record-subtitle {
  margin-top: 3px;
  overflow: hidden;
  color: #92929d;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#recordsPage .record-reference {
  margin-top: 4px;
  overflow: hidden;
  color: #c6a35b;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#recordsPage .record-time {
  margin-top: 5px;
  color: #74747f;
  font-size: 9px;
}

#recordsPage .record-right {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 6px;
}

#recordsPage .record-amount {
  color: #f4f4f6;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

#recordsPage .record-amount.amount-plus {
  color: #81d39b;
}

#recordsPage .record-amount.amount-minus {
  color: #ff8585;
}

#recordsPage .record-status {
  padding: 4px 8px;
  border: 1px solid rgba(129, 211, 155, 0.15);
  border-radius: 99px;
  background: rgba(129, 211, 155, 0.07);
  color: #a4dcb4;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

#recordsPage .record-status.status-pending {
  border-color: rgba(233, 174, 82, 0.16);
  background: rgba(233, 174, 82, 0.08);
  color: #e9bd74;
}

#recordsPage .record-status.status-failed {
  border-color: rgba(250, 104, 104, 0.17);
  background: rgba(250, 104, 104, 0.08);
  color: #ff9292;
}

.records-empty,
.records-loading {
  display: grid;
  min-height: 190px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
  color: #92929d;
  text-align: center;
}

.records-empty > i {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  color: #c4c4cc;
  font-size: 17px;
}

.records-empty strong {
  color: #f0f0f2;
  font-size: 14px;
}

.records-empty span {
  font-size: 11px;
}

.records-loading {
  min-height: 130px;
  grid-auto-flow: column;
  align-content: center;
  justify-content: center;
}

.records-loading > span {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #ff3b30;
  border-radius: 50%;
  animation: records-spin 700ms linear infinite;
}

.records-export-btn:focus-visible,
.records-filter .filter-btn:focus-visible,
.records-search button:focus-visible,
.records-back-btn:focus-visible,
.records-period-control select:focus-visible {
  outline: 2px solid #ff5148;
  outline-offset: 3px;
}

@keyframes records-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .records-content {
    padding-top: 16px;
  }

  .records-intro {
    min-height: 185px;
    padding: 24px;
    border-radius: 21px;
  }

  .records-intro-art {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
    margin-right: -6px;
  }

  .records-art-ring-outer {
    width: 108px;
    height: 108px;
  }

  .records-art-ring-inner {
    width: 76px;
    height: 76px;
  }

  .records-intro-art > i {
    font-size: 26px;
  }

  .records-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .records-tools-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .records-search {
    grid-column: 1 / -1;
  }

  .records-period-control {
    width: auto;
  }

  .transaction-telemetry-legend {
    justify-content: flex-start;
    padding: 0 5px 4px;
  }
}

@media (max-width: 420px) {
  .records-header {
    gap: 9px;
  }

  .records-secure-label {
    font-size: 8px;
  }

  .records-intro {
    min-height: 170px;
    padding: 20px;
  }

  .records-intro-art {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
    margin-right: -12px;
  }

  .records-art-ring-outer {
    width: 78px;
    height: 78px;
  }

  .records-art-ring-inner {
    width: 56px;
    height: 56px;
  }

  .records-intro-art > i {
    font-size: 21px;
  }

  .records-intro-copy p {
    max-width: 210px;
    font-size: 10px;
  }

  .records-filter {
    width: 100%;
  }

  .records-tools-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .records-period-control {
    grid-column: 1;
  }

  .records-export-btn {
    grid-column: 2;
  }

  .records-filter .filter-btn {
    flex: 1 1 0;
    padding-inline: 9px;
    font-size: 10px;
  }

  #recordsPage .record-card {
    gap: 10px;
    padding: 13px 11px;
  }

  #recordsPage .record-icon-box {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  #recordsPage .record-amount {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.invite-page {
  display: none;
}

.invite-share-card,
.invite-rules-card,
.team-detail-view,
.team-summary-tile,
.team-reward-card-main,
.benefits-container {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: #fff;
}

.invite-share-card,
.invite-rules-card,
.team-reward-card-main,
.benefits-container,
.team-page-shell {
  width: min(calc(100% - 2 * var(--app-gutter)), 850px);
  margin: 14px auto;
}

.invite-action-button,
.claim-bonus-btn,
.active-investments-btn {
  border-color: var(--line-red);
}

.team-page-shell {
  padding: 12px 0 24px;
}

.team-hero img,
.team-reward-hero img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 55%;
}

.team-reward-hero {
  overflow: hidden;
  border-radius: 6px;
}

.team-reward-hero-copy {
  color: #fff;
}

.team-reward-hero-copy span {
  color: var(--yellow);
}

.team-reward-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(calc(100% - 2 * var(--app-gutter)), 850px);
  margin: 14px auto;
}

.team-reward-summary > div {
  padding: 13px;
  border-radius: 5px;
}

/* Modal, bottom navigation and status UI */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-overlay.active,
.modal-overlay.is-open {
  display: flex;
}

.modal-card,
.modal-content {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: 8px;
  background: #151519;
  color: #fff;
  box-shadow: var(--shadow-deep);
}

#bottomNav {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: 0;
  justify-content: center;
  padding: 0 max(10px, env(safe-area-inset-right)) 0
    max(10px, env(safe-area-inset-left));
  pointer-events: none;
}

#bottomNav .nav-pill-container {
  display: grid;
  width: min(100%, 680px);
  min-height: 64px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(17, 17, 21, 0.96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

#bottomNav .nav-item {
  display: flex;
  min-width: 0;
  min-height: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 5px;
  color: #a0a0ab;
  text-decoration: none;
}

#bottomNav .nav-icon-wrapper {
  display: grid;
  width: 28px;
  height: 25px;
  place-items: center;
  color: inherit;
}

#bottomNav .nav-icon-wrapper svg {
  width: 19px;
  height: 19px;
}

#bottomNav .nav-label-text {
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

#bottomNav .nav-item.active {
  background: rgba(227, 6, 19, 0.13);
  color: #fff;
}

#bottomNav .nav-item.active .nav-icon-wrapper {
  color: var(--red-hot);
}

.custom-alert,
#toast-container,
.swal2-container {
  z-index: 5000 !important;
}

@keyframes heroCarReveal {
  from {
    opacity: 0.5;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 900px) {
  .dashboard-hero {
    min-height: 435px;
  }

  .profile-page .profile-scroll-container {
    padding-bottom: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --app-gutter: 16px;
  }

  .dashboard-topbar {
    min-height: 60px;
  }

  .dashboard .main-container {
    margin-top: 13px;
  }

  .dashboard-hero {
    min-height: 340px;
    background-position: 58% center;
  }

  .dashboard-wallet-grid {
    gap: 12px;
  }

  .dashboard-wallet-balance + .dashboard-wallet-balance {
    padding-left: 12px;
  }

  .dashboard-wallet-balance .hero-balance-label {
    font-size: 9px;
  }

  .dashboard-wallet-balance .hero-balance-value {
    font-size: clamp(20px, 6vw, 30px);
  }

  .dashboard-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 7, 9, 0.9), rgba(7, 7, 9, 0.2)),
      linear-gradient(0deg, rgba(7, 7, 9, 0.91), transparent 82%);
  }

  .cockpit-metrics {
    grid-template-columns: 1fr;
  }

  .metric-card.metric-gauge {
    min-height: 92px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 13px;
  }

  .metric-gauge-dial {
    position: relative;
    inset: auto;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .metric-gauge-needle {
    right: 25px;
    bottom: 25px;
  }

  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-grid .action-card {
    min-height: 66px;
    gap: 8px;
    padding: 9px;
  }

  .garage-model-grid {
    grid-template-columns: 1fr;
  }

  .garage-model-card {
    min-height: 160px;
  }

  .recharge-page-container,
  .withdraw-page .recharge-container {
    grid-template-columns: 1fr;
  }

  .recharge-page-container > *,
  .withdraw-page .recharge-container > * {
    grid-column: 1;
  }

  .product-page-header {
    align-items: center;
  }

  .profile-page .driver-telemetry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .fieldmark-card {
    padding: 0 20px 22px;
  }

  .auth-hero {
    margin-right: -20px;
    margin-left: -20px;
  }

  .fieldmark-logo-wrapper {
    left: 20px;
  }

  .dashboard-hero {
    min-height: 310px;
  }

  .dashboard-hero-content {
    padding: 20px;
  }

  .cockpit-data-strip {
    gap: 13px 18px;
  }

  .cockpit-data-status {
    width: 100%;
    margin-left: 0;
  }

  .product-page-header h1 {
    font-size: 22px;
  }

  .active-investments-btn span {
    display: none;
  }

  .payment-option-grid {
    grid-template-columns: 1fr;
  }

  #bottomNav .nav-label-text {
    font-size: 7px;
  }
}

.payment-channel-option > span:last-child {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.payment-channel-option small {
  color: #a5a5af;
  font-size: 8px;
  letter-spacing: 0.08em;
}

/* Team reward control center */
.team-reward-page {
  min-height: 100vh;
  padding: 0 var(--app-gutter) 120px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(227, 6, 19, 0.12), transparent 42%),
    #0a0a0c;
}

.team-reward-header {
  width: calc(100% + 2 * var(--app-gutter));
  min-height: 66px;
  margin: 0 calc(-1 * var(--app-gutter));
  padding-right: max(var(--app-gutter), env(safe-area-inset-right));
  padding-left: max(var(--app-gutter), env(safe-area-inset-left));
}

.team-reward-header > button {
  flex: 0 0 40px;
}

.team-reward-header h1 {
  flex: 1;
  font-size: 24px;
}

.team-reward-header-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 242, 0, 0.3);
  border-radius: 5px;
  background: rgba(227, 6, 19, 0.13);
  color: var(--yellow);
}

.team-reward-hero {
  position: relative;
  display: flex;
  width: min(100%, 1160px);
  min-height: 300px;
  align-items: flex-end;
  overflow: hidden;
  margin: 18px auto 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--red);
  border-radius: 7px;
  background: #17171b;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  isolation: isolate;
}

.team-reward-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 54%;
}

.team-reward-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.9), rgba(8, 8, 10, 0.16)),
    linear-gradient(0deg, rgba(8, 8, 10, 0.94), transparent 74%);
}

.team-reward-hero-copy {
  display: grid;
  width: min(100%, 720px);
  gap: 8px;
  padding: clamp(22px, 4vw, 38px);
}

.team-reward-hero-copy > span {
  color: var(--yellow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.team-reward-hero-copy > strong {
  max-width: 650px;
  color: #fff;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.team-reward-hero-copy > small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b7b5bc;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.team-reward-hero-copy > small i {
  color: var(--red-hot);
}

.team-reward-summary {
  width: min(100%, 930px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px auto;
  gap: 9px;
}

.team-reward-summary > div {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 5px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(145deg, #1a1a1f, #111115);
}

.team-reward-summary > div:first-child {
  border-left: 2px solid var(--red);
}

.team-reward-summary > div > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.team-reward-summary > div > strong {
  color: #fff !important;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.team-reward-card-main {
  display: grid;
  width: min(100%, 930px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px 22px;
  margin: 12px auto;
  padding: 18px;
  border: 1px solid var(--line) !important;
  border-top: 2px solid var(--red) !important;
  border-radius: 6px !important;
  background: var(--panel) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3) !important;
}

.reward-header-main {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.reward-icon-left {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.28);
  border-radius: 5px;
  background: rgba(227, 6, 19, 0.12);
  color: #ff625a;
}

.reward-title-right {
  display: grid;
  gap: 4px;
}

.pitstop-card-kicker {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.reward-title-right strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
}

.reward-list-breakdown {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
}

.product-page-list #dynamicProductList {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.mx-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(ellipse at 100% 0, rgba(227, 6, 19, 0.1), transparent 40%),
    linear-gradient(155deg, #1a1a20, #111115 72%) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24) !important;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.mx-product-card:hover {
  border-color: rgba(255, 98, 91, 0.28) !important;
  box-shadow: 0 25px 52px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-4px);
}

.mx-card-image-hero {
  position: relative;
  height: clamp(96px, 10vw, 124px);
  overflow: hidden;
  background: #19191e;
}

.mx-card-image-hero::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.56));
  content: "";
  pointer-events: none;
}

.mx-card-image-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.mx-product-card:hover .mx-card-image-hero img {
  transform: scale(1.045);
}

.mx-badge-premium {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 12, 15, 0.72);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.mx-card-header {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent !important;
}

.mx-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mx-plan-name {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.mx-price-block {
  display: grid;
  gap: 2px;
}

.mx-price-label {
  color: #a5a5af !important;
  font-size: 9px;
  font-weight: 500;
}

.mx-main-price {
  color: #fff !important;
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.05;
}

.mx-card-body {
  display: grid;
  gap: 0;
  padding: 2px 12px 0;
}

.mx-data-row {
  display: flex;
  min-height: 33px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.mx-row-left {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.mx-row-left > i {
  width: 14px;
  color: #ff6b63;
  font-size: 10px;
  text-align: center;
}

.mx-info-label {
  color: #aeadb8 !important;
  font-size: 9px;
}

.mx-info-value,
.mx-earnings-val {
  flex: 0 0 auto;
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

.mx-highlight-row {
  margin-top: 3px;
  border-bottom: 0;
}

.mx-earnings-val {
  color: #ffe56a !important;
}

.mx-card-footer {
  margin-top: auto;
  padding: 9px 12px 12px;
}

.mx-card-footer .mx-invest-btn {
  width: 100%;
  min-height: 36px;
  border-radius: 11px !important;
  font-size: 9px;
}

.product-loading,
.mx-error {
  grid-column: 1 / -1;
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: #121216;
  color: #a5a5af;
  text-align: center;
}

.investment-page {
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

.investment-header {
  min-height: 68px;
}

.investment-header h2 {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.investment-back-btn {
  border-radius: 14px !important;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}

.investment-back-btn:hover {
  border-color: rgba(255, 98, 91, 0.35);
  background: rgba(227, 6, 19, 0.12);
}

.investment-sub-header {
  position: relative;
  width: min(calc(100% - 2 * var(--app-gutter)), var(--page-width));
  margin: 22px auto 0;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 92% 10%, rgba(227, 6, 19, 0.25), transparent 42%),
    linear-gradient(135deg, #1b1b21, #111115 74%);
}

.investment-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff7770;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.investment-sub-header h1 {
  margin: 7px 0 4px;
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 50px);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.investment-sub-header > p {
  margin: 8px 0 0;
  color: #a5a5af;
  font-size: 12px;
}

.investment-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.investment-overview > div {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(7, 7, 10, 0.42);
}

.investment-overview strong {
  overflow: hidden;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(18px, 3vw, 25px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.investment-overview span {
  color: #9999a4;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.card-wrapper {
  display: grid;
  width: min(calc(100% - 2 * var(--app-gutter)), var(--page-width));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin: 18px auto 0;
}

.card-wrapper > .premium-card:empty {
  display: none;
}

.invest-card {
  position: relative;
  min-width: 0;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(227, 6, 19, 0.13), transparent 38%),
    linear-gradient(150deg, #1a1a20, #101014 74%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  animation: investment-card-in 320ms ease both;
}

.invest-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #ff625b, rgba(227, 6, 19, 0.12));
  content: "";
}

@keyframes investment-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-main {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.investment-image-box {
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #202026;
}

.investment-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-icon-box {
  position: absolute;
  right: auto;
  bottom: 9px;
  left: 48px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #17171c;
  border-radius: 50%;
  background: #e30613;
  color: #fff;
  font-size: 10px;
}

.title-group {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.plan-title {
  overflow: hidden;
  color: #a5a5af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-price {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.05;
}

.active-tag {
  align-self: start;
  padding: 6px 9px;
  border: 1px solid rgba(58, 214, 137, 0.2);
  border-radius: 999px;
  background: rgba(58, 214, 137, 0.08);
  color: #71e6a8;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.timer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(227, 6, 19, 0.2);
  border-radius: 16px;
  background: rgba(227, 6, 19, 0.07);
}

.timer-label,
.stat-label {
  color: #a4a3ad;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.countdown {
  color: #ffe56a;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.cycle-section {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #aaa9b3;
  font-size: 10px;
}

.detail-item > span:last-child {
  color: #f0eff3;
  font-weight: 600;
  text-align: right;
}

.investment-days-left {
  color: #9d9ca7 !important;
  font-weight: 500 !important;
}

.progress-bar-bg {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  min-width: 3px;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b80a13, #ff564e);
  box-shadow: 0 0 12px rgba(227, 6, 19, 0.34);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.stat-box {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.stat-value {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.details-list {
  display: grid;
  gap: 10px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.investment-empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  padding: clamp(26px, 6vw, 48px) 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(227, 6, 19, 0.12), transparent 45%),
    #131317;
  text-align: center;
}

.investment-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.24);
  border-radius: 20px;
  background: rgba(227, 6, 19, 0.11);
  color: #ff716a;
  font-size: 22px;
}

.investment-empty-kicker {
  margin: 18px 0 5px;
  color: #ff716a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.investment-empty-state h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
}

.investment-empty-state > p:not(.investment-empty-kicker) {
  max-width: 360px;
  margin: 7px 0 18px;
  color: #a5a5af;
  font-size: 11px;
}

.investment-empty-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px !important;
  background: linear-gradient(105deg, #e30613, #a70810);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 950px) {
  .product-page-list #dynamicProductList {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .product-page-list #dynamicProductList,
  .card-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mx-card-image-hero {
    height: 112px;
  }
}

@media (max-width: 480px) {
  .card-wrapper {
    width: min(calc(100% - 2 * var(--app-gutter)), 430px);
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 12px;
  }

  .invest-card {
    padding: 13px;
    border-radius: 18px;
    background:
      radial-gradient(ellipse at 100% 0, rgba(227, 6, 19, 0.14), transparent 44%),
      linear-gradient(150deg, #1b1b21, #101014 76%);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  }

  .header-main {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 9px;
    padding-bottom: 12px;
  }

  .investment-image-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .plan-icon-box {
    bottom: 5px;
    left: 37px;
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .title-group {
    gap: 4px;
    padding-right: 0;
  }

  .plan-title {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .plan-price {
    font-size: clamp(21px, 6vw, 27px);
  }

  .active-tag {
    position: static;
    align-self: center;
    max-width: none;
    padding: 5px 7px;
    font-size: 8px;
  }

  .timer-box {
    min-height: 54px;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .timer-label {
    font-size: 8px;
    letter-spacing: 0.07em;
  }

  .countdown {
    font-size: clamp(11px, 3.4vw, 13px);
    text-align: right;
    white-space: nowrap;
  }

  .cycle-section {
    gap: 8px;
    margin-top: 13px;
  }

  .cycle-section .detail-item {
    gap: 7px;
    font-size: 9px;
  }

  .cycle-section .detail-item > span:last-child {
    max-width: 58%;
  }

  .investment-days-left {
    display: block;
    margin-top: 2px;
  }

  .progress-bar-bg {
    height: 6px;
  }

  .stats-grid {
    gap: 7px;
    margin-top: 13px;
  }

  .stat-box {
    gap: 4px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
  }

  .stat-label {
    font-size: 8px;
    letter-spacing: 0.07em;
  }

  .stat-value {
    font-size: 12px;
    line-height: 1.25;
  }

  .details-list {
    gap: 9px;
    margin-top: 13px;
    padding-top: 12px;
  }

  .details-list .detail-item {
    align-items: flex-start;
    gap: 8px;
    font-size: 9px;
  }

  .details-list .detail-item > span:last-child {
    max-width: 55%;
    overflow-wrap: anywhere;
  }

  .product-page-list #dynamicProductList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mx-card-image-hero {
    height: 92px;
  }

  .mx-card-header,
  .mx-card-body {
    padding-right: 9px;
    padding-left: 9px;
  }

  .mx-plan-name {
    font-size: 16px;
  }

  .mx-main-price {
    font-size: 20px;
  }

  .mx-data-row {
    min-height: 31px;
    gap: 4px;
  }

  .mx-row-left {
    gap: 4px;
  }

  .mx-row-left > i {
    width: 12px;
    font-size: 9px;
  }

  .mx-info-label,
  .mx-info-value,
  .mx-earnings-val {
    font-size: 8px;
  }

  .mx-card-footer {
    padding: 8px 9px 9px;
  }

  .mx-card-footer .mx-invest-btn {
    min-height: 34px;
    font-size: 8px;
  }

  .investment-overview {
    gap: 7px;
  }

  .investment-overview > div {
    padding: 11px 9px;
    border-radius: 14px;
  }

  .investment-overview span {
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .investment-sub-header {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mx-product-card,
  .mx-card-image-hero img,
  .invest-card {
    animation: none;
    transition: none;
  }
}

.reward-milestone-heading,
.reward-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.reward-milestone-heading {
  padding: 0 9px 8px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.reward-milestone-heading span:last-child {
  text-align: right;
}

.team-reward-page .reward-row {
  min-height: 43px;
  padding: 7px 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #e7e5e9;
  font-size: 11px;
}

.team-reward-page .reward-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.team-reward-page .reward-row small {
  color: var(--muted);
  font-size: 8px;
}

.team-reward-page .reward-row[data-state="ready-to-claim"] small {
  color: var(--green);
}

.team-reward-page .reward-row[data-state="claimed"] small {
  color: var(--yellow);
}

.team-reward-page .reward-row strong {
  color: var(--yellow) !important;
  font-family: var(--display);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.reward-footer-text {
  padding: 10px 9px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.reward-action-area {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
}

.team-lap-tracker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-lap-track {
  display: grid;
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--red-hot) var(--lap-progress, 0%),
    rgba(255, 255, 255, 0.09) 0
  );
  box-shadow: 0 0 24px rgba(227, 6, 19, 0.13);
}

.team-lap-track-inner {
  display: grid;
  width: 78px;
  height: 78px;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #141419;
}

.team-lap-label,
.team-lap-caption {
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.team-lap-track-inner strong {
  color: #fff;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1;
}

.team-lap-details {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.team-lap-kicker {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.reward-progress-text,
.reward-next-text,
.team-lap-remaining {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.reward-progress-text strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.reward-next-text {
  color: #e1dfe4;
}

.team-lap-remaining {
  color: var(--yellow);
}

.team-reward-page .claim-bonus-btn {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: linear-gradient(105deg, #e30613, #a20a11);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-reward-page .claim-bonus-btn:disabled {
  border-color: var(--line);
  background: #24242a;
  color: #888891;
  box-shadow: none;
}

.team-reward-page .benefits-container {
  display: grid;
  width: min(100%, 930px);
  gap: 0;
  margin: 12px auto;
  padding: 15px;
  border: 1px solid var(--line) !important;
  border-radius: 5px !important;
  background: var(--panel) !important;
}

.team-reward-page .benefits-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  color: #fff;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-reward-page .benefits-title i {
  color: var(--red-hot);
}

.team-reward-page .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  color: #c5c3ca;
  font-size: 10px;
  line-height: 1.5;
}

.team-reward-page .benefit-item i {
  margin-top: 3px;
  color: var(--yellow);
  font-size: 8px;
}

@media (max-width: 760px) {
  .team-reward-page {
    padding-right: var(--app-gutter);
    padding-left: var(--app-gutter);
  }

  .team-reward-hero {
    min-height: 260px;
  }

  .team-reward-hero-copy > strong {
    font-size: 32px;
  }

  .team-reward-card-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .reward-header-main {
    grid-column: 1;
  }

  .reward-action-area {
    padding: 12px;
  }
}

@media (max-width: 420px) {
  .team-reward-header h1 {
    font-size: 21px;
  }

  .team-reward-hero {
    min-height: 225px;
  }

  .team-reward-hero-copy {
    padding: 17px;
  }

  .team-reward-hero-copy > strong {
    font-size: 27px;
  }

  .team-reward-summary > div {
    min-height: 72px;
    padding: 10px;
  }

  .team-reward-summary > div > span {
    font-size: 7px;
  }

  .team-reward-summary > div > strong {
    font-size: 21px;
  }

  .team-lap-tracker {
    align-items: flex-start;
    gap: 10px;
  }

  .team-lap-track {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }

  .team-lap-track-inner {
    width: 64px;
    height: 64px;
  }

  .team-lap-track-inner strong {
    font-size: 20px;
  }
}

/* Driver referral and invite center */
.invite-page {
  min-height: 100vh;
  padding-bottom: 112px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(227, 6, 19, 0.12), transparent 40%),
    #0a0a0c;
}

.invite-header-fixed-v2 {
  justify-content: flex-start;
}

.invite-back-btn-v2 {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  cursor: pointer;
}

.invite-back-btn-v2:hover {
  border-color: var(--line-red);
  color: var(--red-hot);
}

.invite-header-center {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  text-transform: uppercase;
}

.invite-header-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.3);
  border-radius: 5px;
  background: rgba(227, 6, 19, 0.12);
  color: #ff625a;
  font-size: 12px;
}

.referral-container {
  display: grid;
  width: min(calc(100% - 2 * var(--app-gutter)), 1060px);
  grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.9fr);
  align-items: start;
  gap: 13px;
  margin: 18px auto 24px;
}

.invite-share-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top: 2px solid var(--red) !important;
  border-radius: 7px !important;
  background:
    linear-gradient(
      135deg,
      rgba(9, 9, 12, 0.96),
      rgba(9, 9, 12, 0.78) 48%,
      rgba(9, 9, 12, 0.95)
    ),
    url("https://images.unsplash.com/photo-1583121274602-3e2820c69888?auto=format&fit=crop&w=1200&q=80")
      62% center / cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

.invite-share-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 8px,
    rgba(255, 255, 255, 0.014) 9px 10px
  );
  content: "";
  pointer-events: none;
}

.invite-pill {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(255, 242, 0, 0.26);
  border-radius: 3px;
  background: rgba(255, 242, 0, 0.07);
  color: var(--yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.invite-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1px;
}

.invite-logo-mark {
  display: grid;
  width: 38px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 242, 0, 0.5);
  border-radius: 5px;
  background: linear-gradient(145deg, #e30613, #70040a);
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  font-weight: 800;
}

.invite-logo-name {
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.invite-hero-title {
  max-width: 470px;
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 37px;
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
}

.invite-hero-subtitle {
  margin: -7px 0 0;
  color: #b5b3ba;
  font-size: 10px;
}

.invite-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 4px;
}

.invite-copy-box {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: rgba(12, 12, 15, 0.78);
  backdrop-filter: blur(8px);
}

.invite-box-label {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.invite-box-value {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-link-value input,
.invite-copy-box input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--body);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-copy-box input:focus {
  border: 0;
  box-shadow: none;
  outline: 0;
}

.invite-action-button {
  display: inline-flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
  border: 1px solid rgba(227, 6, 19, 0.42);
  border-radius: 4px;
  background: rgba(227, 6, 19, 0.12);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.invite-action-button:hover {
  border-color: var(--red-hot);
  background: rgba(227, 6, 19, 0.24);
}

.invite-action-button i {
  color: var(--yellow);
}

.invite-rules-card {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line) !important;
  border-top: 2px solid rgba(255, 242, 0, 0.48) !important;
  border-radius: 6px !important;
  background: var(--panel) !important;
}

.invite-rules-title {
  padding-bottom: 11px;
  color: #fff;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
}

.invite-rule-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.invite-rule-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #c5c3ca;
  font-size: 10px;
  line-height: 1.55;
}

.invite-rule-list li:first-child {
  color: var(--muted);
}

.invite-rule-list strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 18px;
}

.invite-bottom-nav {
  display: none !important;
}

@media (max-width: 760px) {
  .referral-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .invite-share-card {
    padding: 16px;
  }

  .invite-copy-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .invite-copy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .invite-copy-box {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .invite-copy-box .invite-box-label,
  .invite-copy-box .invite-box-value {
    grid-column: 1;
  }

  .invite-copy-box .invite-action-button {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: auto;
    min-width: 88px;
  }
}

/* Driver profile */
.profile-page {
  padding-bottom: 120px;
}

.profile-page .profile-top-section {
  position: relative;
  overflow: hidden;
  padding: 20px var(--app-gutter) 22px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 10, 0.97) 0%,
      rgba(8, 8, 10, 0.88) 46%,
      rgba(8, 8, 10, 0.48) 100%
    ),
    linear-gradient(0deg, #0a0a0c 0%, rgba(10, 10, 12, 0.06) 62%),
    var(--car-hero) 58% 48% / cover;
  isolation: isolate;
}

.profile-page .profile-top-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 8px,
    rgba(255, 255, 255, 0.015) 9px 10px
  );
  content: "";
  pointer-events: none;
}

.profile-page .profile-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 1020px);
  min-height: 42px;
}

.profile-page .profile-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.profile-page .logo-geometric-shape {
  display: grid;
  width: 31px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 242, 0, 0.55);
  border-radius: 4px;
  background: linear-gradient(145deg, #e30613, #70040a);
}

.profile-page .logo-geometric-shape::before {
  color: #fff;
  content: "F";
  font-family: var(--display);
  font-size: 23px;
  font-style: italic;
  font-weight: 800;
}

.profile-page .logo-geometric-shape span {
  display: none;
}

.profile-page .profile-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(129, 211, 155, 0.25);
  border-radius: 4px;
  background: rgba(5, 20, 10, 0.48);
  color: #a7e5b6;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.profile-page .profile-status-badge .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(129, 211, 155, 0.55);
}

.profile-page .profile-intro-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(100%, 1020px);
  margin-top: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-page .profile-avatar-container {
  position: relative;
  flex: 0 0 auto;
}

.profile-page .profile-avatar {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: linear-gradient(145deg, #27272d, #121216 68%, #4b080b);
  box-shadow:
    0 0 0 4px rgba(10, 10, 12, 0.48),
    0 0 26px rgba(227, 6, 19, 0.22);
}

.profile-page .profile-avatar > i {
  color: #dedee5;
  font-size: 25px;
}

.profile-page .profile-verified-badge {
  position: absolute;
  right: -3px;
  bottom: 1px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #101014;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 9px;
}

.profile-page .honda-user-meta {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.profile-page .profile-greeting {
  margin: 0;
  color: #d0cfd4;
  font-size: 11px;
}

.profile-page .honda-user-meta h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
}

.profile-page .driver-membership-rank,
.profile-page .driver-joined-date {
  margin: 3px 0 0;
  color: #b2b0b6;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.profile-page .driver-membership-rank i {
  margin-right: 4px;
  color: var(--yellow);
}

.profile-page .honda-main-card {
  position: relative;
  width: min(100%, 1020px);
  min-height: 150px;
  margin: 20px auto 0;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  background:
    linear-gradient(
      100deg,
      rgba(34, 15, 17, 0.97),
      rgba(19, 18, 22, 0.94) 60%,
      rgba(12, 12, 15, 0.95)
    ),
    var(--car-hero) 78% 51% / cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.profile-page .balance-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-page .honda-label {
  color: #c0bdc4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-page .currency-tag {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-page .honda-amount-row {
  margin-top: 10px;
}

.profile-page .honda-amount-row,
.profile-page .honda-amount-row span {
  color: #fff;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.profile-page .driver-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
  color: #b9b7be;
  font-size: 9px;
}

.profile-page .driver-status-strip i {
  margin-right: 4px;
  color: var(--green);
}

.profile-page .driver-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 1020px);
  margin: 9px auto 0;
}

.profile-page .driver-metric {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line) !important;
  border-radius: 5px !important;
  background: rgba(14, 14, 18, 0.84) !important;
}

.profile-page .driver-metric > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-page .driver-metric > strong {
  color: #f5f3ef;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
}

.profile-page .profile-scroll-container {
  display: grid;
  width: min(calc(100% - 2 * var(--app-gutter)), 1020px);
  gap: 13px;
  margin: 0 auto;
  padding: 18px 0 35px;
}

.profile-page .driver-settings {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.profile-page .driver-settings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.profile-page .driver-settings-heading i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--red-hot);
}

.profile-page .driver-settings-kicker {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.profile-page .driver-settings-heading h2 {
  margin: 2px 0 0;
  color: #fff;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

.profile-page .driver-settings-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0e0e12;
}

.profile-page .driver-settings-tab {
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid transparent !important;
  border-radius: 3px !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}

.profile-page .driver-settings-tab.active {
  border-color: rgba(227, 6, 19, 0.3) !important;
  background: rgba(227, 6, 19, 0.14) !important;
  color: #fff !important;
}

.profile-page .driver-settings-panel {
  padding: 14px 2px 1px;
}

.profile-page .driver-settings-panel[hidden] {
  display: none !important;
}

.profile-page .driver-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.profile-page .driver-info-field {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.profile-page .driver-info-field > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-page .driver-info-field > strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 11px;
}

.profile-page .driver-account-active {
  color: var(--green) !important;
}

.profile-page .driver-settings-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.profile-page .driver-password-form {
  display: grid;
  gap: 8px;
}

.profile-page .driver-password-form > label {
  color: #c9c8ce;
  font-size: 9px;
  font-weight: 600;
}

.profile-page .driver-password-field {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-right: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #131318;
}

.profile-page .driver-password-field input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: #fff;
}

.profile-page .driver-password-field input:focus {
  outline: 0;
  box-shadow: none;
}

.profile-page .driver-password-field .eye-toggle {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.profile-page .driver-save-button {
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
}

.profile-page .driver-security-status {
  padding: 11px;
  border: 1px solid rgba(129, 211, 155, 0.17);
  border-radius: 5px;
  background: rgba(129, 211, 155, 0.035);
}

.profile-page .driver-security-status + .driver-security-status {
  margin-top: 8px;
}

.profile-page .driver-security-status-muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.profile-page .security-overview {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 122px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(129, 211, 155, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 0 0, rgba(129, 211, 155, 0.13), transparent 54%),
    linear-gradient(135deg, rgba(21, 37, 31, 0.8), rgba(17, 18, 23, 0.96) 70%);
}

.profile-page .security-overview::after {
  position: absolute;
  right: -34px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(129, 211, 155, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(129, 211, 155, 0.025), 0 0 0 38px rgba(129, 211, 155, 0.02);
  content: "";
  pointer-events: none;
}

.profile-page .security-overview-art {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(129, 211, 155, 0.3);
  border-radius: 16px;
  background: rgba(129, 211, 155, 0.1);
  color: #91edb1;
  font-size: 23px;
}

.profile-page .security-overview-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.profile-page .security-overview-kicker,
.profile-page .security-section-heading {
  color: #91edb1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.profile-page .security-overview-copy h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.05;
  text-transform: uppercase;
}

.profile-page .security-overview-copy p {
  max-width: 360px;
  margin: 0;
  color: #b8c0bc;
  font-size: 10px;
  line-height: 1.55;
}

.profile-page .driver-security-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid rgba(129, 211, 155, 0.24);
  border-radius: 999px;
  background: rgba(129, 211, 155, 0.08);
  color: #a4efbd;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-page .security-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 1px 9px;
  color: var(--muted);
}

.profile-page .security-section-heading span:last-child {
  color: #747681;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.profile-page .security-control-list {
  display: grid;
  gap: 8px;
}

.profile-page .security-control-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 77px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.profile-page .security-control-card-pending {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}

.profile-page .security-control-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.18);
  border-radius: 12px;
  background: rgba(227, 6, 19, 0.08);
  color: #ff837f;
  font-size: 14px;
}

.profile-page .security-control-card-pending .security-control-icon {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: #a5a6af;
}

.profile-page .security-control-copy {
  display: grid;
  gap: 4px;
}

.profile-page .security-control-copy strong {
  color: #f4f4f6;
  font-size: 10px;
}

.profile-page .security-control-copy span {
  color: #9c9da7;
  font-size: 9px;
  line-height: 1.5;
}

.profile-page .security-control-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #91edb1;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.profile-page .security-control-state-muted {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #a0a0ab;
  font-weight: 600;
}

.profile-page .security-advice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 11px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 209, 102, 0.16);
  border-radius: 10px;
  background: rgba(255, 209, 102, 0.045);
  color: #ffd166;
}

.profile-page .security-advice > i {
  margin-top: 2px;
  font-size: 12px;
}

.profile-page .security-advice p {
  margin: 0;
  color: #c7bd9f;
  font-size: 9px;
  line-height: 1.55;
}

.profile-page .security-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
}

.profile-page .security-actions > div {
  display: grid;
  gap: 3px;
}

.profile-page .security-actions > div strong {
  color: #e9e9ed;
  font-size: 9px;
}

.profile-page .security-actions > div span {
  color: var(--muted);
  font-size: 8px;
}

.profile-page .security-password-link {
  display: inline-flex;
  min-height: 35px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(227, 6, 19, 0.35);
  border-radius: 9px;
  background: rgba(227, 6, 19, 0.1);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.profile-page .security-password-link:hover {
  border-color: rgba(255, 98, 91, 0.6);
  background: rgba(227, 6, 19, 0.18);
}

@media (max-width: 480px) {
  .profile-page .security-overview {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .profile-page .security-overview-art {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 19px;
  }

  .profile-page .driver-security-chip {
    grid-column: 2;
    justify-self: start;
  }

  .profile-page .security-control-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .profile-page .security-control-icon {
    width: 34px;
    height: 34px;
  }

  .profile-page .security-control-state {
    grid-column: 2;
    justify-self: start;
  }

  .profile-page .security-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

.profile-page .honda-action-group {
  order: -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-page .profile-summary {
  display: none;
}

.profile-page .honda-action-group button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(227, 6, 19, 0.43);
  border-radius: 5px;
  background: linear-gradient(105deg, #e30613, #a20a11);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.profile-page .honda-action-group .honda-btn-outline {
  border-color: var(--line);
  background: #19191e;
}

.profile-page .honda-action-group .btn-icon {
  width: 16px;
  height: 16px;
}

.profile-page .profile-summary {
  display: none;
}

.profile-page .profile-summary > div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
}

.profile-page .profile-summary span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-page .profile-summary strong {
  color: #fff;
  font-family: var(--display);
  font-size: 16px;
}

.profile-page .profile-services-grid {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
}

.profile-page .profile-services-grid > h2 {
  margin: 4px 0 1px;
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}

.profile-page .settings-group-wrapper {
  overflow: hidden;
  border: 1px solid var(--line) !important;
  border-radius: 5px !important;
  background: var(--panel) !important;
}

.profile-page .settings-group-title {
  padding: 9px 12px 7px;
  border-bottom: 1px solid var(--line);
  color: var(--yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.profile-page .settings-list-box {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.profile-page .settings-item-row {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  color: #e8e7eb;
  cursor: pointer;
  transition:
    background 150ms ease,
    color 150ms ease;
}

.profile-page .settings-item-row + .settings-item-row,
.profile-page .settings-item-link + .settings-item-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-page .settings-item-row:hover {
  background: rgba(227, 6, 19, 0.08);
  color: #fff;
}

.profile-page .item-left-side {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.profile-page .service-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.2);
  border-radius: 4px;
  background: rgba(227, 6, 19, 0.1);
  color: #ff675f;
  font-size: 12px;
}

.profile-page .item-left-side > span {
  overflow-wrap: anywhere;
  font-size: 10px;
  font-weight: 600;
}

.profile-page .chevron-indicator {
  color: #73737e;
  font-size: 9px;
}

.profile-page .settings-item-link {
  color: inherit;
  text-decoration: none;
}

.profile-page .logout-row .service-icon,
.profile-page .logout-row .text-red,
.profile-page .indicator-red {
  color: #ff6b63;
}

@media (max-width: 760px) {
  .profile-page .profile-top-section {
    padding: 16px var(--app-gutter) 18px;
    background-position: 65% center;
  }

  .profile-page .profile-intro-row {
    gap: 12px;
    margin-top: 25px;
  }

  .profile-page .profile-avatar {
    width: 62px;
    height: 62px;
  }

  .profile-page .honda-user-meta h2 {
    font-size: 25px;
  }

  .profile-page .honda-main-card {
    min-height: 138px;
    margin-top: 16px;
    padding: 15px;
  }

  .profile-page .honda-amount-row,
  .profile-page .honda-amount-row span {
    font-size: 34px;
  }

  .profile-page .profile-scroll-container {
    padding-top: 13px;
  }
}

@media (max-width: 420px) {
  .profile-page .profile-status-badge {
    max-width: 54%;
    padding: 6px;
    font-size: 7px;
    letter-spacing: 0.06em;
  }

  .profile-page .profile-intro-row {
    align-items: flex-start;
  }

  .profile-page .driver-membership-rank,
  .profile-page .driver-joined-date {
    overflow-wrap: anywhere;
    font-size: 8px;
  }

  .profile-page .driver-telemetry-grid {
    gap: 5px;
  }

  .profile-page .driver-metric {
    padding: 8px 7px;
  }

  .profile-page .driver-metric > strong {
    font-size: 14px;
  }

  .profile-page .driver-settings {
    padding: 12px;
  }

  .profile-page .driver-settings-tab {
    padding: 0 4px;
    font-size: 8px;
  }

  .profile-page .driver-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Unified rounded controls and narrow-screen safeguards */
:root {
  --radius: 20px;
}

.fieldmark-card,
.dashboard-hero,
.dashboard-cockpit,
.metric-card,
.action-grid .action-card,
.garage-model-card,
.product-hero-banner,
.product-summary-row > div,
.mx-product-card,
.profile-page .profile-intro-row,
.profile-page .honda-main-card,
.profile-page .driver-settings,
.profile-page .driver-info-field,
.profile-page .settings-group-wrapper,
.profile-page .driver-security-status,
.vault-membership-pass,
.vault-security-strip,
.honda-bank-form,
.deposit-summary-card,
.deposit-card,
.balance-card-ev,
.input-card-ev,
#withdrawBankCard,
.rules-card-ev,
.record-card,
.invite-share-card,
.invite-copy-box,
.invite-rules-card,
.team-reward-card-main,
.team-reward-page .benefits-container,
.team-reward-page .reward-action-area,
.team-reward-summary > div,
.modal-card,
.modal-content,
.maintenance-card {
  border-radius: 20px !important;
}

button,
input,
select,
textarea,
.bottom-nav .nav-item,
#bottomNav .nav-item,
#bottomNav .nav-icon-wrapper {
  border-radius: 14px !important;
}

#bottomNav .nav-pill-container,
.more-menu {
  border-radius: 20px !important;
}

.fieldmark-field-box,
.recharge-custom-box,
.withdraw-input-box-ev,
.driver-password-field,
.honda-bank-form input,
.honda-bank-form select,
.settings-list-box,
.invite-copy-box,
.team-reward-summary > div {
  border-radius: 16px !important;
}

.dashboard,
.product-page,
.profile-page,
.bank-page,
.recharge-page,
.records-page,
.withdraw-page,
.invite-page,
.investment-page,
#earningsPage,
.team-reward-page {
  min-width: 0;
  overflow-x: clip;
}

.product-page {
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
  scroll-behavior: smooth;
}

.dashboard *,
.product-page *,
.profile-page *,
.bank-page *,
.recharge-page *,
.records-page *,
.withdraw-page *,
.invite-page *,
.investment-page *,
#earningsPage *,
.team-reward-page * {
  min-width: 0;
}

@media (max-width: 380px) {
  :root {
    --app-gutter: 12px;
  }

  .dashboard .main-container,
  .profile-page .profile-scroll-container,
  .recharge-page-container,
  .withdraw-page .recharge-container,
  .referral-container,
  .team-reward-summary,
  .team-reward-card-main {
    width: calc(100% - 24px);
  }

  .dashboard-hero h1 {
    font-size: 38px;
  }

  .invite-hero-title {
    font-size: 32px;
  }

  .profile-page .driver-settings-tab {
    letter-spacing: 0;
  }

  #bottomNav .nav-pill-container {
    width: 100%;
  }
}

/* Centered investment confirmation dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: max(18px, env(safe-area-inset-top)) 16px
    max(18px, env(safe-area-inset-bottom));
  background: rgba(4, 4, 6, 0.82);
  backdrop-filter: blur(10px);
}

.modal-overlay.active,
.modal-overlay.is-open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(100%, 480px);
  max-height: min(88dvh, 720px);
  overflow-y: auto;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 2px solid var(--red);
  border-radius: 14px !important;
  background:
    radial-gradient(ellipse at 100% 0, rgba(227, 6, 19, 0.13), transparent 45%),
    linear-gradient(145deg, #1b1b20, #101014 75%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.66),
    0 0 32px rgba(227, 6, 19, 0.12);
  color: #fff;
  overscroll-behavior: contain;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sheet-title {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.close-sheet {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04);
  color: #d4d3d8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.close-sheet:hover {
  border-color: var(--line-red);
  color: #fff;
}

.slim-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.035);
}

.product-main-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.check-icon-container {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.32);
  border-radius: 8px;
  background: rgba(227, 6, 19, 0.12);
  color: var(--red-hot);
}

.check-icon {
  font-family: var(--display);
  font-size: 27px;
  font-style: italic;
  font-weight: 800;
}

.product-details {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.product-details strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 13px;
}

.product-details p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.product-details p span {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.divider-line {
  height: 1px;
  margin: 13px 0 10px;
  background: var(--line);
}

.account-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
}

.account-balance-row span {
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
}

.action-area {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 14px;
}

.action-area .purchase-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 8px !important;
}

@media (max-width: 420px) {
  .modal-overlay {
    padding-right: 12px;
    padding-left: 12px;
  }

  .modal-card {
    width: 100%;
    padding: 15px;
  }

  .sheet-title {
    font-size: 25px;
  }
}

/* Centered, glassy Ferrari notifications */
#toast-container {
  position: fixed;
  z-index: 7000;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(410px, calc(100vw - 28px));
  max-height: 76vh;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.modern-toast {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 14px 48px 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(227, 6, 19, 0.24), transparent 58%),
    linear-gradient(145deg, rgba(35, 35, 43, 0.98), rgba(13, 13, 18, 0.98));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.52),
    0 0 32px rgba(227, 6, 19, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.08);
  color: #fff;
  opacity: 0;
  pointer-events: auto;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.modern-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-error .toast-icon-wrap {
  border-color: rgba(255, 86, 94, 0.34);
  background: rgba(255, 86, 94, 0.13);
  color: #ff858b;
}

.toast-warning .toast-icon-wrap {
  border-color: rgba(240, 184, 77, 0.34);
  background: rgba(240, 184, 77, 0.12);
  color: #ffd37f;
}

.toast-success .toast-icon-wrap {
  border-color: rgba(129, 211, 155, 0.34);
  background: rgba(129, 211, 155, 0.12);
  color: #91edb1;
}

.toast-info .toast-icon-wrap {
  border-color: rgba(112, 173, 255, 0.34);
  background: rgba(112, 173, 255, 0.12);
  color: #9cc5ff;
}

.toast-icon-wrap {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(255, 86, 94, 0.19);
  border-radius: 14px;
  background: rgba(255, 86, 94, 0.09);
  color: #ff7775;
  font-size: 17px;
}

.toast-message {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  color: #f4f2f6;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.toast-close {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: #c5c3cc;
  cursor: pointer;
  transform: translateY(-50%);
}

.toast-close:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.toast-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(90deg, #e30613, #ff8b62, #f7d46a);
  transform-origin: left center;
  animation: toastCountdown 4200ms linear forwards;
}

.swal2-container.swal2-center {
  z-index: 7000 !important;
}

.swal2-container.swal2-center > .swal2-popup.swal2-toast {
  width: min(410px, calc(100vw - 28px)) !important;
  max-width: none !important;
  padding: 15px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 0 0, rgba(227, 6, 19, 0.22), transparent 58%),
    linear-gradient(145deg, rgba(35, 35, 43, 0.98), rgba(13, 13, 18, 0.98)) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.52),
    0 0 32px rgba(227, 6, 19, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.swal2-container.swal2-center > .swal2-popup.swal2-toast .swal2-title,
.swal2-container.swal2-center > .swal2-popup.swal2-toast .swal2-html-container {
  color: #fff !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

.swal2-container.swal2-center > .swal2-popup.swal2-toast .swal2-icon {
  border-radius: 14px !important;
}

.swal2-container.swal2-center > .swal2-popup.swal2-toast .swal2-timer-progress-bar {
  height: 3px !important;
  border-radius: 0 0 22px 22px !important;
  background: linear-gradient(90deg, #e30613, #ff8b62, #f7d46a) !important;
}

@keyframes toastCountdown {
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 420px) {
  #toast-container {
    width: min(410px, calc(100vw - 24px));
    max-height: 76vh;
  }

  .modern-toast {
    min-height: 62px;
    gap: 10px;
    padding: 12px 44px 12px 12px;
  }

  .toast-icon-wrap {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 15px;
  }

  .toast-message {
    font-size: 11px;
  }

  .swal2-container.swal2-center > .swal2-popup.swal2-toast {
    width: calc(100vw - 24px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modern-toast {
    transition: none;
    transform: none;
  }

  .toast-progress {
    animation: none;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

.profile-scroll-container {
  scroll-behavior: smooth;
}

/* Cinematic first-visit intro and functional action loader */
.drive-intro[hidden] {
  display: none !important;
}

.drive-intro {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: grid;
  grid-template-rows: auto 1fr minmax(180px, 28vh) auto;
  min-height: 100svh;
  padding: max(26px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  overflow: hidden;
  isolation: isolate;
  background: #08080a;
  color: #fff;
  opacity: 1;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

.drive-intro.is-exiting {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.drive-intro-backdrop,
.drive-intro-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.drive-intro-backdrop {
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 7, 0.96) 0%,
      rgba(5, 5, 7, 0.84) 39%,
      rgba(5, 5, 7, 0.18) 100%
    ),
    linear-gradient(
      0deg,
      #08080a 2%,
      rgba(8, 8, 10, 0.12) 62%,
      rgba(8, 8, 10, 0.65) 100%
    ),
    var(--car-hero) 62% 52% / cover;
  animation: drive-backdrop-arrive 1100ms ease both;
}

.drive-intro-grid {
  z-index: -1;
  opacity: 0.17;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.drive-intro-topline,
.drive-intro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drive-intro-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.drive-intro-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 242, 0, 0.55);
  border-radius: 8px;
  background: linear-gradient(145deg, #e30613, #70040a);
  color: #fff;
  font-family: var(--display);
  font-size: 25px;
  font-style: italic;
  font-weight: 800;
  box-shadow: 0 7px 24px rgba(227, 6, 19, 0.25);
}

.drive-intro-edition {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b5b5bd;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.drive-intro-edition i,
.drive-intro-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e30613;
}

.drive-intro-copy {
  align-self: center;
  width: min(100%, 620px);
  padding: 18px 0 36px;
  animation: drive-copy-arrive 680ms 100ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.drive-intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f0c5c5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.drive-intro-kicker i {
  width: 20px;
  height: 2px;
  background: #ff3329;
  box-shadow: 0 0 14px rgba(255, 51, 41, 0.8);
}

.drive-intro-copy h1 {
  margin: 18px 0 12px;
  font-family: var(--display);
  font-size: clamp(54px, 10vw, 116px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.82;
}

.drive-intro-copy h1 span {
  color: #ff3028;
  text-shadow: 0 5px 35px rgba(227, 6, 19, 0.23);
}

.drive-intro-copy p {
  margin: 20px 0 0;
  color: #c3c2c8;
  font-size: 13px;
  letter-spacing: 0.025em;
}

.drive-intro-road {
  position: relative;
  align-self: end;
  height: 100%;
  min-height: 180px;
  margin: 0 calc(-1 * max(24px, env(safe-area-inset-right))) -22px
    calc(-1 * max(24px, env(safe-area-inset-left)));
  overflow: hidden;
  background: linear-gradient(
    180deg,
    transparent 5%,
    rgba(8, 8, 10, 0.5) 48%,
    #08080a 100%
  );
  perspective: 550px;
}

.drive-intro-road::before {
  position: absolute;
  inset: 48% -8% -42%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 60px,
    rgba(255, 255, 255, 0.22) 61px 105px,
    transparent 106px 160px
  );
  content: "";
  transform: perspective(210px) rotateX(40deg);
  transform-origin: center top;
  animation: road-lines 480ms linear infinite;
}

.drive-road-glow {
  position: absolute;
  right: 12%;
  bottom: 25%;
  width: 48%;
  height: 44%;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.27);
  filter: blur(42px);
}

.drive-road-dashes {
  position: absolute;
  right: 0;
  bottom: 20%;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.drive-intro-car {
  position: absolute;
  right: auto;
  bottom: 18%;
  left: -70%;
  width: clamp(330px, 54vw, 610px);
  overflow: visible;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.66));
  animation: ferrari-drive-in 2.35s 180ms cubic-bezier(0.18, 0.62, 0.28, 1)
    forwards;
}

.drive-intro-footer {
  position: absolute;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  left: max(24px, env(safe-area-inset-left));
  z-index: 2;
}

.drive-intro-progress {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.drive-intro-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #a6000b, #ff3931, #fff2a6);
  transform: scaleX(0);
  transform-origin: left center;
  animation: intro-progress 3.6s linear forwards;
}

.drive-intro-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a7a6ae;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.drive-intro-status i {
  animation: intro-status-pulse 800ms ease-in-out infinite alternate;
}

.drive-intro-status i:nth-of-type(2) {
  animation-delay: 180ms;
}

.drive-intro-status i:nth-of-type(3) {
  animation-delay: 360ms;
}

.drive-intro-sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@keyframes drive-backdrop-arrive {
  from {
    opacity: 0.45;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drive-copy-arrive {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ferrari-drive-in {
  0% {
    left: -70%;
    transform: translateY(9px) scale(0.8);
  }
  68% {
    left: 33%;
    transform: translateY(0) scale(1);
  }
  82% {
    left: 35%;
    transform: translateY(-2px) scale(1.015);
  }
  100% {
    left: 32%;
    transform: translateY(0) scale(1);
  }
}

@keyframes road-lines {
  to {
    background-position: -160px 0;
  }
}

@keyframes intro-progress {
  to {
    transform: scaleX(1);
  }
}

@keyframes intro-status-pulse {
  to {
    opacity: 0.25;
    transform: scale(0.75);
  }
}

#pageLoader {
  z-index: 3800;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(110, 0, 9, 0.2), transparent 48%),
    rgba(5, 5, 7, 0.84);
  opacity: 0;
  transition: opacity 180ms ease;
}

.page-loader-panel {
  position: relative;
  display: grid;
  width: min(280px, calc(100vw - 44px));
  justify-items: center;
  gap: 11px;
  padding: 29px 24px 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid #e30613;
  border-radius: 19px;
  background: linear-gradient(
    145deg,
    rgba(27, 27, 32, 0.97),
    rgba(12, 12, 15, 0.99)
  );
  box-shadow:
    0 25px 75px rgba(0, 0, 0, 0.48),
    0 0 45px rgba(227, 6, 19, 0.12);
  text-align: center;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  color: #854f1d;
  background: radial-gradient(
    farthest-side,
    currentColor calc(100% - 6px),
    #0000 calc(100% - 5px) 0
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    #0000 calc(100% - 13px),
    #000 calc(100% - 12px)
  );
  mask: radial-gradient(
    farthest-side,
    #0000 calc(100% - 13px),
    #000 calc(100% - 12px)
  );
  border-radius: 50%;
  animation: l19 2s infinite linear;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1 / 1;
  background:
    linear-gradient(currentColor 0 0) center,
    linear-gradient(currentColor 0 0) center;
  background-size: 100% 10px, 10px 100%;
  background-repeat: no-repeat;
}

.loader::after {
  transform: rotate(45deg);
}

@keyframes l19 {
  100% {
    transform: rotate(1turn);
  }
}

.page-loader-panel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #e30613,
    #fff2a6,
    transparent
  );
  content: "";
  transform: translateX(-100%);
  animation: loader-scan 1.4s ease-in-out infinite;
}

.page-loader-panel strong {
  color: #fff;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-loader-detail {
  max-width: 210px;
  color: #a3a3ad;
  font-size: 10px;
  line-height: 1.55;
}

@keyframes loader-scan {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 600px) {
  .drive-intro {
    grid-template-rows: auto 1fr minmax(150px, 25vh) auto;
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }

  .drive-intro-edition {
    max-width: 130px;
    font-size: 7px;
  }

  .drive-intro-copy h1 {
    font-size: clamp(55px, 13vw, 82px);
  }

  .drive-intro-copy p {
    font-size: 11px;
  }

  .drive-intro-road {
    min-height: 150px;
    margin-right: -18px;
    margin-left: -18px;
  }

  .drive-intro-car {
    bottom: 18%;
    width: min(470px, 116vw);
    animation-name: ferrari-drive-in-mobile;
  }

  .drive-intro-footer {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    left: max(18px, env(safe-area-inset-left));
  }

}

@keyframes ferrari-drive-in-mobile {
  0% {
    left: -90%;
    transform: translateY(7px) scale(0.72);
  }
  72% {
    left: 15%;
    transform: translateY(0) scale(0.86);
  }
  100% {
    left: 10%;
    transform: translateY(0) scale(0.86);
  }
}

@media (prefers-reduced-motion: reduce) {
  .drive-intro-backdrop,
  .drive-intro-copy,
  .drive-intro-car,
  .drive-intro-road::before,
  .drive-intro-progress span,
  .drive-intro-status i,
  .page-loader-panel::after {
    animation: none !important;
  }

  .loader {
    animation: none !important;
  }

  .drive-intro {
    transition: none;
  }

  .drive-intro-progress span {
    transform: scaleX(1);
  }
}

/* Team network */
#earningsPage {
  min-height: 100vh;
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
  background:
    radial-gradient(
      ellipse at 82% 16%,
      rgba(227, 6, 19, 0.11),
      transparent 34%
    ),
    #0a0a0c;
}

#earningsPage .team-header-main {
  position: sticky;
  z-index: 500;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  gap: 14px;
  padding: 10px max(var(--app-gutter), env(safe-area-inset-right)) 10px
    max(var(--app-gutter), env(safe-area-inset-left));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(18px);
}

#earningsPage .back-btn-white {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

#earningsPage .team-header-title {
  color: #fff;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#earningsPage .team-header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #a5a5af;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

#earningsPage .team-header-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76d89a;
  box-shadow: 0 0 12px rgba(118, 216, 154, 0.65);
}

#earningsPage .team-page-shell {
  display: grid;
  width: min(calc(100% - 2 * var(--app-gutter)), 860px);
  gap: 18px;
  margin: 22px auto;
  padding: 0 0 18px;
}

#earningsPage .team-hero {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  isolation: isolate;
  background: #17171b;
}

#earningsPage .team-hero img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  opacity: 0.66;
  transform: scale(1.015);
}

#earningsPage .team-hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 11, 0.96),
      rgba(8, 8, 11, 0.58) 54%,
      rgba(8, 8, 11, 0.1)
    ),
    linear-gradient(0deg, rgba(8, 8, 11, 0.6), transparent 66%);
}

#earningsPage .team-hero-copy {
  max-width: 540px;
  padding: clamp(28px, 6vw, 52px);
}

#earningsPage .team-hero-kicker,
#earningsPage .team-detail-kicker {
  color: #ff777d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

#earningsPage .team-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#earningsPage .team-hero-copy h1 {
  margin: 19px 0 8px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

#earningsPage .team-hero-copy h1 em {
  color: #ff3944;
  font-style: normal;
}

#earningsPage .team-hero-copy p {
  max-width: 310px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

#earningsPage .team-hero-index {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

#earningsPage .team-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#earningsPage .team-summary-tile {
  display: flex;
  min-height: 98px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    rgba(25, 25, 30, 0.96),
    rgba(15, 15, 18, 0.98)
  );
}

#earningsPage .team-summary-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.24);
  border-radius: 12px;
  background: rgba(227, 6, 19, 0.1);
  color: #ff5962;
}

#earningsPage .team-summary-copy {
  display: grid;
  gap: 4px;
}

#earningsPage .team-summary-copy > span {
  color: #a5a5af;
  font-size: 10px;
}

#earningsPage .team-summary-copy strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(18px, 3vw, 25px);
  line-height: 1;
}

#earningsPage .team-level-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(17, 17, 21, 0.9);
}

#earningsPage .team-level-tabs button {
  display: grid;
  min-height: 62px;
  align-content: center;
  justify-items: start;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #9e9ea8;
  cursor: pointer;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

#earningsPage .team-level-tabs button > span {
  color: inherit;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#earningsPage .team-level-tabs button small {
  color: #85858f;
  font-size: 9px;
}

#earningsPage .team-level-tabs button.active {
  border-color: rgba(227, 6, 19, 0.4);
  background: linear-gradient(
    120deg,
    rgba(227, 6, 19, 0.2),
    rgba(227, 6, 19, 0.06)
  );
  color: #fff;
}

#earningsPage .team-level-tabs button.active small {
  color: #ff989e;
}

#earningsPage .team-detail-view {
  min-height: 210px;
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 19px;
  background: linear-gradient(
    145deg,
    rgba(22, 22, 26, 0.98),
    rgba(13, 13, 16, 0.98)
  );
}

#earningsPage .team-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

#earningsPage .team-detail-heading h2 {
  margin: 5px 0 0;
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

#earningsPage .team-detail-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a4a4ad;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

#earningsPage #teamList {
  display: grid;
  gap: 10px;
}

#earningsPage .team-list-state {
  display: grid;
  min-height: 152px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  color: #a0a0aa;
  text-align: center;
}

#earningsPage .team-list-state > i {
  color: #ff646d;
  font-size: 22px;
}

#earningsPage .team-empty-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(227, 6, 19, 0.1);
  color: #ff646d;
  font-size: 18px;
}

#earningsPage .team-list-state strong {
  color: #f4f4f6;
  font-size: 13px;
}

#earningsPage .team-list-state > span:last-child {
  max-width: 300px;
  font-size: 11px;
  line-height: 1.5;
}

#earningsPage .team-list-loading {
  border-style: solid;
}

#earningsPage .team-list-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: #ff3944;
  border-radius: 50%;
  animation: team-spinner 800ms linear infinite;
}

#earningsPage .team-member-card {
  display: grid;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  animation: team-card-enter 300ms ease both;
  animation-delay: calc(var(--team-card-index, 0) * 35ms);
}

#earningsPage .team-member-topline {
  display: flex;
  align-items: center;
  gap: 10px;
}

#earningsPage .team-member-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  color: #d4d4dc;
}

#earningsPage .team-member-topline strong {
  overflow-wrap: anywhere;
  color: #f6f6f7;
  font-size: 12px;
}

#earningsPage .team-purchase-status {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #b7b7c0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

#earningsPage .team-purchase-status.is-purchased {
  border-color: rgba(129, 211, 155, 0.2);
  background: rgba(129, 211, 155, 0.08);
  color: #91d9a6;
}

#earningsPage .team-purchase-status.is-pending {
  border-color: rgba(255, 255, 255, 0.1);
  color: #b7b7c0;
}

#earningsPage .team-purchase-status.is-unavailable {
  border-color: rgba(255, 194, 87, 0.2);
  background: rgba(255, 194, 87, 0.07);
  color: #ffd18a;
}

#earningsPage .team-member-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#earningsPage .team-member-metrics > span {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #9f9fa8;
  font-size: 9px;
}

#earningsPage .team-member-metrics b {
  color: #f5f5f6;
  font-size: 11px;
}

#earningsPage .team-member-time,
#earningsPage .team-member-meta {
  color: #898993;
  font-size: 9px;
}

#earningsPage .team-member-meta {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

@keyframes team-spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes team-card-enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  #earningsPage .team-page-shell {
    gap: 13px;
    margin-top: 14px;
  }

  #earningsPage .team-hero {
    min-height: 230px;
    border-radius: 18px;
  }

  #earningsPage .team-hero-copy {
    padding: 28px 22px;
  }

  #earningsPage .team-summary-strip {
    gap: 7px;
  }

  #earningsPage .team-summary-tile {
    min-height: 90px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 11px;
    border-radius: 14px;
  }

  #earningsPage .team-summary-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 10px;
    font-size: 11px;
  }

  #earningsPage .team-summary-copy > span {
    font-size: 8px;
  }

  #earningsPage .team-summary-copy strong {
    font-size: clamp(16px, 5vw, 21px);
  }

  #earningsPage .team-level-tabs {
    gap: 4px;
    padding: 4px;
    border-radius: 15px;
  }

  #earningsPage .team-level-tabs button {
    min-height: 58px;
    padding: 8px 7px;
    border-radius: 11px;
  }

  #earningsPage .team-level-tabs button > span {
    font-size: 14px;
  }

  #earningsPage .team-level-tabs button small {
    font-size: 8px;
  }

  #earningsPage .team-detail-view {
    padding: 15px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #earningsPage .team-list-spinner,
  #earningsPage .team-member-card {
    animation: none;
  }
}

.withdraw-page {
  padding-bottom: max(36px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 50% 0, rgba(227, 6, 19, 0.1), transparent 38%),
    #0a0a0c;
}

.withdraw-header-fixed {
  min-height: 72px;
  gap: 13px;
  padding-top: max(10px, env(safe-area-inset-top));
  padding-bottom: 10px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 12, 0.9);
}

.withdraw-header-fixed .withdraw-back-btn-v2 {
  border-radius: 14px !important;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.withdraw-header-fixed .withdraw-back-btn-v2:hover {
  border-color: rgba(255, 98, 91, 0.36);
  background: rgba(227, 6, 19, 0.12);
}

.withdraw-heading {
  display: grid;
  gap: 2px;
}

.withdraw-heading > span {
  color: #ff716a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.withdraw-header-fixed .withdraw-heading h2 {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.withdraw-header-fixed .history-btn {
  min-width: 76px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.045);
  color: #e8e7ec;
  letter-spacing: 0.04em;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.withdraw-header-fixed .history-btn:hover {
  border-color: rgba(255, 98, 91, 0.3);
  background: rgba(227, 6, 19, 0.1);
}

.withdraw-page .recharge-container {
  width: min(calc(100% - 2 * var(--app-gutter)), 960px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 15px;
  padding-top: 22px;
}

.withdraw-page .balance-card-ev,
.withdraw-page .input-card-ev,
.withdraw-page #withdrawBankCard,
.withdraw-page .rules-card-ev {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 23px !important;
  background: linear-gradient(150deg, #1a1a20, #111115 75%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.withdraw-page .balance-card-ev {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse at 100% 0, rgba(227, 6, 19, 0.22), transparent 45%),
    linear-gradient(145deg, #1b1b21, #111115 75%);
}

.withdraw-page .balance-card-ev::after {
  inset: auto -35px -65px auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 53%, rgba(255, 255, 255, 0.035) 54% 55%, transparent 56%),
    radial-gradient(circle at 50% 50%, transparent 70%, rgba(255, 255, 255, 0.03) 71% 72%, transparent 73%);
  opacity: 1;
}

.withdraw-page .balance-card-ev .satellite-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  padding: 6px;
  border: 1px solid rgba(255, 98, 91, 0.25);
  border-radius: 11px;
  background: rgba(227, 6, 19, 0.12);
  stroke: #ff766e;
}

.withdraw-page .balance-label-ev {
  color: #aeadb8;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.withdraw-page #withdrawBalance {
  margin-top: 5px;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1;
}

.withdraw-page .withdraw-balance-meter {
  height: 6px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.withdraw-page .withdraw-balance-meter span {
  background: linear-gradient(90deg, #b40b14, #ff534d);
  box-shadow: 0 0 13px rgba(227, 6, 19, 0.35);
}

.withdraw-page .withdraw-balance-meter-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  color: #898993;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.withdraw-page .input-card-ev {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 21px;
}

.withdraw-page .input-card-ev .card-header-ev {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f0eff3;
  font-size: 10px;
}

.withdraw-page .input-card-ev .card-header-ev svg {
  flex: 0 0 18px;
  stroke: #ff716a !important;
}

.withdraw-page .min-text-ev {
  color: #aeadb8;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.withdraw-page .withdraw-input-box-ev {
  min-height: 60px;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px !important;
  background: rgba(7, 7, 10, 0.55);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.withdraw-page .withdraw-input-box-ev:focus-within {
  border-color: rgba(255, 98, 91, 0.55);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.withdraw-page .currency-neon {
  color: #ff716a;
  font-size: 24px;
}

.withdraw-page .withdraw-input-box-ev input {
  width: 100%;
  min-height: 56px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.withdraw-page .withdraw-input-box-ev input::placeholder {
  color: #6e6e78;
  font-size: 13px;
  font-weight: 400;
}

.withdraw-page .max-btn-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-self: start;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(255, 98, 91, 0.17);
  border-radius: 12px !important;
  background: rgba(227, 6, 19, 0.07);
  color: #ff817a;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}

.withdraw-page .max-btn-link > span {
  color: #9d9ca6;
  font-size: 9px;
  font-weight: 500;
}

.withdraw-page .max-btn-link > i {
  margin-left: 2px;
  font-size: 10px;
}

.withdraw-page .max-btn-link:hover {
  border-color: rgba(255, 98, 91, 0.4);
  background: rgba(227, 6, 19, 0.13);
}

.withdraw-page .withdraw-fee-breakdown {
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px !important;
  background: rgba(7, 7, 10, 0.32);
}

.withdraw-page .withdraw-fee-breakdown > div {
  min-height: 37px;
  padding: 8px 0;
  color: #a7a6b0;
  font-size: 10px;
}

.withdraw-page .withdraw-fee-breakdown > div + div {
  border-top-color: rgba(255, 255, 255, 0.07);
}

.withdraw-page .withdraw-fee-breakdown strong {
  color: #f6f5f8;
  font-size: 11px;
}

.withdraw-page .withdraw-net-row {
  min-height: 43px !important;
}

.withdraw-page .withdraw-net-row span {
  color: #fff;
  font-weight: 600;
}

.withdraw-page .withdraw-net-row strong {
  color: #ffe56a;
  font-size: 14px;
}

.withdraw-page .withdraw-bank-section-title {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
  margin: 4px 0 -5px;
  padding: 4px 2px;
  color: #f0eff3;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.withdraw-page .withdraw-bank-section-title svg {
  flex: 0 0 20px;
  stroke: #ff716a !important;
}

.withdraw-page #withdrawBankCard {
  grid-column: 1 / -1;
  padding: 14px;
}

.withdraw-page .bank-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.withdraw-page .bank-sub-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.025);
}

.withdraw-page .sub-card-label {
  margin-bottom: 5px;
  color: #91909b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.withdraw-page .sub-card-value {
  overflow-wrap: anywhere;
  color: #f5f4f7;
  font-size: 12px;
  font-weight: 600;
}

.withdraw-page #withdrawBankCard > p {
  margin: 8px 0;
  color: #e5e4ea;
  font-size: 11px;
}

.withdraw-page #withdrawBankCard > .bank-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 10px;
  text-align: center;
}

.withdraw-page #withdrawBankCard .bank-empty h4,
.withdraw-page #withdrawBankCard .bank-empty p {
  margin: 0;
}

.withdraw-page #withdrawBankCard .bank-empty h4 {
  color: #fff;
  font-size: 13px;
}

.withdraw-page #withdrawBankCard .bank-empty p {
  color: #a5a5af;
  font-size: 10px;
}

.withdraw-page #withdrawBankCard .add-bank-btn,
.withdraw-page #withdrawBankCard #addAccountBtn {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 98, 91, 0.24);
  border-radius: 13px !important;
  background: rgba(227, 6, 19, 0.12);
  color: #ff827b;
  font-size: 9px;
  font-weight: 700;
}

.withdraw-page #withdrawSubmitBtn {
  grid-column: 1 / -1;
  min-height: 54px;
  border-radius: 16px !important;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.withdraw-page #withdrawSubmitBtn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.withdraw-page .rules-card-ev {
  display: grid;
  grid-column: 1 / -1;
  gap: 0;
  padding: 16px 18px;
}

.withdraw-page .rules-title-ev {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.withdraw-page .rules-title-ev svg {
  flex: 0 0 20px;
  stroke: #ff716a !important;
}

.withdraw-page .rule-item-ev {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #b1b0ba;
  font-size: 10px;
  line-height: 1.5;
}

.withdraw-page .rule-item-ev:last-child {
  border-bottom: 0;
}

.withdraw-page .rule-num {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  border: 1px solid rgba(255, 98, 91, 0.2);
  border-radius: 8px;
  background: rgba(227, 6, 19, 0.09);
  color: #ff827b;
  font-size: 9px;
  font-weight: 700;
}

.withdraw-page .rule-item-ev .warning-text {
  color: #e2c984;
}

@media (max-width: 760px) {
  .withdraw-page .recharge-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .recharge-keypad {
    gap: 7px;
  }

  .recharge-keypad button {
    min-height: 46px;
    border-radius: 12px;
    gap: 12px;
    padding-top: 15px;
  }

  .withdraw-page .balance-card-ev {
    min-height: 180px;
  }

  .withdraw-page .withdraw-bank-section-title,
  .withdraw-page #withdrawBankCard,
  .withdraw-page #withdrawSubmitBtn,
  .withdraw-page .rules-card-ev {
    grid-column: 1;
  }
}

@media (max-width: 420px) {
  .withdraw-header-fixed {
    gap: 10px;
  }

  .withdraw-header-fixed .withdraw-heading h2 {
    font-size: 22px;
  }

  .withdraw-header-fixed .history-btn {
    min-width: 66px;
    padding: 0 8px;
    font-size: 8px;
  }

  .withdraw-page .balance-card-ev,
  .withdraw-page .input-card-ev {
    padding: 17px;
    border-radius: 20px !important;
  }

  .withdraw-page .bank-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .withdraw-page .rules-card-ev {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .withdraw-page .withdraw-back-btn-v2,
  .withdraw-page .history-btn,
  .withdraw-page .withdraw-input-box-ev,
  .withdraw-page .max-btn-link {
    transition: none;
  }
}

@media (max-width: 760px) {
  .invite-page {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .referral-container {
    width: calc(100% - 28px);
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 12px auto 20px;
  }

  .invite-share-card,
  .invite-rules-card {
    width: 100%;
    padding: 18px;
    border-radius: 20px !important;
  }

  .invite-share-card {
    gap: 13px;
    background:
      linear-gradient(
        145deg,
        rgba(9, 9, 12, 0.95),
        rgba(9, 9, 12, 0.82) 50%,
        rgba(9, 9, 12, 0.97)
      ),
      url("https://images.unsplash.com/photo-1583121274602-3e2820c69888?auto=format&fit=crop&w=900&q=80")
        62% center / cover;
  }

  .invite-logo-wrap {
    gap: 9px;
  }

  .invite-logo-mark {
    width: 34px;
    height: 36px;
    font-size: 25px;
  }

  .invite-logo-name {
    font-size: 21px;
  }

  .invite-hero-title {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 0.99;
  }

  .invite-hero-subtitle {
    margin: -4px 0 0;
    font-size: 11px;
    line-height: 1.5;
  }

  .invite-copy-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-top: 2px;
  }

  .invite-copy-box {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 12px;
    border-radius: 15px !important;
  }

  .invite-box-value {
    font-size: 19px;
  }

  .invite-link-value input,
  .invite-copy-box input {
    min-height: 38px;
    font-size: 10px;
  }

  .invite-copy-box .invite-box-label,
  .invite-copy-box .invite-box-value,
  .invite-copy-box .invite-action-button {
    grid-column: auto;
    grid-row: auto;
  }

  .invite-copy-box .invite-action-button {
    width: 100%;
    min-height: 42px;
    border-radius: 12px;
  }

  .invite-rules-card {
    gap: 2px;
    padding: 16px 18px;
  }

  .invite-rules-title {
    padding-bottom: 9px;
    font-size: 20px;
  }

  .invite-rule-list li {
    padding: 11px 0;
    font-size: 11px;
    line-height: 1.55;
  }

  #bottomNav {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
  }

  #bottomNav .nav-pill-container {
    width: 100%;
    max-width: none;
    min-height: calc(66px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 5px max(6px, env(safe-area-inset-right))
      calc(5px + env(safe-area-inset-bottom))
      max(6px, env(safe-area-inset-left));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0 !important;
    background: rgba(15, 15, 19, 0.97);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.38);
  }

  #bottomNav .nav-item {
    width: 100%;
    min-height: 52px;
    gap: 2px;
    border-radius: 12px !important;
  }

  #bottomNav .nav-icon-wrapper {
    width: 24px;
    height: 23px;
  }

  #bottomNav .nav-icon-wrapper svg {
    width: 18px;
    height: 18px;
  }

  #bottomNav .nav-label-text {
    font-size: 8px;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 380px) {
  .referral-container {
    width: calc(100% - 24px);
  }

  .invite-share-card,
  .invite-rules-card {
    padding: 15px;
  }

  #bottomNav .nav-pill-container {
    gap: 0;
    padding-right: max(3px, env(safe-area-inset-right));
    padding-left: max(3px, env(safe-area-inset-left));
  }

  #bottomNav .nav-label-text {
    font-size: 7px;
    letter-spacing: 0;
  }
}

.bank-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(227, 6, 19, 0.12), transparent 34%),
    radial-gradient(ellipse at 92% 54%, rgba(255, 255, 255, 0.035), transparent 30%),
    #09090c;
}

.bank-header {
  min-height: 68px;
  padding-inline: max(var(--app-gutter), calc((100vw - 1040px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(9, 9, 12, 0.88);
  backdrop-filter: blur(18px);
}

.bank-header h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bank-back-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bank-back-btn:hover {
  transform: translateX(-2px);
  border-color: rgba(255, 83, 74, 0.48);
  background: rgba(227, 6, 19, 0.12);
}

.honda-bank-container {
  width: min(calc(100% - 2 * var(--app-gutter)), 980px);
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
  align-items: start;
  gap: 18px;
  padding: clamp(22px, 5vw, 46px) 0 40px;
}

.vault-intro {
  grid-column: 1 / -1;
  padding: 2px 2px 5px;
}

.vault-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff7069;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.vault-kicker::before {
  width: 19px;
  height: 2px;
  background: #ed1c24;
  content: "";
}

.vault-intro h1 {
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: clamp(35px, 6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.vault-intro p {
  max-width: 470px;
  margin: 0 0 12px;
  color: #a3a1aa;
  font-size: 12px;
  line-height: 1.65;
}

.vault-connection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a9a7b0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.vault-connection i {
  color: #70dca0;
}

.vault-membership-pass {
  grid-column: 2;
  grid-row: 2;
  min-height: 228px;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 2px solid #ed1c24;
  border-radius: 19px !important;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.16), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #242329, #111115 66%, #260c0e);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.vault-membership-pass::after {
  background:
    radial-gradient(circle at 82% 20%, rgba(227, 6, 19, 0.24), transparent 35%),
    linear-gradient(90deg, rgba(13, 13, 16, 0.03), rgba(13, 13, 16, 0.5)),
    var(--car-hero) 60% 50% / cover;
  opacity: 0.14;
}

.vault-pass-topline {
  font-size: 8px;
  letter-spacing: 0.14em;
}

.vault-pass-state {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #ffc36c;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.vault-pass-bank {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 31px);
  letter-spacing: 0.01em;
}

.vault-pass-account {
  margin-top: 8px;
  color: #d4d1da;
  font-size: 14px;
  letter-spacing: 0.2em;
}

.vault-pass-footer {
  margin-top: 24px;
  color: #9997a1;
  font-size: 8px;
}

.vault-pass-footer > div strong {
  max-width: 245px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vault-pass-lock {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9d7df;
}

.vault-security-strip {
  display: flex;
  grid-column: 2;
  grid-row: 3;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(113, 224, 163, 0.14) !important;
  border-radius: 14px !important;
  background: linear-gradient(130deg, rgba(35, 102, 70, 0.14), rgba(255, 255, 255, 0.025)) !important;
}

.vault-security-strip > i:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(113, 224, 163, 0.18);
  border-radius: 11px;
  background: rgba(113, 224, 163, 0.09);
  color: #83e5ac;
}

.vault-security-strip span {
  display: grid;
  gap: 3px;
  color: #e7e5eb;
  font-size: 10px;
}

.vault-security-strip small {
  color: #9997a1;
  font-size: 9px;
}

.vault-security-mark {
  margin-left: auto;
  color: rgba(131, 229, 172, 0.44);
}

.honda-bank-form {
  grid-column: 1;
  grid-row: 2 / span 2;
  gap: 16px;
  padding: clamp(17px, 3vw, 23px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 19px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 50%),
    #121216;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.19);
}

.honda-input-label {
  color: #e5e3e9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.honda-select-wrapper {
  position: relative;
}

.honda-select-wrapper::after {
  position: absolute;
  top: 50%;
  right: 15px;
  color: #aaa7b1;
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-size: 10px;
  font-weight: 900;
  pointer-events: none;
  transform: translateY(-50%);
}

.honda-bank-form input,
.honda-bank-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.105) !important;
  border-radius: 12px !important;
  background-color: #0d0d11 !important;
  color: #fff !important;
  font-size: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.honda-bank-form select {
  appearance: none;
  padding-right: 38px;
}

.honda-bank-form input::placeholder {
  color: #77747f;
}

.honda-bank-form input:focus,
.honda-bank-form select:focus {
  border-color: rgba(255, 83, 74, 0.66) !important;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
  outline: 0;
}

.honda-verification-notice {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #aaa8b1;
  font-size: 10px;
  line-height: 1.5;
}

.honda-verification-notice[data-state="success"] {
  border-color: rgba(113, 224, 163, 0.2);
  color: #9be6b5;
}

.honda-verification-notice[data-state="error"] {
  border-color: rgba(255, 96, 96, 0.28);
  color: #ff9999;
}

.honda-submit-btn {
  min-height: 49px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px !important;
  background: linear-gradient(110deg, #ea2029, #a40811);
  box-shadow: 0 10px 22px rgba(227, 6, 19, 0.18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: filter 150ms ease, transform 150ms ease;
}

.honda-submit-btn:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.honda-submit-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.honda-notice-card {
  padding: 14px;
  border: 1px solid rgba(255, 193, 105, 0.13) !important;
  border-radius: 13px !important;
  background: rgba(255, 180, 83, 0.045) !important;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffc36c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.notice-circle {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(255, 193, 105, 0.16);
  border-radius: 9px;
  background: rgba(255, 193, 105, 0.08);
}

.notice-content {
  margin: 10px 0 0;
  color: #aaa7af;
  font-size: 9px;
  line-height: 1.65;
}

#bottomNav .nav-pill-container {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 42%),
    rgba(14, 14, 18, 0.96);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

#bottomNav .nav-item {
  border: 1px solid transparent;
  color: #9999a5;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

#bottomNav .nav-item:focus-visible {
  outline: 2px solid rgba(255, 83, 74, 0.9);
  outline-offset: 2px;
}

#bottomNav .nav-icon-wrapper {
  width: 34px;
  height: 30px;
  border-radius: 11px !important;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

#bottomNav .nav-icon-wrapper svg {
  width: 21px;
  height: 21px;
}

#bottomNav .nav-item.active {
  border-color: rgba(255, 59, 68, 0.16);
  background: linear-gradient(
    145deg,
    rgba(227, 6, 19, 0.19),
    rgba(227, 6, 19, 0.055)
  );
  color: #fff;
}

#bottomNav .nav-item.active .nav-icon-wrapper {
  background: rgba(227, 6, 19, 0.13);
  box-shadow: 0 0 18px rgba(227, 6, 19, 0.12);
  animation: bottomNavIconBounce 560ms cubic-bezier(0.2, 0.8, 0.25, 1.2);
}

#bottomNav .nav-item.active .nav-label-text {
  color: #fff;
}

@keyframes bottomNavIconBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  32% {
    transform: translateY(-5px) scale(1.1);
  }
  55% {
    transform: translateY(1px) scale(0.96);
  }
  76% {
    transform: translateY(-1px) scale(1.02);
  }
}

@media (hover: hover) and (pointer: fine) {
  #bottomNav .nav-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.045);
    color: #fff;
  }

  #bottomNav .nav-item:hover .nav-icon-wrapper {
    color: #ff626a;
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #bottomNav .nav-item,
  #bottomNav .nav-icon-wrapper {
    transition: none;
  }

  #bottomNav .nav-item.active .nav-icon-wrapper {
    animation: none;
  }
}

@media (max-width: 700px) {
  .honda-bank-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding-top: 24px;
  }

  .vault-intro,
  .vault-membership-pass,
  .vault-security-strip,
  .honda-bank-form {
    grid-column: 1;
    grid-row: auto;
  }

  .vault-membership-pass {
    min-height: 210px;
  }

  .vault-security-strip {
    order: 1;
  }

  .honda-bank-form {
    order: 2;
  }
}

@media (max-width: 380px) {
  .bank-header {
    min-height: 60px;
  }

  .bank-header h2 {
    font-size: 17px;
  }

  .honda-bank-container {
    width: calc(100% - 24px);
  }

  .vault-membership-pass {
    min-height: 192px;
    padding: 16px;
  }

  .vault-pass-bank {
    margin-top: 26px;
    font-size: 23px;
  }
}
