:root{--g-primary:#0243a5;--g-deep:#074588;--g-dark:#07317a;--g-light:#0047b1;--g-soft:#e3e9f3;--g-tint:#e6ecf6;--muted:#8593a9;--line:#d4dce7;--field:#e6ecf6;--bg-page:#e5ebf5;--card-shadow:0 12px 28px -16px #04409955}a:focus-visible,button:focus-visible{outline:3px solid #024ec1;outline-offset:3px}
/* Shared mobile sizing for customer pages and their static previews. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { width: 100%; max-width: 480px; margin-inline: auto; }
body .page, body .container, body .shell-page { width: 100%; max-width: 480px; margin-inline: auto; }
body .footer, body .app-header, body .bottom-bar, body .sheet { width: 100%; max-width: 480px; }
body .footer { padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); }
body .nav-item { min-width: 0; min-height: 44px; justify-content: center; font-size: 10px; gap: 3px; }
body .nav-item i { font-size: 18px !important; }
body .nav-item svg { width: 22px !important; height: 22px !important; }
body .sheet { max-height: 85vh; max-height: 85dvh; overflow-y: auto; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
body .page { padding: 12px 12px calc(86px + env(safe-area-inset-bottom)); }
body .quick-grid { gap: 6px; margin-bottom: 12px; }
body .quick-chip { min-width: 0; min-height: 72px; gap: 6px; border-radius: 14px; }
body .quick-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
body .quick-icon i { font-size: 20px !important; }
body .quick-label { font-size: 10px; font-weight: 600; }
body .menu-new { top: 3px; right: 3px; font-size: 8px; padding: 1px 5px; }
body .tabs { margin: 10px 0 12px; border-radius: 12px; }
body .tab { min-height: 44px; padding: 10px 4px; font-size: 13px; }
body .product-list { gap: 12px; }
body .product { grid-template-columns: 36% minmax(0, 1fr); padding: 12px; gap: 8px 12px; border-radius: 18px; }
body .product-title { min-width: 0; font-size: 16px; font-weight: 700; padding-right: 0; margin: 0; line-height: 1.35; }
body .product-hero { min-height: 142px; border-radius: 12px; }
body .product-info { min-width: 0; grid-template-columns: minmax(0, 1fr) auto; }
body .info-box { min-width: 0; padding: 6px 0; }
body .info-val { font-size: 16px; overflow-wrap: anywhere; letter-spacing: 0; }
body .info-label { font-size: 11px; }
body .info-box:nth-child(1) .info-val { font-size: 20px; letter-spacing: -.3px; }
body .info-box:nth-child(3) .info-val { font-size: 11px; }
body .info-box:nth-child(3) .info-label { font-size: 10px; }
body .info-box:nth-child(2), body .info-box:nth-child(4) { padding: 8px 0; gap: 5px; }
body .buy-wrap { padding-top: 2px; }
body .btn-buy { min-height: 44px; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 700; }
body .btn-buy::before { margin-right: 7px; }
body .vip-premium-label { margin-bottom: 2px; font-size: 12px; }
body .vip-offer-label { font-size: 10px; }
@media (max-width: 480px) {
  body .card { padding: 16px 14px; border-radius: 16px; }
  body .balance-card { padding: 18px; min-height: 124px; border-radius: 18px; }
  body .balance-amount { font-size: 28px; }
  body .balance-card .wallet-img { width: 110px; opacity: .75; }
  body .amount-grid { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .amount-item { min-height: 48px; padding: 13px 4px; border-radius: 12px; }
  body .amount-item .amt { font-size: 14px; }
  body .card-head { gap: 8px; flex-wrap: wrap; }
  body .menu-text, body .channel-info, body .copy-info { min-width: 0; overflow-wrap: anywhere; }
  body .menu-card .menu-item { min-height: 64px; gap: 10px; }
  body .menu-card .icon-wrap { width: 40px; height: 40px; border-radius: 12px; }
  body .menu-card .icon-wrap img { width: 30px; height: 30px; }
  body .hero:has(.hero-row) { padding: 26px 16px 76px; border-radius: 0 0 24px 24px; }
  body .hero-phone { font-size: 20px; }
  body .shell-card { padding-inline: 18px; }
  body .shell-input { padding: 12px 16px; }
  body .shell-input input, body .custom-input { font-size: 16px; }
  body .copy-row { gap: 8px; padding: 12px; }
  body .copy-btn { min-height: 44px; padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 360px) {
  body .page { padding-inline: 8px; }
  body .quick-grid { gap: 4px; }
  body .product { padding: 10px; gap: 6px 9px; grid-template-columns: 33% minmax(0, 1fr); }
  body .product-title { font-size: 14px; }
  body .info-box:nth-child(1) .info-val { font-size: 18px; }
  body .info-val { font-size: 14px; }
  body .info-label { font-size: 10px; }
  body .new-plan-price { white-space: normal; }
}

/* Premium rose finish shared by customer pages. */
:root{--g-primary:#2563eb;--g-deep:#1746a2;--g-dark:#153469;--g-light:#3b82f6;--g-soft:#e5f0ff;--g-tint:#f0f7ff;--field:#f0f7ff;--bg-page:#f7faff;--line:#cfe3ff;--muted:#526c80;--card-shadow:0 12px 28px -16px #1746a233}
body{accent-color:var(--g-primary)}
.shell-banner{background-image:radial-gradient(ellipse at 85% 15%,#ffffff30 0%,transparent 52%),linear-gradient(135deg,#0250c4 0%,#2563eb 55%,#1746a2 100%)!important}
.balance-card .wallet-img{filter:hue-rotate(0deg) drop-shadow(0 10px 18px #1746a235)}

/* Reference palette: navy through cyan to pale aqua. */
:root{--palette-navy:#153469;--palette-royal:#1746a2;--palette-blue:#2563eb;--palette-teal:#3b82f6;--palette-cyan:#60a5fa;--palette-aqua:#93c5fd;--palette-soft:#bfdbfe;--palette-light:#cfe3ff;--palette-pale:#e5f0ff;--g-primary:#2563eb;--g-deep:#1746a2;--g-dark:#153469;--g-light:#3b82f6;--g-soft:#e5f0ff;--g-tint:#f0f7ff;--field:#f0f7ff;--bg-page:#f7faff;--line:#cfe3ff;--muted:#526c80;--card-shadow:0 12px 28px -16px #1746a233}
