    :root {
      color-scheme: light;
      --ink: #202231;
      --muted: #737789;
      --blue: #4c78ed;
      --blue-dark: #315bd0;
      --red: #f0444e;
      --line: #e9eaf0;
      --pale: #f6f7fb;
      font-family: Inter, "Segoe UI", Arial, sans-serif;
      font-synthesis: none;
      text-rendering: optimizeLegibility;
    }

    * { box-sizing: border-box; }
    [hidden] { display: none !important; }
    html { scroll-behavior: smooth; }
    body { margin: 0; min-width: 0; color: var(--ink); line-height: 1.65; }
    body.authenticated #public-content, body.authenticated .site-footer { display: none; }
    button { font: inherit; }
    a { color: inherit; text-decoration: none; }
    .container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
    .site-header { position: relative; z-index: 2; background: #fff; }
    .nav { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
    .brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 750; letter-spacing: -.04em; white-space: nowrap; }
    .brand-mark { display: block; width: auto; height: auto; max-width: min(100%, 240px); max-height: 54px; object-fit: contain; }
    .nav-links { display: flex; align-items: center; gap: 33px; color: #414455; font-size: 14px; font-weight: 600; }
    .nav-links a:hover { color: var(--blue); }
    .mobile-auth { display: none; }
    .button {
      display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
      border: 0; border-radius: 99px; color: #fff; background: var(--red); font-size: 14px;
      font-weight: 700; cursor: pointer; box-shadow: 0 9px 20px rgba(240, 68, 78, .17);
      transition: transform .18s, background .18s;
    }
    .button:hover { transform: translateY(-2px); background: #df3541; }
    .button-secondary { border: 1px solid var(--line); color: var(--ink); background: #fff; box-shadow: none; }
    .button-secondary:hover { border-color: #cbd4f1; color: var(--blue-dark); background: #f8f9ff; }
    .menu-button { display: none; padding: 8px; border: 0; background: transparent; color: var(--ink); font-size: 25px; cursor: pointer; }
    .account-actions { display: flex; align-items: center; gap: 10px; }
    .account-actions .button { min-height: 42px; padding: 0 18px; font-size: 12px; }

    .hero { overflow: hidden; position: relative; padding: 70px 0 76px; background: linear-gradient(115deg, #fff 43%, #f6f8ff 100%); }
    .hero::before, .hero::after { position: absolute; z-index: 0; border-radius: 50%; content: ""; pointer-events: none; }
    .hero::before { width: 450px; height: 450px; right: -130px; top: -260px; background: rgba(240, 68, 78, .045); }
    .hero::after { width: 500px; height: 500px; left: -350px; bottom: -390px; background: rgba(76, 120, 237, .05); }
    .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 52px; }
    .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
    .eyebrow::before { width: 24px; height: 2px; background: var(--red); content: ""; }
    h1 { max-width: 580px; margin: 17px 0; font-size: clamp(42px, 5.3vw, 66px); line-height: 1.08; letter-spacing: -.055em; }
    .hero-copy { max-width: 510px; margin: 0; color: var(--muted); font-size: 17px; }
    .hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 29px; }
    .text-link { color: #4a4d5d; font-size: 14px; font-weight: 700; }
    .text-link span { margin-left: 5px; color: var(--blue); }
    .hero-footnote { display: flex; align-items: center; gap: 8px; margin-top: 23px; color: #85899a; font-size: 12px; }
    .hero-footnote span { color: var(--blue); font-size: 16px; }
    .member-highlight { display: flex; align-items: center; gap: 12px; width: fit-content; margin-top: 22px; padding: 11px 16px 11px 11px; border: 1px solid rgba(165, 217, 79, .24); border-radius: 14px; background: rgba(165, 217, 79, .055); }
    .member-highlight-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(165, 217, 79, .2); border-radius: 11px; color: #c5f06e; background: rgba(165, 217, 79, .1); }
    .member-highlight-icon svg { width: 21px; height: 21px; }
    .member-highlight strong { color: #c5f06e; font-size: 29px; line-height: 1; letter-spacing: -.045em; }
    .member-highlight-copy { display: grid; gap: 1px; }
    .member-highlight-copy span { color: #e3e9dd; font-size: 12px; font-weight: 750; line-height: 1.25; }
    .member-highlight-copy small { color: #a8b0a2; font-size: 10px; line-height: 1.3; }
    .visual { position: relative; min-height: 360px; display: grid; place-items: center; }
    .visual-orbit { position: absolute; width: min(100%, 430px); aspect-ratio: 1; border: 1px solid rgba(76, 120, 237, .12); border-radius: 50%; }
    .visual-orbit::before, .visual-orbit::after { position: absolute; inset: 29px; border: 1px dashed rgba(76, 120, 237, .15); border-radius: 50%; content: ""; }
    .visual-orbit::after { inset: 72px; border-style: solid; opacity: .65; }
    .showcase { position: relative; width: min(100%, 370px); padding: 27px; border: 1px solid rgba(228, 231, 242, .95); border-radius: 23px; background: rgba(255, 255, 255, .97); box-shadow: 0 25px 80px rgba(39, 53, 102, .13); }
    .showcase-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
    .term-pill { padding: 5px 10px; border-radius: 99px; color: var(--blue-dark); background: #eef2ff; font-size: 10px; font-weight: 750; letter-spacing: .06em; }
    .showcase-name { margin-top: 24px; font-size: 15px; font-weight: 650; }
    .showcase-amount { margin-top: 1px; font-size: 51px; font-weight: 760; line-height: 1.25; letter-spacing: -.06em; }
    .showcase-sub { color: var(--muted); font-size: 12px; }
    .showcase-rate { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 15px; border-radius: 12px; background: #f6f8ff; }
    .showcase-rate span { color: var(--muted); font-size: 11px; }
    .showcase-rate strong { color: var(--blue-dark); font-size: 16px; }
    .showcase-detail { display: flex; align-items: center; gap: 9px; margin-top: 19px; color: #666b7d; font-size: 11px; }
    .detail-dot { width: 8px; height: 8px; border-radius: 50%; background: #35b887; box-shadow: 0 0 0 4px #e5f7f0; }
    .floating-coin { position: absolute; top: 20px; right: 1px; display: grid; width: 59px; height: 59px; place-items: center; border: 6px solid #fff; border-radius: 50%; background: #dff7ed; color: #20a777; font-size: 23px; font-weight: 800; box-shadow: 0 9px 28px rgba(28, 107, 83, .16); }
    .floating-note { position: absolute; bottom: 17px; left: -13px; padding: 12px 16px; border: 1px solid #edf0f7; border-radius: 13px; background: #fff; box-shadow: 0 12px 34px rgba(39, 53, 102, .1); color: #656a7c; font-size: 11px; }
    .floating-note strong { display: block; color: var(--ink); font-size: 13px; }

    .plans-section { padding: 83px 0 89px; background: #f8f9fc; }
    .section-heading { max-width: 680px; margin: 0 auto 37px; text-align: center; }
    .section-heading .eyebrow { justify-content: center; }
    h2 { margin: 11px 0 8px; font-size: clamp(29px, 3.6vw, 42px); line-height: 1.2; letter-spacing: -.045em; }
    .section-heading p { margin: 0; color: var(--muted); font-size: 15px; }
    .packages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 14px; }
    .package {
      position: relative; display: flex; min-width: 0; flex-direction: column; align-items: stretch; text-align: left;
      padding: 22px 17px 17px; border: 1px solid #e8eaf1; border-radius: 17px; color: var(--ink);
      background: #fff; cursor: pointer; box-shadow: 0 5px 18px rgba(35, 46, 86, .025);
      transition: border-color .2s, box-shadow .2s, transform .2s;
    }
    .package:hover { transform: translateY(-4px); border-color: #b7c5f4; box-shadow: 0 15px 35px rgba(39, 53, 102, .09); }
    .package[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 12px 34px rgba(76, 120, 237, .13); }
    .package-featured { border-color: #b7c5f4; }
    .package-featured[aria-pressed="true"] { border-color: var(--blue); }
    .package-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 99px; color: #fff; background: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
    .package-tier { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
    .package-price { display: block; margin: 8px 0 1px; font-size: clamp(30px, 3vw, 38px); font-weight: 760; line-height: 1.2; letter-spacing: -.06em; }
    .package-currency { font-size: .42em; font-weight: 650; letter-spacing: -.02em; }
    .package-caption { color: #9699a7; font-size: 11px; }
    .package-rule { height: 1px; margin: 17px 0 15px; border: 0; background: #eef0f5; }
    .reward-label { color: var(--muted); font-size: 10px; }
    .package-daily { display: block; margin-top: 2px; color: var(--blue-dark); font-size: 16px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
    .package-term-total { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
    .reward-unit { color: #85899a; font-size: 10px; font-weight: 500; }
    .package-action { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; margin-top: auto; padding-top: 17px; color: var(--blue-dark); font-size: 11px; font-weight: 750; }
    .package-action::after { content: "→"; font-size: 14px; transition: transform .18s; }
    .package:hover .package-action::after { transform: translateX(3px); }
    .selection-status { min-height: 22px; margin: 18px 0 0; color: #777b8c; font-size: 12px; text-align: center; }
    .package-next { display: flex; justify-content: center; margin-top: 16px; }
    .package-next .button { min-width: 190px; }
    .package-next .button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
    .about-section { padding: 78px 0 84px; background: #fff; }
    .about-content { max-width: 820px; text-align: center; }
    .about-content .eyebrow { justify-content: center; }
    .about-content p { margin: 14px auto 0; color: var(--muted); font-size: 16px; }
    .auth-section { position: fixed; z-index: 10; inset: 0; display: none; overflow-y: auto; padding: 24px; background: rgba(5, 8, 5, .78); backdrop-filter: blur(8px); }
    .auth-section.is-visible { display: grid; place-items: center; }
    .auth-section .container { width: min(100%, 560px); margin: auto; }
    .auth-panel { position: relative; display: none; max-height: calc(100vh - 48px); overflow-y: auto; margin: 0 auto; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 60px rgba(39, 53, 102, .08); }
    .auth-panel.is-visible { display: block; }
    .auth-close { position: absolute; top: 12px; right: 12px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #3a4239; border-radius: 50%; color: #dce3d6; background: #202620; font-size: 22px; cursor: pointer; }
    .auth-close:hover { color: #c5f06e; border-color: #647e45; }
    .auth-heading { margin-bottom: 22px; padding: 0 28px; text-align: center; }
    .auth-heading h2 { font-size: 30px; }
    .auth-heading p { margin: 0; color: var(--muted); font-size: 13px; }
    .form-note { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; color: #515e83; background: #f1f4ff; font-size: 12px; }
    .auth-form { display: grid; gap: 13px; }
    .auth-field { display: grid; gap: 5px; color: #55596b; font-size: 12px; font-weight: 650; }
    .auth-field input { width: 100%; height: 45px; padding: 0 12px; border: 1px solid #e3e5ec; border-radius: 9px; outline: none; background: #fff; color: var(--ink); }
    .auth-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(76, 120, 237, .1); }
    .auth-form .button { width: 100%; margin-top: 3px; }
    .auth-switch { margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
    .auth-switch button { padding: 0; border: 0; color: var(--blue-dark); background: none; font-weight: 700; cursor: pointer; }
    .auth-feedback { min-height: 20px; margin: 10px 0 0; color: var(--blue-dark); font-size: 12px; text-align: center; }
    .profile-summary { display: grid; gap: 4px; margin: 20px 0; padding: 18px; border-radius: 13px; background: var(--pale); }
    .profile-summary .result-value { margin-bottom: 8px; font-size: 19px; }
    .profile-summary .result-value:last-child { margin-bottom: 0; color: var(--blue-dark); }
    .account-portal { display: none; min-height: 68vh; padding: 44px 0 70px; background: #f8f9fc; }
    .account-portal.is-visible { display: block; }
    .portal-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
    .portal-header h1 { margin: 7px 0 0; font-size: 36px; }
    .portal-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
    .portal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
    .portal-nav { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
    .portal-nav button { padding: 11px 13px; border: 0; border-radius: 9px; color: #636779; background: transparent; text-align: left; font-size: 13px; font-weight: 650; cursor: pointer; }
    .portal-nav button:hover, .portal-nav button[aria-current="page"] { color: var(--blue-dark); background: #eff3ff; }
    .portal-page { display: none; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(39, 53, 102, .04); }
    .portal-page.is-visible { display: block; }
    .portal-page h2 { margin: 0 0 5px; font-size: 24px; }
    .portal-intro { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
    .dashboard-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
    .dashboard-stat { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
    .dashboard-stat span { display: block; color: var(--muted); font-size: 11px; }
    .dashboard-stat strong { display: block; margin-top: 5px; font-size: 19px; }
    .dashboard-stat small { display: block; margin-top: 4px; color: #85899a; font-size: 10px; }
    .balance-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; padding: 17px 19px; border: 1px solid #46613b; border-radius: 15px; background: linear-gradient(120deg, #324b2e, #1e2b1d 80%); }
    .balance-card span { display: block; color: #c1ceb8; font-size: 11px; }
    .balance-card strong { display: block; color: #f5f8f1; font-size: 24px; }
    .balance-card .button { min-height: 38px; padding: 0 16px; font-size: 12px; }
    .balance-actions { display: flex; gap: 9px; }
    .balance-actions .button { min-width: 92px; }
    .withdraw-requirements { display: grid; gap: 10px; }
    .withdraw-requirements strong { color: #eef3e9; }
    .daily-profit-history { margin-top: 18px; }
    .daily-profit-history h3 { margin: 0 0 10px; font-size: 17px; }
    #daily-profit-history { display: grid; gap: 8px; }
    .daily-profit-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border: 1px solid #303730; border-radius: 11px; background: #202620; }
    .daily-profit-item span { color: #e8ede4; font-size: 12px; }
    .daily-profit-item small { color: #a1a99e; font-size: 10px; }
    .daily-profit-item strong { grid-column: 2; grid-row: 1 / span 2; color: #c5f06e; font-size: 14px; }
    .dashboard-choose-package { margin-top: 14px; }
    .package-progress { height: 6px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: #3a4239; }
    .package-progress span { display: block; height: 100%; border-radius: inherit; background: #a5d94f; }
    .package-payout-note { margin: 14px 0 0; padding: 12px; border: 1px solid #353c34; border-radius: 10px; color: #b7beb2; background: #1b201b; font-size: 11px; }
    .portal-form { display: grid; max-width: 540px; gap: 13px; }
    .portal-form .button { justify-self: start; }
    .wallet-address-box { overflow-wrap: anywhere; margin: 12px 0; padding: 13px; border: 1px solid #353c34; border-radius: 10px; color: #dfe8d5; background: #101410; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
    .topup-address-row { display: flex; align-items: center; gap: 10px; }
    .topup-address-row .wallet-address-box { flex: 1; margin: 12px 0; font-size: 15px; font-weight: 700; letter-spacing: .025em; }
    .topup-copy-button { flex: 0 0 auto; min-height: 42px; padding: 0 16px; }
    .topup-dialog #topup-copy-feedback { min-height: 0; margin: 4px 0 0; }
    .network-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
    .network-options legend { margin-bottom: 8px; color: #dfe8d5; font-size: 12px; font-weight: 700; }
    .network-option { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 11px; border: 1px solid #3a4239; border-radius: 11px; background: #151a15; cursor: pointer; }
    .network-option:has(input:checked) { border-color: #a5d94f; background: #202a1d; }
    .network-option input { accent-color: #a5d94f; }
    .network-option span { display: grid; min-width: 0; line-height: 1.4; }
    .network-option strong { color: #eef3e9; font-size: 11px; }
    .network-option small { color: #a1a99e; font-size: 10px; }
    .network-icon { width: 25px; height: 25px; flex: 0 0 auto; }
    .topup-history, .admin-request-list { display: grid; gap: 10px; margin-top: 20px; }
    .topup-history-item, .admin-request { padding: 14px; border: 1px solid #303730; border-radius: 12px; background: #202620; }
    .topup-history-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
    .topup-history-item strong, .admin-request strong { color: #eef3e9; }
    .topup-history-item small, .admin-request small { display: block; overflow-wrap: anywhere; color: #a1a99e; font-size: 10px; }
    .team-invite { margin: 18px 0; padding: 18px; border: 1px solid #394334; border-radius: 14px; background: #202620; }
    .team-invite-row { display: flex; gap: 10px; }
    .team-invite-row input { min-width: 0; flex: 1; padding: 11px 12px; border: 1px solid #3a4239; border-radius: 9px; color: #e8ede4; background: #101410; font-size: 12px; }
    .team-invite-row .button { min-height: 42px; padding: 0 17px; font-size: 12px; }
    .team-list { display: grid; gap: 10px; margin-top: 12px; }
    .team-member { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px; border: 1px solid #303730; border-radius: 12px; background: #202620; }
    .team-member strong { color: #eef3e9; font-size: 13px; }
    .team-member small { color: #a1a99e; font-size: 10px; }
    .team-member span { grid-column: 1 / -1; color: #c5f06e; font-size: 11px; }
    .admin-request-actions { display: flex; gap: 8px; margin-top: 12px; }
    .admin-request-actions .button { min-height: 36px; padding: 0 13px; font-size: 11px; }
    .admin-request-actions .button-reject { border: 1px solid #65413c; color: #f2b5a8; background: #392521; box-shadow: none; }
    .admin-stats { margin: 18px 0 24px; }
    .admin-section { margin-top: 24px; }
    .admin-section h3 { margin: 0 0 10px; }
    .admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .admin-section-heading .button { min-height: 38px; padding: 0 13px; font-size: 11px; }
    .admin-user-list { display: grid; gap: 12px; margin-top: 12px; }
    .admin-user-card { overflow: hidden; border: 1px solid #303730; border-radius: 13px; background: #202620; }
    .admin-user-summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; color: #eef3e9; cursor: pointer; list-style: none; }
    .admin-user-summary::-webkit-details-marker { display: none; }
    .admin-user-summary::marker { content: ""; }
    .admin-user-identity { display: grid; min-width: 0; gap: 3px; }
    .admin-user-identity strong { overflow-wrap: anywhere; font-size: 13px; }
    .admin-user-identity small { overflow-wrap: anywhere; color: #a1a99e; font-size: 10px; }
    .admin-user-chevron { width: 10px; height: 10px; flex: 0 0 auto; transform: rotate(45deg); border-right: 2px solid #c5f06e; border-bottom: 2px solid #c5f06e; transition: transform .18s; }
    .admin-user-card[open] > .admin-user-summary { border-bottom: 1px solid #353c34; }
    .admin-user-card[open] > .admin-user-summary .admin-user-chevron { transform: rotate(225deg); }
    .admin-user-content { padding: 12px 16px 16px; }
    .admin-user-wallet { margin: 0 0 10px; color: #a1a99e; font-size: 11px; overflow-wrap: anywhere; }
    .admin-self-review-note { margin: 10px 0 0; color: #e8cb86; font-size: 11px; }
    .admin-user-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
    .admin-user-details div { min-width: 0; padding: 9px; border-radius: 8px; background: #171b17; }
    .admin-user-details span { display: block; color: #a1a99e; font-size: 9px; }
    .admin-user-details strong { display: block; margin-top: 3px; color: #eef3e9; font-size: 11px; overflow-wrap: anywhere; }
    .admin-user-history-section { margin-top: 12px; border-top: 1px solid #353c34; padding-top: 10px; }
    .admin-user-history-section summary { color: #c5f06e; font-size: 11px; cursor: pointer; }
    .admin-user-history { display: grid; gap: 5px; margin-top: 8px; }
    .admin-user-history li { color: #b0b8ac; font-size: 10px; overflow-wrap: anywhere; }
    .admin-withdrawal-txid { width: 100%; margin-top: 9px; padding: 9px 10px; border: 1px solid #3a4239; border-radius: 8px; color: #f3f5f2; background: #101410; }
    .activity-indicator { position: fixed; z-index: 1000; top: 50%; left: 50%; display: grid; width: 42px; height: 42px; place-items: center; transform: translate(-50%, -50%); border: 1px solid #3c4938; border-radius: 50%; background: #202620; box-shadow: 0 8px 28px rgba(0, 0, 0, .25); }
    .activity-indicator[hidden] { display: none; }
    .activity-spinner { width: 17px; height: 17px; flex: 0 0 auto; border: 2px solid rgba(197, 240, 110, .25); border-top-color: #c5f06e; border-radius: 50%; animation: activity-spin .75s linear infinite; }
    .telegram-support { position: fixed; z-index: 20; right: 22px; bottom: 22px; display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #fff; background: #229ed9; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .18s, background .18s; }
    .telegram-support:hover { transform: translateY(-2px); background: #168ac1; }
    .telegram-support svg { width: 25px; height: 25px; fill: currentColor; }
    .telegram-support[hidden] { display: none; }
    @keyframes activity-spin { to { transform: rotate(360deg); } }
    .status-approved { color: #c5f06e; }
    .status-pending { color: #e8cb86; }
    .status-rejected { color: #f2a99b; }
    .account-package { padding: 19px; border: 1px solid #e7eaf4; border-radius: 13px; background: #fbfcff; }
    .account-package-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .account-package h3 { margin: 4px 0; font-size: 20px; }
    .running-package-tabs { display: flex; gap: 8px; margin: 14px 0 17px; padding-bottom: 3px; overflow-x: auto; }
    .running-package-tab { min-height: 38px; flex: 0 0 auto; padding: 0 14px; border: 1px solid #3b4935; border-radius: 9px; color: #c4cbbf; background: #202620; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
    .running-package-tab:hover { border-color: #647e45; color: #d9f4b0; }
    .running-package-tab[aria-selected="true"] { border-color: #a5d94f; color: #17200f; background: #a5d94f; }
    .status-pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 99px; color: #8a5a10; background: #fff3d8; font-size: 10px; font-weight: 750; }
    .account-package p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
    .account-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
    .account-details span { display: block; color: var(--muted); font-size: 10px; }
    .account-details strong { display: block; margin-top: 3px; font-size: 14px; }
    .empty-state { padding: 28px 15px; border: 1px dashed #dfe3ef; border-radius: 12px; color: var(--muted); text-align: center; font-size: 13px; }
    .empty-state a { display: inline-block; margin-top: 8px; color: var(--blue-dark); font-weight: 700; }
    .profile-details { display: grid; gap: 0; margin: 0; }
    .profile-details div { display: grid; grid-template-columns: 170px 1fr; gap: 15px; padding: 14px 0; border-bottom: 1px solid #eef0f5; }
    .profile-details dt { color: var(--muted); font-size: 12px; }
    .profile-details dd { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }
    .profile-value { min-width: 0; overflow-wrap: anywhere; }
    .profile-edit-button { display: inline-grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid #3a4239; border-radius: 8px; color: #c5f06e; background: #202620; cursor: pointer; }
    .profile-edit-button:hover { border-color: #a5d94f; background: #293225; }
    .profile-edit-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .profile-edit-input { width: min(100%, 360px); min-width: 0; padding: 9px 11px; border: 1px solid #3a4239; border-radius: 8px; color: #f3f5f2; background: #101410; font: inherit; }
    .profile-edit-input:focus { outline: none; border-color: #a5d94f; box-shadow: 0 0 0 3px rgba(165, 217, 79, .13); }
    .profile-edit-actions { display: inline-flex; flex-wrap: wrap; gap: 7px; }
    .profile-edit-actions[hidden],
    .profile-edit-input[hidden] { display: none; }
    .profile-primary-option { display: inline-flex; align-items: center; gap: 5px; color: #a1a99e; font-size: 11px; font-weight: 600; cursor: pointer; }
    .profile-primary-option input { margin: 0; accent-color: #a5d94f; }
    .profile-primary-option input:disabled { cursor: not-allowed; }
    .profile-wallet-help { margin: 12px 0 0; }
    .wallet-help { margin: -8px 0 0; color: var(--muted); font-size: 11px; }
    .site-footer { padding: 23px 0; border-top: 1px solid var(--line); color: #85899a; font-size: 12px; }
    .footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
    .footer-brand { color: var(--ink); font-weight: 700; }
    .footer-actions { display: flex; align-items: center; gap: 16px; }
    .footer-actions button { padding: 0; border: 0; color: var(--blue-dark); background: none; font-size: 12px; font-weight: 700; cursor: pointer; }
    .balance-dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid #3b4735; border-radius: 18px; color: #eef3e9; background: #1c231b; box-shadow: 0 24px 80px rgba(0, 0, 0, .48); }
    .balance-dialog::backdrop { background: rgba(5, 8, 5, .78); backdrop-filter: blur(5px); }
    .balance-dialog-content { padding: 25px; }
    .topup-dialog { width: min(620px, calc(100% - 32px)); max-height: min(90vh, 850px); overflow-y: auto; }
    .topup-dialog .balance-dialog-content { position: relative; }
    .dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
    .dialog-heading .dialog-close { position: static; flex: 0 0 auto; }
    .topup-intro { margin-bottom: 16px !important; }
    .topup-dialog .portal-form { max-width: none; margin-top: 14px; }
    .topup-dialog .portal-form .button { justify-self: stretch; }
    .topup-dialog .auth-feedback { text-align: left; }
    .topup-dialog h3 { margin-bottom: 0; }
    .balance-dialog h2 { margin: 0 0 8px; font-size: 22px; }
    .balance-dialog p { margin: 0; color: #b7beb2; font-size: 13px; }
    .balance-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
    .signout-dialog .eyebrow { color: #b7e66b; }
    .signout-dialog .eyebrow::before { background: #a5d94f; }
    .signout-dialog h2 { margin-top: 8px; color: #f3f5f2; }
    .signout-dialog .auth-feedback:empty { display: none; }
    .package-purchase-dialog { width: min(560px, calc(100% - 32px)); }
    .package-purchase-content { padding: 28px; }
    .package-purchase-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
    .package-purchase-heading .eyebrow { color: #b7e66b; }
    .package-purchase-heading .eyebrow::before { background: #a5d94f; }
    .package-purchase-heading h2 { margin-top: 9px; color: #f3f5f2; }
    .package-term-pill { flex: 0 0 auto; padding: 5px 10px; border-radius: 99px; color: #d7f4a7; background: #35462a; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
    .package-purchase-name { margin: 18px 0 5px; color: #f5f8f1; font-size: 24px; }
    .package-purchase-description { color: #a8b0a2 !important; }
    .package-purchase-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid #35432f; border-radius: 13px; background: #20291d; }
    .package-purchase-details div { min-width: 0; }
    .package-purchase-details span { display: block; color: #a8b0a2; font-size: 11px; }
    .package-purchase-details strong { display: block; margin-top: 4px; color: #c5f06e; font-size: 16px; }
    .package-purchase-dialog .auth-feedback { min-height: 0; margin-top: 10px; text-align: left; }
    .package-purchase-dialog .balance-dialog-actions { margin-top: 18px; }

    body:not(.authenticated) { color: #f3f5f2; background: #101310; }
    body:not(.authenticated) .site-header { border-bottom: 1px solid #252a25; background: #101310; }
    body:not(.authenticated) .brand { color: #f3f5f2; }
    body:not(.authenticated) .nav-links { color: #c4c9c0; }
    body:not(.authenticated) .nav-links a:hover { color: #c5f06e; }
    body:not(.authenticated) .button:not(.button-secondary) { color: #17200f; background: #a5d94f; box-shadow: 0 9px 24px rgba(165, 217, 79, .15); }
    body:not(.authenticated) .button:not(.button-secondary):hover { background: #b8e86b; }
    body:not(.authenticated) .button-secondary { border-color: #373d36; color: #e5e9e2; background: #1b201b; }
    body:not(.authenticated) .button-secondary:hover { border-color: #a5d94f; color: #c5f06e; background: #232a20; }
    body:not(.authenticated) .menu-button { color: #e5e9e2; }
    body:not(.authenticated) .nav-links.is-open { border-color: #303730; background: #171b17; }
    body:not(.authenticated) .mobile-auth { border-color: #303730; }
    body:not(.authenticated) .mobile-auth button { color: #c5f06e; }
    body:not(.authenticated) .hero { background: radial-gradient(ellipse at 78% 46%, rgba(78, 112, 55, .2), transparent 43%), linear-gradient(115deg, #101310 38%, #171d15 100%); }
    body:not(.authenticated) .hero::before { background: rgba(165, 217, 79, .065); }
    body:not(.authenticated) .hero::after { background: rgba(118, 170, 66, .055); }
    body:not(.authenticated) .eyebrow { color: #b7e66b; }
    body:not(.authenticated) .eyebrow::before { background: #a5d94f; }
    body:not(.authenticated) .hero-copy { color: #b1b8ad; }
    body:not(.authenticated) .text-link { color: #e4e9df; }
    body:not(.authenticated) .text-link span,
    body:not(.authenticated) .hero-footnote span { color: #c5f06e; }
    body:not(.authenticated) .hero-footnote { color: #a1a99e; }
    body:not(.authenticated) .member-highlight { border-color: rgba(165, 217, 79, .35); background: rgba(165, 217, 79, .09); }
    body:not(.authenticated) .member-highlight-icon { border-color: rgba(165, 217, 79, .28); color: #c5f06e; background: rgba(165, 217, 79, .12); }
    body:not(.authenticated) .member-highlight-copy span { color: #e7eee1; }
    body:not(.authenticated) .member-highlight-copy small { color: #a8b0a2; }
    body:not(.authenticated) .visual-orbit { border-color: rgba(165, 217, 79, .2); }
    body:not(.authenticated) .visual-orbit::before,
    body:not(.authenticated) .visual-orbit::after { border-color: rgba(165, 217, 79, .22); }
    body:not(.authenticated) .showcase { border-color: #394334; background: linear-gradient(145deg, #222a20, #171c17 78%); box-shadow: 0 25px 80px rgba(0, 0, 0, .35); }
    body:not(.authenticated) .showcase-top,
    body:not(.authenticated) .showcase-sub { color: #a8b0a2; }
    body:not(.authenticated) .showcase-name,
    body:not(.authenticated) .showcase-amount { color: #f3f5f2; }
    body:not(.authenticated) .term-pill { color: #d7f4a7; background: #35462a; }
    body:not(.authenticated) .showcase-rate { border: 1px solid #35432f; background: #20291d; }
    body:not(.authenticated) .showcase-rate span { color: #a8b0a2; }
    body:not(.authenticated) .showcase-rate strong { color: #c5f06e; }
    body:not(.authenticated) .showcase-detail { color: #b7beb2; }
    body:not(.authenticated) .detail-dot { background: #a5d94f; box-shadow: 0 0 0 4px rgba(165, 217, 79, .15); }
    body:not(.authenticated) .floating-coin { border-color: #20291d; background: #354c2b; color: #c5f06e; }
    body:not(.authenticated) .floating-note { border-color: #394334; color: #b7beb2; background: #202620; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); }
    body:not(.authenticated) .floating-note strong { color: #f3f5f2; }
    body:not(.authenticated) .plans-section { background: #151915; }
    body:not(.authenticated) .section-heading p { color: #a8b0a2; }
    body:not(.authenticated) .package { border-color: #303730; color: #f3f5f2; background: #1c211c; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
    body:not(.authenticated) .package:hover { border-color: #647e45; box-shadow: 0 15px 35px rgba(0, 0, 0, .3); }
    body:not(.authenticated) .package[aria-pressed="true"] { border-color: #a5d94f; background: linear-gradient(155deg, #273321, #1c211c 75%); box-shadow: 0 12px 34px rgba(165, 217, 79, .1); }
    body:not(.authenticated) .package-featured { border-color: #556d3b; }
    body:not(.authenticated) .package-badge { color: #17200f; background: #a5d94f; }
    body:not(.authenticated) .package-tier,
    body:not(.authenticated) .reward-label { color: #abb3a6; }
    body:not(.authenticated) .package-caption,
    body:not(.authenticated) .reward-unit { color: #969f91; }
    body:not(.authenticated) .package-rule { background: #343b32; }
    body:not(.authenticated) .package-daily,
    body:not(.authenticated) .package-action { color: #c5f06e; }
    body:not(.authenticated) .selection-status { color: #a8b0a2; }
    body:not(.authenticated) .about-section { background: #101310; }
    body:not(.authenticated) .about-content p { color: #a8b0a2; }
    body:not(.authenticated) .auth-section { background: rgba(5, 8, 5, .78); }
    body:not(.authenticated) .auth-panel { border-color: #303730; background: #171b17; box-shadow: 0 18px 60px rgba(0, 0, 0, .3); }
    body:not(.authenticated) .auth-heading p,
    body:not(.authenticated) .auth-switch { color: #a8b0a2; }
    body:not(.authenticated) .form-note { color: #c3d2b5; background: #232d20; }
    body:not(.authenticated) .auth-field { color: #c4c9c0; }
    body:not(.authenticated) .auth-field input { border-color: #3a4239; color: #f3f5f2; background: #101410; }
    body:not(.authenticated) .auth-field input:focus { border-color: #a5d94f; box-shadow: 0 0 0 3px rgba(165, 217, 79, .13); }
    body:not(.authenticated) .auth-switch button,
    body:not(.authenticated) .auth-feedback { color: #c5f06e; }
    body:not(.authenticated) .site-footer { border-color: #303730; color: #a1a99e; background: #101310; }
    body:not(.authenticated) .footer-brand { color: #e7ebe3; }
    body:not(.authenticated) .footer-actions button { color: #c5f06e; }
    body.user-signed-in .account-actions,
    body.user-signed-in .mobile-auth,
    body.user-signed-in .footer-actions { display: none !important; }

    body.authenticated { color: #f3f5f2; background: #101310; }
    body.authenticated .site-header { background: #101310; border-bottom: 1px solid #252a25; }
    body.authenticated .nav { min-height: 70px; }
    body.authenticated .brand { color: #f3f5f2; }
    body.authenticated .nav-links, body.authenticated .account-actions, body.authenticated .menu-button { display: none; }
    body.authenticated .account-portal { min-height: calc(100vh - 70px); padding: 34px 0 60px; color: #f3f5f2; background: #101310; }
    body.authenticated .portal-header { align-items: center; margin-bottom: 24px; }
    body.authenticated .portal-header .eyebrow { color: #a5d94f; }
    body.authenticated .portal-header .eyebrow::before { background: #a5d94f; }
    body.authenticated .portal-header h1 { margin-top: 8px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.04em; }
    body.authenticated .portal-header p { color: #a1a79e; }
    body.authenticated .button-secondary { border-color: #373d36; color: #e5e9e2; background: #1b201b; }
    body.authenticated .button-secondary:hover { border-color: #a5d94f; color: #c0ec70; background: #232a20; }
    body.authenticated .portal-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 18px; }
    body.authenticated .portal-nav { gap: 6px; padding: 10px; border-color: #292f29; background: #171b17; }
    body.authenticated .portal-nav button { display: flex; align-items: center; gap: 11px; min-height: 45px; color: #abb1a8; }
    body.authenticated .portal-nav button:hover,
    body.authenticated .portal-nav button[aria-current="page"] { color: #c5f06e; background: #252e20; }
    .portal-nav-icon { display: inline-grid; width: 22px; place-items: center; color: currentColor; }
    .portal-nav-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    body.authenticated .portal-page { min-height: 430px; padding: 25px; border-color: #292f29; border-radius: 18px; color: #f3f5f2; background: #171b17; box-shadow: 0 12px 34px rgba(0, 0, 0, .15); }
    body.authenticated .portal-page h2 { color: #f5f7f3; }
    body.authenticated .portal-intro { color: #a1a79e; }
    body.authenticated .dashboard-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body.authenticated .dashboard-stat { min-height: 112px; padding: 18px; border: 1px solid #303730; border-radius: 15px; background: #202620; }
    body.authenticated .dashboard-stat:first-child { color: #f4f8ee; border-color: #46613b; background: linear-gradient(135deg, #324b2e, #1e2b1d 75%); }
    body.authenticated .dashboard-stat span,
    body.authenticated .dashboard-stat small { color: #b0b8ac; }
    body.authenticated .dashboard-stat strong { color: #f5f8f1; font-size: 22px; letter-spacing: -.03em; }
    body.authenticated .balance-card { color: #f4f8ee; }
    body.authenticated .active-package-card { color: #f3f5f2; }
    body.authenticated .active-package-card p,
    body.authenticated .package-payout-note { color: #b0b8ac; }
    body.authenticated .portal-form .auth-field input { width: 100%; }
    body.authenticated .topup-history-item,
    body.authenticated .admin-request { color: #e8ede4; }
    body.authenticated .team-member { color: #e8ede4; }
    body.authenticated .team-stats { margin-top: 18px; }
    body.authenticated .team-stats .dashboard-stat:last-child { grid-column: auto; }
    body.authenticated .team-stats .dashboard-stat:first-child { color: #f4f8ee; }
    body.authenticated .account-package { padding: 20px; border-color: #303730; border-radius: 15px; background: #202620; }
    body.authenticated .account-package h3 { color: #f2f5ee; }
    body.authenticated .account-package p,
    body.authenticated .account-details span { color: #a1a99e; }
    body.authenticated .account-details { border-color: #353c34; }
    body.authenticated .account-details strong { color: #e8ede4; }
    body.authenticated .status-pill { color: #e8cb86; background: #3c3524; }
    body.authenticated .empty-state { border-color: #3a4436; color: #afb6aa; background: #1d231c; }
    body.authenticated .empty-state a { color: #c5f06e; }
    body.authenticated .profile-details div { border-color: #303730; }
    body.authenticated .profile-details dt,
    body.authenticated .profile-details dd { color: #c4c9c0; }
    body.authenticated .auth-field { color: #c4c9c0; }
    body.authenticated .auth-field input { border-color: #3a4239; color: #f3f5f2; background: #101410; }
    body.authenticated .auth-field input:focus { border-color: #a5d94f; box-shadow: 0 0 0 3px rgba(165, 217, 79, .13); }
    body.authenticated .wallet-help { color: #a1a79e; }
    body.authenticated .auth-feedback { color: #c5f06e; }
    body.authenticated .account-portal .button:not(.button-secondary) { color: #17200f; background: #a5d94f; box-shadow: none; }
    body.authenticated .account-portal .button:not(.button-secondary):hover { background: #b8e86b; }
    body.home-view { padding-bottom: 78px; }
    body.home-view .account-portal { min-height: 0; padding: 0; background: transparent; }
    body.home-view .account-portal > .container { height: 0; }
    body.home-view .portal-header,
    body.home-view .portal-page { display: none; }
    body.home-view .portal-layout { display: block; }
    body.home-view .portal-nav {
      position: fixed; z-index: 5; right: auto; bottom: 0; left: 50%; display: grid;
      width: min(100%, 420px); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
      padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border: 0;
      border-top: 1px solid #303730; border-radius: 0; background: #171b17;
      box-shadow: 0 -8px 24px rgba(0, 0, 0, .24); transform: translateX(-50%);
    }
    body.home-view .portal-nav button {
      display: flex; min-height: 50px; flex-direction: column; align-items: center;
      justify-content: center; gap: 3px; padding: 3px; color: #abb1a8; font-size: 10px;
    }
    body.home-view .portal-nav button[aria-current="page"] { color: #c5f06e; background: #252e20; }
    body.home-view:not(.user-is-admin) .portal-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    @media (max-width: 1000px) {
      .nav-links { gap: 20px; }
      .hero-grid { gap: 26px; }
      .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
      .package { min-height: 220px; padding: 22px 20px 18px; }
      .package-price { font-size: 36px; }
      body.authenticated .portal-layout { grid-template-columns: 180px minmax(0, 1fr); }
    }
    @media (max-width: 650px) {
      input,
      select,
      textarea { font-size: 16px !important; }
      .container { width: min(100% - 32px, 1160px); }
      .brand-mark { max-height: 42px; }
      .nav { min-height: 72px; }
      .nav-links { display: none; position: absolute; top: 64px; right: 16px; left: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 15px 35px rgba(39, 53, 102, .12); }
      .nav-links.is-open { display: grid; gap: 13px; }
      .nav .button { display: none; }
      .mobile-auth { display: flex; gap: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
      .mobile-auth button { padding: 0; border: 0; color: var(--blue-dark); background: none; font-size: 13px; font-weight: 700; cursor: pointer; }
      .account-actions { gap: 7px; margin-left: auto; }
      .account-actions .button { min-height: 36px; padding: 0 12px; font-size: 11px; }
      .menu-button { display: block; }
      .hero { padding: 48px 0 55px; }
      .hero-grid { grid-template-columns: 1fr; gap: 9px; }
      h1 { max-width: 540px; font-size: clamp(43px, 11vw, 60px); }
      .hero-copy { font-size: 15px; }
      .visual { min-height: 330px; margin-top: 6px; }
      .visual-orbit { width: min(94%, 370px); }
      .showcase { width: min(91%, 350px); }
      .floating-coin { right: 1%; }
      .floating-note { left: 0; }
      .plans-section { padding: 63px 0 67px; }
      .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 11px; }
      .package { min-height: 213px; padding: 19px 14px 14px; }
      .package-price { font-size: 33px; }
      .package-daily { font-size: 14px; }
      .footer-inner { align-items: flex-start; flex-direction: column; gap: 5px; }
      .footer-actions { margin-top: 8px; }
      .auth-section { padding: 16px; }
      .auth-panel { padding: 23px 18px; }
      .auth-panel { max-height: calc(100vh - 32px); }
      .auth-heading { padding: 0 24px; }
      .account-portal { padding: 30px 0 50px; }
      .portal-layout { grid-template-columns: 1fr; gap: 13px; }
      .topup-address-row { align-items: stretch; flex-direction: column; }
      .topup-copy-button { width: 100%; }
      .admin-user-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .admin-section-heading { align-items: flex-start; flex-direction: column; }
      .portal-nav { grid-template-columns: repeat(3, 1fr); padding: 7px; }
      .portal-nav button { padding: 10px 6px; text-align: center; font-size: 11px; }
      .portal-page { padding: 19px 15px; }
      .portal-header h1 { font-size: 30px; }
      .dashboard-cards { grid-template-columns: 1fr; }
      .profile-details div { grid-template-columns: 115px 1fr; gap: 10px; }
      body.authenticated { padding-bottom: 75px; }
      body.authenticated .site-header { border-bottom: 1px solid #252a25; }
      body.authenticated .nav { min-height: 60px; }
      body.authenticated .brand { font-size: 18px; }
      body.authenticated .account-portal { min-height: calc(100vh - 60px); padding: 22px 0 28px; }
      body.authenticated .portal-header { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
      body.authenticated .portal-header h1 { font-size: 25px; }
      body.authenticated .portal-header p { max-width: 250px; font-size: 12px; }
      body.authenticated .portal-header .button { min-height: 37px; padding: 0 12px; font-size: 11px; }
      body.authenticated .portal-layout { display: block; }
      body.authenticated .portal-nav { position: fixed; z-index: 5; right: auto; bottom: 0; left: 50%; width: min(100%, 420px); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border: 0; border-top: 1px solid #303730; border-radius: 0; background: #171b17; box-shadow: 0 -8px 24px rgba(0, 0, 0, .24); transform: translateX(-50%); }
      body.authenticated.user-is-admin .portal-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      body.authenticated .portal-nav button { min-width: 0; }
      body.authenticated .portal-nav button span:last-child { overflow: hidden; max-width: 100%; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
      body.home-view .portal-nav { right: auto; left: 50%; width: min(100%, 420px); grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); transform: translateX(-50%); }
      body.home-view.user-is-admin .portal-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      body.authenticated .portal-nav button { flex-direction: column; justify-content: center; gap: 3px; min-height: 50px; padding: 3px; font-size: 10px; }
      body.authenticated .portal-nav-icon { width: auto; height: 22px; }
      body.authenticated .portal-page { min-height: 0; padding: 20px 15px; }
      body.authenticated .portal-page h2 { font-size: 21px; }
      body.authenticated .profile-value[data-full-address] { white-space: nowrap; }
      body.authenticated .dashboard-cards { gap: 9px; margin-bottom: 14px; }
      body.authenticated .dashboard-stat:last-child { grid-column: 1 / -1; }
      body.authenticated .dashboard-stat { min-height: 100px; padding: 13px; }
      body.authenticated .dashboard-stat strong { font-size: 18px; }
      body.authenticated .dashboard-stat span { font-size: 10px; }
      body.authenticated .dashboard-stat small { font-size: 9px; }
      body.authenticated #dashboard-withdrawals-title { font-size: 14px; }
      body.authenticated .account-package { padding: 16px; }
      .running-package-tabs { gap: 6px; margin: 11px 0 14px; }
      .running-package-tab { min-height: 36px; padding: 0 11px; font-size: 11px; }
      .package-purchase-content { padding: 21px; }
      .package-purchase-details { gap: 10px; padding: 13px; }
      .package-purchase-details strong { font-size: 14px; }
      .package-purchase-dialog .balance-dialog-actions { flex-direction: column-reverse; }
      .package-purchase-dialog .balance-dialog-actions .button { width: 100%; }
      body.authenticated .balance-card { align-items: flex-start; flex-direction: column; padding: 15px; }
      body.authenticated .balance-actions { width: 100%; }
      body.authenticated .balance-actions .button { width: auto; flex: 1; }
      body.authenticated .portal-form .button { width: 100%; }
      body.authenticated .admin-request-actions .button { flex: 1; }
      .telegram-support { right: 16px; bottom: 100px; width: 48px; height: 48px; }
      body.authenticated .account-details { gap: 10px; }
      body.authenticated .account-details strong { font-size: 12px; }
      .team-invite-row { flex-direction: column; }
      .team-member { grid-template-columns: 1fr; }
      .team-member span { grid-column: 1; }
    }
    .member-highlight-mobile { display: none; }
    @media (max-width: 650px) {
      .hero-actions { gap: 10px; margin-top: 22px; }
      .hero-actions > .text-link { display: none; }
      .hero-actions > .button { min-height: 46px; padding: 0 15px; font-size: 12px; white-space: nowrap; }
      .floating-note { display: none; }
      .member-highlight-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 46px;
        padding: 0 12px;
        border: 1px solid rgba(165, 217, 79, .35);
        border-radius: 12px;
        color: #c5f06e;
        background: rgba(165, 217, 79, .09);
        white-space: nowrap;
      }
      .member-highlight-mobile strong { font-size: 17px; line-height: 1; letter-spacing: -.04em; }
      .member-highlight-mobile span { color: #e3e9dd; font-size: 10px; font-weight: 700; }
      .hero > .container.hero-grid > div:first-child > .member-highlight { display: none; }
    }
    @media (max-width: 370px) {
      .brand { font-size: 17px; }
      .account-actions { display: none; }
      .network-options { grid-template-columns: 1fr; }
      .packages { grid-template-columns: 1fr; gap: 13px; }
      .package { min-height: 190px; padding: 20px; }
      .package-price { font-size: 36px; }
    }
    /* Enhanced Dashboard: Balance, Active Package, & Withdrawals */
    .balance-info-group { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; flex: 1; }
    .balance-card > .balance-actions { margin-left: auto; }
    .balance-col { display: grid; gap: 3px; }
    .balance-col span { font-size: 11px; color: #a1a99e; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
    .balance-col strong { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.03em; color: #f4f8ee; }
    .balance-col-withdrawn strong { color: #c5f06e; }
    .withdrawn-value-row { display: inline-flex; align-items: center; gap: 8px; }
    .withdrawn-verify-badge {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      display: inline-block;
      vertical-align: middle;
      filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.55));
    }
    
    .account-package-active { position: relative; overflow: hidden; border: 1px solid #4a6836 !important; background: linear-gradient(145deg, #1d281a, #131812 85%) !important; box-shadow: 0 12px 35px rgba(0, 0, 0, .35), 0 0 0 1px rgba(165, 217, 79, .15) !important; }
    .account-package-active::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #a5d94f, #c5f06e, #a5d94f); background-size: 200% 100%; animation: gradient-slide 3s ease infinite; }
    @keyframes gradient-slide { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
    
    .status-pill-active { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: #23341c !important; color: #c5f06e !important; border: 1px solid #4f7434; font-size: 11px; font-weight: 700; }
    .status-pill-active .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #a5d94f; box-shadow: 0 0 8px #a5d94f; animation: pulse-glow 1.8s infinite; }
    @keyframes pulse-glow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.85); } }

    .package-progress-wrap { margin-top: 16px; padding: 14px; border: 1px solid #2d3829; border-radius: 12px; background: #182017; }
    .package-progress-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #b7c0b2; margin-bottom: 8px; }
    .package-progress-meta strong { color: #c5f06e; font-size: 12px; }
    .package-progress-wrap .package-progress { height: 8px; margin-top: 0; background: #273024; border-radius: 99px; }
    .package-progress-wrap .package-progress span { background: linear-gradient(90deg, #8bc83f, #c5f06e); border-radius: 99px; }

    .active-card-details { margin-top: 14px; }
    .active-card-notice { margin-top: 14px; padding: 11px 13px; border: 1px solid #36442e; border-radius: 9px; background: rgba(35, 48, 29, .6); color: #d1dcce; font-size: 11px; line-height: 1.5; }
    .active-card-notice strong { color: #c5f06e; }

    .account-package-completed { border: 1px solid #3c5432 !important; background: linear-gradient(145deg, #1b2519, #131713 85%) !important; }
    .status-pill-completed { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; background: #21331c !important; color: #c5f06e !important; border: 1px solid #4a6836; font-size: 11px; font-weight: 700; }
    .completed-card-desc { margin: 10px 0 0; color: #a8b0a2; font-size: 12px; line-height: 1.5; }
    .completed-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #2f382c; }
    .completed-card-actions .button { font-size: 12px; min-height: 40px; }

    .dashboard-withdrawals-section { margin-top: 24px; padding: 22px; border: 1px solid #292f29; border-radius: 16px; background: #171b17; }
    .section-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
    .section-title-row h3 { margin: 0; font-size: 16px; color: #f5f7f3; }
    .badge-count { font-size: 12px; color: #a1a99e; font-weight: 400; margin-left: 4px; }
    .button-small { min-height: 34px !important; padding: 0 14px !important; font-size: 11px !important; }

    .payout-banner-success { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 14px; border: 1px solid #436134; border-radius: 13px; background: linear-gradient(135deg, #20311c, #162014); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
    .payout-banner-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #a5d94f; color: #101410; font-size: 18px; font-weight: 900; }
    .payout-banner-content { flex: 1; min-width: 0; }
    .payout-banner-content strong { display: block; color: #eef3e9; font-size: 14px; }
    .payout-banner-content p { margin: 2px 0 0; color: #c5f06e; font-size: 12px; font-weight: 600; }
    .payout-banner-content small { display: block; margin-top: 3px; color: #a1a99e; font-size: 10px; word-break: break-all; }
    .status-pill-received { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; background: #23371a !important; color: #c5f06e !important; border: 1px solid #557d38; font-size: 11px; font-weight: 700; }

    .dashboard-withdrawals-list { display: grid; gap: 10px; }
    .dashboard-withdrawal-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #303730; border-radius: 12px; background: #202620; transition: border-color .15s; }
    .dashboard-withdrawal-card.is-approved { border-color: #3f5931; background: linear-gradient(145deg, #1c261b, #182017); }
    .dashboard-withdrawal-card-info strong { display: block; font-size: 15px; color: #f3f5f2; }
    .dashboard-withdrawal-card.is-approved .dashboard-withdrawal-card-info strong { color: #c5f06e; }
    .dashboard-withdrawal-card-info small { display: block; color: #a1a99e; font-size: 10.5px; margin-top: 2px; word-break: break-all; }

    /* Diamond Check-in Card (Styled to match design) */
    .diamond-checkin-card {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 20px;
      padding: 16px 20px;
      border: 1px solid #1a2a44;
      border-radius: 18px;
      background: #0d1726;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    }
    .diamond-card-header {
      display: flex;
      align-items: center;
      gap: 16px;
      width: 100%;
    }
    .diamond-card-title {
      margin: 0;
      font-size: 16px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: -0.2px;
      white-space: nowrap;
    }
    .diamond-progress {
      flex: 1;
      height: 6px;
      border-radius: 99px;
      background: #142238;
      overflow: hidden;
    }
    .diamond-progress span {
      display: block;
      height: 100%;
      border-radius: 99px;
      background: linear-gradient(90deg, #1d4ed8, #3b82f6);
      transition: width 0.4s ease;
    }
    .diamond-card-body {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
    }
    .diamond-checkin-left {
      display: flex;
      align-items: center;
      gap: 13px;
    }
    .diamond-icon-wrap {
      width: 48px;
      height: 48px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 13px;
      background: #142238;
      border: 1px solid #1e3352;
      color: #60a5fa;
    }
    .diamond-icon-wrap svg {
      width: 24px;
      height: 24px;
    }
    .diamond-checkin-info {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    #diamond-count-label {
      font-size: 16px;
      font-weight: 700;
      color: #60a5fa;
      letter-spacing: -0.2px;
    }
    .diamond-rate-badge {
      display: inline-flex;
      align-items: center;
      font-size: 11px;
      font-weight: 700;
      color: #93c5fd;
      background: rgba(59, 130, 246, 0.14);
      border: 1px solid rgba(59, 130, 246, 0.28);
      padding: 2px 8px;
      border-radius: 6px;
      letter-spacing: 0.2px;
      width: fit-content;
    }
    #diamond-progress-label {
      font-size: 11px;
      color: #64748b;
    }
    .diamond-btns-row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    .diamond-checkin-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 22px;
      font-size: 14px;
      font-weight: 700;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      background: #a3e635;
      color: #0f172a;
      transition: all 0.18s ease;
      box-shadow: 0 4px 14px rgba(163, 230, 53, 0.35);
      white-space: nowrap;
    }
    .diamond-checkin-btn svg {
      width: 15px;
      height: 15px;
      stroke: #0f172a;
    }
    .diamond-checkin-btn:not(:disabled):hover {
      background: #bef264;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(163, 230, 53, 0.45);
    }
    .diamond-checkin-btn:disabled {
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
      opacity: 0.65;
    }
    .diamond-checkin-btn.claimed {
      background: #1e293b;
      color: #64748b;
      border: 1px solid #334155;
    }
    .diamond-checkin-btn.claimed svg {
      stroke: #64748b;
    }
    .diamond-redeem-btn {
      display: inline-flex;
      align-items: center;
      padding: 10px 18px;
      font-size: 13px;
      font-weight: 700;
      border-radius: 12px;
      border: 1px solid #facc15;
      background: linear-gradient(135deg, #eab308, #ca8a04);
      color: #0f172a;
      cursor: pointer;
      transition: all 0.18s ease;
      box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
      white-space: nowrap;
    }
    .diamond-redeem-btn:hover {
      background: linear-gradient(135deg, #facc15, #eab308);
      transform: translateY(-1px);
    }
    .notice-icon { width: 14px; height: 14px; display: inline-block; vertical-align: middle; margin-right: 3px; }
    .section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
    .button-small { padding: 6px 14px; font-size: 12px; min-height: 32px; }


    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    }
