:root {
  --bg: #eef2f6;
  --bg-soft: #f7f9fb;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f2f5f8;
  --ink: #142033;
  --ink-strong: #071322;
  --muted: #637083;
  --muted-2: #8994a3;
  --line: #dce3eb;
  --line-strong: #c7d0dc;
  --navy: #071a2e;
  --navy-2: #0d263f;
  --gold: #b98b36;
  --gold-soft: #fff7e6;
  --teal: #0e9f8f;
  --green: #15935d;
  --red: #c63d43;
  --orange: #c6751f;
  --shadow: 0 18px 38px rgba(20, 32, 51, .10);
  --shadow-soft: 0 10px 24px rgba(20, 32, 51, .07);
  --radius: 8px;
  color-scheme: light;
}

/* Desktop web: extend the dark header field downward with a second blue layer. */
@media (min-width: 769px) {
  body,
  body.free-web-mode,
  body.exchange-web-mode,
  body.premium-web-mode,
  body.hash-web-mode,
  body.recharge-web-mode,
  body.referral-web-mode {
    background:
      radial-gradient(circle at 82% 74px, rgba(22, 119, 255, .14), transparent 210px),
      linear-gradient(180deg,
        #071426 0,
        #071426 68px,
        #0a1b2f 69px,
        #102943 205px,
        #f5f7fb 206px,
        #f5f7fb 100%) !important;
  }

  body.free-web-mode .free-web-title-row h2,
  body.referral-web-mode .referral-web-title-row h2 {
    color: #f8fbff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .34);
  }

  body.free-web-mode .free-web-title-row p,
  body.referral-web-mode .referral-web-title-row p {
    color: rgba(226, 239, 255, .82) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .22);
  }

  body.free-web-mode .free-web-title-row h2 svg {
    color: #38a5ff !important;
    filter: drop-shadow(0 0 10px rgba(56, 165, 255, .38));
  }
}

/* Desktop web cleanup: remove the top risk/account/server status strip. */
@media (min-width: 769px) {
  .compliance-strip {
    display: none !important;
  }
}

/* Fix H5 free-energy top layout: remove empty decoration and restore title stack. */
@media (max-width: 768px) {
  body.free-h5-mode .topbar {
    padding: 10px 0 58px !important;
  }

  body.free-h5-mode .topbar::after {
    display: none !important;
    content: none !important;
  }

  body.free-h5-mode .hero-grid {
    margin-top: -42px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.free-h5-mode .action-panel {
    position: relative !important;
    z-index: 3 !important;
    padding-top: 18px !important;
  }

  body.free-h5-mode .action-head {
    display: block !important;
    min-height: auto !important;
    margin-bottom: 12px !important;
  }

  body.free-h5-mode .action-head h2,
  body.free-h5-mode #actionTitle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 30px !important;
    margin: 0 0 12px !important;
    color: #0f172a !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    overflow: visible !important;
  }

  body.free-h5-mode .mode-tabs {
    margin-top: 0 !important;
  }
}

/* Final H5 free-energy app layout. */
@media (max-width: 768px) {
  body.free-h5-mode {
    background: #f5f7fb !important;
  }

  body.free-h5-mode .topbar {
    position: relative;
    background: radial-gradient(circle at 72% 0%, #12356a 0%, #071426 52%, #05101f 100%) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    padding: 14px 0 88px !important;
  }

  body.free-h5-mode .topbar::after {
    content: "";
    position: absolute;
    inset: auto 18px 22px;
    height: 64px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 50%, rgba(22, 119, 255, .28), transparent 38%),
      linear-gradient(90deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02));
    opacity: .85;
  }

  body.free-h5-mode .nav-inner {
    position: relative;
    z-index: 2;
    height: 44px !important;
    padding: 0 14px !important;
  }

  body.free-h5-mode .mobile-menu-btn {
    width: 34px !important;
    height: 34px !important;
    border-color: rgba(255, 255, 255, .16) !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
  }

  body.free-h5-mode .brand {
    gap: 8px !important;
    color: #fff !important;
  }

  body.free-h5-mode .brand-mark {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #1f7cff, #0f6bff) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(22, 119, 255, .26) !important;
  }

  body.free-h5-mode .brand strong {
    color: #fff !important;
    font-size: 17px !important;
  }

  body.free-h5-mode .brand small,
  body.free-h5-mode .balance-chip {
    display: none !important;
  }

  body.free-h5-mode .account-mini {
    margin-left: auto !important;
  }

  body.free-h5-mode .profile-trigger {
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(244, 199, 107, .42) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f4c76b, #b78323) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(184, 131, 35, .24) !important;
  }

  body.free-h5-mode .profile-symbol {
    display: none !important;
  }

  body.free-h5-mode .hero-grid {
    display: block !important;
    margin-top: -74px !important;
    padding: 0 16px calc(86px + env(safe-area-inset-bottom)) !important;
  }

  body.free-h5-mode .info-panel {
    display: none !important;
  }

  body.free-h5-mode .action-panel {
    border: 1px solid #e5eaf2 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .12) !important;
    padding: 16px !important;
  }

  body.free-h5-mode .action-head {
    display: block !important;
    margin-bottom: 12px !important;
  }

  body.free-h5-mode .action-head h2 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 12px !important;
    color: #0f172a !important;
    font-size: 25px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
  }

  body.free-h5-mode .action-head h2::before {
    content: "";
    width: 5px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f4c76b, #b78323);
    flex: 0 0 auto;
  }

  body.free-h5-mode .mode-tabs {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
  }

  body.free-h5-mode .mode-tabs button {
    height: 34px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    border: 1px solid #e5eaf2 !important;
    background: #fff !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  body.free-h5-mode .mode-tabs button.active {
    border-color: #d8a33b !important;
    background: #fff7e6 !important;
    color: #9a6a18 !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 {
    display: grid !important;
    gap: 12px !important;
  }

  body.free-h5-mode .free-energy-quota {
    min-height: 136px !important;
    padding: 18px !important;
    border: 0 !important;
    border-radius: 18px !important;
    color: #fff !important;
    background:
      radial-gradient(circle at 84% 14%, rgba(255, 255, 255, .24), transparent 26%),
      linear-gradient(135deg, #1666e8, #0f6bff 55%, #0753ca) !important;
    box-shadow: 0 14px 30px rgba(22, 119, 255, .24) !important;
  }

  body.free-h5-mode .free-energy-quota::before {
    inset: 0 !important;
    height: auto !important;
    background:
      linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px) !important;
    background-size: 22px 22px !important;
    opacity: .45 !important;
  }

  body.free-h5-mode .free-quota-copy {
    position: relative;
    z-index: 2;
    max-width: 58%;
  }

  body.free-h5-mode .free-quota-copy span,
  body.free-h5-mode .free-quota-copy p {
    display: block !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  body.free-h5-mode .free-quota-copy b {
    display: block !important;
    margin: 10px 0 6px !important;
    color: #fff !important;
    font-size: 0 !important;
  }

  body.free-h5-mode .free-quota-copy em {
    color: #fff !important;
    font-size: 56px !important;
    line-height: .94 !important;
    font-weight: 900 !important;
    font-style: normal !important;
  }

  body.free-h5-mode .free-quota-copy small {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 900 !important;
  }

  body.free-h5-mode .free-energy-orb {
    position: absolute;
    z-index: 2;
    right: -8px;
    bottom: -10px;
    width: 128px;
    height: 128px;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(0, 42, 120, .28));
  }

  body.free-h5-mode .free-energy-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.free-h5-mode .free-energy-stats span {
    position: relative;
    overflow: hidden;
    min-height: 78px !important;
    padding: 10px 8px 12px !important;
    border: 1px solid #e5eaf2 !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05) !important;
    color: #64748b !important;
    font-size: 11px !important;
  }

  body.free-h5-mode .free-energy-stats span img {
    width: 22px;
    height: 22px;
    display: block;
    margin-bottom: 5px;
  }

  body.free-h5-mode .free-energy-stats span i {
    display: block;
    font-style: normal;
    white-space: nowrap;
  }

  body.free-h5-mode .free-energy-stats span b {
    margin-top: 5px !important;
    color: #0f172a !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  body.free-h5-mode .free-energy-stats span em {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #1677ff, #0ea5e9);
  }

  body.free-h5-mode .free-energy-stats span:nth-child(3) em {
    background: linear-gradient(90deg, #f4c76b, #b78323);
  }

  body.free-h5-mode .free-form-card {
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
  }

  body.free-h5-mode .free-form-card .form-row {
    margin-bottom: 12px !important;
  }

  body.free-h5-mode .free-form-card label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 7px !important;
    color: #1e293b !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  body.free-h5-mode .free-form-card label small {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
  }

  body.free-h5-mode .free-input-wrap {
    height: 46px;
    border: 1px solid #d7deea;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 6px 0 12px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
  }

  body.free-h5-mode .free-input-wrap:focus-within {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, .10);
  }

  body.free-h5-mode .free-input-wrap .input {
    flex: 1;
    min-width: 0;
    height: 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #0f172a !important;
    font-size: 13px !important;
  }

  body.free-h5-mode .free-input-wrap button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #f1f6ff;
  }

  body.free-h5-mode .free-input-wrap button img {
    width: 18px;
    height: 18px;
  }

  body.free-h5-mode .free-form-tip {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  body.free-h5-mode .free-claim-btn {
    width: 100% !important;
    min-height: 52px !important;
    border: 0 !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #2f8cff, #0f6bff) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 28px rgba(22, 119, 255, .28) !important;
  }

  body.free-h5-mode .free-claim-btn img {
    width: 20px;
    height: 20px;
  }

  body.free-h5-mode .free-rule-card {
    margin-top: 0 !important;
    border: 1px solid #f0d9a4 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #fffaf0, #fff) !important;
    padding: 14px !important;
    box-shadow: none !important;
  }

  body.free-h5-mode .free-rule-card strong {
    margin-bottom: 8px !important;
    color: #7c5513 !important;
    font-size: 15px !important;
  }

  body.free-h5-mode .free-rule-card span {
    display: block !important;
    color: #705526 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  body.free-h5-mode .free-limit-notice {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px dashed rgba(216, 163, 59, .42) !important;
  }

  body.free-h5-mode .free-limit-notice h4 {
    margin: 0 0 8px !important;
    color: #7c5513 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
  }

  body.free-h5-mode .free-limit-notice p {
    margin: 0 0 8px !important;
    color: #705526 !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
    font-weight: 700 !important;
  }

  body.free-h5-mode .free-limit-notice .free-limit-intro {
    margin-top: 10px !important;
    color: #b91c1c !important;
    font-weight: 900 !important;
  }

  body.free-h5-mode .free-limit-notice ul {
    display: grid !important;
    gap: 6px !important;
    margin: 8px 0 10px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.free-h5-mode .free-limit-notice li {
    position: relative !important;
    padding-left: 14px !important;
    color: #dc2626 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    font-weight: 800 !important;
  }

  body.free-h5-mode .free-limit-notice li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: .72em !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #ef4444 !important;
  }

  body.free-h5-mode .free-limit-notice .free-limit-red {
    margin-bottom: 0 !important;
    color: #b91c1c !important;
    font-weight: 900 !important;
  }

  body.free-h5-mode .action-panel .copy-row {
    display: block !important;
  }

  body.free-h5-mode #actionMessage {
    margin-top: 12px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }
}

/* Account center: white finance console layout using uploaded assets. */
.account-panel.light-account-panel {
  padding: 18px;
  background: #f5f7fb;
}

/* H5 account center layout: app-like cards, scoped to mobile only. */
.account-mobile-order-list {
  display: none;
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 768px) {
  body {
    background: #f5f7fb;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  body .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 58px;
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid #e8edf5;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, .08);
    backdrop-filter: blur(16px);
  }

  body .mobile-tabbar button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #94a3b8;
    display: grid;
    place-items: center;
    gap: 3px;
    min-width: 0;
    padding: 2px 0;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    transition: color .18s ease, transform .18s ease;
  }

  body .mobile-tabbar button i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  body .mobile-tabbar button svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }

  body .mobile-tabbar button.active {
    color: #1677ff;
  }

  body .mobile-tabbar button.active i {
    background: #eaf3ff;
    box-shadow: 0 6px 16px rgba(22, 119, 255, .18);
  }

  body .mobile-tabbar button:active {
    transform: translateY(1px) scale(.96);
  }

  body {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
  }

  body .mobile-tabbar {
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 72px;
    height: 72px;
    padding: 0 8px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 28px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 14px 40px rgba(15, 23, 42, .14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: visible;
  }

  body .mobile-tabbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .54)),
      radial-gradient(circle at 50% -20%, rgba(22, 119, 255, .16), transparent 45%);
  }

  body .mobile-tabbar .h5-nav-item {
    position: relative;
    z-index: 1;
    height: 62px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
    transition: transform .22s ease, color .22s ease;
  }

  body .mobile-tabbar .h5-nav-icon-wrap {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: transparent;
    color: currentColor;
    box-shadow: none;
    transition: width .22s ease, height .22s ease, margin .22s ease, background .22s ease, box-shadow .22s ease, color .22s ease, transform .22s ease;
  }

  body .mobile-tabbar .h5-nav-item svg {
    width: 23px;
    height: 23px;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .22s ease, stroke .22s ease;
  }

  body .mobile-tabbar .h5-nav-item:not(.active):hover,
  body .mobile-tabbar .h5-nav-item:not(.active):focus-visible {
    color: #1677ff;
    transform: translateY(-2px);
  }

  body .mobile-tabbar .h5-nav-item.active {
    color: #0f6bff;
    font-weight: 800;
  }

  body .mobile-tabbar .h5-nav-item.active .h5-nav-icon-wrap {
    width: 62px;
    height: 62px;
    margin-top: -28px;
    margin-bottom: -2px;
    color: #fff;
    background: linear-gradient(135deg, #1677ff, #2f8cff);
    border: 4px solid rgba(255, 255, 255, .92);
    box-shadow:
      0 14px 26px rgba(22, 119, 255, .34),
      inset 0 1px 0 rgba(255, 255, 255, .35);
  }

  body .mobile-tabbar .h5-nav-item.active svg {
    width: 27px;
    height: 27px;
    stroke-width: 2.4;
  }

  body .mobile-tabbar .h5-nav-item.active .h5-nav-label {
    transform: translateY(-2px);
  }

  body .mobile-tabbar .h5-nav-item:active {
    transform: scale(.96);
  }

  @media (max-width: 360px) {
    body .mobile-tabbar {
      left: 10px;
      right: 10px;
      height: 68px;
      min-height: 68px;
      border-radius: 24px;
    }

    body .mobile-tabbar .h5-nav-item {
      font-size: 11px;
    }

    body .mobile-tabbar .h5-nav-item.active .h5-nav-icon-wrap {
      width: 58px;
      height: 58px;
      margin-top: -26px;
    }
  }

  /* H5 bottom nav: compact fixed exchange button. */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  body .mobile-tabbar {
    left: 16px;
    right: 16px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    height: 50px;
    min-height: 50px;
    padding: 0 7px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
  }

  body .mobile-tabbar .h5-nav-item {
    height: 46px;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
  }

  body .mobile-tabbar .h5-nav-icon-wrap,
  body .mobile-tabbar .h5-nav-item.active .h5-nav-icon-wrap {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 0;
    color: currentColor;
    background: transparent;
    box-shadow: none;
  }

  body .mobile-tabbar .h5-nav-item svg,
  body .mobile-tabbar .h5-nav-item.active svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }

  body .mobile-tabbar .h5-nav-item.active {
    color: #1677ff;
    font-weight: 800;
  }

  body .mobile-tabbar .h5-nav-item.active .h5-nav-label {
    transform: none;
  }

  body .mobile-tabbar .h5-nav-item.fixed-exchange .h5-nav-icon-wrap,
  body .mobile-tabbar .h5-nav-item.fixed-exchange.active .h5-nav-icon-wrap {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    margin-bottom: -1px;
    color: #fff;
    background: linear-gradient(135deg, #1677ff, #2f8cff);
    border: 3px solid rgba(255, 255, 255, .94);
    box-shadow:
      0 10px 20px rgba(22, 119, 255, .30),
      inset 0 1px 0 rgba(255, 255, 255, .36);
  }

  body .mobile-tabbar .h5-nav-item.fixed-exchange svg,
  body .mobile-tabbar .h5-nav-item.fixed-exchange.active svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.35;
  }

  body .mobile-tabbar .h5-nav-item.fixed-exchange .h5-nav-label {
    color: #1677ff;
    font-weight: 800;
  }

  @media (max-width: 360px) {
    body .mobile-tabbar {
      left: 12px;
      right: 12px;
      height: 48px;
      min-height: 48px;
      border-radius: 18px;
    }

    body .mobile-tabbar .h5-nav-item.fixed-exchange .h5-nav-icon-wrap,
    body .mobile-tabbar .h5-nav-item.fixed-exchange.active .h5-nav-icon-wrap {
      width: 42px;
      height: 42px;
      margin-top: -21px;
    }
  }

  body .app-shell main.page .compliance-strip,
  body .app-shell main.page .company-panel,
  body .app-shell .footer {
    display: none !important;
  }

  body .app-shell main.page #accountPanel {
    display: block !important;
    margin-top: 14px !important;
    padding: 12px !important;
    border: 0 !important;
    background: #f5f7fb !important;
    box-shadow: none !important;
  }

  body .app-shell main.page #accountPanel .account-dashboard-light {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body .app-shell main.page #accountPanel .account-dashboard-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }

  body .app-shell main.page #accountPanel .account-dashboard-head h2 {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body .app-shell main.page #accountPanel .account-dashboard-head span {
    margin-top: 6px !important;
    font-size: 12px !important;
  }

  body .app-shell main.page #accountPanel .account-soft-danger {
    width: auto !important;
    min-width: 78px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  body .app-shell main.page #accountPanel .account-identity-card,
  body .app-shell main.page #accountPanel .account-metric-card,
  body .app-shell main.page #accountPanel .account-quick-card,
  body .app-shell main.page #accountPanel .account-referral-clean,
  body .app-shell main.page #accountPanel .account-orders-card {
    border-radius: 16px !important;
    border-color: #e4ebf5 !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055) !important;
  }

  body .app-shell main.page #accountPanel .account-identity-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    min-height: 0 !important;
    padding: 16px !important;
  }

  body .app-shell main.page #accountPanel .account-user-block {
    display: grid !important;
    grid-template-columns: 72px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
  }

  body .app-shell main.page #accountPanel .account-avatar-img {
    width: 64px !important;
    height: 64px !important;
  }

  body .app-shell main.page #accountPanel .account-identity-main strong {
    font-size: 16px !important;
  }

  body .app-shell main.page #accountPanel .account-identity-main small {
    min-height: 24px !important;
    margin-top: 8px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
  }

  body .app-shell main.page #accountPanel .account-security-visual {
    display: none !important;
  }

  body .app-shell main.page #accountPanel .account-identity-meta {
    display: grid !important;
    gap: 0 !important;
  }

  body .app-shell main.page #accountPanel .account-identity-meta span {
    display: grid !important;
    grid-template-columns: 20px 74px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    min-height: 42px !important;
    align-items: center !important;
    border-top: 1px solid #edf2f8 !important;
    color: #64748b !important;
    font-size: 12px !important;
  }

  body .app-shell main.page #accountPanel .account-identity-meta b {
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: right !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body .app-shell main.page #accountPanel .account-identity-meta .ghost-btn {
    width: auto !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  body .app-shell main.page #accountPanel .account-metric-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  body .app-shell main.page #accountPanel .account-metric-card {
    min-height: 104px !important;
    padding: 16px 12px 14px 62px !important;
  }

  body .app-shell main.page #accountPanel .account-metric-card .metric-art {
    left: 12px !important;
    top: 18px !important;
    width: 42px !important;
    height: 42px !important;
  }

  body .app-shell main.page #accountPanel .account-metric-card span {
    font-size: 12px !important;
  }

  body .app-shell main.page #accountPanel .account-metric-card b {
    font-size: 22px !important;
  }

  body .app-shell main.page #accountPanel .account-metric-card em {
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  body .app-shell main.page #accountPanel .account-quick-card,
  body .app-shell main.page #accountPanel .account-referral-clean,
  body .app-shell main.page #accountPanel .account-orders-card {
    margin-top: 14px !important;
    padding: 14px !important;
  }

  body .app-shell main.page #accountPanel .account-section-title {
    margin-bottom: 12px !important;
  }

  body .app-shell main.page #accountPanel .account-section-title strong {
    font-size: 16px !important;
  }

  body .app-shell main.page #accountPanel .account-quick-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body .app-shell main.page #accountPanel .account-quick-grid button {
    min-height: 76px !important;
    grid-template-columns: 44px minmax(0, 1fr) 10px !important;
    justify-items: stretch !important;
    gap: 10px !important;
    padding: 12px !important;
    text-align: left !important;
  }

  body .app-shell main.page #accountPanel .account-quick-grid button:after {
    display: block !important;
    font-size: 20px !important;
  }

  body .app-shell main.page #accountPanel .account-quick-grid .quick-art {
    width: 40px !important;
    height: 40px !important;
  }

  body .app-shell main.page #accountPanel .account-quick-grid strong {
    font-size: 14px !important;
  }

  body .app-shell main.page #accountPanel .account-quick-grid em {
    overflow: hidden !important;
    font-size: 11px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body .app-shell main.page #accountPanel .account-referral-clean .account-section-title {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  body .app-shell main.page #accountPanel .account-referral-clean .account-section-title span {
    max-width: 190px !important;
    margin-top: 0 !important;
    text-align: right !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  body .app-shell main.page #accountPanel .account-referral-clean-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border: 1px solid #e8edf5 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  body .app-shell main.page #accountPanel .account-referral-clean-grid span {
    min-height: 74px !important;
    padding: 13px 14px !important;
    border: 0 !important;
    border-right: 1px solid #e8edf5 !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body .app-shell main.page #accountPanel .account-referral-clean-grid span:nth-child(2n) {
    border-right: 0 !important;
  }

  body .app-shell main.page #accountPanel .account-referral-clean-grid span:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }

  body .app-shell main.page #accountPanel .account-referral-clean-grid b {
    font-size: 18px !important;
  }

  body .app-shell main.page #accountPanel .account-referral-submit.clean {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body .app-shell main.page #accountPanel .account-referral-submit.clean .input,
  body .app-shell main.page #accountPanel .account-referral-submit.clean button {
    width: 100% !important;
    min-height: 42px !important;
  }

  body .app-shell main.page #accountPanel .account-orders-table-wrap {
    display: none !important;
  }

  body .app-shell main.page #accountPanel .account-mobile-order-list {
    display: grid !important;
    gap: 10px !important;
  }

  body .app-shell main.page #accountPanel .account-mobile-order-card,
  body .app-shell main.page #accountPanel .account-mobile-order-empty {
    padding: 14px !important;
    border: 1px solid #e8edf5 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .045) !important;
  }

  body .app-shell main.page #accountPanel .mobile-order-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  body .app-shell main.page #accountPanel .mobile-order-head strong {
    color: #0f172a !important;
    font-size: 15px !important;
  }

  body .app-shell main.page #accountPanel .mobile-order-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 5px 0 !important;
    color: #64748b !important;
    font-size: 13px !important;
  }

  body .app-shell main.page #accountPanel .mobile-order-row b {
    min-width: 0 !important;
    overflow: hidden !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    text-align: right !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body .app-shell main.page #accountPanel .mobile-order-action {
    display: block !important;
    margin-top: 8px !important;
    text-align: right !important;
    color: #1677ff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }
}
.account-dashboard-light {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 26px;
  border: 1px solid #e7edf6;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
}
.account-dashboard-light .account-dashboard-head {
  min-height: 50px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.account-dashboard-light .account-dashboard-head h2 {
  font-size: 25px;
  line-height: 1.15;
}
.account-dashboard-light .account-soft-danger {
  min-width: 112px;
  min-height: 40px;
  border-color: #a9c8ff;
  border-radius: 8px;
  background: #f4f8ff;
  color: #2563eb;
}
.account-dashboard-light .account-identity-card,
.account-dashboard-light .account-metric-card,
.account-dashboard-light .account-quick-card,
.account-dashboard-light .account-referral-clean,
.account-dashboard-light .account-orders-card {
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}
.account-dashboard-light .account-identity-card {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(420px, 1.25fr) 230px;
  gap: 24px;
  min-height: 152px;
  padding: 22px 24px;
  align-items: center;
}
.account-dashboard-light .account-user-block {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  align-items: center;
}
.account-dashboard-light .account-avatar-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(37, 99, 235, .16));
}
.account-dashboard-light .account-identity-main em {
  display: none;
}
.account-dashboard-light .account-identity-main strong {
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: .2px;
}
.account-dashboard-light .account-identity-main small {
  min-height: 30px;
  margin-top: 12px;
  border-color: #fed7aa;
  background: #fff7ed;
  color: #d97706;
}
.account-dashboard-light .account-identity-main small img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.account-dashboard-light .account-identity-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.account-dashboard-light .account-identity-meta span {
  display: grid;
  grid-template-columns: 22px 76px 1fr auto;
  gap: 12px;
  align-items: center;
}
.account-dashboard-light .account-identity-meta .ghost-btn {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12px;
}
.account-dashboard-light .account-security-visual {
  min-height: 120px;
  background: transparent;
}
.account-dashboard-light .account-security-visual img {
  width: 220px;
  max-width: 100%;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(37, 99, 235, .16));
}
.account-dashboard-light .account-metric-grid {
  margin-top: 22px;
  gap: 20px;
}
.account-dashboard-light .account-metric-card {
  position: relative;
  min-height: 122px;
  padding: 24px 24px 20px 92px;
  overflow: hidden;
}
.account-dashboard-light .account-metric-card .metric-art {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.account-dashboard-light .account-metric-card span {
  font-size: 14px;
  color: #64748b;
}
.account-dashboard-light .account-metric-card b {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.05;
}
.account-dashboard-light .account-metric-card em {
  margin-top: 10px;
}
.account-dashboard-light .account-metric-card:after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 58px;
  height: 46px;
  background: linear-gradient(90deg, transparent, #e9edf5);
  opacity: .65;
  mask: linear-gradient(#000 0 0);
  border-radius: 14px;
}
.account-dashboard-light .account-quick-card,
.account-dashboard-light .account-referral-clean,
.account-dashboard-light .account-orders-card {
  margin-top: 20px;
  padding: 18px;
}
.account-dashboard-light .account-quick-grid {
  gap: 22px;
}
.account-dashboard-light .account-quick-grid button {
  min-height: 88px;
  grid-template-columns: 66px 1fr 18px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}
.account-dashboard-light .account-quick-grid .quick-art {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.account-dashboard-light .account-quick-grid button > span {
  margin: 0;
}
.account-dashboard-light .account-quick-grid strong {
  font-size: 15px;
}
.account-dashboard-light .account-quick-grid em {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.account-dashboard-light .account-referral-clean .account-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.account-dashboard-light .account-referral-clean .account-section-title span {
  margin-top: 0;
  text-align: right;
  font-size: 13px;
}
.account-dashboard-light .account-referral-clean-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 9px;
}
.account-dashboard-light .account-referral-clean-grid span {
  min-height: 74px;
  padding: 14px 22px;
}
.account-dashboard-light .account-referral-clean-grid b {
  font-size: 21px;
}
.account-dashboard-light .account-referral-submit.clean {
  grid-template-columns: 1fr 170px 170px;
  margin-top: 12px;
}
.account-dashboard-light .account-referral-submit.clean .input {
  border-radius: 7px;
}
.account-dashboard-light .account-referral-submit.clean .primary-btn,
.account-dashboard-light .account-referral-submit.clean .ghost-btn {
  border-radius: 7px;
}
.account-dashboard-light .account-orders-table-wrap {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  overflow: auto;
}
.account-dashboard-light .account-orders-table {
  min-width: 920px;
}
.account-dashboard-light .account-orders-table th {
  background: #f5f7fb;
}
.account-dashboard-light .account-orders-table th,
.account-dashboard-light .account-orders-table td {
  padding: 14px 18px;
}

@media (max-width: 1160px) {
  .account-dashboard-light .account-identity-card {
    grid-template-columns: 1fr;
  }
  .account-dashboard-light .account-security-visual {
    display: none;
  }
}

@media (max-width: 760px) {
  .account-panel.light-account-panel {
    padding: 10px;
  }
  .account-dashboard-light {
    padding: 14px;
    border-radius: 16px;
  }
  .account-dashboard-light .account-dashboard-head {
    flex-direction: column;
  }
  .account-dashboard-light .account-soft-danger {
    width: 100%;
  }
  .account-dashboard-light .account-user-block {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }
  .account-dashboard-light .account-avatar-img {
    width: 68px;
    height: 68px;
  }
  .account-dashboard-light .account-identity-meta span {
    grid-template-columns: 22px 1fr;
  }
  .account-dashboard-light .account-identity-meta span b,
  .account-dashboard-light .account-identity-meta span button {
    grid-column: 2;
  }
  .account-dashboard-light .account-identity-meta .ghost-btn {
    width: 100%;
  }
  .account-dashboard-light .account-metric-grid,
  .account-dashboard-light .account-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .account-dashboard-light .account-metric-card {
    min-height: 118px;
    padding: 16px 14px 16px 66px;
  }
  .account-dashboard-light .account-metric-card .metric-art {
    left: 14px;
    top: 18px;
    width: 40px;
    height: 40px;
  }
  .account-dashboard-light .account-metric-card b {
    font-size: 20px;
  }
  .account-dashboard-light .account-quick-grid button {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 14px 10px;
  }
  .account-dashboard-light .account-quick-grid button:after {
    display: none;
  }
  .account-dashboard-light .account-referral-clean .account-section-title {
    display: block;
  }
  .account-dashboard-light .account-referral-clean .account-section-title span {
    margin-top: 8px;
    text-align: left;
  }
  .account-dashboard-light .account-referral-clean-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    gap: 10px;
  }
  .account-dashboard-light .account-referral-clean-grid span {
    border: 1px solid #e8edf5;
    border-radius: 10px;
  }
  .account-dashboard-light .account-referral-submit.clean {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* PC TRX exchange page: white fintech dashboard, scoped to desktop only. */
@media (min-width: 769px) {
  body.exchange-web-mode {
    background: #f5f7fb;
  }

  body.exchange-web-mode .page {
    max-width: 1320px;
  }

  body.exchange-web-mode .hero-grid {
    display: block;
  }

  body.exchange-web-mode .info-panel,
  body.exchange-web-mode .action-head,
  body.exchange-web-mode #actionMessage {
    display: none;
  }

  body.exchange-web-mode .action-panel {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.exchange-web-mode .exchange-web-page {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
    gap: 18px;
    width: min(100%, 1280px);
    margin: 0 auto;
    color: #0f172a;
  }

  body.exchange-web-mode .exchange-web-left,
  body.exchange-web-mode .exchange-web-right {
    border: 1px solid #e8edf5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    padding: 22px;
  }

  body.exchange-web-mode .exchange-web-left {
    display: grid;
    gap: 16px;
  }

  body.exchange-web-mode .exchange-web-right {
    display: grid;
    align-content: start;
    gap: 14px;
  }

  body.exchange-web-mode .exchange-web-title,
  body.exchange-web-mode .exchange-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  body.exchange-web-mode .exchange-web-title {
    min-height: 48px;
  }

  body.exchange-web-mode .exchange-web-title > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid #1677ff;
    border-radius: 999px;
    color: #1677ff;
    background: #f4f8ff;
  }

  body.exchange-web-mode .exchange-web-title > span svg {
    width: 24px;
    height: 24px;
  }

  body.exchange-web-mode .exchange-web-title h2,
  body.exchange-web-mode .exchange-panel-title h2 {
    margin: 0 auto 0 0;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
  }

  body.exchange-web-mode .exchange-web-title em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-style: normal;
    font-size: 14px;
    font-weight: 800;
  }

  body.exchange-web-mode .exchange-web-title em::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, .12);
  }

  body.exchange-web-mode .exchange-rate-hero {
    position: relative;
    overflow: hidden;
    min-height: 170px;
    border-radius: 14px;
    padding: 28px 26px;
    color: #fff;
    background:
      radial-gradient(circle at 84% 16%, rgba(250, 204, 21, .20), transparent 22%),
      radial-gradient(circle at 74% 28%, rgba(22, 119, 255, .42), transparent 30%),
      linear-gradient(135deg, #06244c, #073b75 48%, #071426);
    box-shadow: 0 16px 32px rgba(7, 20, 38, .18);
  }

  body.exchange-web-mode .exchange-rate-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 58% 45%, #000, transparent 72%);
    opacity: .45;
  }

  body.exchange-web-mode .exchange-rate-hero > div {
    position: relative;
    z-index: 2;
  }

  body.exchange-web-mode .exchange-rate-hero span {
    display: block;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    font-weight: 800;
  }

  body.exchange-web-mode .exchange-rate-hero strong {
    display: block;
    margin-top: 20px;
    color: #ffe5a1;
    font-size: 50px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
  }

  body.exchange-web-mode .exchange-rate-hero small {
    margin-left: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
  }

  body.exchange-web-mode .exchange-rate-hero p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
  }

  body.exchange-web-mode .exchange-rate-hero i {
    position: absolute;
    right: 40px;
    top: 34px;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .04);
  }

  body.exchange-web-mode .exchange-rate-hero i svg {
    width: 70px;
    height: 70px;
  }

  body.exchange-web-mode .exchange-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body.exchange-web-mode .exchange-metric-grid div,
  body.exchange-web-mode .exchange-info-card,
  body.exchange-web-mode .exchange-faq-card,
  body.exchange-web-mode .exchange-service-card,
  body.exchange-web-mode .exchange-risk-card,
  body.exchange-web-mode .exchange-rate-box,
  body.exchange-web-mode .exchange-pay-card,
  body.exchange-web-mode .exchange-rate-note,
  body.exchange-web-mode .exchange-connected {
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
  }

  body.exchange-web-mode .exchange-metric-grid div {
    min-height: 82px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 4px 12px;
    align-items: center;
    padding: 14px 16px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.exchange-web-mode .exchange-metric-grid div:hover,
  body.exchange-web-mode .exchange-faq-card details:hover,
  body.exchange-web-mode .exchange-service-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 28px rgba(22, 119, 255, .10);
  }

  body.exchange-web-mode .exchange-metric-grid i {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eff6ff;
    color: #1677ff;
    font-style: normal;
    font-weight: 900;
  }

  body.exchange-web-mode .exchange-metric-grid span,
  body.exchange-web-mode .exchange-rate-note span,
  body.exchange-web-mode .exchange-info-card span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
  }

  body.exchange-web-mode .exchange-metric-grid b {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.25;
  }

  body.exchange-web-mode .exchange-info-card {
    padding: 20px 22px;
    line-height: 1.8;
  }

  body.exchange-web-mode .exchange-info-card b {
    color: #1677ff;
    font-size: 16px;
  }

  body.exchange-web-mode .exchange-faq-card {
    padding: 18px;
  }

  body.exchange-web-mode .exchange-faq-card h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 17px;
  }

  body.exchange-web-mode .exchange-faq-card h3 svg {
    width: 20px;
    height: 20px;
    color: #1677ff;
  }

  body.exchange-web-mode .exchange-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
  }

  body.exchange-web-mode .exchange-faq-card details {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0 10px;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }

  body.exchange-web-mode .exchange-faq-card summary {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 800;
  }

  body.exchange-web-mode .exchange-faq-card summary::-webkit-details-marker {
    display: none;
  }

  body.exchange-web-mode .exchange-faq-card summary::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #64748b;
  }

  body.exchange-web-mode .exchange-faq-card summary::after {
    content: "›";
    margin-left: auto;
    color: #64748b;
    font-size: 24px;
    line-height: 1;
    transition: transform .2s ease;
  }

  body.exchange-web-mode .exchange-faq-card details[open] {
    border-color: #dbeafe;
    background: #f8fbff;
  }

  body.exchange-web-mode .exchange-faq-card details[open] summary {
    color: #1677ff;
  }

  body.exchange-web-mode .exchange-faq-card details[open] summary::after {
    transform: rotate(90deg);
  }

  body.exchange-web-mode .exchange-faq-card p {
    margin: 0 0 12px 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
  }

  body.exchange-web-mode .exchange-service-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 20px;
  }

  body.exchange-web-mode .exchange-service-card > span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #1677ff, #0ea5e9);
    box-shadow: 0 12px 24px rgba(22, 119, 255, .18);
  }

  body.exchange-web-mode .exchange-service-card svg {
    width: 25px;
    height: 25px;
  }

  body.exchange-web-mode .exchange-service-card strong {
    color: #0f172a;
    font-size: 17px;
  }

  body.exchange-web-mode .exchange-service-card p {
    margin: 8px 0 7px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
  }

  body.exchange-web-mode .exchange-service-card a {
    color: #1677ff;
    font-weight: 900;
  }

  body.exchange-web-mode .exchange-risk-card {
    padding: 20px 22px;
    border-color: #f2d9aa;
    background: linear-gradient(135deg, #fffaf0, #fff);
  }

  body.exchange-web-mode .exchange-risk-card strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #935f08;
    font-size: 17px;
  }

  body.exchange-web-mode .exchange-risk-card svg {
    width: 22px;
    height: 22px;
  }

  body.exchange-web-mode .exchange-risk-card p {
    margin: 14px 0 0;
    color: #705526;
    font-size: 14px;
    line-height: 1.8;
  }

  body.exchange-web-mode .exchange-panel-title h2 {
    position: relative;
    padding-left: 16px;
    font-size: 26px;
  }

  body.exchange-web-mode .exchange-panel-title h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 5px;
    border-radius: 999px;
    background: #1677ff;
  }

  body.exchange-web-mode .exchange-panel-title div {
    display: flex;
    gap: 10px;
  }

  body.exchange-web-mode .exchange-panel-title button {
    min-width: 100px;
    min-height: 42px;
    border: 1px solid #e1e8f2;
    border-radius: 8px;
    background: #f4f7fb;
    color: #64748b;
    font-weight: 900;
  }

  body.exchange-web-mode .exchange-panel-title button.active {
    border-color: #1677ff;
    background: #f7fbff;
    color: #1677ff;
  }

  body.exchange-web-mode .exchange-rate-box {
    border-color: #f1d49c;
    background: linear-gradient(135deg, #fffaf0, #fff);
    padding: 22px;
  }

  body.exchange-web-mode .exchange-rate-box > strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #935f08;
    font-size: 16px;
  }

  body.exchange-web-mode .exchange-rate-box > strong svg {
    width: 20px;
    height: 20px;
  }

  body.exchange-web-mode .exchange-rate-box div {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 22px 0;
    color: #0f172a;
  }

  body.exchange-web-mode .exchange-rate-box div b {
    font-size: 29px;
    line-height: 1;
    font-weight: 950;
  }

  body.exchange-web-mode .exchange-rate-box div span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: #d97706;
    box-shadow: 0 8px 18px rgba(217, 119, 6, .14);
    font-size: 24px;
    font-weight: 900;
  }

  body.exchange-web-mode .exchange-rate-box p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
  }

  body.exchange-web-mode .exchange-form-block {
    display: grid;
    gap: 12px;
  }

  body.exchange-web-mode .exchange-form-block label {
    margin-top: 4px;
    color: #0f172a;
    font-weight: 900;
  }

  body.exchange-web-mode .exchange-input-wrap {
    display: grid;
    grid-template-columns: 1fr 68px;
    align-items: center;
    min-height: 48px;
    border: 1px solid #dbe3ef;
    border-radius: 9px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
  }

  body.exchange-web-mode .exchange-input-wrap:focus-within {
    border-color: #1677ff;
    box-shadow: 0 0 0 4px rgba(22, 119, 255, .10);
  }

  body.exchange-web-mode .exchange-input-wrap .input {
    min-height: 46px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    box-shadow: none;
    color: #0f172a;
    font-size: 16px;
  }

  body.exchange-web-mode .exchange-input-wrap span {
    padding-right: 14px;
    color: #64748b;
    text-align: right;
    font-weight: 800;
  }

  body.exchange-web-mode .exchange-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  body.exchange-web-mode .exchange-quick-grid button {
    min-height: 38px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  }

  body.exchange-web-mode .exchange-quick-grid button:hover,
  body.exchange-web-mode .exchange-quick-grid button.active {
    transform: translateY(-2px);
    border-color: #1677ff;
    background: #f4f8ff;
    color: #1677ff;
  }

  body.exchange-web-mode .exchange-pay-tip {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #f1d49c;
    border-radius: 10px;
    background: linear-gradient(135deg, #fffaf0, #fff);
    color: #705526;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  body.exchange-web-mode .exchange-pay-tip svg {
    width: 18px;
    height: 18px;
    color: #d97706;
    flex: 0 0 auto;
  }

  body.exchange-web-mode .exchange-pay-tip em {
    color: #d97706;
    font-style: normal;
    font-weight: 950;
  }

  body.exchange-web-mode .exchange-pay-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    background: #f8fafc;
  }

  body.exchange-web-mode .exchange-pay-card .qr {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background: #fff;
  }

  body.exchange-web-mode .exchange-address-side {
    min-width: 0;
    display: grid;
    gap: 10px;
  }

  body.exchange-web-mode .exchange-address-side > span {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
  }

  body.exchange-web-mode .exchange-address-side .address-box {
    min-height: 42px;
    display: flex;
    align-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  body.exchange-web-mode .exchange-address-side .copy-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  body.exchange-web-mode .exchange-address-side .copy-row button {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 900;
    text-align: center;
  }

  body.exchange-web-mode .exchange-address-side .copy-row svg {
    display: none;
  }

  body.exchange-web-mode .exchange-address-side .primary-btn,
  body.exchange-web-mode .exchange-submit-btn {
    border: 1px solid #c88b17;
    background: linear-gradient(180deg, #f9d981, #d49a2a 58%, #b8750d);
    color: #071322;
    box-shadow: 0 12px 24px rgba(212, 154, 42, .22);
  }

  body.exchange-web-mode .exchange-address-side .ghost-btn {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
  }

  body.exchange-web-mode .exchange-rate-note {
    display: grid;
    gap: 6px;
    padding: 13px 16px;
    border-color: #f1d49c;
    background: #fffaf0;
  }

  body.exchange-web-mode .exchange-rate-note strong {
    color: #935f08;
  }

  body.exchange-web-mode .exchange-submit-btn {
    min-height: 56px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 950;
    transition: transform .18s ease, box-shadow .18s ease;
  }

  body.exchange-web-mode .exchange-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(212, 154, 42, .28);
  }

  body.exchange-web-mode .exchange-submit-btn:active {
    transform: scale(.98);
  }

  body.exchange-web-mode .exchange-connected {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 800;
  }

  body.exchange-web-mode .exchange-connected svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  @media (max-width: 1180px) {
    body.exchange-web-mode .exchange-web-page {
      grid-template-columns: 1fr;
    }
  }
}

/* PC star membership page: white fintech purchase console. */
@media (min-width: 769px) {
  body.premium-web-mode {
    background: #f5f7fb;
  }

  body.premium-web-mode .page {
    max-width: 1320px;
  }

  body.premium-web-mode .hero-grid {
    display: block;
  }

  body.premium-web-mode .info-panel,
  body.premium-web-mode .action-head,
  body.premium-web-mode #actionMessage {
    display: none;
  }

  body.premium-web-mode .action-panel {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.premium-web-mode .premium-web-page {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(460px, .94fr);
    gap: 20px;
    width: min(100%, 1280px);
    margin: 0 auto;
    color: #0f172a;
  }

  body.premium-web-mode .premium-web-left,
  body.premium-web-mode .premium-web-right {
    border: 1px solid #e8edf5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    padding: 26px;
  }

  body.premium-web-mode .premium-web-left,
  body.premium-web-mode .premium-web-right {
    display: grid;
    align-content: start;
    gap: 16px;
  }

  body.premium-web-mode .premium-web-title {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
  }

  body.premium-web-mode .premium-web-title > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #d49a2a;
  }

  body.premium-web-mode .premium-web-title svg {
    width: 34px;
    height: 34px;
    fill: rgba(212, 154, 42, .12);
  }

  body.premium-web-mode .premium-web-title h2,
  body.premium-web-mode .premium-panel-title h2 {
    margin: 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
  }

  body.premium-web-mode .premium-web-hero {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: 14px;
    padding: 34px 38px;
    color: #fff;
    background:
      radial-gradient(circle at 78% 18%, rgba(22, 119, 255, .46), transparent 24%),
      radial-gradient(circle at 88% 76%, rgba(212, 154, 42, .22), transparent 22%),
      linear-gradient(135deg, #061b44, #073a86 54%, #061429);
    box-shadow: 0 18px 34px rgba(7, 20, 38, .18);
  }

  body.premium-web-mode .premium-web-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 18% 88%, rgba(255, 255, 255, .65) 0 1px, transparent 2px),
      linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 120px 120px, 28px 28px, 28px 28px;
    opacity: .45;
  }

  body.premium-web-mode .premium-web-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 360px;
  }

  body.premium-web-mode .premium-web-hero-copy > span {
    display: block;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
    font-weight: 850;
  }

  body.premium-web-mode .premium-web-hero-copy strong {
    display: block;
    margin-top: 18px;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
  }

  body.premium-web-mode .premium-web-hero-copy strong em {
    color: #ffe49b;
    font-style: normal;
    font-size: 72px;
    font-weight: 950;
    text-shadow: 0 14px 34px rgba(212, 154, 42, .30);
  }

  body.premium-web-mode .premium-web-hero-copy p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    font-weight: 760;
  }

  body.premium-web-mode .premium-web-orbit {
    position: absolute;
    right: 96px;
    top: 34px;
    width: 190px;
    height: 162px;
    z-index: 1;
  }

  body.premium-web-mode .premium-web-orbit i {
    position: absolute;
    inset: 36px 6px 20px;
    border: 1px solid rgba(100, 181, 255, .28);
    border-radius: 50%;
    transform: rotate(-18deg);
    box-shadow: 0 0 45px rgba(22, 119, 255, .22);
  }

  body.premium-web-mode .premium-web-orbit b {
    position: absolute;
    left: 48px;
    top: 18px;
    width: 92px;
    height: 108px;
    clip-path: polygon(50% 0, 100% 82%, 50% 62%, 0 82%);
    background: linear-gradient(135deg, rgba(133, 190, 255, .82), rgba(25, 101, 232, .26));
    border: 2px solid rgba(160, 211, 255, .55);
    filter: drop-shadow(0 18px 24px rgba(22, 119, 255, .22));
  }

  body.premium-web-mode .premium-web-orbit em {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #6b4208;
    background: linear-gradient(135deg, #ffe49b, #d49a2a);
    font-style: normal;
    font-size: 22px;
    box-shadow: 0 12px 24px rgba(212, 154, 42, .26);
  }

  body.premium-web-mode .premium-web-hero-badges {
    position: absolute;
    right: 26px;
    top: 26px;
    z-index: 2;
    display: grid;
    gap: 14px;
    width: 128px;
  }

  body.premium-web-mode .premium-web-hero-badges div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 2px 10px;
    min-height: 76px;
    padding: 13px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
  }

  body.premium-web-mode .premium-web-hero-badges span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: rgba(22, 119, 255, .72);
  }

  body.premium-web-mode .premium-web-hero-badges span svg {
    width: 18px;
    height: 18px;
  }

  body.premium-web-mode .premium-web-hero-badges b {
    color: rgba(255,255,255,.86);
    font-size: 13px;
  }

  body.premium-web-mode .premium-web-hero-badges strong {
    color: #ffe49b;
    font-size: 26px;
    line-height: 1;
  }

  body.premium-web-mode .premium-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.premium-web-mode .premium-benefit-grid div,
  body.premium-web-mode .premium-about-card,
  body.premium-web-mode .premium-faq-card,
  body.premium-web-mode .premium-service-card,
  body.premium-web-mode .premium-risk-card,
  body.premium-web-mode .premium-option-card,
  body.premium-web-mode .premium-web-selected,
  body.premium-web-mode .premium-connected {
    border: 1px solid #e3ebf6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  }

  body.premium-web-mode .premium-benefit-grid div {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 4px 18px;
    min-height: 112px;
    padding: 20px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.premium-web-mode .premium-benefit-grid div:hover,
  body.premium-web-mode .premium-faq-card details:hover,
  body.premium-web-mode .premium-faq-card button:hover,
  body.premium-web-mode .premium-plan-row:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 28px rgba(22, 119, 255, .10);
  }

  body.premium-web-mode .premium-benefit-grid i {
    grid-row: span 3;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: #b8750d;
    background: #fff3d6;
    font-style: normal;
  }

  body.premium-web-mode .premium-benefit-grid i svg {
    width: 28px;
    height: 28px;
  }

  body.premium-web-mode .premium-benefit-grid strong,
  body.premium-web-mode .premium-about-card strong,
  body.premium-web-mode .premium-service-card strong {
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
  }

  body.premium-web-mode .premium-benefit-grid span,
  body.premium-web-mode .premium-benefit-grid em,
  body.premium-web-mode .premium-about-card p,
  body.premium-web-mode .premium-service-card p,
  body.premium-web-mode .premium-risk-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    font-style: normal;
    font-weight: 650;
  }

  body.premium-web-mode .premium-about-card,
  body.premium-web-mode .premium-service-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding: 18px 20px;
  }

  body.premium-web-mode .premium-about-card > span,
  body.premium-web-mode .premium-service-card > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #1677ff;
    background: #eaf3ff;
  }

  body.premium-web-mode .premium-about-card svg,
  body.premium-web-mode .premium-service-card svg {
    width: 22px;
    height: 22px;
  }

  body.premium-web-mode .premium-about-card p,
  body.premium-web-mode .premium-service-card p {
    margin-top: 8px;
  }

  body.premium-web-mode .premium-faq-card {
    padding: 18px 20px;
  }

  body.premium-web-mode .premium-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
  }

  body.premium-web-mode .premium-card-head h3,
  body.premium-web-mode .premium-option-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
  }

  body.premium-web-mode .premium-card-head h3 svg,
  body.premium-web-mode .premium-option-card h3 svg {
    width: 20px;
    height: 20px;
    color: #1677ff;
  }

  body.premium-web-mode .premium-card-head button {
    border: 0;
    background: transparent;
    color: #1677ff;
    font-weight: 900;
  }

  body.premium-web-mode .premium-faq-card > div:last-child {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  body.premium-web-mode .premium-faq-card details {
    border: 1px solid #e5eaf2;
    border-radius: 9px;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  }

  body.premium-web-mode .premium-faq-card summary {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    list-style: none;
    cursor: pointer;
    color: #334155;
    padding: 0 14px;
    font-weight: 850;
  }

  body.premium-web-mode .premium-faq-card summary::-webkit-details-marker {
    display: none;
  }

  body.premium-web-mode .premium-faq-card summary::after {
    content: "›";
    color: #64748b;
    font-size: 20px;
    transition: transform .2s ease, color .2s ease;
  }

  body.premium-web-mode .premium-faq-card details[open] {
    border-color: #bfdbfe;
    background: #f8fbff;
    box-shadow: 0 14px 28px rgba(22, 119, 255, .10);
  }

  body.premium-web-mode .premium-faq-card details[open] summary {
    color: #1677ff;
  }

  body.premium-web-mode .premium-faq-card details[open] summary::after {
    color: #1677ff;
    transform: rotate(90deg);
  }

  body.premium-web-mode .premium-faq-card p {
    margin: 0 14px 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
  }

  body.premium-web-mode .premium-faq-card button {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e5eaf2;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    padding: 0 14px;
    font-weight: 850;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.premium-web-mode .premium-faq-card button span {
    color: #64748b;
    font-size: 20px;
  }

  body.premium-web-mode .premium-service-card {
    border-color: #cfe1ff;
    background: linear-gradient(135deg, #f7fbff, #fff);
  }

  body.premium-web-mode .premium-service-card a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 12px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #1677ff;
    font-size: 12px;
    font-weight: 900;
  }

  body.premium-web-mode .premium-risk-card {
    padding: 20px 22px;
    border-color: #f2d9aa;
    background: linear-gradient(135deg, #fffaf0, #fff);
  }

  body.premium-web-mode .premium-risk-card strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #935f08;
    font-size: 17px;
    font-weight: 950;
  }

  body.premium-web-mode .premium-risk-card strong svg {
    width: 22px;
    height: 22px;
  }

  body.premium-web-mode .premium-risk-card p {
    margin-top: 12px;
    color: #705526;
  }

  body.premium-web-mode .premium-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  body.premium-web-mode .premium-panel-title h2 {
    font-size: 27px;
  }

  body.premium-web-mode .premium-web-pay-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #f8fafc;
  }

  body.premium-web-mode .premium-web-pay-tabs button {
    min-width: 94px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: #64748b;
    background: transparent;
    font-weight: 900;
  }

  body.premium-web-mode .premium-web-pay-tabs button.active {
    color: #1677ff;
    background: #fff;
    box-shadow: inset 0 0 0 1px #1677ff, 0 8px 18px rgba(22, 119, 255, .10);
  }

  body.premium-web-mode .premium-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body.premium-web-mode .premium-option-card {
    min-height: 270px;
    padding: 18px;
  }

  body.premium-web-mode .premium-option-card h3 {
    margin-bottom: 14px;
  }

  body.premium-web-mode .premium-price-list p,
  body.premium-web-mode .premium-plan-row {
    width: 100%;
    min-height: 45px;
    margin: 0 0 8px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #0f172a;
    padding: 0 10px;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }

  body.premium-web-mode .premium-price-list p::before,
  body.premium-web-mode .premium-plan-row::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
  }

  body.premium-web-mode .premium-plan-row span {
    color: #334155;
    font-weight: 850;
  }

  body.premium-web-mode .premium-plan-row b {
    color: #0f172a;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
  }

  body.premium-web-mode .premium-plan-row:hover {
    background: #f8fbff;
  }

  body.premium-web-mode .premium-plan-row.active {
    transform: none;
    border-color: #1677ff;
    background: #f7fbff;
    box-shadow: 0 8px 18px rgba(22, 119, 255, .10);
  }

  body.premium-web-mode .premium-plan-row.active::before {
    border-color: #1677ff;
    box-shadow: inset 0 0 0 4px #fff;
    background: #1677ff;
  }

  body.premium-web-mode .premium-plan-row.active span,
  body.premium-web-mode .premium-plan-row.active b {
    color: #0f5fe7;
  }

  body.premium-web-mode .premium-web-selected {
    margin-top: 0;
    padding: 20px;
    border-color: #f0d5a0;
    background: linear-gradient(135deg, #fffaf0, #fff);
  }

  body.premium-web-mode .premium-web-selected::before {
    display: none;
  }

  body.premium-web-mode .premium-selected-head {
    align-items: center;
  }

  body.premium-web-mode .premium-selected-head span {
    color: #935f08;
    font-size: 15px;
    font-weight: 900;
  }

  body.premium-web-mode .premium-selected-head b {
    color: #0f172a;
    font-size: 21px;
    font-weight: 950;
  }

  body.premium-web-mode .premium-calc-grid {
    gap: 14px;
    margin-top: 18px;
  }

  body.premium-web-mode .premium-calc-grid span {
    min-height: 92px;
    padding: 18px;
    border-color: #f0d5a0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .76);
    color: #64748b;
    font-weight: 850;
  }

  body.premium-web-mode .premium-calc-grid b {
    margin-top: 12px;
    color: #0f172a;
    font-size: 20px;
  }

  body.premium-web-mode #premiumSelectedAmount {
    color: #1677ff;
    font-size: 25px;
    font-weight: 950;
  }

  body.premium-web-mode .premium-web-selected em {
    margin-top: 16px;
    color: #a45f08;
    font-size: 17px;
    text-align: center;
  }

  body.premium-web-mode .premium-web-form {
    display: grid;
    gap: 12px;
  }

  body.premium-web-mode .premium-web-form .form-row {
    margin: 0;
  }

  body.premium-web-mode .premium-web-form label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 900;
  }

  body.premium-web-mode .premium-web-form .input {
    height: 46px;
    border: 1px solid #dbe4ef;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
  }

  body.premium-web-mode .premium-web-form .input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 4px rgba(22, 119, 255, .10);
  }

  body.premium-web-mode .premium-submit-btn {
    min-height: 56px;
    border: 1px solid #c88b17;
    border-radius: 10px;
    background: linear-gradient(180deg, #f9d981, #d49a2a 58%, #b8750d);
    color: #071322;
    box-shadow: 0 12px 24px rgba(212, 154, 42, .22);
    font-size: 18px;
    font-weight: 950;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }

  body.premium-web-mode .premium-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 18px 32px rgba(212, 154, 42, .28);
  }

  body.premium-web-mode .premium-submit-btn:active {
    transform: scale(.98);
  }

  body.premium-web-mode .premium-connected {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 850;
  }

  body.premium-web-mode .premium-connected span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #10b981;
  }

  @media (max-width: 1180px) {
    body.premium-web-mode .premium-web-page {
      grid-template-columns: 1fr;
    }
  }
}

/* PC hash entertainment page: white Web3 control panel, H5 remains untouched. */
@media (min-width: 769px) {
  body.hash-web-mode {
    background: #f5f7fb;
  }

  body.hash-web-mode .page {
    max-width: 1360px;
  }

  body.hash-web-mode .hero-grid {
    display: block;
  }

  body.hash-web-mode .info-panel,
  body.hash-web-mode .action-head,
  body.hash-web-mode #actionMessage {
    display: none;
  }

  body.hash-web-mode .action-panel {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.hash-web-mode .hash-web-page {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(500px, .98fr);
    gap: 20px;
    width: min(100%, 1320px);
    margin: 0 auto;
    color: #0f172a;
  }

  body.hash-web-mode .hash-web-left,
  body.hash-web-mode .hash-web-right {
    display: grid;
    align-content: start;
    gap: 16px;
    border: 1px solid #e8edf5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    padding: 26px;
  }

  body.hash-web-mode .hash-web-title {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
  }

  body.hash-web-mode .hash-web-title > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #b8750d;
    background: #fff4d8;
  }

  body.hash-web-mode .hash-web-title svg {
    width: 28px;
    height: 28px;
  }

  body.hash-web-mode .hash-web-title h2,
  body.hash-web-mode .hash-web-panel-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
  }

  body.hash-web-mode .hash-web-hero {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    border-radius: 14px;
    padding: 30px 32px;
    color: #fff;
    background:
      radial-gradient(circle at 80% 50%, rgba(22, 119, 255, .56), transparent 22%),
      radial-gradient(circle at 92% 20%, rgba(212, 154, 42, .20), transparent 18%),
      linear-gradient(135deg, #061b44, #073a86 54%, #061429);
    box-shadow: 0 18px 34px rgba(7, 20, 38, .18);
  }

  body.hash-web-mode .hash-web-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 18% 88%, rgba(255, 255, 255, .7) 0 1px, transparent 2px),
      linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 110px 110px, 28px 28px, 28px 28px;
    opacity: .44;
  }

  body.hash-web-mode .hash-web-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 330px;
  }

  body.hash-web-mode .hash-web-hero-copy span {
    display: block;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    font-weight: 850;
  }

  body.hash-web-mode .hash-web-hero-copy strong {
    display: block;
    margin-top: 18px;
    color: #ffe49b;
    font-size: 60px;
    line-height: 1;
    font-weight: 950;
    text-shadow: 0 16px 34px rgba(212, 154, 42, .26);
  }

  body.hash-web-mode .hash-web-hero-copy p {
    margin: 18px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    font-weight: 760;
  }

  body.hash-web-mode .hash-web-status {
    position: absolute;
    z-index: 2;
    right: 168px;
    top: 66px;
    display: grid;
    gap: 14px;
    width: 220px;
  }

  body.hash-web-mode .hash-web-status div {
    display: grid;
    grid-template-columns: auto 1fr 24px;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 11px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
  }

  body.hash-web-mode .hash-web-status b {
    color: #fff;
    font-size: 14px;
  }

  body.hash-web-mode .hash-web-status em {
    color: #10b981;
    font-style: normal;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-status em.bad {
    color: #fca5a5;
  }

  body.hash-web-mode .hash-web-status i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #10b981;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-orbit {
    position: absolute;
    z-index: 1;
    right: 30px;
    top: 40px;
    width: 130px;
    height: 126px;
  }

  body.hash-web-mode .hash-web-orbit i {
    position: absolute;
    inset: 26px 0 12px;
    border: 1px solid rgba(100, 181, 255, .35);
    border-radius: 50%;
    transform: rotate(-18deg);
    box-shadow: 0 0 44px rgba(22, 119, 255, .24);
  }

  body.hash-web-mode .hash-web-orbit b {
    position: absolute;
    left: 32px;
    top: 16px;
    width: 64px;
    height: 76px;
    clip-path: polygon(50% 0, 100% 82%, 50% 62%, 0 82%);
    background: linear-gradient(135deg, rgba(133, 190, 255, .84), rgba(25, 101, 232, .28));
    border: 2px solid rgba(160, 211, 255, .55);
    filter: drop-shadow(0 18px 22px rgba(22, 119, 255, .22));
  }

  body.hash-web-mode .hash-web-entry-card,
  body.hash-web-mode .hash-web-faq-card,
  body.hash-web-mode .hash-web-service-card,
  body.hash-web-mode .hash-web-risk-card,
  body.hash-web-mode .hash-web-address-card,
  body.hash-web-mode .hash-web-rule-panel,
  body.hash-web-mode .hash-web-warning,
  body.hash-web-mode .hash-web-connected {
    border: 1px solid #e3ebf6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  }

  body.hash-web-mode .hash-web-entry-card,
  body.hash-web-mode .hash-web-faq-card {
    padding: 18px 20px;
  }

  body.hash-web-mode .hash-web-entry-card h3,
  body.hash-web-mode .hash-web-faq-card h3 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-entry-card > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.hash-web-mode .hash-web-entry-card button {
    min-height: 82px;
    display: grid;
    grid-template-columns: 58px 1fr 24px;
    gap: 4px 14px;
    align-items: center;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    background: #fff;
    padding: 14px 16px;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.hash-web-mode .hash-web-entry-card button:hover,
  body.hash-web-mode .hash-web-faq-card button:hover,
  body.hash-web-mode .hash-web-address-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 28px rgba(22, 119, 255, .10);
  }

  body.hash-web-mode .hash-web-entry-card button > span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #1677ff, #0ea5e9);
  }

  body.hash-web-mode .hash-web-entry-card svg {
    width: 23px;
    height: 23px;
  }

  body.hash-web-mode .hash-web-entry-card b {
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-entry-card em {
    color: #64748b;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
  }

  body.hash-web-mode .hash-web-entry-card i {
    grid-row: span 2;
    color: #0f172a;
    font-size: 30px;
    font-style: normal;
  }

  body.hash-web-mode .hash-web-info-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    border: 1px solid #cfe1ff;
    border-radius: 12px;
    background: #f2f7ff;
    color: #334155;
    padding: 0 16px;
    font-weight: 780;
  }

  body.hash-web-mode .hash-web-info-tip svg {
    width: 21px;
    height: 21px;
    color: #1677ff;
  }

  body.hash-web-mode .hash-web-faq-card > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  body.hash-web-mode .hash-web-faq-card button {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e5eaf2;
    border-radius: 9px;
    background: #fff;
    color: #1677ff;
    padding: 0 14px;
    font-weight: 900;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.hash-web-mode .hash-web-faq-card span {
    font-size: 22px;
  }

  body.hash-web-mode .hash-web-service-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 20px;
    border-color: #cfe1ff;
    background: linear-gradient(135deg, #f7fbff, #fff);
  }

  body.hash-web-mode .hash-web-service-card > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #1677ff;
    background: #eaf3ff;
  }

  body.hash-web-mode .hash-web-service-card svg {
    width: 28px;
    height: 28px;
  }

  body.hash-web-mode .hash-web-service-card strong {
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-service-card a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 12px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #1677ff;
    font-size: 12px;
    font-weight: 900;
  }

  body.hash-web-mode .hash-web-service-card p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 650;
  }

  body.hash-web-mode .hash-web-risk-card {
    padding: 20px 22px;
    border-color: #f2d9aa;
    background: linear-gradient(135deg, #fffaf0, #fff);
  }

  body.hash-web-mode .hash-web-risk-card strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #935f08;
    font-size: 17px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-risk-card p {
    margin: 12px 0 0;
    color: #705526;
    font-size: 14px;
    line-height: 1.7;
  }

  body.hash-web-mode .hash-web-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  body.hash-web-mode .hash-web-panel-head h2 {
    position: relative;
    padding-left: 16px;
    font-size: 28px;
  }

  body.hash-web-mode .hash-web-panel-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 5px;
    border-radius: 999px;
    background: #1677ff;
  }

  body.hash-web-mode .hash-web-panel-head button {
    min-width: 128px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d49a2a;
    border-radius: 10px;
    background: #fff;
    color: #b8750d;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-panel-head button svg {
    width: 18px;
    height: 18px;
  }

  body.hash-web-mode .hash-web-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body.hash-web-mode .hash-web-address-card {
    padding: 18px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.hash-web-mode .hash-web-address-card strong {
    display: block;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-address-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    align-items: center;
    min-height: 70px;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #f8fafc;
    padding: 8px 8px 8px 14px;
  }

  body.hash-web-mode .hash-web-address-box span {
    min-width: 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  body.hash-web-mode .hash-web-address-box button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #64748b;
    background: transparent;
  }

  body.hash-web-mode .hash-web-address-box svg {
    width: 18px;
    height: 18px;
  }

  body.hash-web-mode .hash-web-copy-btn {
    width: 100%;
    min-height: 44px;
    margin-top: 14px;
    border: 1px solid #1677ff;
    border-radius: 9px;
    background: #fff;
    color: #1677ff;
    font-size: 16px;
    font-weight: 950;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  }

  body.hash-web-mode .hash-web-copy-btn:hover {
    transform: translateY(-2px);
    background: #f3f8ff;
    box-shadow: 0 12px 24px rgba(22, 119, 255, .10);
  }

  body.hash-web-mode .hash-web-select-row {
    display: grid;
    gap: 8px;
  }

  body.hash-web-mode .hash-web-select-row label {
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-select-row .input {
    height: 46px;
    border: 1px solid #dbe4ef;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
  }

  body.hash-web-mode .hash-web-select-row .input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 4px rgba(22, 119, 255, .10);
  }

  body.hash-web-mode .hash-web-rule-panel {
    padding: 0;
    border-color: #f0d5a0;
    background: linear-gradient(135deg, #fffaf0, #fff);
    overflow: hidden;
  }

  body.hash-web-mode .hash-web-rule-panel .hash-rules {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.hash-web-mode .hash-web-rule-panel .hash-rule-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 18px 20px 8px;
  }

  body.hash-web-mode .hash-web-rule-panel .hash-rule-head strong {
    color: #a45f08;
    font-size: 18px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-rule-panel .hash-rule-head span {
    color: #a45f08;
    font-weight: 850;
  }

  body.hash-web-mode .hash-web-rule-panel .hash-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 20px 14px;
  }

  body.hash-web-mode .hash-web-rule-panel .hash-result-grid div {
    min-height: 78px;
    border: 1px solid #f0d5a0;
    border-radius: 10px;
    background: rgba(255,255,255,.76);
    padding: 14px;
  }

  body.hash-web-mode .hash-web-rule-panel .hash-result-grid b {
    display: block;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-rule-panel .hash-result-grid span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
  }

  body.hash-web-mode .hash-web-rule-panel ol {
    margin: 0;
    padding: 0 22px 18px 42px;
    color: #334155;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 650;
  }

  body.hash-web-mode .hash-web-rule-panel p {
    margin: 0;
    padding: 0 22px 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
  }

  body.hash-web-mode .hash-web-warning {
    padding: 18px 20px;
    border-color: #f0d5a0;
    background: linear-gradient(135deg, #fffaf0, #fff);
  }

  body.hash-web-mode .hash-web-warning strong {
    display: block;
    margin-bottom: 8px;
    color: #a45f08;
    font-size: 18px;
    font-weight: 950;
  }

  body.hash-web-mode .hash-web-warning span {
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 650;
  }

  body.hash-web-mode .hash-web-submit-btn {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #c88b17;
    border-radius: 10px;
    background: linear-gradient(180deg, #f9d981, #d49a2a 58%, #b8750d);
    color: #071322;
    box-shadow: 0 12px 24px rgba(212, 154, 42, .22);
    font-size: 18px;
    font-weight: 950;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }

  body.hash-web-mode .hash-web-submit-btn svg {
    width: 22px;
    height: 22px;
  }

  body.hash-web-mode .hash-web-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 18px 32px rgba(212, 154, 42, .28);
  }

  body.hash-web-mode .hash-web-submit-btn:active {
    transform: scale(.98);
  }

  body.hash-web-mode .hash-web-connected {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 850;
  }

  body.hash-web-mode .hash-web-connected span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #10b981;
  }

  @media (max-width: 1180px) {
    body.hash-web-mode .hash-web-page {
      grid-template-columns: 1fr;
    }
  }

  /* Hash web layout polish: prevent compressed text and oversized compliance icon. */
  body.hash-web-mode .hash-web-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 220px);
    align-items: center;
    gap: 18px;
  }

  body.hash-web-mode .hash-web-hero-copy {
    max-width: none;
    min-width: 0;
  }

  body.hash-web-mode .hash-web-hero-copy strong {
    font-size: clamp(42px, 4.5vw, 60px);
  }

  body.hash-web-mode .hash-web-hero-copy p {
    line-height: 1.55;
  }

  body.hash-web-mode .hash-web-status {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    align-self: center;
  }

  body.hash-web-mode .hash-web-status div {
    min-width: 0;
  }

  body.hash-web-mode .hash-web-status b,
  body.hash-web-mode .hash-web-status em {
    white-space: nowrap;
  }

  body.hash-web-mode .hash-web-orbit {
    right: 26px;
    opacity: .55;
    pointer-events: none;
  }

  body.hash-web-mode .hash-web-entry-card button {
    grid-template-rows: auto auto;
  }

  body.hash-web-mode .hash-web-entry-card b {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  body.hash-web-mode .hash-web-entry-card em {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    line-height: 1.45;
    writing-mode: horizontal-tb;
    word-break: normal;
  }

  body.hash-web-mode .hash-web-entry-card i {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  body.hash-web-mode .hash-web-risk-card strong svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }
}

/* PC account recharge page: white Web3 payment console. */
@media (min-width: 769px) {
  body.recharge-web-mode {
    background: #f5f7fb;
  }

  body.recharge-web-mode .page {
    max-width: 1320px;
  }

  body.recharge-web-mode .hero-grid {
    display: block;
  }

  body.recharge-web-mode .info-panel,
  body.recharge-web-mode .action-head,
  body.recharge-web-mode #actionMessage {
    display: none;
  }

  body.recharge-web-mode .action-panel {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.recharge-web-mode .recharge-web-page {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(460px, .94fr);
    gap: 20px;
    width: min(100%, 1280px);
    margin: 0 auto;
    color: #0f172a;
  }

  body.recharge-web-mode .recharge-web-left,
  body.recharge-web-mode .recharge-web-right {
    display: grid;
    align-content: start;
    gap: 16px;
    border: 1px solid #e8edf5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    padding: 26px;
  }

  body.recharge-web-mode .recharge-web-title,
  body.recharge-web-mode .recharge-web-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  body.recharge-web-mode .recharge-web-title {
    justify-content: flex-start;
    min-height: 52px;
  }

  body.recharge-web-mode .recharge-web-title > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #b8750d;
    background: #fff4d8;
  }

  body.recharge-web-mode .recharge-web-title svg {
    width: 28px;
    height: 28px;
  }

  body.recharge-web-mode .recharge-web-title h2,
  body.recharge-web-mode .recharge-web-panel-head h2 {
    margin: 0 auto 0 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
  }

  body.recharge-web-mode .recharge-web-title button {
    border: 0;
    background: transparent;
    color: #b8750d;
    font-size: 16px;
    font-weight: 900;
  }

  body.recharge-web-mode .recharge-web-hero {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    border-radius: 14px;
    padding: 34px 38px;
    color: #fff;
    background:
      radial-gradient(circle at 62% 42%, rgba(22, 119, 255, .58), transparent 18%),
      radial-gradient(circle at 90% 16%, rgba(212, 154, 42, .18), transparent 20%),
      linear-gradient(135deg, #061b44, #073a86 54%, #061429);
    box-shadow: 0 18px 34px rgba(7, 20, 38, .18);
  }

  body.recharge-web-mode .recharge-wave-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: .92;
    pointer-events: none;
    mix-blend-mode: screen;
    background-image:
      radial-gradient(circle at 62% 44%, rgba(37, 128, 255, .30), transparent 24%),
      radial-gradient(circle at 72% 50%, rgba(33, 150, 255, .20), transparent 18%),
      linear-gradient(120deg, transparent 0 34%, rgba(96, 181, 255, .22) 35%, transparent 37% 100%),
      linear-gradient(62deg, transparent 0 42%, rgba(96, 181, 255, .16) 43%, transparent 45% 100%),
      linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: auto, auto, 96px 96px, 82px 82px, 30px 30px, 30px 30px;
    animation: rechargeWaveShift 14s linear infinite;
  }

  @keyframes rechargeWaveShift {
    0% {
      background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
      background-position: 36px -18px, -22px 18px, 96px 54px, -82px 42px, 30px 30px, 30px 30px;
    }
  }

  body.recharge-web-mode .recharge-web-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: .32;
  }

  body.recharge-web-mode .recharge-web-hero-copy {
    position: relative;
    z-index: 2;
  }

  body.recharge-web-mode .recharge-web-hero-copy span {
    display: block;
    color: rgba(255,255,255,.88);
    font-size: 19px;
    font-weight: 850;
  }

  body.recharge-web-mode .recharge-web-hero-copy strong {
    display: block;
    margin-top: 24px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
  }

  body.recharge-web-mode .recharge-web-hero-copy em {
    color: #ffe49b;
    font-style: normal;
    font-size: 70px;
    font-weight: 950;
    text-shadow: 0 14px 34px rgba(212, 154, 42, .30);
  }

  body.recharge-web-mode .recharge-web-status {
    position: absolute;
    z-index: 2;
    right: 28px;
    top: 30px;
    display: grid;
    gap: 12px;
    width: 260px;
  }

  body.recharge-web-mode .recharge-web-status div {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
  }

  body.recharge-web-mode .recharge-web-status span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #8bbcff;
  }

  body.recharge-web-mode .recharge-web-status svg {
    width: 22px;
    height: 22px;
  }

  body.recharge-web-mode .recharge-web-status b {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
  }

  body.recharge-web-mode .recharge-web-status em {
    color: #ffe49b;
    font-style: normal;
    font-size: 16px;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-orbit {
    position: absolute;
    z-index: 1;
    left: 45%;
    top: 118px;
    width: 180px;
    height: 88px;
  }

  body.recharge-web-mode .recharge-web-orbit i {
    position: absolute;
    inset: 18px 0 6px;
    border: 1px solid rgba(100, 181, 255, .34);
    border-radius: 50%;
    transform: rotate(-18deg);
    box-shadow: 0 0 54px rgba(22, 119, 255, .34);
  }

  body.recharge-web-mode .recharge-web-orbit b {
    position: absolute;
    left: 66px;
    top: 20px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #58a5ff;
    box-shadow: 0 0 34px 13px rgba(22, 119, 255, .55);
  }

  body.recharge-web-mode .recharge-web-hero-actions {
    position: absolute;
    z-index: 2;
    left: 30px;
    right: 30px;
    bottom: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.22);
  }

  body.recharge-web-mode .recharge-web-hero-actions div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 4px 14px;
    min-height: 78px;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
  }

  body.recharge-web-mode .recharge-web-hero-actions span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    color: #fff;
    background: rgba(22, 119, 255, .72);
  }

  body.recharge-web-mode .recharge-web-hero-actions svg {
    width: 26px;
    height: 26px;
  }

  body.recharge-web-mode .recharge-web-hero-actions b {
    color: #fff;
    font-size: 17px;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-hero-actions em {
    color: rgba(255,255,255,.78);
    font-style: normal;
    font-size: 14px;
    font-weight: 760;
  }

  body.recharge-web-mode .recharge-web-info-tip,
  body.recharge-web-mode .recharge-web-faq-card,
  body.recharge-web-mode .recharge-web-service-card,
  body.recharge-web-mode .recharge-web-risk-card,
  body.recharge-web-mode .recharge-web-pay-card,
  body.recharge-web-mode .recharge-web-confirm,
  body.recharge-web-mode .recharge-web-connected {
    border: 1px solid #e3ebf6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  }

  body.recharge-web-mode .recharge-web-info-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-color: #cfe1ff;
    background: #f2f7ff;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 760;
  }

  body.recharge-web-mode .recharge-web-info-tip svg {
    width: 22px;
    height: 22px;
    color: #1677ff;
    flex: 0 0 auto;
  }

  body.recharge-web-mode .recharge-web-faq-card {
    padding: 18px 20px;
  }

  body.recharge-web-mode .recharge-web-faq-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-faq-card h3 svg {
    width: 20px;
    height: 20px;
    color: #1677ff;
  }

  body.recharge-web-mode .recharge-web-faq-card > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 28px;
  }

  body.recharge-web-mode .recharge-web-faq-card details {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0 10px;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
  }

  body.recharge-web-mode .recharge-web-faq-card details:hover {
    transform: translateY(-2px);
    border-color: #dbeafe;
    box-shadow: 0 12px 24px rgba(22, 119, 255, .08);
  }

  body.recharge-web-mode .recharge-web-faq-card summary {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 850;
  }

  body.recharge-web-mode .recharge-web-faq-card summary::-webkit-details-marker {
    display: none;
  }

  body.recharge-web-mode .recharge-web-faq-card summary::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b8750d;
  }

  body.recharge-web-mode .recharge-web-faq-card summary::after {
    content: "›";
    margin-left: auto;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    transition: transform .2s ease;
  }

  body.recharge-web-mode .recharge-web-faq-card details[open] {
    border-color: #dbeafe;
    background: #f8fbff;
  }

  body.recharge-web-mode .recharge-web-faq-card details[open] summary {
    color: #1677ff;
  }

  body.recharge-web-mode .recharge-web-faq-card details[open] summary::after {
    transform: rotate(90deg);
  }

  body.recharge-web-mode .recharge-web-faq-card p {
    margin: 0 0 12px 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
  }

  body.recharge-web-mode .recharge-web-service-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 22px;
    border-color: #cfe1ff;
    background: linear-gradient(135deg, #f7fbff, #fff);
  }

  body.recharge-web-mode .recharge-web-service-card > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #1677ff, #0ea5e9);
    box-shadow: 0 12px 24px rgba(22, 119, 255, .18);
  }

  body.recharge-web-mode .recharge-web-service-card svg {
    width: 30px;
    height: 30px;
  }

  body.recharge-web-mode .recharge-web-service-card strong {
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-service-card em {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 12px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff4d8;
    color: #a45f08;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
  }

  body.recharge-web-mode .recharge-web-service-card a {
    float: right;
    color: #1677ff;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-service-card p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 650;
  }

  body.recharge-web-mode .recharge-web-risk-card,
  body.recharge-web-mode .recharge-web-confirm {
    padding: 20px 22px;
    border-color: #f2d9aa;
    background: linear-gradient(135deg, #fffaf0, #fff);
  }

  body.recharge-web-mode .recharge-web-risk-card strong,
  body.recharge-web-mode .recharge-web-confirm strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #935f08;
    font-size: 18px;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-risk-card strong svg,
  body.recharge-web-mode .recharge-web-confirm svg {
    width: 22px;
    height: 22px;
  }

  body.recharge-web-mode .recharge-web-risk-card p,
  body.recharge-web-mode .recharge-web-confirm span {
    display: block;
    margin-top: 12px;
    color: #705526;
    font-size: 14px;
    line-height: 1.75;
  }

  body.recharge-web-mode .recharge-web-panel-head h2 {
    position: relative;
    padding-left: 16px;
    font-size: 28px;
  }

  body.recharge-web-mode .recharge-web-panel-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 5px;
    border-radius: 999px;
    background: #1677ff;
  }

  body.recharge-web-mode .recharge-web-panel-head button {
    min-width: 116px;
    min-height: 40px;
    border: 1px solid #d49a2a;
    border-radius: 999px;
    background: #fff;
    color: #b8750d;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-form {
    display: grid;
    gap: 14px;
  }

  body.recharge-web-mode .recharge-web-form .form-row {
    margin: 0;
  }

  body.recharge-web-mode .recharge-web-form label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 900;
  }

  body.recharge-web-mode .recharge-web-form .input {
    height: 50px;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 16px;
  }

  body.recharge-web-mode .recharge-web-form .input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 4px rgba(22, 119, 255, .10);
  }

  body.recharge-web-mode .recharge-web-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  body.recharge-web-mode .recharge-web-quick-grid button {
    min-height: 42px;
    border: 1px solid #dbe4ef;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  }

  body.recharge-web-mode .recharge-web-quick-grid button:hover,
  body.recharge-web-mode .recharge-web-quick-grid button.active {
    transform: translateY(-2px);
    border-color: #d49a2a;
    background: #fffaf0;
    color: #a45f08;
  }

  body.recharge-web-mode .recharge-web-amount-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
  }

  body.recharge-web-mode .recharge-web-amount-board span {
    min-height: 96px;
    border: 1px solid #e3ebf6;
    border-radius: 12px;
    background: #fff;
    padding: 18px;
    color: #64748b;
    font-weight: 850;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
  }

  body.recharge-web-mode .recharge-web-amount-board b {
    display: block;
    margin-top: 12px;
    color: #1677ff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-pay-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    background: #f8fafc;
  }

  body.recharge-web-mode .recharge-web-pay-card .qr {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background: #fff;
  }

  body.recharge-web-mode .recharge-web-address-side {
    min-width: 0;
    display: grid;
    gap: 12px;
    align-content: center;
  }

  body.recharge-web-mode .recharge-web-address-side .address-box {
    min-height: 44px;
    display: flex;
    align-items: center;
    border: 1px solid #dbe4ef;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  body.recharge-web-mode .recharge-web-address-side .copy-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  body.recharge-web-mode .recharge-web-address-side .copy-row button {
    min-height: 46px;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 950;
  }

  body.recharge-web-mode .recharge-web-address-side .primary-btn,
  body.recharge-web-mode .recharge-web-submit-btn {
    border: 1px solid #c88b17;
    background: linear-gradient(180deg, #f9d981, #d49a2a 58%, #b8750d);
    color: #071322;
    box-shadow: 0 12px 24px rgba(212, 154, 42, .22);
  }

  body.recharge-web-mode .recharge-web-address-side .ghost-btn {
    border: 1px solid #1677ff;
    background: #fff;
    color: #1677ff;
  }

  body.recharge-web-mode .recharge-web-submit-btn {
    min-height: 56px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 950;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }

  body.recharge-web-mode .recharge-web-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 18px 32px rgba(212, 154, 42, .28);
  }

  body.recharge-web-mode .recharge-web-submit-btn:active {
    transform: scale(.98);
  }

  body.recharge-web-mode .recharge-web-connected {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 850;
  }

  body.recharge-web-mode .recharge-web-connected span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #10b981;
  }

  @media (max-width: 1180px) {
    body.recharge-web-mode .recharge-web-page {
      grid-template-columns: 1fr;
    }
  }
}

/* Last override: free quota hero alignment. */
@media (max-width: 768px) {
  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-energy-quota {
    min-height: 124px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy {
    max-width: calc(100% - 112px) !important;
    display: grid !important;
    align-content: center !important;
    min-height: 96px !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy span {
    margin-bottom: 8px !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy b {
    display: flex !important;
    align-items: flex-end !important;
    gap: 5px !important;
    margin: 0 0 8px !important;
    color: #fff !important;
    line-height: .86 !important;
    white-space: nowrap !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy em {
    display: block !important;
    font-size: 54px !important;
    line-height: .86 !important;
    letter-spacing: 0 !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy small {
    display: block !important;
    padding-bottom: 4px !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy p {
    margin: 0 !important;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-energy-orb {
    right: 12px !important;
    bottom: 13px !important;
    width: 86px !important;
    height: 86px !important;
    object-fit: contain !important;
  }
}

/* Final override: repair H5 free-energy header/card stack. */
@media (max-width: 768px) {
  body.free-h5-mode .topbar {
    padding: 10px 0 58px !important;
  }

  body.free-h5-mode .topbar::after {
    display: none !important;
    content: none !important;
  }

  body.free-h5-mode .hero-grid {
    margin-top: -42px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.free-h5-mode .action-panel {
    position: relative !important;
    z-index: 3 !important;
    padding-top: 18px !important;
  }

  body.free-h5-mode .action-head {
    display: block !important;
    min-height: auto !important;
    margin-bottom: 12px !important;
  }

  body.free-h5-mode .action-head h2,
  body.free-h5-mode #actionTitle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 30px !important;
    margin: 0 0 12px !important;
    color: #0f172a !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    overflow: visible !important;
  }

  body.free-h5-mode .mode-tabs {
    margin-top: 0 !important;
  }
}

/* Final override: free quota hero alignment. */
@media (max-width: 768px) {
  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-energy-quota {
    min-height: 124px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy {
    max-width: calc(100% - 112px) !important;
    display: grid !important;
    align-content: center !important;
    min-height: 96px !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy span {
    margin-bottom: 8px !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy b {
    display: flex !important;
    align-items: flex-end !important;
    gap: 5px !important;
    margin: 0 0 8px !important;
    color: #fff !important;
    line-height: .86 !important;
    white-space: nowrap !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy em {
    display: block !important;
    font-size: 54px !important;
    line-height: .86 !important;
    letter-spacing: 0 !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy small {
    display: block !important;
    padding-bottom: 4px !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-quota-copy p {
    margin: 0 !important;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.free-h5-mode .free-energy-widget.free-energy-h5 .free-energy-orb {
    right: 12px !important;
    bottom: 13px !important;
    width: 86px !important;
    height: 86px !important;
    object-fit: contain !important;
  }
}

/* Final white company / Singapore operations overrides. */
.company-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  color: #0f172a;
  box-shadow: none;
}
.company-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .8fr);
  gap: 30px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #e4ebf5;
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 18%, rgba(22, 119, 255, .10), transparent 25%),
    radial-gradient(circle at 85% 2%, rgba(14, 165, 233, .12), transparent 27%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #f5f8fc 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}
.company-hero-card:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .36;
  background-image:
    radial-gradient(circle, rgba(22, 119, 255, .22) 1px, transparent 1.6px),
    linear-gradient(120deg, transparent 0 42%, rgba(22, 119, 255, .10) 43%, transparent 45% 100%);
  background-size: 28px 28px, 100% 100%;
  pointer-events: none;
}
.company-copy,
.company-card {
  position: relative;
  z-index: 1;
}
.section-kicker {
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1677ff;
  box-shadow: 0 8px 18px rgba(22, 119, 255, .08);
}
.company-copy h2 {
  margin: 16px 0 14px;
  color: #0f172a;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}
.company-copy p {
  max-width: 880px;
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
}
.company-copy p + p {
  margin-top: 14px;
}
.company-en {
  color: #64748b !important;
  font-size: 14px;
}
.company-tags {
  margin-top: 24px;
  gap: 12px;
}
.company-tags span {
  min-height: 40px;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #dbe7f7;
  border-radius: 999px;
  background: #fff;
  color: #1e3a8a;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.company-tags span:hover {
  transform: translateY(-3px);
  border-color: #1677ff;
  box-shadow: 0 12px 24px rgba(22, 119, 255, .10);
}
.company-tags img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.company-card {
  min-height: 248px;
  align-content: center;
  padding: 26px;
  border: 1px solid #d6e4f7;
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 24%, rgba(22, 119, 255, .10), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,251,255,.96));
  box-shadow: 0 16px 34px rgba(22, 119, 255, .09);
}
.company-card:before {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 14px;
  width: 158px;
  height: 108px;
  opacity: .16;
  border: 3px solid #1677ff;
  border-top-width: 10px;
  border-radius: 18px 18px 8px 8px;
  transform: skewX(-8deg);
}
.company-card:after {
  content: "";
  position: absolute;
  right: 74px;
  bottom: 42px;
  width: 70px;
  height: 70px;
  opacity: .14;
  border: 3px solid #1677ff;
  border-radius: 50% 50% 46% 46%;
}
.company-card-kicker {
  color: #059669 !important;
  background: #ecfdf5;
}
.company-card strong {
  color: #0f172a;
  font-size: 24px;
}
.company-card span {
  color: #d97706;
}
.company-card p {
  max-width: 360px;
  color: #475569;
  font-size: 14px;
}
.company-card a {
  min-height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5b544, #d97706);
  box-shadow: 0 14px 26px rgba(217, 119, 6, .22);
}
.company-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(217, 119, 6, .28);
}
.company-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr) minmax(0, .9fr);
  gap: 18px;
}
.company-info-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  min-height: 128px;
  padding: 22px;
  border: 1px solid #e4ebf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.company-info-card > img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.company-info-card strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
}
.company-info-card p {
  margin: 10px 0 0;
  color: #64748b;
  line-height: 1.75;
}
.company-info-card a {
  color: #1677ff;
  font-weight: 900;
}
.company-info-card.status-card {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.company-info-card.status-card p {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #059669;
  font-weight: 900;
}
.company-info-card.status-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin: 10px 8px 0 0;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1677ff;
  font-size: 12px;
  font-weight: 900;
}
.footer {
  margin-top: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.footer > div {
  border: 1px solid #e4ebf5;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}
.footer strong {
  color: #0f172a;
}
.footer p {
  color: #64748b;
}
.footer a {
  color: #1677ff;
}

@media (max-width: 960px) {
  .company-hero-card,
  .company-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .company-hero-card {
    padding: 18px;
    border-radius: 18px;
  }
  .company-card {
    padding: 20px;
  }
  .company-info-card {
    grid-template-columns: 50px 1fr;
    padding: 18px;
  }
  .company-info-card > img {
    width: 46px;
    height: 46px;
  }
}

/* Higher-specificity guard for the white company section. */
body .app-shell main.page .company-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  color: #0f172a;
  box-shadow: none;
}
body .app-shell main.page .company-panel .company-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .8fr);
  gap: 30px;
  padding: 28px;
  border: 1px solid #e4ebf5;
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 18%, rgba(22, 119, 255, .10), transparent 25%),
    radial-gradient(circle at 85% 2%, rgba(14, 165, 233, .12), transparent 27%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #f5f8fc 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}
body .app-shell main.page .company-panel .section-kicker {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1677ff;
}
body .app-shell main.page .company-panel .company-copy h2,
body .app-shell main.page .company-panel .company-card strong,
body .app-shell main.page .company-panel .company-info-card strong {
  color: #0f172a;
}
body .app-shell main.page .company-panel .company-copy p {
  color: #334155;
}
body .app-shell main.page .company-panel .company-en,
body .app-shell main.page .company-panel .company-info-card p {
  color: #64748b !important;
}
body .app-shell main.page .company-panel .company-tags span {
  border-color: #dbe7f7;
  background: #fff;
  color: #1e3a8a;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}
body .app-shell main.page .company-panel .company-card {
  border: 1px solid #d6e4f7;
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 24%, rgba(22, 119, 255, .10), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,251,255,.96));
  box-shadow: 0 16px 34px rgba(22, 119, 255, .09);
}
body .app-shell main.page .company-panel .company-card span {
  color: #d97706;
}
body .app-shell main.page .company-panel .company-card p {
  color: #475569;
}
body .app-shell main.page .company-panel .company-card a {
  background: linear-gradient(135deg, #f5b544, #d97706);
  color: #fff;
}
body .app-shell main.page .company-panel .company-info-card {
  border-color: #e4ebf5;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
body .app-shell main.page .company-panel .company-info-card.status-card {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
body .app-shell main.page .company-panel .company-info-card.status-card p {
  background: #ecfdf5;
  color: #059669 !important;
}
body .app-shell main.page .company-panel .company-info-card.status-card span {
  background: #eff6ff;
  color: #1677ff;
}
body .app-shell .footer {
  border: 0;
  background: transparent;
  box-shadow: none;
}
body .app-shell .footer > div {
  border: 1px solid #e4ebf5;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}
body .app-shell .footer strong {
  color: #0f172a;
}
body .app-shell .footer p {
  color: #64748b;
}
body .app-shell .footer a {
  color: #1677ff;
}

/* White company / Singapore operations section. */
.company-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  color: #0f172a;
  box-shadow: none;
}
.company-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .8fr);
  gap: 30px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #e4ebf5;
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 18%, rgba(22, 119, 255, .10), transparent 25%),
    radial-gradient(circle at 85% 2%, rgba(14, 165, 233, .12), transparent 27%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #f5f8fc 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}
.company-hero-card:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .36;
  background-image:
    radial-gradient(circle, rgba(22, 119, 255, .22) 1px, transparent 1.6px),
    linear-gradient(120deg, transparent 0 42%, rgba(22, 119, 255, .10) 43%, transparent 45% 100%);
  background-size: 28px 28px, 100% 100%;
  pointer-events: none;
}
.company-copy,
.company-card {
  position: relative;
  z-index: 1;
}
.section-kicker {
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1677ff;
  box-shadow: 0 8px 18px rgba(22, 119, 255, .08);
}
.company-copy h2 {
  margin: 16px 0 14px;
  color: #0f172a;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}
.company-copy p {
  max-width: 880px;
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
}
.company-copy p + p {
  margin-top: 14px;
}
.company-en {
  color: #64748b !important;
  font-size: 14px;
}
.company-tags {
  margin-top: 24px;
  gap: 12px;
}
.company-tags span {
  min-height: 40px;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #dbe7f7;
  border-radius: 999px;
  background: #fff;
  color: #1e3a8a;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.company-tags span:hover {
  transform: translateY(-3px);
  border-color: #1677ff;
  box-shadow: 0 12px 24px rgba(22, 119, 255, .10);
}
.company-tags img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.company-card {
  min-height: 248px;
  align-content: center;
  padding: 26px;
  border: 1px solid #d6e4f7;
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 24%, rgba(22, 119, 255, .10), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,251,255,.96));
  box-shadow: 0 16px 34px rgba(22, 119, 255, .09);
}
.company-card:before {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 14px;
  width: 158px;
  height: 108px;
  opacity: .16;
  border: 3px solid #1677ff;
  border-top-width: 10px;
  border-radius: 18px 18px 8px 8px;
  transform: skewX(-8deg);
}
.company-card:after {
  content: "";
  position: absolute;
  right: 74px;
  bottom: 42px;
  width: 70px;
  height: 70px;
  opacity: .14;
  border: 3px solid #1677ff;
  border-radius: 50% 50% 46% 46%;
}
.company-card-kicker {
  color: #059669 !important;
  background: #ecfdf5;
}
.company-card strong {
  color: #0f172a;
  font-size: 24px;
}
.company-card span {
  color: #d97706;
}
.company-card p {
  max-width: 360px;
  color: #475569;
  font-size: 14px;
}
.company-card a {
  min-height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5b544, #d97706);
  box-shadow: 0 14px 26px rgba(217, 119, 6, .22);
}
.company-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(217, 119, 6, .28);
}
.company-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr) minmax(0, .9fr);
  gap: 18px;
}
.company-info-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  min-height: 128px;
  padding: 22px;
  border: 1px solid #e4ebf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.company-info-card > img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.company-info-card strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
}
.company-info-card p {
  margin: 10px 0 0;
  color: #64748b;
  line-height: 1.75;
}
.company-info-card a {
  color: #1677ff;
  font-weight: 900;
}
.company-info-card.status-card {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.company-info-card.status-card p {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #059669;
  font-weight: 900;
}
.company-info-card.status-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin: 10px 8px 0 0;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1677ff;
  font-size: 12px;
  font-weight: 900;
}
.footer {
  margin-top: 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.footer > div {
  border: 1px solid #e4ebf5;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}
.footer strong {
  color: #0f172a;
}
.footer p {
  color: #64748b;
}
.footer a {
  color: #1677ff;
}

@media (max-width: 960px) {
  .company-hero-card,
  .company-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .company-hero-card {
    padding: 18px;
    border-radius: 18px;
  }
  .company-card {
    padding: 20px;
  }
  .company-info-card {
    grid-template-columns: 50px 1fr;
    padding: 18px;
  }
  .company-info-card > img {
    width: 46px;
    height: 46px;
  }
}

/* Final account center overrides: keep this block last so the white console wins. */
.account-panel.light-account-panel {
  padding: 18px;
  background: #f5f7fb;
}
.account-dashboard-light {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 26px;
  border: 1px solid #e7edf6;
  border-radius: 22px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
}
.account-dashboard-light .account-dashboard-head {
  min-height: 50px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.account-dashboard-light .account-dashboard-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.15;
}
.account-dashboard-light .account-dashboard-head span,
.account-dashboard-light .account-section-title span {
  color: #64748b;
}
.account-dashboard-light .account-soft-danger {
  min-width: 112px;
  min-height: 40px;
  border: 1px solid #a9c8ff;
  border-radius: 8px;
  background: #f4f8ff;
  color: #2563eb;
}
.account-dashboard-light .account-identity-card,
.account-dashboard-light .account-metric-card,
.account-dashboard-light .account-quick-card,
.account-dashboard-light .account-referral-clean,
.account-dashboard-light .account-orders-card {
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}
.account-dashboard-light .account-identity-card {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(420px, 1.25fr) 230px;
  gap: 24px;
  min-height: 152px;
  padding: 22px 24px;
  align-items: center;
}
.account-dashboard-light .account-user-block {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  align-items: center;
}
.account-dashboard-light .account-avatar-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(37, 99, 235, .16));
}
.account-dashboard-light .account-identity-main em {
  display: none;
}
.account-dashboard-light .account-identity-main strong {
  margin-top: 8px;
  color: #0f172a;
  font-size: 20px;
  letter-spacing: .2px;
}
.account-dashboard-light .account-identity-main small {
  min-height: 30px;
  margin-top: 12px;
  border-color: #fed7aa;
  background: #fff7ed;
  color: #d97706;
}
.account-dashboard-light .account-identity-main small img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.account-dashboard-light .account-identity-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.account-dashboard-light .account-identity-meta span {
  display: grid;
  grid-template-columns: 22px 76px 1fr auto;
  gap: 12px;
  align-items: center;
  color: #64748b;
}
.account-dashboard-light .account-identity-meta b {
  color: #0f172a;
}
.account-dashboard-light .account-identity-meta .ghost-btn {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12px;
}
.account-dashboard-light .account-security-visual {
  min-height: 120px;
  background: transparent;
}
.account-dashboard-light .account-security-visual img {
  width: 220px;
  max-width: 100%;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(37, 99, 235, .16));
}
.account-dashboard-light .account-metric-grid {
  margin-top: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.account-dashboard-light .account-metric-card {
  position: relative;
  min-height: 122px;
  padding: 24px 24px 20px 92px;
  overflow: hidden;
}
.account-dashboard-light .account-metric-card .metric-art {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.account-dashboard-light .account-metric-card b {
  margin-top: 8px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.05;
}
.account-dashboard-light .account-metric-card.accent b,
.account-dashboard-light .account-referral-clean-grid span:last-child b {
  color: #d97706;
}
.account-dashboard-light .account-metric-card em {
  margin-top: 10px;
  color: #64748b;
}
.account-dashboard-light .account-quick-card,
.account-dashboard-light .account-referral-clean,
.account-dashboard-light .account-orders-card {
  margin-top: 20px;
  padding: 18px;
}
.account-dashboard-light .account-section-title {
  margin-bottom: 18px;
}
.account-dashboard-light .account-quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.account-dashboard-light .account-quick-grid button {
  min-height: 88px;
  grid-template-columns: 66px 1fr 18px;
  gap: 14px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  text-align: left;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}
.account-dashboard-light .account-quick-grid button:after {
  content: "›";
  color: #94a3b8;
  font-size: 28px;
}
.account-dashboard-light .account-quick-grid .quick-art {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.account-dashboard-light .account-quick-grid button > span {
  margin: 0;
}
.account-dashboard-light .account-quick-grid strong {
  color: #0f172a;
  font-size: 15px;
}
.account-dashboard-light .account-quick-grid em {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.account-dashboard-light .account-metric-card:hover,
.account-dashboard-light .account-quick-grid button:hover,
.account-dashboard-light .account-referral-clean-grid span:hover {
  transform: translateY(-4px);
  border-color: #1677ff;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 119, 255, .12);
}
.account-dashboard-light .account-referral-clean .account-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.account-dashboard-light .account-referral-clean .account-section-title span {
  margin-top: 0;
  text-align: right;
  font-size: 13px;
}
.account-dashboard-light .account-referral-clean-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #e8edf5;
  border-radius: 9px;
  overflow: hidden;
}
.account-dashboard-light .account-referral-clean-grid span {
  min-height: 74px;
  padding: 14px 22px;
  border: 0;
  border-right: 1px solid #e8edf5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.account-dashboard-light .account-referral-clean-grid span:last-child {
  border-right: 0;
}
.account-dashboard-light .account-referral-clean-grid b {
  margin-top: 8px;
  color: #0f172a;
  font-size: 21px;
}
.account-dashboard-light .account-referral-submit.clean {
  grid-template-columns: 1fr 170px 170px;
  gap: 20px;
  margin-top: 12px;
}
.account-dashboard-light .account-referral-submit.clean .input {
  min-height: 46px;
  border: 1px solid #dbe3ef;
  border-radius: 7px;
  background: #fff;
  color: #0f172a;
}
.account-dashboard-light .account-referral-submit.clean .primary-btn,
.account-dashboard-light .account-referral-submit.clean .ghost-btn {
  border-radius: 7px;
}
.account-dashboard-light .primary-btn {
  border-color: #1677ff;
  background: linear-gradient(135deg, #1677ff, #0ea5e9);
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 119, 255, .18);
}
.account-dashboard-light .ghost-btn {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #1677ff;
}
.account-dashboard-light .account-orders-table-wrap {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  overflow: auto;
}
.account-dashboard-light .account-orders-table {
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
}
.account-dashboard-light .account-orders-table th,
.account-dashboard-light .account-orders-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e8edf5;
  color: #334155;
  font-size: 13px;
}
.account-dashboard-light .account-orders-table th {
  background: #f5f7fb;
  color: #64748b;
  font-weight: 900;
}
.account-dashboard-light .account-orders-table td b {
  color: #0f172a;
}
.account-dashboard-light .account-orders-table .link-btn {
  color: #1677ff;
}

@media (max-width: 1160px) {
  .account-dashboard-light .account-identity-card {
    grid-template-columns: 1fr;
  }
  .account-dashboard-light .account-security-visual {
    display: none;
  }
}

@media (max-width: 760px) {
  .account-panel.light-account-panel {
    padding: 10px;
  }
  .account-dashboard-light {
    padding: 14px;
    border-radius: 16px;
  }
  .account-dashboard-light .account-dashboard-head {
    flex-direction: column;
  }
  .account-dashboard-light .account-soft-danger {
    width: 100%;
  }
  .account-dashboard-light .account-user-block {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }
  .account-dashboard-light .account-avatar-img {
    width: 68px;
    height: 68px;
  }
  .account-dashboard-light .account-identity-meta span {
    grid-template-columns: 22px 1fr;
  }
  .account-dashboard-light .account-identity-meta span b,
  .account-dashboard-light .account-identity-meta span button {
    grid-column: 2;
  }
  .account-dashboard-light .account-identity-meta .ghost-btn {
    width: 100%;
  }
  .account-dashboard-light .account-metric-grid,
  .account-dashboard-light .account-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .account-dashboard-light .account-metric-card {
    min-height: 118px;
    padding: 16px 14px 16px 66px;
  }
  .account-dashboard-light .account-metric-card .metric-art {
    left: 14px;
    top: 18px;
    width: 40px;
    height: 40px;
  }
  .account-dashboard-light .account-metric-card b {
    font-size: 20px;
  }
  .account-dashboard-light .account-quick-grid button {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 14px 10px;
  }
  .account-dashboard-light .account-quick-grid button:after {
    display: none;
  }
  .account-dashboard-light .account-referral-clean .account-section-title {
    display: block;
  }
  .account-dashboard-light .account-referral-clean .account-section-title span {
    margin-top: 8px;
    text-align: left;
  }
  .account-dashboard-light .account-referral-clean-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    gap: 10px;
  }
  .account-dashboard-light .account-referral-clean-grid span {
    border: 1px solid #e8edf5;
    border-radius: 10px;
  }
  .account-dashboard-light .account-referral-submit.clean {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #081a2d 0, #0f2236 240px, var(--bg) 241px, var(--bg) 100%);
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.app-shell { min-height: 100vh; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 19, 34, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: 1240px;
  height: 68px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
  color: #fff;
  font-weight: 800;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #bf9140, #7b5a1c);
  color: #fff;
  font-size: 12px;
  letter-spacing: .4px;
  box-shadow: 0 10px 22px rgba(185, 139, 54, .25);
}
.brand strong {
  color: #fff;
  letter-spacing: .2px;
}
.brand small {
  padding: 3px 7px;
  border: 1px solid rgba(185, 139, 54, .46);
  border-radius: 6px;
  color: #f4d99d;
  background: rgba(185, 139, 54, .12);
  font-weight: 800;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.nav-links button {
  height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  background: transparent;
  color: rgba(236, 242, 248, .74);
  font-size: 14px;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nav-links button:hover,
.nav-links button.active {
  color: #fff;
  background: rgba(185, 139, 54, .18);
}
.nav-product {
  position: relative;
}
.nav-product:after {
  content: "";
  position: absolute;
  left: -8px;
  top: 100%;
  width: 180px;
  height: 18px;
}
.product-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.product-trigger span {
  color: #f4d99d;
  font-weight: 900;
}
.product-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 7px);
  z-index: 65;
  width: 538px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 46px rgba(7, 19, 34, .18);
}
.nav-product.open .product-dropdown,
.nav-product:hover .product-dropdown {
  display: grid;
}
.product-dropdown:before {
  content: "";
  position: absolute;
  top: -7px;
  left: 30px;
  width: 14px;
  height: 14px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fff;
  transform: rotate(45deg);
}
.product-card,
.drawer-product-card {
  position: relative;
  height: auto;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #25344a;
  padding: 14px 44px 12px 14px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  white-space: normal;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.nav-links .product-dropdown .product-card {
  height: auto;
  min-height: 92px;
  padding: 14px 44px 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: #25344a;
  border-radius: 7px;
  white-space: normal;
}
.nav-links .product-dropdown .product-card span {
  display: block;
  color: inherit;
}
.nav-links .product-dropdown .product-card:hover {
  color: #25344a;
  background: #fff;
}
.nav-links .product-dropdown .product-card.active {
  color: #6f4d15;
  background: var(--gold-soft);
}
.product-card:hover,
.product-card.active,
.drawer-product-card:hover,
.drawer-product-card.active {
  border-color: #d8bf82;
  box-shadow: 0 8px 18px rgba(20, 32, 51, .08);
  transform: translateY(-1px);
}
.product-card:hover,
.drawer-product-card:hover {
  background: #fff;
  color: #25344a;
}
.product-card.active,
.drawer-product-card.active {
  background: var(--gold-soft);
  color: #6f4d15;
}
.product-card i,
.drawer-product-card i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #60728a;
}
.product-card i svg,
.drawer-product-card i svg {
  width: 21px;
  height: 21px;
}
.product-card strong,
.drawer-product-card strong {
  display: block;
  color: #31435b;
  font-size: 15px;
}
.product-card small,
.drawer-product-card small {
  display: block;
  margin-top: 5px;
  color: #62748c;
  font-size: 12px;
  line-height: 1.5;
}
.tag {
  position: absolute;
  right: 12px;
  top: 20px;
  min-width: 34px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  background: #eafff1;
  color: #17a65d;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}
.tag.hot {
  background: #fff0f0;
  color: #ef3c47;
}

.account-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.balance-chip {
  min-width: 98px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: rgba(236, 242, 248, .78);
  font-size: 12px;
  text-align: right;
}
.balance-chip b {
  color: #f4d99d;
  font-variant-numeric: tabular-nums;
}

.profile-menu { position: relative; }
.profile-trigger {
  min-height: 38px;
  min-width: 136px;
  border: 0;
  border-radius: 7px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #071322;
  background: linear-gradient(180deg, #f2d28d, #b98b36);
  box-shadow: 0 10px 22px rgba(185, 139, 54, .22);
  font-weight: 800;
}
.profile-trigger:hover { filter: brightness(.98); }
.profile-symbol,
.profile-symbol svg {
  width: 17px;
  height: 17px;
}
.profile-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 11px);
  z-index: 70;
  width: 258px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #0d263f;
  box-shadow: 0 22px 42px rgba(7, 19, 34, .32);
}
.profile-menu.open .profile-dropdown {
  display: grid;
  gap: 8px;
}

.profile-menu.logged-in .profile-dropdown {
  width: 224px;
  padding: 8px;
  border-color: rgba(255,255,255,.2);
  background: linear-gradient(180deg, #06a9cf 0%, #0399bd 100%);
  box-shadow: 0 18px 38px rgba(3, 153, 189, .28);
}
.profile-menu.logged-in .profile-dropdown::before {
  background: rgba(255,255,255,.08);
}
.profile-menu.logged-in .profile-dropdown button {
  min-height: 46px;
  color: #fff;
  background: rgba(0, 121, 153, .22);
  border-color: rgba(255,255,255,.08);
}
.profile-menu.logged-in .profile-dropdown button:hover {
  background: rgba(255,255,255,.14);
}
.profile-menu.logged-in .profile-dropdown button i,
.profile-menu.logged-in .profile-dropdown button i svg {
  color: #e9fbff;
}
.profile-menu.logged-in .profile-group {
  margin: 2px 0;
  padding: 8px;
  border-radius: 8px;
  background: rgba(0, 121, 153, .2);
}
.profile-menu.logged-in .profile-group small {
  display: block;
  margin: 0 0 6px;
  color: rgba(255,255,255,.65);
  font-weight: 700;
}
.profile-menu.logged-in .profile-logout {
  color: #ff375f;
  background: rgba(255,255,255,.08);
  justify-content: center;
  font-weight: 900;
}
.profile-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 28px;
  width: 14px;
  height: 14px;
  background: #0d263f;
  border-left: 1px solid rgba(255, 255, 255, .10);
  border-top: 1px solid rgba(255, 255, 255, .10);
  transform: rotate(45deg);
}
.profile-dropdown button {
  position: relative;
  z-index: 1;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #edf4fb;
  background: rgba(255, 255, 255, .06);
  font-weight: 800;
}
.profile-dropdown button:hover {
  background: rgba(185, 139, 54, .18);
}
.profile-dropdown button i,
.profile-dropdown button i svg {
  width: 18px;
  height: 18px;
}
.profile-group {
  position: relative;
  z-index: 1;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
}
.profile-group small {
  display: block;
  padding: 0 6px 8px;
  color: rgba(237, 244, 251, .62);
  font-weight: 800;
}
.profile-group button { width: 100%; }
.profile-logout { color: #fff !important; }

.primary-btn,
.ghost-btn,
.danger-btn {
  min-height: 40px;
  border-radius: 7px;
  padding: 0 15px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.primary-btn {
  color: #071322;
  background: linear-gradient(180deg, #f3d895, #b98b36);
  border-color: #a97b2e;
  box-shadow: 0 10px 22px rgba(185, 139, 54, .20);
}
.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(185, 139, 54, .24);
}
.ghost-btn {
  background: #fff;
  border-color: var(--line);
  color: #25344a;
}
.ghost-btn:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px rgba(20, 32, 51, .08);
}
.danger-btn {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.mobile-menu-btn { display: none; }

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 18px 44px;
}

.compliance-strip {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 10px;
}
.compliance-strip div {
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: rgba(237, 244, 251, .78);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 12px 28px rgba(7, 19, 34, .14);
}
.compliance-strip strong {
  display: block;
  margin-bottom: 5px;
  color: #f4d99d;
  font-size: 13px;
}
.compliance-strip span {
  display: block;
  font-size: 12px;
  line-height: 1.55;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(390px, .98fr);
  gap: 16px;
  align-items: stretch;
}
.info-panel,
.action-panel,
.account-panel,
.services-panel,
.orders-panel,
.company-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-panel { padding: 18px; }
.action-panel {
  padding: 20px 16px 22px;
  min-height: 640px;
}
.account-panel,
.services-panel,
.orders-panel,
.company-panel {
  margin-top: 16px;
  padding: 18px;
}
.account-panel.light-account-panel {
  padding: 0;
  border: 0;
  background: #f5f7fb;
  box-shadow: none;
}
.orders-panel {
  display: none;
}

.company-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(41, 126, 215, .26), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(244, 217, 157, .18), transparent 28%),
    linear-gradient(135deg, rgba(7, 26, 46, .98), rgba(11, 35, 59, .96)),
    var(--navy);
  color: rgba(237, 244, 251, .80);
  box-shadow: var(--shadow-soft);
}
.company-copy,
.company-card {
  position: relative;
  z-index: 1;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(244, 217, 157, .24);
  border-radius: 999px;
  color: #f4d99d;
  background: rgba(185, 139, 54, .12);
  font-size: 12px;
  font-weight: 900;
}
.company-copy h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}
.company-copy p {
  margin: 0;
  max-width: 840px;
  color: rgba(237, 244, 251, .78);
  line-height: 1.78;
}
.company-copy p + p {
  margin-top: 10px;
}
.company-en {
  color: rgba(244, 217, 157, .78) !important;
  font-size: 13px;
}
.company-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.company-tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(237, 244, 251, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(237, 244, 251, .78);
  font-size: 12px;
  font-weight: 800;
}
.company-card {
  padding: 22px;
  display: grid;
  gap: 11px;
  align-content: center;
  border: 1px solid rgba(237, 244, 251, .14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.company-card-kicker {
  width: fit-content;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .12);
  color: #8cf3c6 !important;
  font-size: 11px;
  font-weight: 900;
}
.company-card strong {
  color: #fff;
  font-size: 20px;
}
.company-card span {
  color: #f4d99d;
  font-weight: 900;
}
.company-card p {
  margin: 0;
  color: rgba(237, 244, 251, .72);
  line-height: 1.7;
  font-size: 13px;
}
.company-card a {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 7px;
  background: linear-gradient(135deg, #d8a340, #9b6d19);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(155, 109, 25, .24);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.title-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.title-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: var(--gold);
  background: var(--gold-soft);
}
.title-icon svg {
  width: 18px;
  height: 18px;
}
.panel-title h1,
.panel-title h2,
.panel-title strong {
  margin: 0;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.25;
}
.guide-link {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.price-board {
  position: relative;
  overflow: hidden;
  min-height: 258px;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  color: #edf4fb;
  background:
    linear-gradient(135deg, rgba(13, 38, 63, .98), rgba(7, 19, 34, .98));
}
.price-board:after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 164px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 217, 157, .42));
}
.price-main {
  position: relative;
  z-index: 1;
  max-width: 58%;
}
.price-main .eyebrow {
  color: rgba(237, 244, 251, .78);
  font-size: 15px;
}
.price-main .eyebrow b { color: #f4d99d; }
.big-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}
.big-number span {
  color: rgba(237, 244, 251, .66);
}
.big-number em {
  color: #f4d99d;
  font-style: normal;
  font-size: 34px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.rate-badges {
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 2;
  width: 264px;
  display: grid;
  gap: 8px;
}
.rate-badges span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  color: rgba(237, 244, 251, .78);
  font-size: 13px;
}
.rate-badges b {
  color: #f4d99d;
  text-align: right;
}
.compare-title {
  position: relative;
  z-index: 1;
  margin: 30px 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(237, 244, 251, .86);
  font-size: 15px;
}
.compare-title:after {
  content: "";
  height: 1px;
  flex: 1;
  border-top: 1px solid rgba(237, 244, 251, .18);
}
.compare-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.compare-item {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
}
.compare-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  color: #f4d99d;
  background: rgba(185, 139, 54, .13);
}
.compare-icon svg {
  width: 23px;
  height: 23px;
}
.compare-item span {
  display: block;
  color: rgba(237, 244, 251, .76);
  font-size: 14px;
}
.compare-item b {
  display: block;
  margin-top: 6px;
  color: #fff;
}

.faq-strip,
.notice-strip,
.intro-text,
.risk-callout {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 15px 18px;
}
.faq-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
}
.faq-strip a {
  position: relative;
  color: #47576b;
  font-size: 14px;
  line-height: 1.45;
}
.faq-strip a:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--gold);
}
.notice-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #506075;
}
.notice-strip .support-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  color: #f4d99d;
  background: var(--navy);
}
.notice-strip .support-icon svg {
  width: 19px;
  height: 19px;
}
.notice-strip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-strong);
}
.notice-strip a {
  color: var(--gold);
  font-weight: 800;
}
.intro-text {
  color: #506075;
  line-height: 1.85;
}
.intro-text b { color: var(--ink-strong); }
.permanent-address {
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(43, 108, 176, .18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(234, 243, 255, .82));
  color: #64748b;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}
.permanent-address span {
  margin-right: 8px;
}
.permanent-address b {
  color: #1677ff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
}
.permanent-address-action {
  display: none;
}
@media (max-width: 768px) {
  .permanent-address-action {
    display: block;
    margin: 12px 0 0;
  }
}
.referral-intro-rules {
  display: grid;
  gap: 12px;
}
.referral-rule-lead {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  color: #42536a;
}
.referral-rule-lead b {
  font-size: 16px;
}
.referral-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.referral-rule-grid span {
  display: block;
  min-height: 86px;
  padding: 12px 13px;
  border: 1px solid rgba(19, 38, 68, .08);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(245,248,252,.92));
}
.referral-rule-grid b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-strong);
}
.referral-rule-grid em {
  display: block;
  color: #596a80;
  font-style: normal;
  font-size: 13px;
  line-height: 1.65;
}
.risk-callout,
.risk-card {
  color: #6f4d15;
  background: var(--gold-soft);
  border-color: #ead7ac;
}
.risk-callout strong,
.risk-card strong {
  display: block;
  margin-bottom: 5px;
  color: #6a4510;
}
.risk-callout span,
.risk-card span {
  display: block;
  line-height: 1.65;
  font-size: 13px;
}
.risk-card {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #ead7ac;
  border-radius: 7px;
}

.action-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.action-head h2 {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.3;
}
.action-head h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 10px;
  background: var(--gold);
}
.mode-tabs,
.mini-tabs,
.pay-tabs {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.mode-tabs button,
.mini-tabs button,
.pay-tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  color: #3b4a5f;
  font-weight: 800;
  font-size: 13px;
}
.mode-tabs button:hover,
.mini-tabs button:hover,
.pay-tabs button:hover {
  border-color: var(--line-strong);
}
.mode-tabs button.active,
.mini-tabs button.active,
.pay-tabs button.active {
  border-color: #b98b36;
  background: var(--gold-soft);
  color: #6f4d15;
}
.hot-dot {
  position: absolute;
  margin-left: -10px;
  margin-top: -9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(198, 61, 67, .13);
}

.step-block { margin-top: 18px; }
.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink-strong);
  font-weight: 900;
}
.step-title .num {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #071322;
  background: #f2d28d;
  font-size: 13px;
}
.step-title small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  text-align: right;
}
.step-title em {
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stepper button,
.stepper input {
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  text-align: center;
}
.stepper button {
  width: 44px;
  color: var(--ink-strong);
  font-weight: 900;
}
.stepper input {
  width: 82px;
  color: var(--ink-strong);
  font-weight: 900;
}
.stepper strong {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-left: 6px;
  color: var(--gold);
  font-size: 22px;
}
.stepper span {
  color: #46576c;
  font-size: 14px;
}
.quick-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.quick-grid button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #25344a;
  font-weight: 800;
}
.quick-grid button:hover {
  border-color: var(--line-strong);
}
.quick-grid button.active {
  border-color: #b98b36;
  background: var(--gold-soft);
  color: #6f4d15;
}

.form-row { margin-top: 14px; }
.form-row label {
  display: block;
  margin-bottom: 7px;
  color: #27364c;
  font-weight: 900;
}
.input,
textarea.input,
select.input {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  padding: 10px 12px;
  outline: none;
  color: var(--ink-strong);
}
textarea.input {
  min-height: 92px;
  resize: vertical;
}
.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 139, 54, .14);
}

.pay-box {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-3);
}
.qr {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.qr.qr-off {
  border-style: dashed;
  background: #f8fafc;
  color: #8994a3;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}
.address-box {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #18263a;
  word-break: break-all;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}
.copy-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.copy-row .primary-btn { flex: 1; }
.copy-row button:disabled,
.copy-row button.disabled {
  cursor: not-allowed;
  opacity: .56;
  filter: grayscale(.2);
}
.note {
  margin: 14px 0 0;
  color: #506075;
  font-size: 14px;
  line-height: 1.75;
}
.note em {
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
}

.message {
  margin-top: 12px;
  min-height: 44px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: #46576c;
  line-height: 1.55;
}
.message.ok {
  border-color: rgba(21, 147, 93, .30);
  background: #effbf5;
  color: #0c7047;
}
.message.bad {
  border-color: rgba(198, 61, 67, .30);
  background: #fff4f4;
  color: #a52e35;
}
.message.warn {
  border-color: rgba(198, 117, 31, .32);
  background: #fff8ec;
  color: #805112;
}
.api-status {
  font-weight: 900;
}
.api-status.ok {
  color: #37d28b !important;
}
.api-status.bad {
  color: #ff747b !important;
}
.api-status.pending {
  color: #f4d99d !important;
}
.full-btn {
  width: 100%;
  margin-top: 14px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 14px;
}
.auth-card h3 {
  margin: 0 0 12px;
  color: var(--ink-strong);
}
.auth-card .row { margin-bottom: 10px; }
.auth-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stats-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 80px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.stat-card:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, #297ed7, #f4d99d);
  transition: opacity .2s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(41, 126, 215, .28);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 14px 28px rgba(35, 105, 168, .12);
}
.stat-card:hover:after {
  opacity: 1;
}
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.stat-card b {
  display: block;
  margin-top: 7px;
  color: var(--ink-strong);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.premium-price-list p,
.premium-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 -6px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(223, 230, 240, .75);
  border-radius: 7px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.premium-plan-row {
  width: calc(100% + 12px);
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  font: inherit;
}
.premium-plan-row b {
  color: #0f5fa8;
  font-variant-numeric: tabular-nums;
}
.premium-price-list p:last-child,
.premium-plan-row:last-child {
  border-bottom: 0;
}
.premium-price-list p:hover,
.premium-plan-row:hover {
  transform: translateX(4px);
  background: rgba(41, 126, 215, .06);
}
.premium-plan-row.active {
  transform: translateX(4px);
  border-color: rgba(41, 126, 215, .22);
  background: linear-gradient(90deg, rgba(41, 126, 215, .12), rgba(244, 217, 157, .12));
  box-shadow: inset 3px 0 0 #297ed7;
}
.premium-selected-card {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(41, 126, 215, .22);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(247, 251, 255, .96), rgba(255, 249, 235, .92));
  box-shadow: 0 16px 34px rgba(35, 105, 168, .10);
}
.premium-selected-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #297ed7, #7c6df2, #f4d99d);
}
.premium-selected-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.premium-selected-head span,
.premium-calc-grid span {
  color: var(--muted);
  font-size: 12px;
}
.premium-selected-head b {
  color: var(--ink-strong);
  font-size: 18px;
  text-align: right;
}
.premium-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.premium-calc-grid span {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(223, 230, 240, .9);
  border-radius: 10px;
  background: rgba(255, 255, 255, .7);
}
.premium-calc-grid b {
  display: block;
  margin-top: 6px;
  color: var(--ink-strong);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
#premiumSelectedAmount {
  color: #0f5fa8;
  font-size: 18px;
}
.premium-selected-card em {
  display: block;
  margin-top: 12px;
  color: #8b6721;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.logged-profile {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #ead7ac;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7e6, #fff);
  text-align: center;
}
.logged-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #071322;
  background: linear-gradient(180deg, #f3d895, #b98b36);
}
.logged-icon svg {
  width: 22px;
  height: 22px;
}
.logged-profile span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}
.logged-profile strong {
  color: var(--ink-strong);
  font-size: 18px;
}
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  min-width: 104px;
  padding: 11px 18px;
  border: 1px solid rgba(234, 215, 172, .7);
  border-radius: 8px;
  background: rgba(7, 19, 34, .94);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(7, 19, 34, .25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .18s ease, transform .18s ease;
}
.copy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.auth-modal-open {
  overflow: hidden;
}
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(7, 19, 34, .80);
  backdrop-filter: blur(18px);
}
.auth-modal-backdrop.open {
  display: flex;
}
.auth-modal-shell {
  position: relative;
  width: min(920px, 96vw);
  color: #071322;
}
.auth-modal-close {
  position: absolute;
  right: -10px;
  top: -14px;
  z-index: 8;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(7, 19, 34, .92);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.auth-slider {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0,0,0,.38);
}
.auth-form-panel {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  transition: all .6s ease-in-out;
}
.auth-form-panel form {
  height: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: #fff;
}
.auth-form-panel h1,
.auth-overlay-panel h1 {
  margin: 0;
  font-size: 30px;
  color: #071322;
}
.auth-form-panel span {
  margin: 14px 0 18px;
  color: #637083;
  font-size: 13px;
}
.auth-form-panel input {
  width: 100%;
  min-height: 46px;
  margin: 8px 0;
  border: 1px solid #dce3eb;
  border-radius: 7px;
  background: #f2f5f8;
  padding: 12px 14px;
  outline: none;
}
.auth-form-panel input:focus {
  border-color: #b98b36;
  box-shadow: 0 0 0 3px rgba(185,139,54,.14);
}
.auth-form-panel a {
  margin: 12px 0 8px;
  color: #637083;
  font-size: 13px;
}
.auth-form-panel button,
.auth-overlay-panel button {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid #a97b2e;
  background: linear-gradient(180deg, #f3d895, #b98b36);
  color: #071322;
  padding: 0 34px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: transform 80ms ease-in, filter .18s ease;
}
.auth-form-panel button:hover,
.auth-overlay-panel button:hover {
  filter: brightness(1.02);
}
.auth-form-panel button:active,
.auth-overlay-panel button:active {
  transform: scale(.96);
}
.auth-sign-in {
  left: 0;
  z-index: 2;
}
.auth-sign-up {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.auth-slider.right-panel-active .auth-sign-in {
  transform: translateX(100%);
}
.auth-slider.right-panel-active .auth-sign-up {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: authShow .6s;
}
@keyframes authShow {
  0%, 49.99% { opacity: 0; z-index: 1; }
  50%, 100% { opacity: 1; z-index: 5; }
}
.auth-overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform .6s ease-in-out;
  z-index: 6;
}
.auth-slider.right-panel-active .auth-overlay-container {
  transform: translateX(-100%);
}
.auth-overlay {
  position: relative;
  left: -100%;
  width: 200%;
  height: 100%;
  color: #fff;
  background:
    radial-gradient(circle at 28% 28%, rgba(244,217,157,.24), transparent 30%),
    linear-gradient(135deg, #071322 0%, #0d263f 46%, #b98b36 100%);
  transform: translateX(0);
  transition: transform .6s ease-in-out;
}
.auth-slider.right-panel-active .auth-overlay {
  transform: translateX(50%);
}
.auth-overlay-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  transition: transform .6s ease-in-out;
}
.auth-overlay-panel h1 {
  color: #fff;
}
.auth-overlay-panel p {
  margin: 20px 0 30px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.65;
}
.auth-overlay-panel button.ghost {
  border-color: rgba(255,255,255,.78);
  background: transparent;
  color: #fff;
}
.auth-overlay-left {
  transform: translateX(-20%);
}
.auth-slider.right-panel-active .auth-overlay-left {
  transform: translateX(0);
}
.auth-overlay-right {
  right: 0;
  transform: translateX(0);
}
.auth-slider.right-panel-active .auth-overlay-right {
  transform: translateX(20%);
}
.auth-inline-message {
  width: 100%;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid #ead7ac;
  border-radius: 7px;
  background: #fff7e6;
  color: #6a4510;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
  word-break: break-all;
}
.auth-secondary-action {
  margin-top: 4px;
  background: #fff !important;
}
.auth-modal-message {
  margin: 12px auto 0;
  width: min(720px, 92vw);
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(7,19,34,.88);
  color: rgba(255,255,255,.76);
  text-align: center;
  line-height: 1.45;
}
.auth-modal-message.ok {
  border-color: rgba(21,147,93,.38);
  color: #c7f8df;
}
.auth-modal-message.bad {
  border-color: rgba(198,61,67,.45);
  color: #ffd4d4;
}
.auth-modal-message.warn {
  border-color: rgba(244,217,157,.42);
  color: #ffe7ab;
}
.profile-panel-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.profile-panel-actions .danger-btn { grid-column: span 2; }
.mini-balance-card {
  min-height: 68px;
  padding: 11px 12px;
  border: 1px solid #ead7ac;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8e8, #fff);
}
.mini-balance-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.mini-balance-card b {
  display: block;
  margin-top: 8px;
  color: var(--ink-strong);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.account-dashboard {
  margin: -18px;
  padding: 22px;
  display: grid;
  gap: 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 4%, rgba(244, 217, 157, .12), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(41, 126, 215, .12), transparent 30%),
    linear-gradient(180deg, #071a2e, #0d263f);
  color: rgba(237, 244, 251, .78);
}
.account-dashboard-head,
.account-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.account-dashboard-head span,
.account-section-title span {
  color: rgba(244, 217, 157, .72);
  font-size: 12px;
  font-weight: 900;
}
.account-dashboard-head h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
}
.account-dashboard .ghost-btn {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #edf4fb;
}
.account-dashboard .ghost-btn:hover {
  border-color: rgba(244, 217, 157, .42);
  background: rgba(185, 139, 54, .14);
}
.account-identity-card,
.account-metric-card,
.account-quick-card,
.account-referral-clean,
.account-orders-card {
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.account-identity-card {
  display: grid;
  grid-template-columns: 58px minmax(180px, .8fr) minmax(280px, 1.4fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}
.account-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #071322;
  background: linear-gradient(180deg, #f3d895, #b98b36);
  box-shadow: 0 12px 26px rgba(185, 139, 54, .24);
}
.account-avatar svg {
  width: 25px;
  height: 25px;
}
.account-identity-main span,
.account-identity-meta span,
.account-metric-card span,
.account-referral-clean-grid em {
  display: block;
  color: rgba(237, 244, 251, .68);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.account-identity-main strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.account-identity-main em {
  display: none;
}
.account-identity-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.account-identity-meta span {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.account-identity-meta b {
  color: #fff;
}
.account-identity-meta .ghost-btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
.account-logout-btn {
  min-width: 88px;
}
.account-metric-grid,
.account-referral-clean-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.account-metric-card {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 16px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.account-metric-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  opacity: .9;
  background: linear-gradient(90deg, #f4d99d, #297ed7);
}
.account-metric-card:hover,
.account-quick-grid button:hover,
.account-referral-clean-grid span:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 217, 157, .34);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .24);
}
.account-metric-card i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #f4d99d;
  background: rgba(185, 139, 54, .16);
}
.account-metric-card i svg {
  width: 19px;
  height: 19px;
}
.account-metric-card b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.account-metric-card em {
  display: block;
  margin-top: 8px;
  color: rgba(148, 163, 184, .86);
  font-size: 12px;
  font-style: normal;
}
.account-metric-card.accent b {
  color: #fde68a;
}
.account-quick-card,
.account-referral-clean,
.account-orders-card {
  padding: 18px;
}
.account-section-title {
  margin-bottom: 14px;
}
.account-section-title strong {
  color: #fff;
  font-size: 17px;
}
.account-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.account-quick-grid button {
  min-height: 94px;
  display: grid;
  place-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  background: rgba(15, 23, 42, .42);
  color: #edf4fb;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.account-quick-grid i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #f4d99d;
  background: rgba(185, 139, 54, .16);
}
.account-quick-grid svg {
  width: 21px;
  height: 21px;
}
.account-referral-clean-grid span {
  min-height: 108px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  background: rgba(15, 23, 42, .42);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.account-referral-clean-grid b {
  display: block;
  margin-top: 13px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.account-referral-clean-grid span:last-child b {
  color: #fde68a;
}
.account-referral-submit.clean {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 112px 92px;
  gap: 10px;
}
.account-referral-submit.clean .input {
  min-height: 42px;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(7, 19, 34, .62);
  color: #fff;
}
.account-referral-submit.clean .input::placeholder {
  color: rgba(237, 244, 251, .52);
}
.account-orders-table-wrap {
  overflow: auto;
}
.account-orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.account-orders-table th,
.account-orders-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(237, 244, 251, .80);
  text-align: left;
  font-size: 13px;
}
.account-orders-table th {
  color: rgba(244, 217, 157, .78);
  font-size: 12px;
  font-weight: 900;
}
.account-orders-table td b {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.account-orders-table tbody tr {
  transition: background .18s ease;
}
.account-orders-table tbody tr:hover {
  background: rgba(185, 139, 54, .10);
}
.account-orders-table .link-btn {
  color: #f4d99d;
}
.account-empty-row {
  text-align: center !important;
  color: rgba(237, 244, 251, .66) !important;
}
.account-dashboard-light {
  margin: -18px;
  padding: 24px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  background: #f5f7fb;
  color: #0f172a;
  box-shadow: none;
}
.account-dashboard-light .account-dashboard-head {
  align-items: flex-start;
  margin-bottom: 2px;
}
.account-dashboard-light .account-dashboard-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
  letter-spacing: 0;
}
.account-dashboard-light .account-dashboard-head span,
.account-dashboard-light .account-section-title span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}
.account-dashboard-light .account-soft-danger {
  min-height: 40px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 0 16px;
  background: #fff1f2;
  color: #e11d48;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}
.account-dashboard-light .account-soft-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(225, 29, 72, .10);
}
.account-dashboard-light .account-identity-card,
.account-dashboard-light .account-metric-card,
.account-dashboard-light .account-quick-card,
.account-dashboard-light .account-referral-clean,
.account-dashboard-light .account-orders-card {
  border: 1px solid #e8edf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}
.account-dashboard-light .account-identity-card {
  grid-template-columns: 88px minmax(210px, .9fr) minmax(340px, 1.45fr) 190px;
  min-height: 148px;
  padding: 24px;
}
.account-dashboard-light .account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,.92) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 78%, rgba(255,255,255,.82) 0 25%, transparent 26%),
    linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 12px 26px rgba(22, 119, 255, .20);
}
.account-dashboard-light .account-avatar svg {
  display: none;
}
.account-dashboard-light .account-identity-main span,
.account-dashboard-light .account-identity-meta span,
.account-dashboard-light .account-metric-card span,
.account-dashboard-light .account-referral-clean-grid em {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.account-dashboard-light .account-identity-main strong {
  margin-top: 8px;
  color: #0f172a;
  font-size: 21px;
}
.account-dashboard-light .account-identity-main small {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #d97706;
  font-size: 13px;
  font-weight: 900;
}
.account-dashboard-light .account-identity-meta {
  gap: 12px;
}
.account-dashboard-light .account-identity-meta span {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
}
.account-dashboard-light .account-identity-meta i {
  width: 20px;
  height: 20px;
  color: #94a3b8;
}
.account-dashboard-light .account-identity-meta i svg {
  width: 18px;
  height: 18px;
}
.account-dashboard-light .account-identity-meta b {
  color: #0f172a;
}
.account-dashboard-light .ghost-btn {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #1677ff;
}
.account-dashboard-light .ghost-btn:hover {
  border-color: #1677ff;
  background: #eaf3ff;
  box-shadow: 0 10px 22px rgba(22, 119, 255, .10);
}
.account-dashboard-light .account-security-visual {
  min-height: 116px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #1677ff;
  background:
    radial-gradient(circle at 72% 30%, rgba(22, 119, 255, .16), transparent 18%),
    linear-gradient(135deg, #eff6ff, #ffffff);
}
.account-dashboard-light .account-security-visual svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 14px 20px rgba(22, 119, 255, .18));
}
.account-dashboard-light .account-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.account-dashboard-light .account-metric-card {
  min-height: 126px;
  padding: 22px;
}
.account-dashboard-light .account-metric-card:before {
  display: none;
}
.account-dashboard-light .account-metric-card i,
.account-dashboard-light .account-quick-grid i {
  border-radius: 50%;
  color: #1677ff;
  background: #eaf3ff;
}
.account-dashboard-light .account-metric-card.trx i {
  color: #f43f5e;
  background: #fff1f2;
}
.account-dashboard-light .account-metric-card.accent i {
  color: #d97706;
  background: #fff7ed;
}
.account-dashboard-light .account-metric-card b {
  margin-top: 10px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
}
.account-dashboard-light .account-metric-card.accent b {
  color: #d97706;
}
.account-dashboard-light .account-metric-card em {
  color: #64748b;
  font-size: 13px;
}
.account-dashboard-light .account-metric-card:hover,
.account-dashboard-light .account-quick-grid button:hover,
.account-dashboard-light .account-referral-clean-grid span:hover {
  transform: translateY(-4px);
  border-color: #1677ff;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 119, 255, .12);
}
.account-dashboard-light .account-quick-card,
.account-dashboard-light .account-referral-clean,
.account-dashboard-light .account-orders-card {
  padding: 20px;
}
.account-dashboard-light .account-section-title {
  margin-bottom: 18px;
}
.account-dashboard-light .account-section-title strong {
  color: #0f172a;
  font-size: 18px;
}
.account-dashboard-light .account-quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.account-dashboard-light .account-quick-grid button {
  min-height: 88px;
  grid-template-columns: 52px 1fr 18px;
  place-items: center stretch;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  text-align: left;
}
.account-dashboard-light .account-quick-grid button:after {
  content: "›";
  color: #94a3b8;
  font-size: 28px;
  line-height: 1;
}
.account-dashboard-light .account-quick-grid strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
}
.account-dashboard-light .account-quick-grid span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}
.account-dashboard-light .account-referral-layout {
  display: grid;
  gap: 14px;
}
.account-dashboard-light .account-referral-clean-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  overflow: hidden;
}
.account-dashboard-light .account-referral-clean-grid span {
  min-height: 78px;
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid #e8edf5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.account-dashboard-light .account-referral-clean-grid span:last-child {
  border-right: 0;
}
.account-dashboard-light .account-referral-clean-grid b {
  margin-top: 8px;
  color: #0f172a;
  font-size: 22px;
}
.account-dashboard-light .account-referral-clean-grid span:last-child b {
  color: #d97706;
}
.account-dashboard-light .account-referral-submit.clean {
  grid-template-columns: 1fr 160px 160px;
  gap: 20px;
}
.account-dashboard-light .account-referral-submit.clean .input {
  min-height: 46px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
}
.account-dashboard-light .account-referral-submit.clean .input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .12);
}
.account-dashboard-light .account-referral-submit.clean .input::placeholder {
  color: #94a3b8;
}
.account-dashboard-light .primary-btn {
  border-color: #1677ff;
  background: linear-gradient(135deg, #1677ff, #0ea5e9);
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 119, 255, .18);
}
.account-dashboard-light .primary-btn:hover {
  box-shadow: 0 14px 28px rgba(22, 119, 255, .22);
}
.account-dashboard-light .account-orders-table {
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
}
.account-dashboard-light .account-orders-table th,
.account-dashboard-light .account-orders-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #e8edf5;
  color: #334155;
  font-size: 13px;
}
.account-dashboard-light .account-orders-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 900;
}
.account-dashboard-light .account-orders-table th:first-child {
  border-radius: 10px 0 0 10px;
}
.account-dashboard-light .account-orders-table th:last-child {
  border-radius: 0 10px 10px 0;
}
.account-dashboard-light .account-orders-table td b {
  color: #0f172a;
}
.account-dashboard-light .account-orders-table tbody tr:hover {
  background: #f8fbff;
}
.account-dashboard-light .account-orders-table .link-btn {
  color: #1677ff;
}
.account-dashboard-light .account-empty-row {
  color: #64748b !important;
}
.account-dashboard-light .status-pill {
  min-width: 64px;
}
.account-dashboard-light .status-pill.pending {
  background: #fff7ed;
  color: #ea580c;
}
.account-dashboard-light .status-pill.ok {
  background: #ecfdf5;
  color: #059669;
}
.account-dashboard-light .status-pill.bad {
  background: #fef2f2;
  color: #dc2626;
}
.account-referral-panel {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(41, 126, 215, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(244, 217, 157, .28), transparent 28%),
    linear-gradient(135deg, #f7fbff, #fff);
  box-shadow: 0 14px 30px rgba(35, 105, 168, .08);
}
.account-referral-panel:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #297ed7, #7c5cff, #f4d99d);
}
.account-referral-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.account-referral-head strong {
  display: block;
  color: var(--ink-strong);
  font-size: 16px;
}
.account-referral-head span {
  display: block;
  margin-top: 5px;
  color: #60718a;
  line-height: 1.5;
  font-size: 12px;
}
.account-referral-head .ghost-btn {
  min-width: 82px;
  height: 34px;
  padding: 0 12px;
}
.account-referral-stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.account-referral-stats span {
  min-height: 74px;
  padding: 10px;
  border: 1px solid rgba(223, 230, 240, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.account-referral-stats span:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 126, 215, .28);
  background: #fff;
  box-shadow: 0 14px 26px rgba(35, 105, 168, .10);
}
.account-referral-stats em,
.account-referral-stats small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.account-referral-stats b {
  display: block;
  margin: 7px 0 3px;
  color: #2369a8;
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.account-referral-stats .gold b {
  color: #b7791f;
}
.account-referral-submit {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 8px;
}
.account-referral-submit .input,
.account-referral-submit .primary-btn {
  min-height: 42px;
}
.account-referral-panel p {
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid rgba(234, 215, 172, .7);
  border-radius: 8px;
  background: #fff8e8;
  color: #705526;
  line-height: 1.55;
  font-size: 12px;
  font-weight: 800;
}
.tg-bind-help {
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(41, 126, 215, .18);
  border-radius: 8px;
  background: #f5f9ff;
  color: #4f6077;
  line-height: 1.65;
  font-size: 13px;
}
.tg-bind-help strong {
  display: block;
  color: var(--ink-strong);
  font-size: 14px;
}
.tg-bind-help span,
.tg-bind-help em {
  display: block;
  margin-top: 5px;
}
.tg-bind-help em {
  color: #2369a8;
  font-style: normal;
  font-weight: 800;
}
.bind-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  min-width: 72px;
  min-height: 34px;
  border-radius: 7px;
  background: #071322;
  color: #f4d99d;
  font-size: 21px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.bind-open-btn {
  margin-top: 10px;
}
.referral-center {
  display: grid;
  gap: 14px;
}
.referral-hero {
  padding: 18px;
  border: 1px solid #ead7ac;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8e8, #f4f9ff);
}
.referral-hero span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #b7791f;
  font-size: 12px;
  font-weight: 900;
}
.referral-hero strong {
  display: block;
  color: var(--ink-strong);
  font-size: 19px;
  line-height: 1.45;
}
.referral-hero em {
  display: block;
  margin-top: 8px;
  color: #60718a;
  font-style: normal;
  line-height: 1.65;
}
.referral-reward-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.referral-reward-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 15px;
  border: 1px solid rgba(41, 126, 215, .16);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f5f9ff);
  box-shadow: 0 10px 22px rgba(35, 105, 168, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.referral-reward-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  opacity: 0;
  background: linear-gradient(90deg, #297ed7, #7c5cff, #f4d99d);
  transition: opacity .22s ease;
}
.referral-reward-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 126, 215, .36);
  background: linear-gradient(180deg, #fff, #eef6ff);
  box-shadow: 0 18px 34px rgba(35, 105, 168, .16);
}
.referral-reward-card:hover:before {
  opacity: 1;
}
.referral-reward-card.gold {
  border-color: #ead7ac;
  background: linear-gradient(180deg, #fff8e8, #fff);
}
.referral-reward-card.gold:hover {
  border-color: rgba(191, 145, 64, .44);
  background: linear-gradient(180deg, #fff5db, #fff);
  box-shadow: 0 18px 34px rgba(183, 121, 31, .16);
}
.referral-reward-card span,
.referral-reward-card em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.referral-reward-card b {
  display: block;
  margin: 12px 0 6px;
  color: #2369a8;
  font-size: 34px;
  line-height: 1;
  transition: color .22s ease, text-shadow .22s ease;
}
.referral-reward-card:hover b {
  color: #1d72c4;
  text-shadow: 0 8px 24px rgba(41, 126, 215, .20);
}
.referral-reward-card.gold b {
  color: #b7791f;
}
.referral-reward-card.gold:hover b {
  color: #c07a10;
  text-shadow: 0 8px 24px rgba(183, 121, 31, .22);
}
.referral-submit-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.referral-input-line {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 10px;
  align-items: center;
}
.referral-input-line .primary-btn {
  height: 44px;
}
.referral-rule-box,
.referral-status-box {
  padding: 15px;
  border: 1px solid rgba(41, 126, 215, .16);
  border-radius: 8px;
  background: #f5f9ff;
}
.referral-rule-box strong,
.referral-status-box strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink-strong);
  font-size: 15px;
}
.referral-rule-box span,
.referral-status-box span {
  display: block;
  color: #4f6077;
  line-height: 1.7;
  font-size: 13px;
}
.referral-stats {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
}
.referral-stats .stat-card {
  min-height: 96px;
  padding: 15px 14px 13px;
  border-color: #dbe6f4;
  border-radius: 14px;
  background:
    radial-gradient(circle at 86% 20%, rgba(22, 119, 255, .10), transparent 28%),
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
}
.referral-stats .stat-card:before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, .16), rgba(14, 165, 233, .10));
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, .12);
}
.referral-stats .stat-card:nth-child(2):before {
  background: linear-gradient(135deg, rgba(16, 185, 129, .18), rgba(16, 185, 129, .08));
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .12);
}
.referral-stats .stat-card:nth-child(3):before {
  background: linear-gradient(135deg, rgba(245, 158, 11, .20), rgba(245, 158, 11, .08));
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .12);
}
.referral-stats .stat-card:nth-child(4):before {
  background: linear-gradient(135deg, rgba(99, 102, 241, .18), rgba(99, 102, 241, .08));
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .12);
}
.referral-stats .stat-card:nth-child(5):before {
  background: linear-gradient(135deg, rgba(217, 119, 6, .22), rgba(245, 181, 68, .10));
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, .14);
}
.referral-stats .stat-card span {
  white-space: nowrap;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}
.referral-stats .stat-card b {
  margin-top: 8px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}
.referral-stats .stat-card em {
  display: inline-block;
  margin-top: 7px;
  color: #64748b;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.referral-stats .stat-card:nth-child(5) b {
  color: #d97706;
}
@media (min-width: 769px) {
  .referral-center .referral-web-overview {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
  }

  .referral-center .referral-web-overview::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 119, 255, .10), transparent 68%);
    pointer-events: none;
  }

  .referral-center .referral-web-overview-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
  }

  .referral-center .referral-web-overview-title {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .referral-center .referral-web-overview-title::before {
    content: "";
    width: 5px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, #28a8ff, #1677ff);
    box-shadow: 0 8px 18px rgba(22, 119, 255, .25);
  }

  .referral-center .referral-web-overview-title h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
  }

  .referral-center .referral-web-overview-title p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
  }

  .referral-center .referral-web-realtime {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #1677ff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .referral-center .referral-web-realtime::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
  }

  .referral-center .referral-web-data-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .referral-center .referral-web-data-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 12px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background:
      radial-gradient(circle at 84% 10%, rgba(22, 119, 255, .06), transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
  }

  .referral-center .referral-web-data-card:hover {
    transform: translateY(-3px);
    border-color: #cfe1ff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .09);
  }

  .referral-center .referral-web-data-card.reward {
    grid-column: span 2;
    border-color: #f0d5a0;
    background:
      radial-gradient(circle at 86% 50%, rgba(212, 154, 42, .13), transparent 34%),
      linear-gradient(135deg, #fff9ee 0%, #ffffff 70%);
  }

  .referral-center .referral-web-data-card.reward:hover {
    border-color: #d49a2a;
  }

  .referral-center .referral-web-data-icon {
    display: block;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 50%;
    object-fit: contain;
    grid-row: 1 / span 3;
  }

  .referral-center .referral-web-data-label {
    display: block;
    margin: 0 0 5px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 800;
  }

  .referral-center .referral-web-data-value {
    display: flex;
    align-items: flex-end;
    gap: 8px;
  }

  .referral-center .referral-web-data-value strong {
    color: #0f172a;
    font-size: 26px;
    line-height: .92;
    font-weight: 950;
    letter-spacing: 0;
  }

  .referral-center .referral-web-data-value em {
    padding-bottom: 2px;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
  }

  .referral-center .referral-web-data-card.reward .referral-web-data-value strong {
    color: #d49a2a;
  }

  .referral-center .referral-web-data-line {
    display: block;
    width: 34px;
    height: 4px;
    margin-top: 9px;
    border-radius: 999px;
    background: #1677ff;
    grid-column: 2;
  }

  .referral-center .referral-web-data-card.green .referral-web-data-line {
    background: #5dd8c7;
  }

  .referral-center .referral-web-data-card.purple .referral-web-data-line {
    background: #7c5cff;
  }

  .referral-center .referral-web-data-card.cyan .referral-web-data-line {
    background: #0ea5e9;
  }

  .referral-center .referral-web-data-card.reward .referral-web-data-line {
    background: #d49a2a;
  }

  .referral-center .referral-web-reward-watermark {
    position: absolute;
    right: 8px;
    bottom: 2px;
    width: 90px;
    height: 64px;
    opacity: .05;
    object-fit: contain;
    pointer-events: none;
  }
}

.referral-progress-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.referral-progress-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.referral-progress-card.highlight {
  border-color: #ead7ac;
  background: linear-gradient(180deg, #fff8e8, #fff);
}
.referral-progress-card:hover {
  transform: translateY(-3px);
  border-color: rgba(41, 126, 215, .30);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 16px 30px rgba(35, 105, 168, .12);
}
.referral-progress-card.highlight:hover {
  border-color: rgba(191, 145, 64, .44);
  background: linear-gradient(180deg, #fff6dc, #fff);
  box-shadow: 0 16px 30px rgba(183, 121, 31, .14);
}
.referral-progress-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-strong);
  font-weight: 900;
}
.referral-progress-card > div span {
  color: var(--muted);
}
.referral-progress-card i {
  display: block;
  height: 8px;
  margin: 12px 0;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef6;
}
.referral-progress-card i b {
  position: relative;
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #297ed7, #7c5cff);
}
.referral-progress-card i b:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38px;
  right: -38px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transition: right .6s ease, opacity .22s ease;
}
.referral-progress-card:hover i b:after {
  right: 100%;
  opacity: 1;
}
.referral-progress-card.highlight i b {
  background: linear-gradient(90deg, #f2c15f, #d99022);
}
.referral-progress-card p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.referral-progress-card p em {
  color: var(--ink-strong);
  font-style: normal;
  font-weight: 900;
}
.referral-progress-card p button {
  min-width: 76px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.referral-progress-card:hover p button {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(20, 32, 51, .08);
}
.referral-status-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
.referral-status-box strong {
  grid-column: 1 / -1;
}
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  margin-right: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.tag.pending { color: #94600f; background: #fff3cf; }
.tag.ok { color: #08764c; background: #dff8ed; }
.tag.bad { color: #b4262b; background: #ffe0e1; }
.tag.paid { color: #2369a8; background: #e4f1ff; }
@media (min-width: 769px) {
  body.referral-web-mode {
    background: #f5f7fb;
  }

  body.referral-web-mode .page {
    max-width: 1280px;
  }

  body.referral-web-mode .compliance-strip div {
    border-color: #e5eaf2;
    color: #64748b;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .055);
  }

  body.referral-web-mode .compliance-strip strong {
    color: #d49a2a;
  }

  body.referral-web-mode .compliance-strip span {
    color: #64748b;
  }

  body.referral-web-mode .compliance-strip .api-status.ok,
  body.referral-web-mode .compliance-strip .api-status.pending,
  body.referral-web-mode .compliance-strip .api-status.bad {
    font-weight: 850;
  }

  body.referral-web-mode .hero-grid {
    display: block;
  }

  body.referral-web-mode .info-panel,
  body.referral-web-mode .action-head,
  body.referral-web-mode #actionMessage {
    display: none;
  }

  body.referral-web-mode .action-panel {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.referral-web-mode .referral-web-page {
    display: grid;
    gap: 16px;
    color: #0f172a;
  }

  body.referral-web-mode .referral-web-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 22px;
    border-radius: 0 0 18px 18px;
    color: #fff;
    background:
      radial-gradient(circle at 78% 0%, rgba(39, 119, 255, .34), transparent 36%),
      linear-gradient(135deg, #061429, #0b2244 58%, #07162e);
    box-shadow: 0 14px 34px rgba(7, 20, 38, .16);
  }

  body.referral-web-mode .referral-web-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  body.referral-web-mode .referral-web-brand > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2e8cff, #1552d3);
    box-shadow: 0 10px 26px rgba(22, 119, 255, .32);
    font-size: 20px;
    font-weight: 950;
  }

  body.referral-web-mode .referral-web-brand strong,
  body.referral-web-mode .referral-web-brand em {
    display: block;
    font-style: normal;
  }

  body.referral-web-mode .referral-web-brand strong {
    font-size: 20px;
    font-weight: 950;
  }

  body.referral-web-mode .referral-web-brand em {
    margin-top: 2px;
    color: rgba(255,255,255,.74);
    font-size: 12px;
    font-weight: 700;
  }

  body.referral-web-mode .referral-web-account {
    height: 38px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.09);
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  }

  body.referral-web-mode .referral-web-account:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.15);
    box-shadow: 0 12px 26px rgba(0,0,0,.18);
  }

  body.referral-web-mode .referral-web-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 2px 0 6px;
  }

  body.referral-web-mode .referral-web-title-row h2 {
    margin: 0;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
  }

  body.referral-web-mode .referral-web-title-row p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 15px;
    font-weight: 650;
  }

  body.referral-web-mode .referral-web-pay-tabs {
    padding: 4px;
    border: 1px solid #dce6f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
  }

  body.referral-web-mode .referral-web-pay-tabs button {
    min-width: 104px;
    height: 42px;
    border-radius: 9px;
    font-weight: 850;
  }

  body.referral-web-mode .referral-web-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .96fr);
    gap: 16px;
  }

  body.referral-web-mode .referral-web-hero-card,
  body.referral-web-mode .referral-web-rewards-card,
  body.referral-web-mode .referral-web-card,
  body.referral-web-mode .referral-web-overview,
  body.referral-web-mode .referral-web-faq-card {
    border: 1px solid #e3ebf6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  }

  body.referral-web-mode .referral-web-hero-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 238px;
    padding: 24px 26px;
    background: #f5f9ff url("./referral-h5-assets/referral-hero-web-bg.png?v=2026070602") center / cover no-repeat;
  }

  body.referral-web-mode .referral-web-hero-card::after {
    display: none;
    content: none;
  }

  body.referral-web-mode .referral-web-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 470px;
  }

  body.referral-web-mode .referral-web-hero-copy > span,
  body.referral-web-mode .referral-web-rewards-card h3,
  body.referral-web-mode .referral-web-card h3,
  body.referral-web-mode .referral-web-progress-panel h3,
  body.referral-web-mode .referral-web-faq-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
  }

  body.referral-web-mode .referral-web-hero-copy > span svg,
  body.referral-web-mode .referral-web-rewards-card h3 svg,
  body.referral-web-mode .referral-web-card h3 svg,
  body.referral-web-mode .referral-web-progress-panel h3 svg,
  body.referral-web-mode .referral-web-faq-card h3 svg {
    width: 21px;
    height: 21px;
    color: #1677ff;
  }

  body.referral-web-mode .referral-web-hero-copy strong {
    display: block;
    max-width: 440px;
    color: #1e293b;
    font-size: 22px;
    line-height: 1.55;
    font-weight: 850;
  }

  body.referral-web-mode .referral-web-hero-copy p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 0;
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 650;
  }

  body.referral-web-mode .referral-web-hero-copy p + p {
    margin-top: 10px;
  }

  body.referral-web-mode .referral-web-hero-copy p i {
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background: #226ee8;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
  }

  body.referral-web-mode .referral-web-gift-art {
    display: none;
  }

  body.referral-web-mode .gift-platform {
    position: absolute;
    right: 20px;
    bottom: 12px;
    width: 190px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(77, 151, 255, .50), rgba(18, 92, 224, .18));
    box-shadow: 0 22px 38px rgba(22, 119, 255, .22);
  }

  body.referral-web-mode .gift-box {
    position: absolute;
    right: 58px;
    bottom: 52px;
    width: 104px;
    height: 92px;
    border-radius: 18px;
    background:
      linear-gradient(90deg, transparent 43%, rgba(255,255,255,.62) 43%, rgba(255,255,255,.62) 55%, transparent 55%),
      linear-gradient(135deg, #70a8ff, #1f65e8);
    box-shadow: 0 24px 44px rgba(22, 119, 255, .32);
    transform: rotate(-7deg);
  }

  body.referral-web-mode .gift-box::before {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: -18px;
    height: 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #b9d5ff, #3d7bf2);
  }

  body.referral-web-mode .gift-coin {
    position: absolute;
    right: 138px;
    bottom: 62px;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 5px solid #f5c86a;
    border-radius: 50%;
    color: #b77412;
    background: linear-gradient(135deg, #fff4c7, #efb33d);
    box-shadow: 0 18px 32px rgba(212, 154, 42, .28);
    font-size: 16px;
    font-weight: 950;
  }

  body.referral-web-mode .referral-web-rewards-card {
    padding: 22px;
    border-color: #eed4a0;
    background: linear-gradient(135deg, #fffaf0, #ffffff 66%);
  }

  body.referral-web-mode .referral-web-rewards-card h3 svg {
    color: #d49a2a;
  }

  body.referral-web-mode .referral-web-reward-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  body.referral-web-mode .referral-web-reward-grid div {
    min-height: 142px;
    padding: 18px 14px;
    border: 1px solid #e2eaf5;
    border-radius: 14px;
    text-align: center;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.referral-web-mode .referral-web-reward-grid div:hover {
    transform: translateY(-3px);
    border-color: #bcd5ff;
    box-shadow: 0 14px 28px rgba(22, 119, 255, .12);
  }

  body.referral-web-mode .referral-web-reward-grid .gold {
    border-color: #f0d5a0;
    background: linear-gradient(180deg, #fff8e8, #fff);
  }

  body.referral-web-mode .referral-web-reward-grid span,
  body.referral-web-mode .referral-web-reward-grid em {
    display: block;
    color: #334155;
    font-size: 14px;
    font-style: normal;
    font-weight: 780;
  }

  body.referral-web-mode .referral-web-reward-grid b {
    display: block;
    margin: 12px 0 8px;
    color: #1768e8;
    font-size: 36px;
    line-height: 1;
    font-weight: 950;
  }

  body.referral-web-mode .referral-web-reward-grid .gold b {
    color: #b97512;
  }

  body.referral-web-mode .referral-web-main-grid {
    display: grid;
    grid-template-columns: minmax(360px, .42fr) minmax(0, .58fr);
    gap: 16px;
    align-items: start;
  }

  body.referral-web-mode .referral-web-left,
  body.referral-web-mode .referral-web-right {
    display: grid;
    gap: 14px;
  }

  body.referral-web-mode .referral-web-card {
    padding: 18px 20px;
  }

  body.referral-web-mode .referral-web-submit-card .input {
    height: 48px;
    border-color: #d9e4f2;
    border-radius: 12px;
    font-size: 14px;
  }

  body.referral-web-mode .referral-web-gold-btn {
    width: 100%;
    height: 46px;
    margin-top: 12px;
    border: 0;
    border-radius: 12px;
    color: #3c2505;
    background: linear-gradient(135deg, #ffe29a, #d49a2a);
    box-shadow: 0 12px 24px rgba(212, 154, 42, .22);
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  }

  body.referral-web-mode .referral-web-gold-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 16px 30px rgba(212, 154, 42, .30);
  }

  body.referral-web-mode .referral-web-rule-card p,
  body.referral-web-mode .referral-web-status-card p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 0;
    color: #475569;
    line-height: 1.65;
    font-size: 13px;
    font-weight: 650;
  }

  body.referral-web-mode .referral-web-rule-card p b {
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    background: #2474eb;
    font-size: 11px;
  }

  body.referral-web-mode .referral-web-status-card div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #b8ebc7;
    border-radius: 12px;
    color: #116737;
    background: #effcf3;
    font-weight: 850;
  }

  body.referral-web-mode .referral-web-status-card div span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background: #16a34a;
  }

  body.referral-web-mode .referral-web-status-card div i {
    width: 1px;
    height: 18px;
    background: #9ddfb0;
  }

  body.referral-web-mode .referral-web-overview {
    padding: 20px;
  }

  body.referral-web-mode .referral-web-data-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  body.referral-web-mode .referral-web-data-card {
    min-height: 74px;
    padding: 12px 14px;
    grid-template-columns: 46px minmax(0, 1fr);
    border-radius: 12px;
  }

  body.referral-web-mode .referral-web-data-card.reward {
    grid-column: span 2;
  }

  body.referral-web-mode .referral-web-data-icon {
    width: 42px;
    height: 42px;
  }

  body.referral-web-mode .referral-web-data-label {
    font-size: 13px;
  }

  body.referral-web-mode .referral-web-data-value strong {
    font-size: 25px;
  }

  body.referral-web-mode .referral-web-progress-panel {
    padding: 18px 20px;
  }

  body.referral-web-mode .referral-web-progress-list {
    display: grid;
    gap: 10px;
  }

  body.referral-web-mode .referral-web-progress-item {
    display: grid;
    grid-template-columns: 36px minmax(118px, 1fr) minmax(160px, 1.1fr) 46px 82px 86px;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid #dce6f3;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff, #fbfdff);
  }

  body.referral-web-mode .referral-web-progress-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #1677ff;
    background: #eaf3ff;
  }

  body.referral-web-mode .referral-web-progress-item.gold .referral-web-progress-icon {
    color: #b97512;
    background: #fff4d8;
  }

  body.referral-web-mode .referral-web-progress-icon svg {
    width: 18px;
    height: 18px;
  }

  body.referral-web-mode .referral-web-progress-item strong {
    color: #1e293b;
    font-size: 14px;
    font-weight: 850;
  }

  body.referral-web-mode .referral-web-progress-item i {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf5;
  }

  body.referral-web-mode .referral-web-progress-item i b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1677ff, #6d5dfb);
  }

  body.referral-web-mode .referral-web-progress-item.gold i b {
    background: linear-gradient(90deg, #f0bd55, #d49a2a);
  }

  body.referral-web-mode .referral-web-progress-item em {
    color: #0f172a;
    font-style: normal;
    font-weight: 800;
  }

  body.referral-web-mode .referral-web-progress-reward {
    color: #a45f08;
    font-weight: 900;
    white-space: nowrap;
  }

  body.referral-web-mode .referral-web-progress-item button {
    min-height: 30px;
    min-width: 76px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
  }

  body.referral-web-mode .referral-web-rate-list {
    display: grid;
    gap: 9px;
  }

  body.referral-web-mode .referral-web-rate-head,
  body.referral-web-mode .referral-web-rate-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 92px 112px;
    align-items: center;
    gap: 12px;
  }

  body.referral-web-mode .referral-web-rate-head {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    color: #64748b;
    background: #f5f8fc;
    font-size: 12px;
    font-weight: 900;
  }

  body.referral-web-mode .referral-web-rate-row {
    min-height: 48px;
    padding: 9px 14px;
    border: 1px solid #dce6f3;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.referral-web-mode .referral-web-rate-row:hover {
    transform: translateY(-2px);
    border-color: #bcd5ff;
    box-shadow: 0 12px 24px rgba(22, 119, 255, .10);
  }

  body.referral-web-mode .referral-web-rate-row strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
  }

  body.referral-web-mode .referral-web-rate-row b {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    color: #0f63d9;
    background: #eaf3ff;
    font-size: 16px;
    font-weight: 950;
  }

  body.referral-web-mode .referral-web-rate-row.gold b {
    color: #a86610;
    background: #fff4d8;
  }

  body.referral-web-mode .referral-web-rate-row.orange b {
    color: #c2410c;
    background: #fff7ed;
  }

  body.referral-web-mode .referral-web-rate-row em {
    justify-self: end;
    padding: 6px 10px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
  }

  body.referral-web-mode .referral-web-rate-row.orange em {
    color: #b45309;
    background: #fffbeb;
  }

  body.referral-web-mode .referral-web-faq-card {
    padding: 20px 22px;
  }

  body.referral-web-mode .referral-web-faq-card > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  body.referral-web-mode .referral-web-faq-card span {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: start;
    padding-right: 12px;
    border-right: 1px solid #e5eaf2;
  }

  body.referral-web-mode .referral-web-faq-card span:last-child {
    border-right: 0;
  }

  body.referral-web-mode .referral-web-faq-card svg {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    padding: 9px;
    border-radius: 50%;
    color: #1677ff;
    background: #eaf3ff;
  }

  body.referral-web-mode .referral-web-faq-card b {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
  }

  body.referral-web-mode .referral-web-faq-card em {
    color: #64748b;
    font-style: normal;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 600;
  }
}
@media (max-width: 760px) {
  .referral-reward-grid,
  .referral-stats,
  .referral-progress-list,
  .referral-status-box {
    grid-template-columns: 1fr;
  }
  .referral-input-line {
    grid-template-columns: 1fr;
  }
}
.security-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.security-grid span {
  min-height: 66px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.security-grid b {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.security-grid em {
  display: block;
  margin-top: 6px;
  color: var(--ink-strong);
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.service-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  text-align: left;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.service-card:hover {
  transform: translateY(-1px);
  border-color: #d8bf82;
  box-shadow: var(--shadow-soft);
}
.service-card i {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: var(--gold);
  background: var(--gold-soft);
}
.service-card i svg {
  width: 20px;
  height: 20px;
}
.service-card strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--ink-strong);
  font-size: 16px;
}
.service-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.exchange-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.free-energy-widget {
  display: grid;
  gap: 14px;
}
.free-energy-quota {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(41, 126, 215, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 18%, rgba(41, 126, 215, .14), transparent 34%),
    linear-gradient(135deg, #f7fbff, #fff);
  box-shadow: 0 14px 30px rgba(35, 105, 168, .10);
}
.free-energy-quota:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #297ed7, #7c6df2, #f4d99d);
}
.free-energy-quota span,
.free-energy-quota small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.free-energy-quota b {
  display: block;
  margin: 8px 0 5px;
  color: var(--ink-strong);
  font-size: 22px;
}
.free-energy-quota em {
  color: #2369a8;
  font-size: 34px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.free-energy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.free-energy-stats span {
  min-height: 64px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.free-energy-stats b {
  display: block;
  margin-top: 7px;
  color: var(--ink-strong);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 769px) {
  .compliance-strip {
    display: none !important;
  }

  body.free-web-mode {
    background: #f5f7fb;
  }

  body.free-web-mode .page {
    max-width: 1280px;
  }

  body.free-web-mode .hero-grid {
    display: block;
  }

  body.free-web-mode .info-panel,
  body.free-web-mode .action-head,
  body.free-web-mode #actionMessage {
    display: none;
  }

  body.free-web-mode .action-panel {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.free-web-mode .free-energy-web {
    display: grid;
    gap: 16px;
    color: #0f172a;
  }

  body.free-web-mode .free-web-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 64px;
    padding: 0 22px;
    border-radius: 0 0 18px 18px;
    color: #fff;
    background:
      radial-gradient(circle at 78% 0%, rgba(44, 124, 255, .35), transparent 35%),
      linear-gradient(135deg, #061429, #0a2348 62%, #07162e);
    box-shadow: 0 14px 34px rgba(7, 20, 38, .16);
  }

  body.free-web-mode .free-web-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 950;
    white-space: nowrap;
  }

  body.free-web-mode .free-web-brand span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #2e8cff, #1552d3);
    box-shadow: 0 10px 26px rgba(22, 119, 255, .30);
  }

  body.free-web-mode .free-web-brand svg {
    width: 22px;
    height: 22px;
  }

  body.free-web-mode .free-web-topbar nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    font-weight: 800;
  }

  body.free-web-mode .free-web-topbar nav a {
    cursor: default;
  }

  body.free-web-mode .free-web-topbar > button {
    height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.10);
    font-weight: 850;
  }

  body.free-web-mode .free-web-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 2px;
  }

  body.free-web-mode .free-web-title-row h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #0f172a;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: 0;
  }

  body.free-web-mode .free-web-title-row h2 svg {
    width: 26px;
    height: 26px;
    color: #1677ff;
  }

  body.free-web-mode .free-web-title-row p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 15px;
    font-weight: 650;
  }

  body.free-web-mode .free-web-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
    gap: 18px;
    align-items: stretch;
  }

  body.free-web-mode .free-web-hero-card,
  body.free-web-mode .free-web-action-card,
  body.free-web-mode .free-web-info-card,
  body.free-web-mode .free-web-blue-tip,
  body.free-web-mode .free-web-risk {
    border: 1px solid #e3ebf6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  }

  body.free-web-mode .free-web-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    padding: 34px 38px 26px;
    color: #fff;
    background: #2e7fda url("./free-energy-assets/free-energy-web-hero-bg.png?v=2026070601") center / cover no-repeat;
  }

  body.free-web-mode .free-web-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 380px;
  }

  body.free-web-mode .free-web-hero-copy h3 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
  }

  body.free-web-mode .free-web-hero-copy > span {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 999px;
    color: #5a3707;
    background: linear-gradient(135deg, #ffe9ad, #d49a2a);
    font-size: 20px;
    font-weight: 950;
  }

  body.free-web-mode .free-web-hero-copy div {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 20px;
  }

  body.free-web-mode .free-web-hero-copy div em {
    color: #fff;
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
  }

  body.free-web-mode .free-web-hero-copy div b {
    color: #ffe69a;
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
    text-shadow: 0 12px 34px rgba(245, 199, 106, .28);
  }

  body.free-web-mode .free-web-hero-copy div b i {
    font-size: 90px;
    font-style: normal;
  }

  body.free-web-mode .free-web-hero-copy p {
    margin: 16px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    font-weight: 750;
  }

  body.free-web-mode .free-web-energy-art {
    display: none;
  }

  body.free-web-mode .free-web-energy-art i {
    position: absolute;
    left: 14px;
    right: 8px;
    bottom: 8px;
    height: 42px;
    border-radius: 50%;
    background: rgba(47, 139, 255, .35);
    box-shadow: 0 20px 48px rgba(47, 139, 255, .35);
  }

  body.free-web-mode .free-web-energy-art b {
    position: absolute;
    left: 58px;
    top: 28px;
    width: 116px;
    height: 112px;
    border-radius: 24px;
    background:
      linear-gradient(90deg, transparent 44%, rgba(255,255,255,.66) 44%, rgba(255,255,255,.66) 55%, transparent 55%),
      linear-gradient(135deg, #74b0ff, #1d67ed);
    box-shadow: 0 24px 48px rgba(0,0,0,.22);
    transform: rotate(-8deg);
  }

  body.free-web-mode .free-web-energy-art em {
    position: absolute;
    left: 91px;
    top: 64px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.18);
    font-style: normal;
    font-size: 30px;
  }

  body.free-web-mode .free-web-hero-stats {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  body.free-web-mode .free-web-hero-stats span {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 2px 10px;
    min-height: 70px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
  }

  body.free-web-mode .free-web-hero-stats svg {
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    color: #fff;
  }

  body.free-web-mode .free-web-hero-stats b,
  body.free-web-mode .free-web-hero-stats strong {
    display: block;
    color: #fff;
  }

  body.free-web-mode .free-web-hero-stats b {
    font-size: 13px;
    opacity: .74;
  }

  body.free-web-mode .free-web-hero-stats strong {
    font-size: 19px;
    font-weight: 950;
  }

  body.free-web-mode .free-web-action-card {
    overflow: hidden;
    padding: 0 22px 20px;
  }

  body.free-web-mode .free-web-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 -22px 20px;
    border-bottom: 1px solid #e5eaf2;
    background: #f8fbff;
  }

  body.free-web-mode .free-web-tabs button {
    height: 54px;
    border: 0;
    color: #64748b;
    background: transparent;
    font-size: 15px;
    font-weight: 900;
  }

  body.free-web-mode .free-web-tabs button.active {
    position: relative;
    color: #1677ff;
    background: #fff;
  }

  body.free-web-mode .free-web-tabs button.active::after {
    content: "";
    position: absolute;
    left: 32%;
    right: 32%;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #1677ff;
  }

  body.free-web-mode .free-web-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 18px;
    border: 1px solid #e1e9f4;
    border-radius: 14px;
    overflow: hidden;
  }

  body.free-web-mode .free-web-stats span {
    min-height: 78px;
    border: 0;
    border-right: 1px solid #e5eaf2;
    border-radius: 0;
    box-shadow: none;
  }

  body.free-web-mode .free-web-stats span:last-child {
    border-right: 0;
  }

  body.free-web-mode .free-web-stats i {
    display: block;
    color: #64748b;
    font-style: normal;
    font-size: 13px;
    font-weight: 850;
  }

  body.free-web-mode .free-web-stats b {
    margin-top: 10px;
    color: #1768e8;
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
  }

  body.free-web-mode .free-web-stats .free-check-stat b {
    font-size: 18px;
  }

  body.free-web-mode .free-check-stat em {
    display: block;
    margin-top: 7px;
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
  }

  body.free-web-mode .free-check-bad {
    color: #dc2626 !important;
  }

  body.free-web-mode .free-check-ok {
    color: #059669 !important;
  }

  body.free-web-mode .free-check-stat.is-ok {
    background: #f0fdf4;
  }

  body.free-web-mode .free-web-action-card .form-row {
    margin-bottom: 14px;
  }

  body.free-web-mode .free-web-action-card label {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
  }

  body.free-web-mode .free-web-action-card .input {
    height: 46px;
    border-color: #d8e2ef;
    border-radius: 11px;
    color: #0f172a;
    background: #fff;
    font-size: 14px;
  }

  body.free-web-mode .free-web-action-card .input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, .10);
  }

  body.free-web-mode .free-web-action-card .copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 14px;
    margin-top: 6px;
  }

  body.free-web-mode .free-web-claim-btn,
  body.free-web-mode .free-web-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  }

  body.free-web-mode .free-web-claim-btn svg,
  body.free-web-mode .free-web-outline-btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  body.free-web-mode .free-web-claim-btn {
    border: 0;
    color: #4f3007;
    background: linear-gradient(135deg, #ffe7a2, #d49a2a);
    box-shadow: 0 12px 24px rgba(212, 154, 42, .22);
  }

  body.free-web-mode .free-web-outline-btn {
    border: 1px solid #1677ff;
    color: #1677ff;
    background: #fff;
  }

  body.free-web-mode .free-web-claim-btn:hover,
  body.free-web-mode .free-web-outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(22, 119, 255, .12);
  }

  body.free-web-mode .free-web-claim-btn:disabled {
    opacity: .58;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }

  body.free-web-mode .free-web-connect-note,
  body.free-web-mode .free-web-blue-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #b8ebc7;
    border-radius: 12px;
    color: #116737;
    background: #effcf3;
    font-weight: 800;
  }

  body.free-web-mode .free-web-connect-note {
    margin-top: 16px;
  }

  body.free-web-mode .free-web-connect-note span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #16a34a;
    flex: 0 0 auto;
  }

  body.free-web-mode .free-web-connect-note em {
    color: #116737;
    font-style: normal;
    line-height: 1.55;
  }

  body.free-web-mode .free-web-blue-tip {
    border-color: #cfe1ff;
    color: #1768e8;
    background: #f2f7ff;
  }

  body.free-web-mode .free-web-blue-tip svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
  }

  body.free-web-mode .free-web-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  body.free-web-mode .free-web-info-card {
    min-height: 170px;
    padding: 22px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  body.free-web-mode .free-web-info-card:hover {
    transform: translateY(-3px);
    border-color: #cfe1ff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .09);
  }

  body.free-web-mode .free-web-info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
  }

  body.free-web-mode .free-web-info-card h3 svg {
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 50%;
    color: #1677ff;
    background: #eaf3ff;
  }

  body.free-web-mode .free-web-info-card p,
  body.free-web-mode .free-web-info-card li {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 650;
  }

  body.free-web-mode .free-web-info-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
  }

  body.free-web-mode .free-web-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }

  body.free-web-mode .free-web-steps span {
    padding: 5px 9px;
    border-radius: 999px;
    color: #1768e8;
    background: #eaf3ff;
    font-size: 12px;
    font-weight: 850;
  }

  body.free-web-mode .free-web-faq details {
    border-bottom: 1px solid #e5eaf2;
  }

  body.free-web-mode .free-web-faq details:last-child {
    border-bottom: 0;
  }

  body.free-web-mode .free-web-faq summary {
    position: relative;
    list-style: none;
    padding: 9px 18px 9px 0;
    color: #334155;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
  }

  body.free-web-mode .free-web-faq summary::-webkit-details-marker {
    display: none;
  }

  body.free-web-mode .free-web-faq summary::after {
    content: "›";
    position: absolute;
    right: 2px;
    top: 8px;
    color: #94a3b8;
    font-size: 20px;
    transition: transform .2s ease;
  }

  body.free-web-mode .free-web-faq details[open] summary::after {
    transform: rotate(90deg);
  }

  body.free-web-mode .free-web-faq details p {
    margin: 0 0 10px;
    padding: 0 10px 0 0;
    color: #64748b;
  }

  body.free-web-mode .free-web-service-card button {
    width: 100%;
    height: 44px;
    margin-top: 18px;
    border: 0;
    border-radius: 10px;
    color: #1677ff;
    background: #eef6ff;
    font-weight: 950;
  }

  body.free-web-mode .free-web-risk {
    padding: 14px 18px;
    color: #64748b;
    text-align: center;
    font-size: 13px;
    font-weight: 650;
  }
}
.free-rule-alert {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid rgba(185, 139, 54, .28);
  border-radius: 8px;
  background: #fff7e6;
}
.free-rule-alert strong {
  color: #6f4d15;
}
.free-rule-alert span {
  color: #705526;
  line-height: 1.6;
  font-size: 13px;
}
.free-rule-alert em {
  padding: 8px 10px;
  border-radius: 7px;
  background: #fff;
  color: var(--ink-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-style: normal;
  overflow-wrap: anywhere;
}
.rate-card {
  padding: 14px;
  border: 1px solid #ead7ac;
  border-radius: 8px;
  background: var(--gold-soft);
}
.rate-card strong {
  color: #6a4510;
}
.rate-line {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--ink-strong);
  font-weight: 900;
  font-size: 20px;
}
.rate-line span {
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  color: #6f4d15;
}
.two-col,
.hash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hash-card {
  position: relative;
  overflow: hidden;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.hash-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: 0;
  background: linear-gradient(180deg, #f4d99d, #297ed7);
  transition: opacity .22s ease;
}
.hash-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 139, 54, .34);
  background: linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 16px 30px rgba(20, 32, 51, .10);
}
.hash-card:hover:before {
  opacity: 1;
}
.hash-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-strong);
}
.hash-card p {
  margin: 8px 0;
  color: #506075;
}
.recharge-amount-board {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.recharge-amount-board span {
  min-height: 66px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}
.recharge-amount-board b {
  display: block;
  margin-top: 7px;
  color: var(--ink-strong);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.hash-rules {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #ead7ac;
  border-radius: 8px;
  background: var(--gold-soft);
}
.hash-rule-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.hash-rule-head strong {
  color: #6a4510;
  font-size: 16px;
}
.hash-rule-head span {
  color: #8a6420;
  font-size: 12px;
  font-weight: 800;
}
.hash-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.hash-result-grid div {
  padding: 10px;
  border: 1px solid #ead7ac;
  border-radius: 7px;
  background: #fff;
}
.hash-result-grid b {
  display: block;
  color: var(--ink-strong);
  font-size: 18px;
}
.hash-result-grid span {
  display: block;
  margin-top: 4px;
  color: #6b5b3d;
  font-size: 12px;
}
.hash-rules ol {
  margin: 0;
  padding-left: 18px;
  color: #5f4a23;
  line-height: 1.65;
  font-size: 13px;
}
.hash-rules li + li {
  margin-top: 4px;
}
.hash-rules p {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #ead7ac;
  color: #5f4a23;
  line-height: 1.65;
  font-size: 13px;
}

.status-legend {
  margin: -2px 0 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.status-legend span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.status-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.order-list {
  display: grid;
  gap: 8px;
  max-height: 300px;
  overflow: auto;
}
.order-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}
.order-item strong {
  color: var(--ink-strong);
  word-break: break-all;
}
.order-item span {
  color: #506075;
}
.order-item small {
  color: var(--muted-2);
}
.status-pill {
  min-width: 72px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #6f4d15;
  font-size: 12px;
  font-weight: 900;
}
.status-pill.ok {
  background: #effbf5;
  color: #0c7047;
}
.status-pill.bad {
  background: #fff4f4;
  color: #a52e35;
}
.status-pill.pending {
  background: #eef4fb;
  color: #37536f;
}
.empty-state {
  min-height: 150px;
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  text-align: center;
}
.empty-state strong {
  color: var(--ink-strong);
  font-size: 18px;
}
.empty-state span {
  max-width: 520px;
  line-height: 1.6;
}

.footer {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.4fr .9fr .7fr;
  gap: 12px;
  border: 1px solid rgba(237, 244, 251, .10);
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(135deg, rgba(7, 26, 46, .98), rgba(7, 19, 34, .98)),
    var(--navy);
  color: rgba(237, 244, 251, .72);
}
.footer > div {
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid rgba(237, 244, 251, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}
.footer strong {
  display: block;
  color: #f4d99d;
  font-size: 15px;
}
.footer p {
  margin: 7px 0 0;
  line-height: 1.6;
}
.footer a {
  color: #f4d99d;
  font-weight: 800;
}
.footer .api-status {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .12);
  color: #54e7a6;
  font-weight: 900;
}
.footer .api-status.bad {
  background: rgba(198,61,67,.16);
  color: #ffb4b4;
}
.footer .api-status.pending {
  background: rgba(244,217,157,.14);
  color: #ffe1a6;
}

.hidden { display: none !important; }
.link-btn,
.auth-reset-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #1688ff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.auth-reset-panel {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 0 52px;
  background: #fff;
  text-align: center;
}

.auth-reset-panel input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8e0ea;
  border-radius: 7px;
  padding: 0 13px;
}

.auth-reset-panel button {
  min-height: 44px;
}

.drawer-backdrop,
.mobile-drawer { display: none; }

@media (max-width: 1160px) {
  .nav-links button { padding: 0 8px; font-size: 13px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .account-dashboard-light .account-identity-card {
    grid-template-columns: 72px 1fr;
  }
  .account-dashboard-light .account-identity-meta,
  .account-dashboard-light .account-security-visual {
    grid-column: 1 / -1;
  }
  .account-dashboard-light .account-metric-grid,
  .account-dashboard-light .account-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body {
    background: linear-gradient(180deg, #081a2d 0, #0f2236 280px, var(--bg) 281px, var(--bg) 100%);
  }
  .nav-links { display: none; }
  .mobile-menu-btn {
    width: 42px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
  }
  .hero-grid,
  .account-grid,
  .company-panel,
  .compliance-strip {
    grid-template-columns: 1fr;
  }
  .hero-grid { display: flex; flex-direction: column; }
  .action-panel { order: 1; }
  .info-panel { order: 2; }
  .action-panel { min-height: auto; }
  .price-main { max-width: none; }
  .rate-badges {
    position: static;
    width: auto;
    margin-top: 16px;
  }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(5, 13, 23, .72);
  }
  .mobile-drawer {
    position: fixed;
    z-index: 81;
    top: 0;
    bottom: 0;
    left: 0;
    width: 318px;
    max-width: calc(100vw - 54px);
    padding: 14px;
    overflow: auto;
    background: #fff;
    box-shadow: 24px 0 52px rgba(7, 19, 34, .30);
  }
  .mobile-drawer.open,
  .drawer-backdrop.open { display: block; }
  .drawer-head {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -14px -14px 14px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
  }
  .drawer-head strong { color: var(--ink-strong); }
  .drawer-nav {
    display: grid;
    gap: 8px;
  }
  .drawer-product-group {
    display: grid;
    gap: 8px;
    margin-bottom: 4px;
  }
  .drawer-section-title {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    padding: 2px 2px 0;
  }
  .drawer-product-grid {
    display: grid;
    gap: 8px;
  }
  .drawer-product-card {
    min-height: 86px;
    padding-right: 46px;
  }
  .drawer-nav > button {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface-2);
    color: #25344a;
    text-align: left;
    padding: 0 12px;
    font-weight: 800;
  }
  .drawer-nav > button.active {
    border-color: #b98b36;
    background: var(--gold-soft);
    color: #6f4d15;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    height: 62px;
    padding: 0 10px;
    gap: 8px;
  }
  .brand {
    min-width: 0;
    flex: 1;
    gap: 8px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    font-size: 11px;
  }
  .brand strong {
    display: block;
    min-width: 0;
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
  }
  .brand small {
    display: none;
  }
  .balance-chip {
    display: none;
  }
  .profile-trigger {
    min-width: 42px;
    max-width: 112px;
    padding: 0 9px;
    gap: 6px;
    font-size: 12px;
  }
  .profile-trigger #accountBtnLabel {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .page {
    padding: 12px 10px 28px;
  }
  .compliance-strip div {
    min-height: 86px;
    padding: 12px 13px;
  }
  .compliance-strip span {
    line-height: 1.7;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .info-panel,
  .action-panel,
  .account-panel,
  .services-panel,
  .orders-panel,
  .company-panel {
    border-radius: 8px;
  }
  .price-board {
    min-height: auto;
    padding: 18px 16px;
  }
  .premium-selected-head {
    display: block;
  }
  .premium-selected-head b {
    display: block;
    margin-top: 6px;
    text-align: left;
  }
  .premium-calc-grid {
    grid-template-columns: 1fr;
  }
  .big-number em {
    font-size: 28px;
  }
  .compare-grid,
  .faq-strip,
  .free-energy-stats,
  .referral-rule-grid,
  .stats-row,
  .quick-grid,
  .service-grid,
  .two-col,
  .hash-grid,
  .hash-result-grid,
  .recharge-amount-board,
  .pay-box,
  .security-grid,
  .company-panel {
    grid-template-columns: 1fr;
  }
  .pay-box {
    padding: 14px;
  }
  .qr {
    width: 112px;
    height: 112px;
  }
  .action-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .mode-tabs,
  .mini-tabs,
  .pay-tabs {
    justify-content: flex-start;
  }
  .step-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .step-title small {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .copy-row {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-panel-actions {
    grid-template-columns: 1fr;
  }
  .profile-panel-actions .danger-btn {
    grid-column: auto;
  }
  .mini-balance-card {
    min-height: 62px;
  }
  .account-dashboard {
    margin: -18px;
    padding: 16px;
    gap: 16px;
  }
  .account-dashboard-head,
  .account-section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-refresh {
    width: 100%;
  }
  .account-identity-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .account-avatar {
    width: 48px;
    height: 48px;
  }
  .account-identity-meta span {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-identity-meta .ghost-btn,
  .account-logout-btn {
    width: 100%;
  }
  .account-metric-grid,
  .account-referral-clean-grid,
  .account-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-metric-card {
    min-height: 124px;
  }
  .account-metric-card b,
  .account-referral-clean-grid b {
    font-size: 24px;
  }
  .account-referral-submit.clean {
    grid-template-columns: 1fr;
  }
  .account-referral-head {
    flex-direction: column;
  }
  .account-referral-head .ghost-btn {
    width: 100%;
  }
  .account-referral-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-referral-submit {
    grid-template-columns: 1fr;
  }
  .auth-modal-backdrop {
    padding: 12px;
    align-items: flex-start;
    overflow: auto;
  }
  .auth-modal-shell {
    margin: 10px 0 20px;
  }
  .auth-slider {
    min-height: auto;
    overflow: visible;
    display: grid;
    background: #fff;
  }
  .auth-form-panel,
  .auth-sign-in,
  .auth-sign-up {
    position: relative;
    width: 100%;
    opacity: 1;
    transform: none !important;
  }
  .auth-sign-up {
    display: none;
  }
  .auth-slider.right-panel-active .auth-sign-in {
    display: none;
  }
  .auth-slider.right-panel-active .auth-sign-up {
    display: block;
    animation: none;
  }
  .auth-form-panel form {
    min-height: 430px;
    padding: 32px 22px;
  }
  .auth-overlay-container {
    position: relative;
    left: 0;
    width: 100%;
    min-height: 190px;
    transform: none !important;
  }
  .auth-overlay {
    left: 0;
    width: 100%;
    transform: none !important;
  }
  .auth-overlay-panel {
    position: relative;
    width: 100%;
    min-height: 190px;
    padding: 24px;
    transform: none !important;
  }
  .auth-overlay-left {
    display: none;
  }
  .auth-slider.right-panel-active .auth-overlay-left {
    display: flex;
  }
  .auth-slider.right-panel-active .auth-overlay-right {
    display: none;
  }
  .order-item {
    grid-template-columns: 1fr;
  }
  .status-pill {
    justify-self: flex-start;
  }
  .footer {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .account-dashboard-light {
    margin: -18px;
    padding: 14px;
    border-radius: 12px;
  }
  .account-dashboard-light .account-dashboard-head {
    flex-direction: column;
  }
  .account-dashboard-light .account-soft-danger {
    width: 100%;
  }
  .account-dashboard-light .account-identity-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .account-dashboard-light .account-avatar {
    width: 64px;
    height: 64px;
  }
  .account-dashboard-light .account-identity-meta span {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .account-dashboard-light .account-identity-meta .ghost-btn {
    width: 100%;
  }
  .account-dashboard-light .account-metric-grid,
  .account-dashboard-light .account-quick-grid,
  .account-dashboard-light .account-referral-clean-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-dashboard-light .account-metric-card,
  .account-dashboard-light .account-quick-card,
  .account-dashboard-light .account-referral-clean,
  .account-dashboard-light .account-orders-card {
    border-radius: 14px;
  }
  .account-dashboard-light .account-metric-card {
    min-height: 116px;
    padding: 16px;
  }
  .account-dashboard-light .account-metric-card b {
    font-size: 22px;
  }
  .account-dashboard-light .account-quick-grid button {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .account-dashboard-light .account-quick-grid button:after {
    display: none;
  }
  .account-dashboard-light .account-referral-clean-grid {
    border: 0;
    gap: 10px;
  }
  .account-dashboard-light .account-referral-clean-grid span {
    border: 1px solid #e8edf5;
    border-radius: 12px;
  }
  .account-dashboard-light .account-referral-submit.clean {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Final account center overrides: keep this block last so the white console wins. */
.account-panel.light-account-panel {
  padding: 18px;
  background: #f5f7fb;
}
.account-dashboard-light {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 26px;
  border: 1px solid #e7edf6;
  border-radius: 22px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
}
.account-dashboard-light .account-dashboard-head {
  min-height: 50px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.account-dashboard-light .account-dashboard-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.15;
}
.account-dashboard-light .account-dashboard-head span,
.account-dashboard-light .account-section-title span {
  color: #64748b;
}
.account-dashboard-light .account-soft-danger {
  min-width: 112px;
  min-height: 40px;
  border: 1px solid #a9c8ff;
  border-radius: 8px;
  background: #f4f8ff;
  color: #2563eb;
}
.account-dashboard-light .account-identity-card,
.account-dashboard-light .account-metric-card,
.account-dashboard-light .account-quick-card,
.account-dashboard-light .account-referral-clean,
.account-dashboard-light .account-orders-card {
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}
.account-dashboard-light .account-identity-card {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(420px, 1.25fr) 230px;
  gap: 24px;
  min-height: 152px;
  padding: 22px 24px;
  align-items: center;
}
.account-dashboard-light .account-user-block {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  align-items: center;
}
.account-dashboard-light .account-avatar-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(37, 99, 235, .16));
}
.account-dashboard-light .account-identity-main em {
  display: none;
}
.account-dashboard-light .account-identity-main strong {
  margin-top: 8px;
  color: #0f172a;
  font-size: 20px;
  letter-spacing: .2px;
}
.account-dashboard-light .account-identity-main small {
  min-height: 30px;
  margin-top: 12px;
  border-color: #fed7aa;
  background: #fff7ed;
  color: #d97706;
}
.account-dashboard-light .account-identity-main small img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.account-dashboard-light .account-identity-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.account-dashboard-light .account-identity-meta span {
  display: grid;
  grid-template-columns: 22px 76px 1fr auto;
  gap: 12px;
  align-items: center;
  color: #64748b;
}
.account-dashboard-light .account-identity-meta b {
  color: #0f172a;
}
.account-dashboard-light .account-identity-meta .ghost-btn {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12px;
}
.account-dashboard-light .account-security-visual {
  min-height: 120px;
  background: transparent;
}
.account-dashboard-light .account-security-visual img {
  width: 220px;
  max-width: 100%;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(37, 99, 235, .16));
}
.account-dashboard-light .account-metric-grid {
  margin-top: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.account-dashboard-light .account-metric-card {
  position: relative;
  min-height: 122px;
  padding: 24px 24px 20px 92px;
  overflow: hidden;
}
.account-dashboard-light .account-metric-card .metric-art {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.account-dashboard-light .account-metric-card b {
  margin-top: 8px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.05;
}
.account-dashboard-light .account-metric-card.accent b,
.account-dashboard-light .account-referral-clean-grid span:last-child b {
  color: #d97706;
}
.account-dashboard-light .account-metric-card em {
  margin-top: 10px;
  color: #64748b;
}
.account-dashboard-light .account-quick-card,
.account-dashboard-light .account-referral-clean,
.account-dashboard-light .account-orders-card {
  margin-top: 20px;
  padding: 18px;
}
.account-dashboard-light .account-section-title {
  margin-bottom: 18px;
}
.account-dashboard-light .account-quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.account-dashboard-light .account-quick-grid button {
  min-height: 88px;
  grid-template-columns: 66px 1fr 18px;
  gap: 14px;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  text-align: left;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .035);
}
.account-dashboard-light .account-quick-grid button:after {
  content: "›";
  color: #94a3b8;
  font-size: 28px;
}
.account-dashboard-light .account-quick-grid .quick-art {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.account-dashboard-light .account-quick-grid button > span {
  margin: 0;
}
.account-dashboard-light .account-quick-grid strong {
  color: #0f172a;
  font-size: 15px;
}
.account-dashboard-light .account-quick-grid em {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.account-dashboard-light .account-metric-card:hover,
.account-dashboard-light .account-quick-grid button:hover,
.account-dashboard-light .account-referral-clean-grid span:hover {
  transform: translateY(-4px);
  border-color: #1677ff;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 119, 255, .12);
}
.account-dashboard-light .account-referral-clean .account-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.account-dashboard-light .account-referral-clean .account-section-title span {
  margin-top: 0;
  text-align: right;
  font-size: 13px;
}
.account-dashboard-light .account-referral-clean-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #e8edf5;
  border-radius: 9px;
  overflow: hidden;
}
.account-dashboard-light .account-referral-clean-grid span {
  min-height: 74px;
  padding: 14px 22px;
  border: 0;
  border-right: 1px solid #e8edf5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.account-dashboard-light .account-referral-clean-grid span:last-child {
  border-right: 0;
}
.account-dashboard-light .account-referral-clean-grid b {
  margin-top: 8px;
  color: #0f172a;
  font-size: 21px;
}
.account-dashboard-light .account-referral-submit.clean {
  grid-template-columns: 1fr 170px 170px;
  gap: 20px;
  margin-top: 12px;
}
.account-dashboard-light .account-referral-submit.clean .input {
  min-height: 46px;
  border: 1px solid #dbe3ef;
  border-radius: 7px;
  background: #fff;
  color: #0f172a;
}
.account-dashboard-light .account-referral-submit.clean .primary-btn,
.account-dashboard-light .account-referral-submit.clean .ghost-btn {
  border-radius: 7px;
}
.account-dashboard-light .primary-btn {
  border-color: #1677ff;
  background: linear-gradient(135deg, #1677ff, #0ea5e9);
  color: #fff;
  box-shadow: 0 10px 22px rgba(22, 119, 255, .18);
}
.account-dashboard-light .ghost-btn {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #1677ff;
}
.account-dashboard-light .account-orders-table-wrap {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  overflow: auto;
}
.account-dashboard-light .account-orders-table {
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
}
.account-dashboard-light .account-orders-table th,
.account-dashboard-light .account-orders-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e8edf5;
  color: #334155;
  font-size: 13px;
}
.account-dashboard-light .account-orders-table th {
  background: #f5f7fb;
  color: #64748b;
  font-weight: 900;
}
.account-dashboard-light .account-orders-table td b {
  color: #0f172a;
}
.account-dashboard-light .account-orders-table .link-btn {
  color: #1677ff;
}

@media (max-width: 1160px) {
  .account-dashboard-light .account-identity-card {
    grid-template-columns: 1fr;
  }
  .account-dashboard-light .account-security-visual {
    display: none;
  }
}

@media (max-width: 760px) {
  .account-panel.light-account-panel {
    padding: 10px;
  }
  .account-dashboard-light {
    padding: 14px;
    border-radius: 16px;
  }
  .account-dashboard-light .account-dashboard-head {
    flex-direction: column;
  }
  .account-dashboard-light .account-soft-danger {
    width: 100%;
  }
  .account-dashboard-light .account-user-block {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }
  .account-dashboard-light .account-avatar-img {
    width: 68px;
    height: 68px;
  }
  .account-dashboard-light .account-identity-meta span {
    grid-template-columns: 22px 1fr;
  }
  .account-dashboard-light .account-identity-meta span b,
  .account-dashboard-light .account-identity-meta span button {
    grid-column: 2;
  }
  .account-dashboard-light .account-identity-meta .ghost-btn {
    width: 100%;
  }
  .account-dashboard-light .account-metric-grid,
  .account-dashboard-light .account-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .account-dashboard-light .account-metric-card {
    min-height: 118px;
    padding: 16px 14px 16px 66px;
  }
  .account-dashboard-light .account-metric-card .metric-art {
    left: 14px;
    top: 18px;
    width: 40px;
    height: 40px;
  }
  .account-dashboard-light .account-metric-card b {
    font-size: 20px;
  }
  .account-dashboard-light .account-quick-grid button {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 14px 10px;
  }
  .account-dashboard-light .account-quick-grid button:after {
    display: none;
  }
  .account-dashboard-light .account-referral-clean .account-section-title {
    display: block;
  }
  .account-dashboard-light .account-referral-clean .account-section-title span {
    margin-top: 8px;
    text-align: left;
  }
  .account-dashboard-light .account-referral-clean-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    gap: 10px;
  }
  .account-dashboard-light .account-referral-clean-grid span {
    border: 1px solid #e8edf5;
    border-radius: 10px;
  }
  .account-dashboard-light .account-referral-submit.clean {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
