/* Kapponi 19X9 · red/black system refresh */
:root {
  color-scheme: dark;
  --accent: #e11d2e;
  --accent-dark: #aa1020;
  --accent-soft: rgba(225, 29, 46, .12);
  --accent-border: rgba(225, 29, 46, .28);
  --bg-primary: #08090b;
  --bg-secondary: #0d0e11;
  --bg-tertiary: #15161a;
  --card-bg: #101115;
  --surface-1: #101115;
  --surface-2: rgba(255,255,255,.035);
  --surface-hover: rgba(255,255,255,.065);
  --text-primary: #f6f6f7;
  --text-secondary: #b5b5bb;
  --text-muted: #7b7c83;
  --border: rgba(255,255,255,.09);
  --shadow-soft: 0 24px 70px rgba(0,0,0,.45);
  --shadow-card: 0 18px 45px rgba(0,0,0,.34);
  --radius-xl: 26px;
  --radius-lg: 19px;
  --radius-md: 13px;
  --store-width: 1180px;
}
[data-theme="light"] {
  color-scheme: dark;
  --accent: #e11d2e;
  --accent-dark: #aa1020;
  --accent-soft: rgba(225,29,46,.12);
  --accent-border: rgba(225,29,46,.28);
  --bg-primary: #08090b;
  --bg-secondary: #0d0e11;
  --bg-tertiary: #15161a;
  --card-bg: #101115;
  --text-primary: #f6f6f7;
  --text-secondary: #b5b5bb;
  --text-muted: #7b7c83;
  --border: rgba(255,255,255,.09);
}
html { background: #08090b; scroll-behavior: smooth; }
body { background: #08090b; color: var(--text-primary); }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Authentication */
.auth-container { min-height: 100svh; padding: 28px; background: radial-gradient(ellipse at 18% 8%, rgba(225,29,46,.14), transparent 34rem), #08090b; }
.auth-shell { width: min(1120px, 100%); min-height: min(720px, calc(100svh - 56px)); margin: auto; grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); border: 1px solid rgba(255,255,255,.09); border-radius: 28px; overflow: hidden; background: #0d0e11; box-shadow: 0 36px 100px rgba(0,0,0,.55); }
.auth-showcase { padding: clamp(32px,5vw,72px); background: linear-gradient(150deg, rgba(225,29,46,.16), transparent 48%), #090a0c; }
.auth-showcase::after { opacity: .25; background: radial-gradient(circle, rgba(225,29,46,.7) 1px, transparent 1.5px); }
.auth-brand-mark { border-color: rgba(225,29,46,.28); background: #111216; box-shadow: 0 0 45px rgba(225,29,46,.12); }
.auth-eyebrow, .auth-step, .section-eyebrow { color: #f04a57; letter-spacing: .16em; }
.auth-showcase h1 { max-width: 600px; color: #fff; font-size: clamp(34px,4.7vw,57px); line-height: 1.04; letter-spacing: -.055em; }
.auth-showcase p, .auth-benefits small { color: #a7a7ae; }
.auth-benefits > div { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.auth-benefits i, .auth-live span { color: #ee3343; background: rgba(225,29,46,.12); }
.auth-live { color: #d4d4d8; }
.auth-box { padding: clamp(28px,4vw,56px); background: #0e0f12; }
.auth-tabs { padding: 4px; border: 1px solid #232429; border-radius: 13px; background: #090a0c; }
.auth-tab { color: #8b8b93; border-radius: 10px; }
.auth-tab.active { color: #fff; background: #1a1b20; box-shadow: inset 0 0 0 1px rgba(225,29,46,.28); }
.auth-form-heading h2 { color: #fff; }
.auth-form-heading p, .auth-support-note, .auth-hint { color: #8f9097; }
.auth-label { color: #c9c9ce; }
.auth-label-row a, .auth-inline-link { color: #f04a57; }
.auth-form .input-group { border: 1px solid #292a30; border-radius: 12px; background: #090a0c; }
.auth-form .input-group:focus-within { border-color: rgba(225,29,46,.65); box-shadow: 0 0 0 3px rgba(225,29,46,.12); }
.auth-form .input-group > i { color: #777981; }
.auth-form input, .auth-form select { color: #f7f7f8; }
.auth-btn, .hero-primary, .continue-btn, .upload-btn-large { color: #fff !important; border: 1px solid #ef3343 !important; background: linear-gradient(135deg,#e11d2e,#b51222) !important; box-shadow: 0 12px 30px rgba(225,29,46,.2) !important; }
.auth-btn:hover, .hero-primary:hover, .continue-btn:hover, .upload-btn-large:hover { filter: brightness(1.1); transform: translateY(-1px); }
.auth-feedback { color: #ff6976; }
.password-strength span { background: #e11d2e; }
.terms-row a { color: #f04a57; }
.auth-mobile-brand { color: #fff; }

/* Store shell and navigation */
#mainApp { min-height: 100svh; background: #08090b; }
.top-bar { top: 0; min-height: 68px; padding: 0 max(22px, calc((100vw - 1240px)/2)); border-bottom: 1px solid #202126; background: rgba(8,9,11,.94); backdrop-filter: blur(20px); }
.logo-small { color: #fff; }
.logo-small span { color: #fff; }
.logo-small .brand-emblem { border-radius: 10px; }
.top-icons { gap: 8px; }
.top-icons button, .top-icons .cart-trigger { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; position: relative; border: 1px solid #292a30; border-radius: 12px; color: #bcbcc2; background: #121317; }
.top-icons button:hover { color: #fff; border-color: rgba(225,29,46,.5); background: rgba(225,29,46,.1); }
.top-icons button[onclick="toggleTheme()"] { display: none; }
.cart-trigger .cart-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border: 2px solid #08090b; border-radius: 999px; color: white; background: #e11d2e; font-size: 10px; font-weight: 800; }
.store-nav { top: 68px; border-bottom: 1px solid #1f2025; background: rgba(11,12,15,.96); backdrop-filter: blur(18px); }
.store-nav-inner { width: min(1180px, calc(100% - 36px)); min-height: 58px; justify-content: flex-start; gap: 8px; }
.store-nav-link { min-height: 40px; padding: 0 15px; border-radius: 10px; color: #a1a1a9; }
.store-nav-link.active { color: #fff; background: rgba(225,29,46,.13); box-shadow: inset 0 -2px #e11d2e; }
.store-nav-link:hover { color: #fff; background: #17181d; }
.notification-panel { border-color: #2b2c32; background: #101115; box-shadow: var(--shadow-soft); }
.notification-header, .notification-title { color: #fff; }
.notification-subtitle { color: #888992; }
.notification-list { color: #c3c3c9; }

/* The former dashboard menu becomes a true black side drawer */
.account-dashboard-backdrop { z-index: 1190; background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.menu-box.account-menu { top: 0; right: auto; bottom: 0; left: 0; width: min(410px, 89vw); max-height: 100dvh; padding: max(22px,env(safe-area-inset-top)) 18px max(22px,env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; overflow-y: auto; transform: translateX(-105%); border: 0; border-right: 1px solid #27282d; border-radius: 0 24px 24px 0; background: #050506; box-shadow: 35px 0 100px rgba(0,0,0,.68); }
.menu-box.account-menu.active, body.account-dashboard-open .menu-box.account-menu { transform: translateX(0); }
.account-menu-head { padding: 12px 4px 18px; }
.account-menu-kicker { color: #f04a57; letter-spacing: .16em; }
.account-menu-head strong { color: #fff; font-size: 25px; }
.account-menu-head p { color: #878890; }
.account-dashboard-overview { grid-template-columns: 1fr 1fr; border-color: rgba(225,29,46,.24); background: linear-gradient(130deg,rgba(225,29,46,.11),rgba(255,255,255,.015)); }
.account-dashboard-person { grid-column: 1/-1; }
.account-dashboard-avatar, .menu-item-icon { border-color: rgba(225,29,46,.24); color: #f04a57; background: rgba(225,29,46,.1); }
.account-dashboard-stat { border-left-color: #292a30; }
.account-menu-group { padding: 9px; background: transparent; }
.account-menu-label { color: #777981; letter-spacing: .15em; }
.menu-box .account-menu-item, .menu-box .account-menu-item + .account-menu-item { min-height: 58px; border: 1px solid transparent; background: #0c0d10; }
.menu-box .account-menu-item:hover { border-color: rgba(225,29,46,.32); color: #fff; background: #151114; }
.menu-item-copy strong { color: #ececef; }
.menu-item-copy small { color: #82838b; }
.menu-item-arrow { color: #65666d; }
.account-menu-footer { margin-top: auto; border-top: 1px solid #222329; }
.menu-box .account-menu-item.logout { border-color: rgba(225,29,46,.15); color: #ef5662; background: rgba(225,29,46,.06); }
.account-dashboard-close, .icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #2b2c32; border-radius: 12px; color: #c1c1c7; background: #121317; }
.account-dashboard-close:hover, .icon-button:hover { color: #fff; border-color: #e11d2e; background: rgba(225,29,46,.12); }

/* Storefront, catalogue, cards */
.store-view { background: #08090b; }
.storefront-hero { padding-top: clamp(66px,8vw,104px); background: radial-gradient(ellipse at 80% 10%,rgba(225,29,46,.15),transparent 34rem), linear-gradient(180deg,#0d0e11,#08090b); }
.hero-kicker, .section-eyebrow { color: #ef4b57; }
.hero-kicker span { background: #e11d2e; box-shadow: 0 0 15px rgba(225,29,46,.55); }
.shop-title { color: #fff; }
.hero-copy, .home-section-heading > p, .process-intro > p { color: #a0a0a8; }
.hero-info-card, .home-metrics article, .home-service-grid article, .home-process, .home-cta, .catalog-controls, .store-benefits article, .top-vip-section, .product-card { border-color: #25262b; background: linear-gradient(145deg,#111216,#0b0c0e); box-shadow: 0 20px 55px rgba(0,0,0,.27); }
.hero-card-icon, .home-service-grid article > i, .store-benefits article > i { color: #f04a57; border-color: rgba(225,29,46,.24); background: rgba(225,29,46,.1); }
.hero-assurances span, .home-metrics span, .home-service-grid p, .store-benefits span { color: #92939a; }
.home-metrics strong, .hero-info-card h2, .home-section-heading h2, .home-process h2, .home-cta h2, .catalog-hero h1 { color: #fff; }
.home-process, .catalog-controls, .home-cta { background: #0d0e11; }
.service-number, .process-steps article > span { color: #f04a57; background: rgba(225,29,46,.11); }
.hero-secondary, .top-vip-back { border-color: #2b2c32; color: #ddd; background: #131418; }
.hero-secondary:hover, .top-vip-back:hover { border-color: #e11d2e; color: #fff; }
.catalog-hero { background: radial-gradient(ellipse at 85% 0%,rgba(225,29,46,.11),transparent 27rem),#0a0b0d; }
.search-box { border-color: #2d2e34; background: #101115; }
.search-box input { color: #fff; }
.search-box:focus-within { border-color: #e11d2e; box-shadow: 0 0 0 3px rgba(225,29,46,.1); }
.filter-btn { border-color: #292a30; color: #aaaab1; background: #101115; }
.filter-btn.active, .filter-btn:hover { border-color: rgba(225,29,46,.45); color: #fff; background: rgba(225,29,46,.12); }
.category-header h2 { color: #fff; }
.category-count, .product-info > p, .product-meta, .duration-label { color: #999aa2; }
.product-card { border-radius: 20px; }
.product-card:hover { border-color: rgba(225,29,46,.45); box-shadow: 0 28px 65px rgba(0,0,0,.48); transform: translateY(-3px); }
.product-img-container { background: #08090b; }
.product-info h3 { color: #fff; }
.product-price, .vip-badge, .discount-badge { color: #fff !important; }
.vip-badge, .discount-badge, .category-badge { border-color: rgba(225,29,46,.3); background: rgba(225,29,46,.12); }
.category-badge { color: #e7e7ea; }
.product-old-price, .stock-count { color: #777981; }
.product-stock-wrap .stock-info, .stock-info.in-stock, .stock-info.low-stock, .stock-info.out-stock { color: #e5e5e8; border-color: #32333a; background: #17181c; }
.stock-info.in-stock { border-color: rgba(225,29,46,.28); color: #f47c85; background: rgba(225,29,46,.09); }
.duration-select, .custom-amount input, .search-input { border-color: #303137; color: #f3f3f5; background-color: #0b0c0f; }
.duration-select option { color: #f3f3f5; background: #111216; }
.card-controls { border-top-color: #25262b; }
.qty-selector button { border-color: #303137; color: #eee; background: #17181c; }
.buy-summary { background: #0a0b0d; }
.buy-summary .total { border-top-color: #28292e; color: #fff; }
.product-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 10px; }
.product-actions .buy-btn { min-width: 0; width: 100%; margin: 0; color: #fff; border: 1px solid #e11d2e; background: linear-gradient(135deg,#e11d2e,#a91020); }
.add-cart-btn { min-height: 44px; padding: 0 13px; border: 1px solid #34353b; border-radius: 12px; color: #e4e4e7; background: #17181c; font-weight: 750; }
.add-cart-btn:hover { border-color: #e11d2e; color: #fff; background: rgba(225,29,46,.12); }
.vip-tab { color: #f5f5f6; }

/* Checkout and payment flow */
.modal, .dashboard-panel, .my-reviews-panel, .reviews-modal { background: rgba(0,0,0,.82); backdrop-filter: blur(16px); }
.modal-content, .dashboard-content, .my-reviews-content, .reviews-content { border-color: #2c2d33; background: radial-gradient(circle at 8% 0%,rgba(225,29,46,.07),transparent 24rem),#101115; }
.dashboard-header, .reviews-header, .stepper-header { background: rgba(13,14,17,.96); border-bottom-color: #27282e; }
.dashboard-title, .step-info h2 { color: #fff; }
.step-counter, .amount-label, .step-title { color: #c6c6cb; }
.method-card, .country-card, .instruction-card, .rules-box, .payment-details, .amount-section, .rate-info { border-color: #2b2c31; background: #141519; }
.method-card:hover, .method-card.selected, .country-card:hover, .country-card.selected { border-color: #e11d2e; background: rgba(225,29,46,.1); }
.method-icon { color: #ef4b57; background: rgba(225,29,46,.1); }
.country-grid { grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); }
.country-card { color: #e5e5e8; }
.country-name { color: #f5f5f6; }
.country-methods { color: #94959c; }
.selected-country-display, .amount-preset { border-color: #2c2d33; background: #0f1013; }
.amount-preset { color: #dedee2; }
.amount-preset.selected, .amount-preset:hover { border-color: #e11d2e; color: #fff; background: rgba(225,29,46,.12); }
.payment-row { border-color: #2c2d33; background: #0f1013; }
.payment-row .label { color: #92939a; }
.payment-row .value { color: #f2f2f4; }
.copy-btn-small { border-color: #33343a; color: #e2e2e5; background: #17181c; }
.rules-box-header i, .instruction-header .flag { color: #f04a57; }
.rules-box li { color: #c1c1c7; }
.back-btn, .change-btn { color: #e8e8eb; border-color: #303137; background: #191a1f; }
.upload-area { border-color: #33343a; background: #101115; }
.file-name, .payment-note { color: #bbbcc2; }

/* Cart drawer */
.cart-backdrop { position: fixed; inset: 0; z-index: 1500; display: none; background: rgba(0,0,0,.68); backdrop-filter: blur(5px); }
.cart-backdrop.open { display: block; }
.cart-drawer { position: fixed; z-index: 1510; top: 0; right: 0; bottom: 0; width: min(460px,100vw); padding: max(22px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; transform: translateX(105%); transition: transform .24s ease; border-left: 1px solid #2a2b31; background: #08090b; box-shadow: -30px 0 90px rgba(0,0,0,.55); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid #26272d; }
.cart-head h2 { margin-top: 4px; color: #fff; font-size: 25px; }
.cart-items { flex: 1; overflow: auto; display: grid; align-content: start; gap: 10px; }
.cart-empty { padding: 44px 15px; text-align: center; color: #898a92; border: 1px dashed #303137; border-radius: 17px; }
.cart-empty i { display: block; margin-bottom: 12px; color: #e11d2e; font-size: 28px; }
.cart-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 14px; border: 1px solid #292a30; border-radius: 15px; background: #111216; }
.cart-item strong { display: block; color: #f5f5f6; }
.cart-item small { display: block; margin-top: 4px; color: #909199; }
.cart-item-price { color: #fff; font-weight: 800; text-align: right; }
.cart-item-actions { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.cart-item-actions button { min-width: 30px; height: 30px; border: 1px solid #303137; border-radius: 8px; color: #eee; background: #1a1b20; }
.cart-item-actions .remove { margin-left: auto; padding: 0 9px; color: #f27680; }
.cart-summary { padding-top: 14px; display: grid; gap: 10px; border-top: 1px solid #27282e; }
.cart-summary > div { display: flex; justify-content: space-between; color: #a2a3aa; font-size: 13px; }
.cart-summary strong { color: #fff; }
.cart-summary .hero-primary { width: 100%; min-height: 48px; justify-content: center; }
.cart-summary button:disabled { opacity: .45; cursor: not-allowed; }
.cart-continue { border: 0; color: #c0c0c6; background: none; }

/* Assistant */
.assistant-widget { position: fixed; z-index: 1450; right: max(20px,env(safe-area-inset-right)); bottom: max(22px,env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 12px; }
.assistant-launcher { min-height: 54px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #fff; background: linear-gradient(135deg,#e11d2e,#ae1322); box-shadow: 0 15px 38px rgba(0,0,0,.48),0 8px 24px rgba(225,29,46,.2); font-weight: 800; }
.assistant-launcher i { font-size: 18px; }
.assistant-panel { width: min(370px,calc(100vw - 32px)); height: min(540px,calc(100dvh - 110px)); display: none; grid-template-rows: auto 1fr auto auto; overflow: hidden; border: 1px solid #303137; border-radius: 20px; background: #0d0e11; box-shadow: var(--shadow-soft); }
.assistant-panel.open { display: grid; }
.assistant-head { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid #28292e; background: #08090b; }
.assistant-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #f04a57; background: rgba(225,29,46,.12); }
.assistant-head > div { flex: 1; display: grid; gap: 3px; }
.assistant-head strong { color: #fff; font-size: 13px; }
.assistant-head small { color: #85868d; font-size: 10px; }
.assistant-head .icon-button { width: 34px; height: 34px; }
.assistant-messages { padding: 14px; overflow-y: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.assistant-message { max-width: 88%; padding: 10px 12px; border-radius: 14px; color: #e7e7ea; background: #191a1f; font-size: 12px; line-height: 1.55; white-space: pre-line; }
.assistant-user { align-self: flex-end; border: 1px solid rgba(225,29,46,.2); background: rgba(225,29,46,.1); }
.assistant-quick-actions { padding: 2px 12px 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.assistant-quick-actions button { padding: 6px 9px; border: 1px solid #33343a; border-radius: 999px; color: #c7c7cc; background: #131418; font-size: 10px; }
.assistant-quick-actions button:hover { border-color: #e11d2e; color: #fff; }
.assistant-form { margin: 0 12px 12px; padding: 5px; display: flex; gap: 6px; border: 1px solid #303137; border-radius: 13px; background: #08090b; }
.assistant-form input { min-width: 0; flex: 1; border: 0; outline: 0; color: #fff; background: transparent; padding: 8px; font-size: 12px; }
.assistant-form button { width: 36px; height: 36px; border: 0; border-radius: 10px; color: #fff; background: #e11d2e; }
.assistant-support-link { margin-top: 6px; padding: 7px 10px; border: 1px solid rgba(225,29,46,.32); border-radius: 9px; color: #fff; background: rgba(225,29,46,.1); text-decoration: none; font-size: 11px; }

/* Install notice and iOS instructions */
.install-banner { position: fixed; z-index: 1700; right: 14px; bottom: max(14px,env(safe-area-inset-bottom)); left: 14px; max-width: 560px; margin-left: auto; padding: 11px; display: flex; align-items: center; gap: 10px; border: 1px solid #303137; border-radius: 16px; background: rgba(13,14,17,.97); box-shadow: 0 18px 55px rgba(0,0,0,.55); }
.install-banner-icon { width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(225,29,46,.3); border-radius: 12px; background: #090a0c; }
.install-banner-icon img { width: 100%; height: 100%; object-fit: cover; }
.install-banner-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.install-banner-copy strong { color: #fff; font-size: 12px; }
.install-banner-copy small { color: #92939a; font-size: 10px; }
.install-banner > button:not(.install-dismiss) { min-height: 36px; padding: 0 12px; border: 1px solid #e11d2e; border-radius: 10px; color: #fff; background: #c91628; font-size: 11px; font-weight: 800; }
.install-dismiss { width: 30px; height: 30px; border: 0; color: #aaaab1; background: transparent; }
.ios-install-overlay { position: fixed; z-index: 1800; inset: 0; padding: 18px; display: grid; place-items: end center; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.ios-install-card { width: min(480px,100%); padding: 24px; position: relative; border: 1px solid #33343a; border-radius: 23px; background: #101115; box-shadow: 0 30px 90px rgba(0,0,0,.65); }
.ios-install-close { position: absolute; top: 16px; right: 16px; }
.ios-install-card h2 { margin: 14px 0; color: #fff; font-size: 23px; }
.ios-install-card ol { margin: 0 0 19px; padding-left: 22px; color: #c2c2c8; font-size: 13px; line-height: 1.8; }
.ios-install-card li::marker { color: #e11d2e; font-weight: 800; }
.ios-install-card .hero-primary { width: 100%; justify-content: center; }

/* Prevent legacy green/blue/gold accents from leaking into the new brand */
.vip-card, .vip-label, .vip-amount, .vip-rank, .vip-avatar, .top-vip-heading i, .vip-crown { color: #f04a57 !important; }
.vip-card, .vip-avatar { border-color: rgba(225,29,46,.25) !important; background-color: #111216 !important; }
.profile-hero, .rank-badge, .rango-badge, .review-card, .contact-card, .info-card { border-color: #292a30; background-color: #111216; }
.profile-hero::before, .rank-badge, .profile-rank-badge { background: #e11d2e !important; color: #fff !important; }
.contact-card > i, .dashboard-title i, .profile-hero .profile-photo-large { color: #f04a57; }
.footer, .professional-footer-shell { color: #9b9ca3; background: #08090b; }
.professional-footer-status span { background: #e11d2e; }

@media (max-width: 900px) {
  .auth-container { padding: 14px; }
  .auth-shell { min-height: calc(100svh - 28px); grid-template-columns: 1fr; }
  .auth-showcase { display: none; }
  .auth-box { width: min(520px,100%); margin: auto; }
  .top-bar { padding: 0 14px; }
  .store-nav { top: 56px; }
  .store-nav-inner { min-height: 52px; }
  .storefront-hero { padding-top: 48px; }
}
@media (max-width: 620px) {
  .auth-container { padding: 0; }
  .auth-shell { min-height: 100svh; border: 0; border-radius: 0; }
  .auth-box { width: 100%; padding: 24px 20px max(26px,env(safe-area-inset-bottom)); }
  .auth-mobile-brand { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 4px 0 20px; }
  .auth-mobile-brand img { width: 36px; height: 36px; border-radius: 9px; }
  .top-bar { min-height: 56px; }
  .logo-small span { font-size: 12px; }
  .top-icons { gap: 5px; }
  .top-icons button, .top-icons .cart-trigger { width: 38px; height: 38px; }
  .store-nav-inner { width: calc(100% - 18px); justify-content: space-around; }
  .store-nav-link { min-width: 84px; padding: 0 10px; font-size: 11px; }
  .menu-box.account-menu { width: min(390px,92vw); border-radius: 0 21px 21px 0; }
  .home-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-service-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .catalog-hero { padding: 45px 18px 24px; }
  .catalog-controls, .home-cta { padding: 20px; }
  .store-benefits { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: minmax(0,1fr) auto; }
  .assistant-widget { right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); }
  .assistant-launcher { min-height: 48px; padding: 0 14px; }
  .assistant-launcher span { display: none; }
  .assistant-panel { width: min(350px,calc(100vw - 24px)); height: min(500px,calc(100dvh - 160px)); }
  .install-banner { right: 8px; left: 8px; bottom: max(8px,env(safe-area-inset-bottom)); }
  .cart-drawer { padding-right: 14px; padding-left: 14px; }
  .ios-install-overlay { padding: 8px; }
  .ios-install-card { padding: 20px; border-radius: 20px; }
  .modal-content, .dashboard-content { max-height: calc(100dvh - 18px); border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.auth-divider { margin: 16px 0 12px; display: flex; align-items: center; gap: 12px; color: #777981; font-size: 10px; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; content: ''; background: #2a2b31; }
.google-auth-btn { width: 100%; min-height: 46px; padding: 0 15px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #34353b; border-radius: 12px; color: #ededf0; background: #111216; font-size: 12px; font-weight: 750; }
.google-auth-btn:hover { border-color: rgba(225,29,46,.55); color: #fff; background: #171114; }
.google-auth-btn:disabled { opacity: .55; cursor: wait; }
.google-auth-mark { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid rgba(225,29,46,.3); border-radius: 7px; color: #f04a57; background: rgba(225,29,46,.1); font-weight: 900; }
.cart-stock-warning { margin-top: 7px; color: #f47780 !important; }
.cart-receipt { width: min(520px,100%); max-height: min(82dvh,760px); padding: 23px; overflow: auto; border: 1px solid #303137; border-radius: 22px; color: #d9d9de; background: #101115; box-shadow: var(--shadow-soft); }
.cart-receipt h2 { margin: 6px 0 10px; color: #fff; }
.cart-receipt p { color: #a4a5ac; }
.cart-receipt p strong { color: #f04a57; }
.cart-receipt article { margin: 10px 0; padding: 12px; display: grid; gap: 8px; border: 1px solid #2b2c32; border-radius: 12px; background: #0b0c0f; }
.cart-receipt article strong { color: #f4f4f5; font-size: 12px; }
.cart-receipt code { color: #f57a84; white-space: pre-wrap; word-break: break-all; }
.cart-receipt .hero-primary { width: 100%; margin-top: 10px; justify-content: center; }
#modalKeyContent [style*="#00ff88"], #modalKeyContent [style*="#25D366"], #modalKeyContent [style*="#f3cd44"], #modalKeyContent [style*="#d4af37"], #modalKeyContent [style*="#3b82f6"] { color: #f04a57 !important; border-color: rgba(225,29,46,.4) !important; }
#modalKeyContent [style*="rgba(0, 255, 136"], #modalKeyContent [style*="rgba(212, 175, 55"], #modalKeyContent [style*="rgba(37, 211, 102"] { background: rgba(225,29,46,.08) !important; }
#modalKeyContent [style*="background: #25D366"], #modalKeyContent [style*="background:#25D366"], #modalKeyContent [style*="background: #3b82f6"] { background: #c91628 !important; }
@media (min-width: 621px) { .install-banner { bottom: 88px; } }

.menu-box.account-menu { z-index: 1200; }
.ref-item { border-color: #292a30; background: #111216; }
.ref-item-earnings { max-width: 46%; color: #f27781 !important; font-size: 11px; text-align: right; white-space: normal; }
#maintenanceOverlay { background: rgba(0,0,0,.88); backdrop-filter: blur(12px); }
#maintenanceOverlay [style*="color: #00ff88"], #maintenanceOverlay [style*="color:#00ff88"], #maintenanceOverlay [style*="color: #22c55e"] { color: #f04a57 !important; }

.btn-mark-read, .notification-item strong .notification-status { color: #f04a57 !important; border-color: rgba(225,29,46,.28) !important; background: rgba(225,29,46,.1) !important; }
.notification-item::before { background: #e11d2e !important; }
.filter-btn.vip-tab, .top-vip-header h2, .vip-crown, .vip-card.rank-1 .vip-rank, .vip-card.rank-1 .vip-amount, .rank-card h3, .rank-benefits li::before { color: #f04a57 !important; }
.vip-card.rank-1, .rank-card { border-color: rgba(225,29,46,.28) !important; background: #111216 !important; box-shadow: 0 15px 38px rgba(0,0,0,.28) !important; }
.vip-card.rank-1 .vip-avatar { color: #f04a57 !important; border-color: rgba(225,29,46,.35) !important; background: rgba(225,29,46,.1) !important; }
.rank-progress-fill { background: linear-gradient(90deg,#aa1020,#e11d2e) !important; box-shadow: 0 0 16px rgba(225,29,46,.3) !important; }
.method-card .method-icon { color: #f04a57 !important; background: rgba(225,29,46,.1) !important; }
.rate-info p { color: #aaaab1 !important; }
.footer a { color: #a3a3aa !important; }
.footer a i { color: inherit !important; }
.footer a:hover { color: #e11d2e !important; border-color: rgba(225,29,46,.4) !important; }
.footer a[style*="#0088cc"], .footer a[style*="#e1306c"], .footer a[style*="#25d366"] { color: #a3a3aa !important; }
.footer a[style*="#0088cc"]:hover, .footer a[style*="#e1306c"]:hover, .footer a[style*="#25d366"]:hover { color: #e11d2e !important; }


/* Human support tickets: responsive status, safety notice, and owned-ticket actions. */
.assistant-panel { grid-template-rows: auto auto auto minmax(0,1fr) auto auto auto; }
.assistant-support-presence { display:grid; gap:6px; padding:8px 14px; border-bottom:1px solid #24252a; background:#0a0b0d; }
.assistant-presence-heading { display:flex; justify-content:space-between; gap:8px; color:#bfc0c6; font-size:10px; }
.assistant-presence-heading strong { color:#eeeef0; }
.assistant-presence-heading span { color:#9999a1; }
.assistant-presence-heading .is-online { color:#83d99a; }
.assistant-presence-heading .is-away { color:#e2b16e; }
.assistant-agent-list { display:flex; flex-wrap:wrap; gap:5px; }
.assistant-agent-chip { display:inline-flex; align-items:center; gap:5px; padding:3px 7px; border:1px solid #292a30; border-radius:999px; color:#b7b8be; background:#111216; font-size:9px; }
.assistant-agent-chip i { width:6px; height:6px; border-radius:50%; background:#77777e; }
.assistant-agent-chip.is-active i { background:#62d184; box-shadow:0 0 6px rgba(98,209,132,.45); }
.assistant-agent-chip small { color:#84858c; font-size:8px; }
.assistant-agent-empty { color:#888991; font-size:9px; }
.assistant-category-control { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 14px; border-bottom:1px solid #24252a; color:#a5a5ab; background:#090a0c; font-size:9px; }
.assistant-category-control select { min-width:0; max-width:62%; padding:6px 8px; border:1px solid #303137; border-radius:8px; color:#e6e6e9; background:#111216; font-size:9px; }
.assistant-category-control select:focus { border-color:#ff0000; outline:2px solid rgba(255,0,0,.14); }
.assistant-head strong span { color:#fff; }
.assistant-head small[data-online="true"] { color:#83d99a; }
.assistant-head small[data-online="false"] { color:#aaa; }
.assistant-safety-note { margin:0; padding:6px 12px; color:#c3aeb1; background:rgba(225,29,46,.06); font-size:9px; line-height:1.4; }
.assistant-safety-note i { margin-right:4px; color:#ff5668; }
.assistant-history-action { max-width:95%; padding:8px 10px; border:1px solid rgba(225,29,46,.24); border-radius:10px; color:#f0dfe1; background:#171013; font-size:10px; line-height:1.4; text-align:left; overflow-wrap:anywhere; cursor:pointer; }
.assistant-history-action:hover { border-color:#e11d2e; background:#211216; }
.assistant-support-link { display:inline-block; }
@media(max-width:560px) { .assistant-support-presence { padding:7px 11px; } .assistant-safety-note { font-size:8px; } .assistant-quick-actions { max-height:78px; overflow:auto; } }
