:root {
  --ink: #101b1a;
  --muted: #6e7c79;
  --line: #e4e9e7;
  --surface: #ffffff;
  --canvas: #f5f7f6;
  --lime: #c7f36b;
  --lime-dark: #a9db48;
  --mint: #e8fbd3;
  --navy: #122321;
  --orange: #ff8b5b;
  --shadow: 0 18px 45px rgba(16, 35, 33, 0.08);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 20px; fill: currentColor; }
.hidden { display: none !important; }

.splash-screen { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; color: white; background: var(--navy); transition: opacity .35s ease; }
.splash-content { display: grid; place-items: center; text-align: center; }
.splash-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 42px; font-size: 32px; letter-spacing: -1.7px; }
.splash-logo .brand-mark { width: 38px; height: 40px; padding: 7px; border-radius: 12px; }
.splash-logo .brand-mark i { width: 5px; }.splash-logo .brand-mark i:nth-child(1) { height: 11px; }.splash-logo .brand-mark i:nth-child(2) { height: 18px; }.splash-logo .brand-mark i:nth-child(3) { height: 25px; }
.splash-ring { position: relative; display: grid; place-items: center; width: 74px; height: 74px; }
.splash-ring svg { position: absolute; inset: 0; width: 74px; height: 74px; transform: rotate(-90deg); }
.splash-ring circle { fill: none; stroke-width: 4; }.ring-track { stroke: rgba(255,255,255,.12); }.ring-progress { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 188.5; stroke-dashoffset: 188.5; animation: fillRing 1.45s cubic-bezier(.42,0,.18,1) forwards; }
.splash-ring span { color: var(--lime); font-size: 11px; font-weight: 800; }.splash-ring span::after { content: "%"; }
.splash-content p { margin: 18px 0 0; color: #8fa19d; font-size: 10px; letter-spacing: .5px; }
@keyframes fillRing { to { stroke-dashoffset: 0; } }

.auth-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 43%) 1fr; background: white; }
.auth-visual { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 42px clamp(34px,5vw,80px); overflow: hidden; color: white; background: var(--navy); }
.auth-visual::before, .auth-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(199,243,107,.13); }.auth-visual::before { width: 480px; height: 480px; right: -260px; top: 13%; }.auth-visual::after { width: 310px; height: 310px; left: -210px; bottom: -90px; }
.auth-brand { position: relative; z-index: 1; width: max-content; padding: 0; }
.auth-message { position: relative; z-index: 1; margin: auto 0; }.auth-message h1 { max-width: 570px; margin: 14px 0 20px; font-size: clamp(37px,4.1vw,65px); line-height: 1.03; letter-spacing: -2.8px; }.auth-message p { max-width: 460px; margin: 0; color: #9cada9; font-size: 14px; line-height: 1.7; }
.auth-proof { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }.auth-proof > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: var(--navy); background: var(--lime); font-weight: 900; }.auth-proof p { display: grid; gap: 3px; margin: 0; }.auth-proof strong { font-size: 11px; }.auth-proof small { color: #849590; font-size: 9px; }
.auth-main { display: grid; place-items: center; min-height: 100vh; padding: 48px clamp(25px,6vw,90px); background: #fbfcfc; }.auth-mobile-brand { display: none; }
.auth-panel { display: none; width: min(410px,100%); animation: authEnter .3s ease; }.auth-panel.active { display: block; }.auth-panel > h2 { margin: 9px 0 8px; font-size: clamp(27px,3vw,38px); letter-spacing: -1.3px; }.auth-panel > p { margin: 0 0 25px; color: var(--muted); font-size: 12px; }
@keyframes authEnter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.google-button { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; height: 46px; border: 1px solid #dce3e0; border-radius: 9px; color: var(--ink); background: white; font-size: 12px; font-weight: 800; }.google-button:hover { border-color: #b9c5c1; background: #f7f9f8; }.google-button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #4285f4; font: 800 15px Arial; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 4px; color: #9aa5a2; font-size: 9px; }.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-form .field { margin-top: 13px; }.auth-form .field input { height: 47px; background: white; font-size: 12px; }.auth-form .button { min-height: 47px; margin-top: 20px; }
.auth-link, .auth-switch button, .auth-back { padding: 0; border: 0; color: #648d19; background: none; font-size: 10px; font-weight: 800; }.auth-link.right { display: block; margin: 10px 0 0 auto; }.auth-switch { margin: 25px 0 0 !important; text-align: center; }.auth-switch button { margin-left: 4px; }.auth-back { display: block; margin-bottom: 28px; color: #70817d; }
.auth-submit:disabled { cursor: wait; opacity: .65; }
.referral-notice { margin: 12px 0 2px; padding: 10px 12px; border: 1px solid #cce69b; border-radius: 8px; color: #527415; background: #f3fbe5; font-size: 9px; line-height: 1.5; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px 1fr; grid-template-rows: 76px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 244px; display: flex; flex-direction: column; padding: 26px 18px 20px; background: var(--navy); color: white; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 30px; color: white; font-size: 24px; font-weight: 800; letter-spacing: -1.2px; text-decoration: none; }
.brand-mark { position: relative; display: inline-flex; align-items: end; gap: 2px; width: 27px; height: 28px; padding: 5px; border-radius: 9px; background: var(--lime); transform: rotate(-3deg); }
.brand-mark i { display: block; width: 4px; border-radius: 4px; background: var(--navy); transform: rotate(13deg); }
.brand-mark i:nth-child(1) { height: 8px; }.brand-mark i:nth-child(2) { height: 13px; }.brand-mark i:nth-child(3) { height: 18px; }
.main-nav { display: grid; gap: 7px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 13px; border: 0; border-radius: 10px; color: #aebbb8; background: transparent; font-size: 14px; text-align: left; transition: .2s ease; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); }
.nav-item.active { color: var(--navy); background: var(--lime); font-weight: 700; }
.nav-item svg { width: 19px; }
.nav-count { margin-left: auto; min-width: 22px; padding: 2px 6px; border-radius: 20px; color: var(--navy); background: white; font-size: 11px; text-align: center; }
.nav-item.active .nav-count { background: var(--navy); color: white; }
.sidebar-bottom { margin-top: auto; }
.help-card { margin: 12px 0 16px; padding: 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(255,255,255,.035); }
.help-icon { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 12px; border-radius: 50%; background: var(--lime); color: var(--navy); font-weight: 800; }
.help-card strong { display: block; font-size: 13px; }.help-card p { margin: 6px 0 11px; color: #91a09d; font-size: 11px; line-height: 1.5; }
.text-button { padding: 0; border: 0; color: #80aa2e; background: none; font-weight: 700; font-size: 12px; }
.help-card .text-button { color: var(--lime); }
.profile-chip { display: flex; align-items: center; gap: 10px; padding: 14px 8px 3px; border-top: 1px solid rgba(255,255,255,.08); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; color: var(--navy); background: #ffb98d; font-size: 11px; font-weight: 800; }
.profile-chip > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }.profile-chip strong { font-size: 12px; }.profile-chip small { color: #80908d; font-size: 10px; }
.icon-button { margin-left: auto; padding: 5px; border: 0; color: #8ea09c; background: transparent; font-size: 17px; }

.topbar { grid-column: 2; position: sticky; top: 0; z-index: 15; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.93); backdrop-filter: blur(14px); }
.global-search, .catalog-search { display: flex; align-items: center; gap: 10px; color: #8b9895; }
.global-search { width: min(390px, 42vw); }.global-search input, .catalog-search input { width: 100%; border: 0; outline: none; color: var(--ink); background: transparent; }
.global-search input::placeholder, .catalog-search input::placeholder { color: #9ba6a4; }.global-search kbd { padding: 3px 7px; border: 1px solid #dce2e0; border-radius: 5px; background: #f7f8f8; font-size: 10px; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }.mode-badge { padding: 5px 8px; border-radius: 5px; color: #668f1a; background: var(--mint); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.mode-badge.live { color: #187455; background: #def7eb; }
.balance { position: relative; display: grid; gap: 1px; min-width: 88px; padding: 7px 30px 7px 14px; border: 1px solid var(--line); border-radius: 9px; background: white; text-align: left; }.balance span { color: var(--muted); font-size: 9px; }.balance strong { font-size: 13px; }.balance i { position: absolute; right: 9px; top: 50%; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: var(--navy); background: var(--lime); font-size: 12px; font-style: normal; font-weight: 800; transform: translateY(-50%); }
.notification { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: #5d6a68; background: white; }.notification span { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border: 2px solid white; border-radius: 50%; background: var(--orange); }
.mobile-logo { display: none; border: 0; background: none; }

.content { grid-column: 2; padding: 38px 34px 70px; overflow: hidden; }.view { display: none; max-width: 1380px; margin: 0 auto; animation: enter .3s ease; }.view.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.eyebrow { color: #83aa38; font-size: 9px; font-weight: 800; letter-spacing: 1.6px; }
.welcome-row, .page-heading.split { display: flex; align-items: end; justify-content: space-between; gap: 28px; }.welcome-row h1, .page-heading h1 { margin: 7px 0 6px; font-size: clamp(25px, 3vw, 35px); line-height: 1.15; letter-spacing: -1.3px; }.welcome-row h1 span { color: #6f7d79; font-weight: 450; }.welcome-row p, .page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 0 18px; border-radius: 9px; font-size: 12px; font-weight: 800; transition: .18s ease; }.button svg { width: 16px; }.button.primary { border: 1px solid var(--lime); color: var(--navy); background: var(--lime); box-shadow: 0 8px 20px rgba(156,205,62,.2); }.button.primary:hover { border-color: var(--lime-dark); background: var(--lime-dark); transform: translateY(-1px); }.button.secondary { border: 1px solid var(--line); color: var(--ink); background: white; }.button.secondary:hover { border-color: #c3ceca; }.button.full { width: 100%; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }.stat-card { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 5px 20px rgba(15,35,32,.025); }.stat-card.accent { color: white; border-color: var(--navy); background: var(--navy); }.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }.stat-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; color: #7da421; background: var(--mint); font-size: 16px; font-weight: 800; }.accent .stat-icon { color: var(--navy); background: var(--lime); }.trend { padding: 4px 7px; border-radius: 10px; color: #b9c8c4; background: rgba(255,255,255,.08); font-size: 8px; font-weight: 700; }.trend.positive { color: #5c8f09; background: var(--mint); }.trend.neutral { color: #74817e; background: #f1f4f3; }.stat-card > small { display: block; color: #788683; font-size: 10px; }.accent > small { color: #9caba8; }.stat-card > strong { display: block; margin: 5px 0 3px; font-size: 25px; letter-spacing: -.8px; }.stat-card > p { margin: 0; color: #9ba6a4; font-size: 9px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 37px 0 15px; }.section-heading h2 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.3px; }.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }.text-button.arrow span { margin-left: 4px; font-size: 16px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.featured-card { position: relative; min-width: 0; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: white; transition: .2s ease; }.featured-card:hover, .service-card:hover { border-color: #c8d4d0; box-shadow: var(--shadow); transform: translateY(-2px); }.featured-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 100px; height: 100px; border-radius: 50%; background: var(--platform-tint); }.service-top { display: flex; align-items: center; gap: 11px; }.platform-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 37px; height: 37px; flex: none; border-radius: 10px; color: white; background: var(--platform); font-size: 11px; font-weight: 800; }.instagram { --platform: linear-gradient(135deg,#8f4bd9,#f2496b,#ffab4b); --platform-tint: #fce7ef; }.tiktok { --platform: #151a1d; --platform-tint: #e8f8f4; }.youtube { --platform: #f04444; --platform-tint: #fce8e8; }.telegram { --platform: #3aa9e8; --platform-tint: #e3f4fd; }.facebook { --platform: #2878e5; --platform-tint: #e6f0fe; }.generic { --platform: #667773; --platform-tint: #edf1f0; }
.featured-card h3 { margin: 16px 0 5px; font-size: 14px; }.featured-card p { margin: 0 0 17px; color: var(--muted); font-size: 10px; }.featured-bottom { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; }.featured-price small { display: block; color: #99a4a2; font-size: 8px; }.featured-price strong { font-size: 16px; }.circle-action { display: grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 50%; color: var(--navy); background: var(--lime); font-weight: 800; }.skeleton-card { height: 155px; border-radius: 13px; background: linear-gradient(90deg,#edf0ef 25%,#f7f8f8 50%,#edf0ef 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; } @keyframes shimmer { to { background-position: -200% 0; } }

.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: white; }.table-card.large { margin-top: 17px; }.data-table { width: 100%; border-collapse: collapse; font-size: 11px; }.data-table th { padding: 11px 16px; color: #899592; background: #fafbfb; font-size: 8px; letter-spacing: .7px; text-align: left; text-transform: uppercase; }.data-table td { padding: 14px 16px; border-top: 1px solid #edf0ef; }.data-table strong { display: block; max-width: 260px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.data-table small { color: #8b9795; font-size: 9px; }.table-service { display: flex; align-items: center; gap: 10px; }.table-service .platform-icon { width: 29px; height: 29px; border-radius: 8px; font-size: 8px; }.status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 20px; background: #f0f2f2; color: #66736f; font-size: 8px; font-weight: 800; }.status::before { content:""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.status.completed { color: #43820f; background: #ebf8dd; }.status.active { color: #b66a13; background: #fff2d9; }.status.error { color: #b83b45; background: #fde8ea; }.empty-state { display: grid; place-items: center; min-height: 150px; padding: 28px; color: #899592; text-align: center; }.empty-state strong { margin-bottom: 5px; color: var(--ink); font-size: 13px; }

.page-heading { margin-bottom: 29px; }.catalog-layout { display: grid; grid-template-columns: minmax(0,1fr) 335px; gap: 22px; align-items: start; }.catalog-main { min-width: 0; }.catalog-search { height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 11px; background: white; }.category-chips { display: flex; gap: 7px; margin: 15px 0 21px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }.category-chips button, .filter { flex: none; padding: 8px 13px; border: 1px solid var(--line); border-radius: 20px; color: #697673; background: white; font-size: 10px; font-weight: 700; }.category-chips button.active, .filter.active { border-color: var(--navy); color: white; background: var(--navy); }.service-list-head { display: flex; justify-content: space-between; margin: 0 4px 9px; color: #85918e; font-size: 9px; text-transform: uppercase; letter-spacing: .5px; }.service-list { display: grid; gap: 9px; }.service-card { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 22px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: white; text-align: left; transition: .18s ease; }.service-card.selected { border-color: #9dc34b; box-shadow: 0 0 0 2px rgba(199,243,107,.3); }.service-info { display: flex; align-items: center; gap: 12px; min-width: 0; }.service-info > div { min-width: 0; }.service-info h3 { margin: 0 0 5px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.service-tags { display: flex; gap: 5px; }.tag { padding: 3px 6px; border-radius: 4px; color: #6d7b78; background: #f1f4f3; font-size: 8px; }.tag.refill { color: #5c8a0e; background: #eef9df; }.service-limits { color: #899592; font-size: 9px; white-space: nowrap; }.service-price { min-width: 80px; text-align: right; }.service-price strong { display: block; font-size: 14px; }.service-price small { color: #929d9a; font-size: 8px; }
.order-panel { position: sticky; top: 96px; min-height: 420px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }.order-empty { display: grid; place-items: center; min-height: 420px; padding: 40px; text-align: center; }.empty-orbit { position: relative; display: grid; place-items: center; width: 73px; height: 73px; margin-bottom: 18px; border: 1px dashed #b5c2be; border-radius: 50%; }.empty-orbit::before, .empty-orbit::after { content:""; position:absolute; border-radius:50%; background:var(--lime); }.empty-orbit::before { width: 11px; height: 11px; top: 3px; right: 8px; }.empty-orbit::after { width: 7px; height: 7px; bottom: 7px; left: 3px; }.empty-orbit i { width: 30px; height: 38px; border-radius: 50% 50% 45% 45%; background: var(--navy); transform: rotate(35deg); }.order-empty h3 { margin: 0 0 8px; font-size: 16px; }.order-empty p { max-width: 210px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }.order-form { padding: 21px; }.order-title { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }.order-title small { color: #90a09c; font-size: 8px; font-weight: 800; letter-spacing: .6px; }.order-title h3 { margin: 4px 0 0; font-size: 13px; line-height: 1.35; }.selected-meta { display: flex; gap: 6px; margin: 13px 0; }.field { display: grid; gap: 7px; margin-top: 14px; }.field > span { font-size: 10px; font-weight: 800; }.field input { height: 41px; padding: 0 12px; border: 1px solid #dce3e0; border-radius: 8px; outline: none; color: var(--ink); background: #fbfcfc; font-size: 11px; }.field input:focus { border-color: #9dbe5b; box-shadow: 0 0 0 3px rgba(199,243,107,.2); }.field small { color: #929e9b; font-size: 8px; }.quick-amounts { display: flex; gap: 6px; margin-top: 8px; }.quick-amounts button { flex: 1; padding: 6px 2px; border: 1px solid var(--line); border-radius: 6px; color: #66736f; background: white; font-size: 8px; }.quick-amounts button:hover { border-color: #9fbe63; }.price-summary { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px; margin: 18px 0 13px; padding: 14px; overflow: hidden; border-radius: 9px; background: var(--navy); color: white; }.price-summary::after { content:""; position:absolute; width:60px; height:60px; right:-25px; bottom:-30px; border-radius:50%; background:var(--lime); opacity:.15; }.price-summary span { color: #aebbb8; font-size: 9px; }.price-summary strong { grid-row: span 2; font-size: 20px; }.price-summary small { color: #788985; font-size: 8px; }.secure-note { margin: 10px 0 0; color: #8b9795; font-size: 8px; text-align: center; }

.order-filters { display: flex; gap: 7px; }.guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }.guide-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: white; }.guide-grid article > span { color: #84a942; font-size: 11px; font-weight: 800; }.guide-grid h3 { margin: 30px 0 9px; font-size: 15px; }.guide-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.referral-hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: 18px; }
.referral-copy { position: relative; min-height: 300px; padding: clamp(28px,4vw,50px); overflow: hidden; border-radius: 17px; color: white; background: var(--navy); }.referral-copy::after { content:""; position:absolute; width:300px; height:300px; right:-150px; bottom:-190px; border:45px solid var(--lime); border-radius:50%; opacity:.13; }.referral-gift { display:grid; place-items:center; width:46px; height:46px; margin-bottom:30px; border-radius:13px; color:var(--navy); background:var(--lime); font-size:23px; font-weight:900; }.referral-copy h2 { max-width:620px; margin:10px 0 15px; font-size:clamp(28px,3.8vw,47px); line-height:1.08; letter-spacing:-1.8px; }.referral-copy h2 span { color:var(--lime); }.referral-copy p { max-width:560px; margin:0; color:#a8b7b3; font-size:12px; line-height:1.7; }.referral-copy p strong { color:white; }
.referral-share-card { padding:28px; border:1px solid var(--line); border-radius:17px; background:white; box-shadow:var(--shadow); }.referral-link { display:flex; margin:18px 0 15px; padding:5px; border:1px solid #dce3e0; border-radius:10px; background:#f8faf9; }.referral-link input { width:100%; min-width:0; padding:0 8px; border:0; outline:0; color:#6b7975; background:transparent; font-size:10px; }.referral-link button { flex:none; padding:10px 15px; border:0; border-radius:7px; color:white; background:var(--navy); font-size:9px; font-weight:800; }.referral-code-row { display:flex; align-items:center; justify-content:space-between; padding:15px 2px; border-top:1px solid var(--line); }.referral-code-row span { color:var(--muted); font-size:9px; }.referral-code-row strong { font-size:18px; letter-spacing:2px; }.referral-share-card .button { margin-top:12px; }
.referral-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:18px; }.referral-stats article { display:grid; gap:4px; padding:20px; border:1px solid var(--line); border-radius:13px; background:white; }.referral-stats article.accent { color:white; border-color:var(--navy); background:var(--navy); }.referral-stats small { color:#85918e; font-size:9px; }.referral-stats strong { font-size:26px; }.referral-stats span { color:#99a4a2; font-size:8px; }.referral-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:34px; }.referral-steps article { display:flex; gap:14px; padding:22px; border-top:1px solid var(--line); }.referral-steps article > span { color:#80a63a; font-size:10px; font-weight:900; }.referral-steps h3 { margin:0 0 7px; font-size:13px; }.referral-steps p { margin:0; color:var(--muted); font-size:10px; line-height:1.55; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10,22,20,.72); backdrop-filter: blur(7px); }.modal { position: relative; width: min(390px,100%); padding: 30px; border-radius: 16px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.25); }.modal-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #75817e; background: #f0f3f2; font-size: 19px; }.modal-lock { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 19px; border-radius: 11px; color: var(--navy); background: var(--lime); font-size: 20px; font-weight: 800; }.modal h2 { margin: 7px 0; font-size: 22px; }.modal p { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.55; }.modal .button { margin-top: 18px; }.modal > small { display: block; margin-top: 11px; color: #98a3a1; font-size: 8px; text-align: center; }
.wallet-modal { width: min(440px,100%); max-height: min(760px,calc(100vh - 30px)); overflow-y: auto; }
.wallet-balance-card { position: relative; display: grid; gap: 4px; margin: 18px 0 22px; padding: 20px; overflow: hidden; border-radius: 12px; color: white; background: var(--navy); }.wallet-balance-card::after { content:""; position:absolute; width:100px; height:100px; right:-35px; bottom:-55px; border-radius:50%; background:var(--lime); opacity:.22; }.wallet-balance-card span { color:#aab9b5; font-size:9px; }.wallet-balance-card strong { font-size:30px; letter-spacing:-1px; }.wallet-balance-card small { color:#778985; font-size:8px; }
.topup-amounts { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; margin:12px 0 3px; }.topup-amounts button { padding:10px 4px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:white; font-size:11px; font-weight:800; }.topup-amounts button:hover, .topup-amounts button.active { border-color:var(--navy); color:white; background:var(--navy); }
.wallet-modal .payment-note { margin:10px 0 0; color:#8d9996; font-size:8px; text-align:center; }.wallet-modal .payment-note.unavailable { padding:9px; border-radius:7px; color:#9b641f; background:#fff4dc; }
.wallet-history { margin-top:23px; padding-top:18px; border-top:1px solid var(--line); }.wallet-history-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; font-size:10px; }.wallet-history-head small { color:#929d9a; font-size:8px; }.wallet-transaction { display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:9px; padding:10px 0; border-top:1px solid #eff2f1; }.transaction-icon { display:grid; place-items:center; width:30px; height:30px; border-radius:8px; color:#588514; background:var(--mint); font-weight:800; }.wallet-transaction.debit .transaction-icon { color:#a15827; background:#fff0e5; }.wallet-transaction strong { display:block; overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.wallet-transaction small { color:#929d9a; font-size:8px; }.transaction-amount { font-size:11px; font-weight:800; }.transaction-amount.credit { color:#4f8411; }.wallet-empty { padding:18px 0; color:#929d9a; font-size:9px; text-align:center; }
.recovery-code { display: grid; gap: 8px; padding: 18px; border: 1px dashed #9fbd65; border-radius: 11px; background: #f5fbe9; text-align: center; }.recovery-code span { color: #718952; font-size: 8px; font-weight: 800; letter-spacing: 1.1px; }.recovery-code strong { font-size: 22px; letter-spacing: 2px; user-select: all; }
.toast { position: fixed; z-index: 120; right: 25px; bottom: 25px; max-width: 350px; padding: 13px 17px; border-radius: 9px; color: white; background: var(--navy); box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s ease; }.toast.show { opacity: 1; transform: none; }.toast.error { background: #9e303b; }
.mobile-nav { display: none; }

@media (max-width: 1050px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .featured-grid { grid-template-columns: repeat(2,1fr); }.featured-card:nth-child(3) { display:none; }
  .catalog-layout { grid-template-columns: minmax(0,1fr) 310px; }
  .service-limits { display:none; }
  .referral-stats { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 760px) {
  .auth-screen { display: block; }.auth-visual { display: none; }.auth-main { display: block; min-height: 100vh; padding: 28px 22px 50px; }.auth-mobile-brand { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 45px; font-size: 22px; }.auth-mobile-brand .brand-mark { width: 25px; height: 26px; }.auth-panel { margin: 0 auto; }.auth-panel > h2 { font-size: 29px; }
  .app-shell { display:block; }.sidebar { display:none; }.topbar { height:65px; padding:0 16px; }.mobile-logo { display:block; }.global-search { display:none; }.balance { padding:6px 28px 6px 10px; }.notification { display:none; }
  .content { padding:25px 15px 95px; }.welcome-row { align-items:start; }.welcome-row .button { width:42px; min-width:42px; padding:0; font-size:0; }.stats-grid { gap:9px; margin-top:23px; }.stat-card { padding:15px; }.stat-card > strong { font-size:21px; }.stat-card > p { display:none; }.featured-grid { grid-template-columns:1fr; }.featured-card:nth-child(2) { display:none; }
  .catalog-layout { display:block; }.order-panel { position:relative; top:auto; min-height:0; margin-top:18px; }.order-empty { min-height:250px; }.service-card { grid-template-columns:minmax(0,1fr) auto; gap:9px; }.service-price { min-width:64px; }.category-chips { margin-bottom:16px; }
  .data-table th:nth-child(3), .data-table td:nth-child(3), .data-table th:nth-child(4), .data-table td:nth-child(4) { display:none; }.data-table th, .data-table td { padding:12px 10px; }.guide-grid { grid-template-columns:1fr; }.page-heading.split { align-items:start; }.page-heading.split .button { padding:0 12px; font-size:10px; }
  .referral-hero { grid-template-columns:1fr; }.referral-copy { min-height:270px; }.referral-steps { grid-template-columns:1fr; gap:0; }.referral-steps article { padding:18px 5px; }
  .mobile-nav { position:fixed; inset:auto 0 0; z-index:30; display:grid; grid-template-columns:repeat(5,1fr); height:66px; padding:7px 8px max(7px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:rgba(255,255,255,.96); backdrop-filter:blur(12px); }.mobile-nav button { display:grid; place-items:center; gap:2px; border:0; color:#8a9693; background:none; font-weight:800; }.mobile-nav span { font-size:8px; }.mobile-nav button.active { color:#557918; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 430px) {
  .mode-badge { display:none; }.welcome-row h1 { font-size:25px; }.stats-grid { grid-template-columns:1fr 1fr; }.stat-top { margin-bottom:10px; }.stat-card > small { font-size:9px; }.section-heading { margin-top:29px; }.orders-heading { align-items:start; }.orders-heading p { display:none; }.service-info h3 { max-width:185px; }.topbar-actions { gap:7px; }
  .referral-stats { grid-template-columns:1fr 1fr; gap:8px; }.referral-stats article { padding:15px; }.referral-copy, .referral-share-card { padding:23px; }.referral-copy h2 { font-size:29px; }
}

/* Visual system v5 */
:root {
  --ink: #0b1715;
  --muted: #64736f;
  --line: #dfe7e3;
  --surface: #ffffff;
  --canvas: #f2f6f4;
  --lime: #bdf45b;
  --lime-dark: #a5df3e;
  --mint: #eafbd2;
  --navy: #0b211d;
  --orange: #ff8a57;
  --shadow: 0 18px 55px rgba(10, 34, 29, .09);
  --shadow-soft: 0 8px 26px rgba(10, 34, 29, .055);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { color: var(--ink); background: radial-gradient(circle at 80% 0, rgba(189,244,91,.09), transparent 28%), var(--canvas); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid rgba(157,210,63,.35); outline-offset: 2px; }
button:disabled { cursor: not-allowed; opacity: .58; }
::selection { color: var(--navy); background: var(--lime); }

.brand-mark { width: 30px; height: 31px; padding: 6px; border-radius: 10px; box-shadow: 0 7px 18px rgba(189,244,91,.22); }
.brand-mark i { width: 4px; }
.brand { gap: 11px; font-size: 25px; letter-spacing: -1.4px; }

.splash-screen { background: radial-gradient(circle at 50% 40%, #173a33 0, var(--navy) 48%, #071613 100%); }
.splash-content p { color: #9eb1ac; font-size: 11px; }
.splash-ring { filter: drop-shadow(0 8px 20px rgba(189,244,91,.16)); }

.auth-screen { grid-template-columns: minmax(430px, 46%) 1fr; background: #f7faf8; }
.auth-visual { padding: 46px clamp(42px,5.5vw,90px); background: radial-gradient(circle at 95% 32%, rgba(189,244,91,.12), transparent 34%), linear-gradient(145deg, #0b211d 0%, #0a1a17 100%); }
.auth-visual::before { width: 560px; height: 560px; right: -285px; border-color: rgba(189,244,91,.18); }
.auth-message h1 { max-width: 620px; margin: 16px 0 23px; font-size: clamp(44px,4.5vw,70px); line-height: .99; letter-spacing: -3.7px; }
.auth-message p { color: #a7b8b3; font-size: 15px; }
.auth-proof { padding: 15px 17px; width: fit-content; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.035); }
.auth-main { padding: 48px clamp(34px,7vw,110px); background: radial-gradient(circle at 100% 0, rgba(189,244,91,.12), transparent 25%), #f7faf8; }
.auth-panel { width: min(470px,100%); padding: 40px; border: 1px solid rgba(220,229,225,.85); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: 0 28px 90px rgba(11,33,29,.1); backdrop-filter: blur(14px); }
.auth-panel > h2 { margin: 10px 0 9px; font-size: clamp(31px,3vw,42px); line-height: 1.06; letter-spacing: -1.8px; }
.auth-panel > p { margin-bottom: 27px; font-size: 13px; line-height: 1.55; }
.google-button { height: 50px; border-color: #d9e2de; border-radius: 12px; font-size: 12px; box-shadow: 0 2px 7px rgba(11,33,29,.02); transition: .2s ease; }
.google-button:hover { border-color: #afc0b9; box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.auth-form .field input { height: 50px; border-radius: 11px; background: #fbfdfc; font-size: 12px; }
.auth-form .button { min-height: 50px; border-radius: 11px; }
.auth-link, .auth-switch button, .auth-back { font-size: 11px; }

.app-shell { grid-template-columns: 268px minmax(0,1fr); grid-template-rows: 82px 1fr; }
.sidebar { width: 268px; padding: 28px 20px 22px; background: radial-gradient(circle at 20% 5%, rgba(189,244,91,.08), transparent 22%), var(--navy); box-shadow: 10px 0 40px rgba(7,24,20,.08); }
.sidebar .brand { padding: 0 12px 38px; }
.main-nav { gap: 6px; }
.main-nav::before { content: "WORKSPACE"; margin: 0 13px 7px; color: #61736e; font-size: 8px; font-weight: 800; letter-spacing: 1.6px; }
.nav-item { min-height: 47px; padding: 0 14px; border-radius: 12px; color: #9fb0ab; font-size: 13px; font-weight: 650; }
.nav-item svg { width: 18px; opacity: .82; }
.nav-item:hover { color: #f5fbf8; background: rgba(255,255,255,.065); transform: translateX(2px); }
.nav-item.active { color: #10231e; background: linear-gradient(135deg,var(--lime),#d5ff83); box-shadow: 0 10px 25px rgba(189,244,91,.16); }
.nav-item.active svg { opacity: 1; }
.help-card { margin: 12px 2px 17px; padding: 18px; border-color: rgba(255,255,255,.09); border-radius: 16px; background: linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.025)); }
.help-card p { color: #91a49e; }
.profile-chip { margin: 0 2px; padding: 16px 7px 3px; }
.avatar { width: 37px; height: 37px; background: linear-gradient(135deg,#ffd2af,#ff9f74); box-shadow: 0 8px 18px rgba(255,159,116,.15); }
.profile-chip strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.icon-button { width: 31px; height: 31px; border-radius: 9px; transition: .2s; }
.icon-button:hover { color: white; background: rgba(255,255,255,.08); }

.topbar { grid-column: 2; height: 82px; padding: 0 38px; border-color: rgba(213,224,219,.8); background: rgba(247,250,248,.88); }
.global-search { width: min(470px,42vw); height: 46px; padding: 0 14px; border: 1px solid rgba(216,225,221,.9); border-radius: 13px; background: rgba(255,255,255,.85); box-shadow: 0 4px 16px rgba(10,34,29,.035); }
.global-search svg, .catalog-search svg { width: 18px; }
.global-search kbd { border-radius: 7px; background: white; }
.topbar-actions { gap: 10px; }
.mode-badge { padding: 6px 9px; border-radius: 8px; }
.balance { min-width: 112px; padding: 8px 34px 8px 14px; border-radius: 12px; box-shadow: 0 4px 16px rgba(10,34,29,.035); }
.balance strong { font-size: 14px; }
.balance i { width: 19px; height: 19px; }
.notification { width: 42px; height: 42px; border-radius: 12px; }

.content { grid-column: 2; padding: 42px 38px 80px; }
.view { max-width: 1440px; }
.eyebrow { color: #719d20; font-size: 9px; letter-spacing: 1.75px; }
.welcome-row { position: relative; align-items: center; min-height: 190px; padding: 34px 36px; overflow: hidden; border: 1px solid #16342e; border-radius: 22px; color: white; background: radial-gradient(circle at 83% 30%,rgba(189,244,91,.18),transparent 22%), linear-gradient(130deg,#0b211d,#12362f); box-shadow: 0 22px 55px rgba(8,30,25,.13); }
.welcome-row::after { content:""; position:absolute; right:-70px; bottom:-125px; width:280px; height:280px; border:38px solid rgba(189,244,91,.1); border-radius:50%; }
.welcome-row > * { position: relative; z-index: 1; }
.welcome-row .eyebrow { color: var(--lime); }
.welcome-row h1 { margin: 9px 0 8px; font-size: clamp(30px,3vw,43px); letter-spacing: -2px; }
.welcome-row h1 span { color: #b6c5c1; }
.welcome-row p { color: #91a49e; font-size: 13px; }
.welcome-row .button.primary { min-height: 48px; padding: 0 21px; box-shadow: 0 12px 28px rgba(189,244,91,.2); }
.page-heading { margin-bottom: 32px; }
.page-heading h1 { margin-top: 9px; font-size: clamp(31px,3vw,42px); letter-spacing: -1.8px; }
.page-heading p { font-size: 13px; }
.button { min-height: 44px; border-radius: 11px; padding: 0 19px; }
.button.primary { box-shadow: 0 9px 24px rgba(157,210,63,.18); }
.button.secondary { background: rgba(255,255,255,.8); box-shadow: 0 4px 14px rgba(10,34,29,.03); }

.stats-grid { gap: 15px; margin-top: 20px; }
.stat-card { min-height: 148px; padding: 21px; border-color: rgba(218,227,223,.95); border-radius: 17px; box-shadow: var(--shadow-soft); transition: .2s ease; }
.stat-card:hover { border-color: #cbd9d3; transform: translateY(-2px); }
.stat-card.accent { border-color: #102d27; background: linear-gradient(145deg,#0b211d,#14362f); }
.stat-icon { width: 36px; height: 36px; border-radius: 10px; }
.stat-card > strong { margin: 7px 0 4px; font-size: 29px; }
.stat-card > small { font-size: 10px; font-weight: 650; }
.section-heading { margin: 42px 0 17px; }
.section-heading h2 { font-size: 20px; letter-spacing: -.7px; }
.section-heading p { font-size: 12px; }
.featured-grid { gap: 15px; }
.featured-card { min-height: 185px; padding: 21px; border-radius: 17px; box-shadow: 0 5px 18px rgba(10,34,29,.035); }
.featured-card::after { right: -42px; bottom: -55px; width: 135px; height: 135px; }
.featured-card h3 { margin: 20px 0 6px; font-size: 15px; }
.featured-card p { margin-bottom: 21px; font-size: 10px; }
.platform-icon { width: 41px; height: 41px; border-radius: 12px; box-shadow: 0 7px 17px rgba(10,34,29,.1); }
.circle-action { width: 36px; height: 36px; transition: .2s ease; }
.circle-action:hover { background: var(--lime-dark); transform: translateX(2px); }

.table-card { border-color: rgba(216,226,221,.95); border-radius: 17px; box-shadow: var(--shadow-soft); }
.data-table th { padding: 13px 18px; background: #f7faf8; font-size: 8px; }
.data-table td { padding: 16px 18px; }
.data-table tbody tr { transition: background .18s; }
.data-table tbody tr:hover { background: #fbfdfc; }
.data-table strong { font-size: 11px; }
.status { padding: 6px 9px; }
.empty-state { min-height: 180px; }

.catalog-layout { grid-template-columns: minmax(0,1fr) 360px; gap: 25px; }
.catalog-search { height: 54px; padding: 0 18px; border-radius: 14px; box-shadow: 0 5px 18px rgba(10,34,29,.035); }
.category-chips { gap: 8px; margin: 17px 0 23px; }
.category-chips button, .filter { padding: 9px 15px; border-radius: 10px; }
.category-chips button.active, .filter.active { box-shadow: 0 7px 16px rgba(11,33,29,.12); }
.service-list { gap: 10px; }
.service-card { min-height: 76px; padding: 16px; border-radius: 14px; box-shadow: 0 3px 14px rgba(10,34,29,.025); }
.service-card.selected { border-color: #9bcf3f; background: #fbfff5; box-shadow: 0 0 0 3px rgba(189,244,91,.25); }
.service-info h3 { margin-bottom: 7px; font-size: 12px; }
.service-price strong { font-size: 15px; }
.tag { border-radius: 6px; }
.order-panel { top: 103px; min-height: 460px; border-radius: 18px; box-shadow: 0 18px 52px rgba(10,34,29,.1); }
.order-empty { min-height: 460px; }
.order-form { padding: 25px; }
.order-title { padding-bottom: 19px; }
.field { gap: 8px; margin-top: 16px; }
.field > span { font-size: 10px; }
.field input { height: 45px; border-radius: 10px; background: white; }
.quick-amounts button { padding: 8px 3px; border-radius: 8px; }
.price-summary { margin-top: 21px; padding: 17px; border-radius: 12px; }
.price-summary strong { font-size: 23px; }

.guide-grid { gap: 16px; }
.guide-grid article { min-height: 225px; padding: 29px; border-radius: 18px; box-shadow: var(--shadow-soft); }
.guide-grid article > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--mint); }
.guide-grid h3 { margin: 35px 0 11px; font-size: 17px; }
.guide-grid p { font-size: 12px; }

.referral-hero { gap: 20px; }
.referral-copy, .referral-share-card { border-radius: 21px; }
.referral-copy { min-height: 330px; background: radial-gradient(circle at 90% 20%,rgba(189,244,91,.17),transparent 27%), linear-gradient(135deg,#0b211d,#12372f); box-shadow: 0 22px 58px rgba(8,30,25,.14); }
.referral-share-card { padding: 32px; }
.referral-link { padding: 6px; border-radius: 12px; }
.referral-link button { border-radius: 9px; }
.referral-stats { gap: 14px; margin-top: 20px; }
.referral-stats article { min-height: 126px; padding: 22px; border-radius: 16px; box-shadow: var(--shadow-soft); }
.referral-stats strong { font-size: 29px; }
.referral-steps article { border-radius: 14px; transition: background .2s; }
.referral-steps article:hover { background: rgba(255,255,255,.65); }

.modal-backdrop { background: rgba(5,20,17,.72); backdrop-filter: blur(10px); }
.modal { padding: 34px; border: 1px solid rgba(255,255,255,.7); border-radius: 21px; }
.wallet-modal { width: min(480px,100%); }
.wallet-balance-card { padding: 23px; border-radius: 16px; background: radial-gradient(circle at 90% 10%,rgba(189,244,91,.2),transparent 30%),var(--navy); }
.wallet-balance-card strong { font-size: 34px; }
.topup-amounts { gap: 9px; }
.topup-amounts button { padding: 12px 5px; border-radius: 10px; }
.wallet-transaction { padding: 12px 0; }
.toast { right: 28px; bottom: 28px; padding: 15px 19px; border-radius: 12px; font-size: 12px; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 236px minmax(0,1fr); }
  .sidebar { width: 236px; padding-inline: 16px; }
  .content { padding-inline: 28px; }
  .topbar { padding-inline: 28px; }
  .catalog-layout { grid-template-columns: minmax(0,1fr) 330px; }
}

@media (max-width: 760px) {
  body { background: #f4f7f5; }
  .auth-screen { min-height: 100svh; background: radial-gradient(circle at 50% -10%,rgba(189,244,91,.2),transparent 28%),#f6f9f7; }
  .auth-main { min-height: 100svh; padding: 26px 18px 46px; background: transparent; }
  .auth-mobile-brand { margin-bottom: 30px; font-size: 24px; }
  .auth-panel { padding: 27px 23px; border-radius: 20px; box-shadow: 0 18px 55px rgba(11,33,29,.09); }
  .auth-panel > h2 { font-size: 30px; letter-spacing: -1.3px; }
  .auth-panel > p { font-size: 12px; }
  .google-button, .auth-form .field input, .auth-form .button { height: 49px; }
  .app-shell { display: block; }
  .topbar { height: 70px; padding: 0 15px; background: rgba(247,250,248,.92); }
  .mobile-logo .brand-mark { width: 28px; height: 29px; }
  .balance { min-width: 106px; }
  .content { padding: 22px 14px 112px; }
  .welcome-row { display: block; min-height: 228px; padding: 27px 24px; border-radius: 19px; }
  .welcome-row h1 { max-width: 290px; margin-top: 10px; font-size: 30px; line-height: 1.08; }
  .welcome-row p { max-width: 260px; font-size: 11px; line-height: 1.55; }
  .welcome-row .button { position: absolute; right: 22px; bottom: 22px; width: 46px; min-width: 46px; height: 46px; }
  .stats-grid { gap: 9px; margin-top: 10px; }
  .stat-card { min-height: 133px; padding: 16px; border-radius: 15px; }
  .stat-card > strong { font-size: 24px; }
  .stat-icon { width: 33px; height: 33px; }
  .section-heading { margin-top: 34px; }
  .section-heading h2 { font-size: 18px; }
  .featured-card { min-height: 178px; }
  .page-heading { margin-bottom: 25px; }
  .page-heading h1 { font-size: 31px; }
  .catalog-search { height: 51px; }
  .service-card { min-height: 72px; padding: 13px; }
  .service-info h3 { max-width: 205px; }
  .order-panel { margin-top: 20px; border-radius: 17px; }
  .table-card { border-radius: 15px; }
  .guide-grid article { min-height: 0; }
  .referral-copy { min-height: 305px; }
  .referral-share-card { padding: 25px; }
  .referral-stats article { min-height: 112px; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: 92svh; padding: 28px 22px max(28px,env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .wallet-modal { width: 100%; max-height: 92svh; }
  .mobile-nav { inset: auto 10px max(9px,env(safe-area-inset-bottom)); height: 72px; padding: 8px 6px; border: 1px solid rgba(211,222,217,.95); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 15px 45px rgba(9,31,26,.16); }
  .mobile-nav button { border-radius: 13px; transition: .2s ease; }
  .mobile-nav button svg { width: 19px; }
  .mobile-nav span { font-size: 8px; }
  .mobile-nav button.active { color: var(--navy); background: var(--mint); }
  .toast { right: 14px; bottom: 94px; left: 14px; max-width: none; text-align: center; }
}

@media (max-width: 430px) {
  .auth-panel { padding: 25px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .referral-stats { gap: 9px; }
  .referral-stats article { padding: 16px; }
  .referral-stats strong { font-size: 24px; }
  .topup-amounts { grid-template-columns: repeat(2,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.referral-members-card { margin-top: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-soft); }
.referral-members-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.referral-members-head h2 { margin: 7px 0 5px; font-size: 21px; letter-spacing: -.7px; }
.referral-members-head p { margin: 0; color: var(--muted); font-size: 11px; }
.referral-members-count { flex: none; padding: 7px 11px; border-radius: 9px; color: #587b1a; background: var(--mint); font-size: 9px; font-weight: 800; }
.referral-members { display: grid; }
.referral-member { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 13px; min-height: 72px; border-bottom: 1px solid #edf2ef; }
.referral-member:last-child { border-bottom: 0; }
.referral-member-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--navy); background: linear-gradient(135deg,var(--lime),#dfff9d); font-size: 11px; font-weight: 900; }
.referral-member-info { display: grid; gap: 4px; min-width: 0; }
.referral-member-info strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.referral-member-info small { color: #8a9793; font-size: 9px; }
.referral-member-status { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 20px; font-size: 8px; font-weight: 800; }
.referral-member-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.referral-member-status.pending { color: #a26318; background: #fff3dc; }
.referral-member-status.rewarded { color: #4f8114; background: #edf9df; }
.referral-members-empty { display: grid; place-items: center; min-height: 145px; color: #8b9894; text-align: center; }
.referral-members-empty > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 50%; color: var(--navy); background: var(--mint); font-size: 18px; }
.referral-members-empty strong { color: var(--ink); font-size: 12px; }
.referral-members-empty small { margin-top: 5px; font-size: 9px; }

@media (max-width: 760px) {
  .referral-members-card { padding: 22px 18px; border-radius: 17px; }
  .referral-members-head { align-items: start; }
  .referral-members-head p { max-width: 215px; line-height: 1.5; }
  .referral-member { grid-template-columns: 40px minmax(0,1fr); gap: 11px; padding: 13px 0; }
  .referral-member-status { grid-column: 2; width: fit-content; margin-top: -4px; }
}

.topbar-logout { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; color: #60706c; background: rgba(255,255,255,.88); font-size: 10px; font-weight: 800; box-shadow: 0 4px 16px rgba(10,34,29,.035); transition: .2s ease; }
.topbar-logout svg { width: 17px; }
.topbar-logout:hover { color: #9b3540; border-color: #efcbd0; background: #fff6f7; transform: translateY(-1px); }

@media (max-width: 760px) {
  .topbar-logout { width: 42px; padding: 0; }
  .topbar-logout span { display: none; }
}
