@font-face{font-family:Cardinal;src:url("assets/fonts/cardinal.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Cardinal;src:url("assets/fonts/cardinal-alternate.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}

body[data-accent]{--red:var(--theme-accent);--red-dark:var(--theme-accent-dark);--red-soft:var(--theme-accent-soft);--red-light:var(--theme-accent-bright);--theme-focus:var(--theme-accent-glow)}
body[data-accent="crimson"]{--theme-accent:#db2838;--theme-accent-bright:#ff6572;--theme-accent-dark:#a91928;--theme-accent-soft:#42181e;--theme-accent-glow:#db28383a}
body[data-accent="ruby"]{--theme-accent:#ed3e69;--theme-accent-bright:#ff7d99;--theme-accent-dark:#b9204c;--theme-accent-soft:#481827;--theme-accent-glow:#ed3e6940}
body[data-accent="violet"]{--theme-accent:#9a67f6;--theme-accent-bright:#bd9aff;--theme-accent-dark:#7042c5;--theme-accent-soft:#302044;--theme-accent-glow:#9a67f642}
body[data-accent="gold"]{--theme-accent:#d79f32;--theme-accent-bright:#f3c66b;--theme-accent-dark:#a97717;--theme-accent-soft:#3a2d17;--theme-accent-glow:#d79f3240}
body[data-accent="emerald"]{--theme-accent:#31aa7d;--theme-accent-bright:#6de0b3;--theme-accent-dark:#207c5a;--theme-accent-soft:#17362c;--theme-accent-glow:#31aa7d40}

h1 em,h2 em,.hero h1 em,.feature-copy h2 em,.payment h2 em,.terms-lead h2 em,.order-modal h2 em,.conversation-heading h1 em,.setup-card h1 em,.login-card h1 em,.page-title-row h1 em{font-family:Cardinal,Georgia,"Times New Roman",serif}
.header-actions,.conversation-header-actions{display:flex;align-items:center;gap:9px}
.appearance-button{min-height:39px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:10px;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s,background .18s}
.appearance-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.5}
.appearance-button:hover{transform:translateY(-1px);border-color:var(--theme-accent-bright);box-shadow:0 0 15px var(--theme-accent-glow)}
.conversation-header-actions{gap:8px}
.admin-appearance{min-height:31px;padding-inline:9px;border-color:transparent;background:transparent;color:var(--muted);font-size:11px}
.admin-appearance:hover{border-color:var(--line);background:var(--surface);color:var(--ink)}
.game-icon-frame{position:relative;width:100%;height:100%;display:grid;place-items:center;overflow:hidden}
.game-icon-frame .game-icon{width:21px;height:21px}
.game-icon-file{position:absolute;inset:0;width:100%;height:100%;padding:4px;object-fit:contain}
.product-thumb-icon .game-icon-frame{width:100%;height:100%}
.product-thumb-icon .game-icon-frame .game-icon{width:19px;height:19px}
.theme-dialog{width:min(410px,calc(100% - 28px));max-width:none;margin:auto;padding:23px;border:1px solid var(--line);border-radius:18px;background:rgba(17,17,17,.92);backdrop-filter:blur(24px);color:var(--ink);box-shadow:var(--elev-4)}
.theme-dialog::backdrop{background:rgba(6,4,5,.72);backdrop-filter:blur(5px)}
.theme-dialog[open]{animation:theme-dialog-in .2s ease-out}
.theme-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}
.theme-kicker{color:var(--muted-2);font-size:8px;font-weight:700;letter-spacing:.18em}
.theme-dialog h2{margin:5px 0 0;font-size:27px;line-height:1.15;letter-spacing:-.04em}
.theme-dialog h2 em{color:var(--theme-accent-bright);font-size:1.08em;font-weight:400}
.theme-close{width:31px;height:31px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface-2);color:var(--ink);font-size:21px;line-height:1;cursor:pointer}
.theme-close:hover{border-color:var(--theme-accent-bright);color:var(--white)}
.theme-options{margin:0;padding:0;border:0}
.theme-options+ .theme-options{margin-top:19px}
.theme-options legend{margin-bottom:9px;color:var(--muted-2);font-size:9px;font-weight:700;letter-spacing:.1em}
.theme-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.theme-mode-options button{min-height:58px;padding:8px 10px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);color:var(--ink);text-align:left;font-size:10px;cursor:pointer}
.theme-mode-options button[aria-pressed="true"]{border-color:var(--theme-accent);background:color-mix(in srgb,var(--theme-accent) 12%,var(--surface-2));box-shadow:0 0 0 1px var(--theme-accent-glow)}
.mode-preview{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;font-size:15px}
.mode-dark{background:var(--surface);color:var(--theme-accent-bright)}
.mode-light{background:var(--surface-2);color:var(--theme-accent-dark)}
.accent-options{display:flex;align-items:center;gap:10px}
.accent-choice{width:29px;height:29px;padding:0;border:2px solid var(--surface-2);border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px var(--line);cursor:pointer;transition:transform .16s,box-shadow .16s}
.accent-choice:hover{transform:scale(1.12)}
.accent-choice[aria-pressed="true"]{box-shadow:0 0 0 2px var(--white),0 0 14px var(--theme-accent-glow)}
.accent-choice[data-theme-accent="crimson"]{--swatch:#db2838}.accent-choice[data-theme-accent="ruby"]{--swatch:#ed3e69}.accent-choice[data-theme-accent="violet"]{--swatch:#9a67f6}.accent-choice[data-theme-accent="gold"]{--swatch:#d79f32}.accent-choice[data-theme-accent="emerald"]{--swatch:#31aa7d}
.theme-footnote{margin:18px 0 0;color:var(--muted-2);font-size:9px}
.button-primary,.admin-button.primary-button,.cart-count,.floating-cart{background:var(--theme-accent)}
.button-primary:hover,.admin-button.primary-button:hover{background:var(--theme-accent-dark)}
.button-secondary,.button-quiet,.icon-button,.copy-button{background:var(--surface-2);color:var(--ink);border:1px solid var(--line)}
.button-secondary:hover,.button-quiet:hover,.icon-button:hover,.copy-button:hover{background:var(--surface);border-color:var(--theme-accent-border)}
.eyebrow-line,.game-label,.strip-mark,.fact-icon{color:var(--theme-accent-bright)}
.game-label{background:color-mix(in srgb,var(--theme-accent) 14%,var(--surface));border-color:color-mix(in srgb,var(--theme-accent) 38%,var(--line))}
.product-icon:not(.has-image){border-color:color-mix(in srgb,var(--theme-accent) 42%,var(--line));color:var(--theme-accent-bright);box-shadow:inset 0 0 18px var(--theme-accent-glow)}
.product-card:hover,.catalog-toolbar:focus-within{box-shadow:var(--elev-3),0 0 0 1px var(--theme-accent-glow)}
.add-button:hover:not(:disabled),.search-box:focus-within,.robux-input-label input:focus,.message-form textarea:focus{border-color:var(--theme-accent-bright);box-shadow:0 0 0 3px var(--theme-accent-glow)}
.filter-chip[aria-pressed="true"]{border-color:var(--theme-accent);color:var(--theme-accent-bright);background:color-mix(in srgb,var(--theme-accent) 16%,var(--surface));box-shadow:0 0 0 1px var(--theme-accent-glow),0 0 12px var(--theme-accent-glow)}
.conversation-heading h1 em,.terms-lead h2 em,.feature-copy h2 em,.payment h2 em,.hero h1 em,.order-modal h2 em{color:var(--theme-accent-bright)}
.page-title-row h1 em,.setup-card h1 em,.login-card h1 em{color:var(--theme-accent-bright)}
.brand-mark{background:var(--theme-accent)}
@keyframes theme-dialog-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}

body[data-theme="light"]{color-scheme:light;--base:#fafafa;--surface:#ffffff;--surface-2:#f0f0f0;--line:#e0e0e0;--ink:#1a1a1a;--muted:#666666;--muted-2:#999999;background:#fafafa;color:#1a1a1a;--theme-accent-text:var(--theme-accent-dark);--theme-accent-fill:color-mix(in srgb,var(--theme-accent) 9%,var(--surface));--theme-accent-border:color-mix(in srgb,var(--theme-accent) 38%,var(--line));--theme-accent-hover:var(--theme-accent-dark)}
body[data-theme="light"] .announcement{background:var(--surface);color:var(--muted);border-color:var(--line)}
body[data-theme="light"] .site-header{background:rgba(255,255,255,.9);border-color:var(--line);box-shadow:var(--elev-2);backdrop-filter:blur(20px) saturate(180%)}
body[data-theme="light"] .main-nav a,body[data-theme="light"] .header-order,body[data-theme="light"] .appearance-button{color:var(--ink)}
body[data-theme="light"] .header-order,body[data-theme="light"] .appearance-button{background:var(--surface);border-color:var(--line)}
body[data-theme="light"] .service-strip{background:var(--surface);border-color:var(--line);color:var(--ink)}
body[data-theme="light"] .eyebrow,body[data-theme="light"] .hero-facts small,body[data-theme="light"] .brand-copy small{color:var(--muted)}
body[data-theme="light"] .hero-facts{border-top-color:var(--line)}
body[data-theme="light"] .hero-copy>p,body[data-theme="light"] .payment-copy>p,body[data-theme="light"] .terms-body{color:var(--muted)}
body[data-theme="light"] .catalog-toolbar{border-color:var(--line)}
body[data-theme="light"] .search-box,body[data-theme="light"] .product-card,body[data-theme="light"] .calculator-card{background:var(--surface);border-color:var(--line);box-shadow:var(--elev-1)}
body[data-theme="light"] .product-card:hover{background:var(--surface-2);border-color:var(--theme-accent);box-shadow:var(--elev-3),0 0 0 1px var(--theme-accent-glow)}
body[data-theme="light"] .product-card .product-description,body[data-theme="light"] .section-heading>p,body[data-theme="light"] .product-price small,body[data-theme="light"] .orders-section .local-note{color:var(--muted)}
body[data-theme="light"] .product-number,body[data-theme="light"] .catalog-meta,body[data-theme="light"] .filter-chip{color:var(--muted)}
body[data-theme="light"] .product-icon:not(.has-image){background:color-mix(in srgb,var(--theme-accent) 8%,var(--surface));border-color:color-mix(in srgb,var(--theme-accent) 30%,var(--line))}
body[data-theme="light"] .game-label{background:color-mix(in srgb,var(--theme-accent) 9%,var(--surface));color:var(--theme-accent-dark)}
body[data-theme="light"] .search-box input,body[data-theme="light"] .robux-input-label input,body[data-theme="light"] .product-select{background:var(--surface);color:var(--ink)}
body[data-theme="light"] .search-box input::placeholder,body[data-theme="light"] .robux-input-label{color:var(--muted)}
body[data-theme="light"] .filter-chip:hover,body[data-theme="light"] .main-nav a:hover{color:var(--ink)}
body[data-theme="light"] .filter-chip[aria-pressed="true"]{color:var(--theme-accent-dark);background:color-mix(in srgb,var(--theme-accent) 12%,var(--surface));border-color:var(--theme-accent);box-shadow:0 0 0 1px var(--theme-accent-glow),0 0 12px var(--theme-accent-glow)}
body[data-theme="light"] .button-secondary,body[data-theme="light"] .button-quiet,body[data-theme="light"] .add-button,body[data-theme="light"] .icon-button,body[data-theme="light"] .copy-button{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .button-secondary:hover,body[data-theme="light"] .button-quiet:hover{background:var(--surface-2)}
body[data-theme="light"] .add-button{background:color-mix(in srgb,var(--theme-accent) 7%,var(--surface));color:var(--theme-accent-dark)}
body[data-theme="light"] .feature-band,body[data-theme="light"] .terms-section{background:var(--surface-2)}
body[data-theme="light"] .feature-copy,body[data-theme="light"] .terms-body{background:var(--surface)}
body[data-theme="light"] .terms-list,body[data-theme="light"] .terms-list details{border-color:var(--line)}
body[data-theme="light"] .terms-list summary span,body[data-theme="light"] .terms-list summary:after{color:var(--theme-accent-dark)}
body[data-theme="light"] .pix-key-block{background:var(--surface);border-color:var(--line);color:var(--ink)}
body[data-theme="light"] .pix-key-block p,body[data-theme="light"] .pix-key-block small{color:var(--muted)}
body[data-theme="light"] .steps-list,body[data-theme="light"] .step-item{border-color:var(--line)}
body[data-theme="light"] .step-item small,body[data-theme="light"] .feature-copy>p,body[data-theme="light"] .terms-lead>p,body[data-theme="light"] .terms-list p{color:var(--muted)}
body[data-theme="light"] .orders-section{border-color:var(--line)}
body[data-theme="light"] .order-history-item,body[data-theme="light"] .orders-empty,body[data-theme="light"] .empty-state{background:var(--surface);border-color:var(--line);color:var(--muted)}
body[data-theme="light"] .history-main small,body[data-theme="light"] .history-status{color:var(--muted-2)}
body[data-theme="light"] .site-footer{background:var(--surface-2);border-color:var(--line);color:var(--muted)}
body[data-theme="light"] .cart-drawer,body[data-theme="light"] .order-modal,body[data-theme="light"] .theme-dialog{background:rgba(255,255,255,.95);color:var(--ink);border-color:var(--line);backdrop-filter:blur(24px);box-shadow:var(--elev-4)}
body[data-theme="light"] .cart-drawer{box-shadow:-20px 0 70px rgba(0,0,0,.14)}
body[data-theme="light"] .cart-item,body[data-theme="light"] .cart-empty,body[data-theme="light"] .cart-footer,body[data-theme="light"] .form-order-summary,body[data-theme="light"] .protocol-card,body[data-theme="light"] .order-receipt,body[data-theme="light"] .success-pix{background:rgba(240,240,240,.95);color:var(--ink);border-color:var(--line);backdrop-filter:blur(24px);box-shadow:var(--elev-3)}
body[data-theme="light"] .cart-item small,body[data-theme="light"] .cart-total span,body[data-theme="light"] .cart-footer p,body[data-theme="light"] .modal-intro,body[data-theme="light"] .form-privacy,body[data-theme="light"] .form-field small{color:var(--muted-2)}
body[data-theme="light"] .form-field input,body[data-theme="light"] .form-field textarea{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .order-receipt{color:var(--ink)}
body[data-theme="light"] .success-pix-copy>strong{color:var(--ink)}
body[data-theme="light"] .success-pix-copy>p{color:var(--muted)}

/* Account modal - Light theme */
body[data-theme="light"] .account-dialog[open]{display:grid}
body[data-theme="light"] .account-modal{border-radius:var(--radius-lg);border:1px solid var(--line);background:rgba(255,255,255,.95);color:var(--ink);backdrop-filter:blur(24px);box-shadow:var(--elev-4);max-width:430px;width:min(92vw,430px)}
body[data-theme="light"] .account-modal .account-actions{display:flex;flex-direction:column;gap:9px;margin-top:12px}
body[data-theme="light"] .account-signed-in{text-align:center}
body[data-theme="light"] .account-orders{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}
body[data-theme="light"] .account-orders h3{margin:0 0 10px;font-size:14px;color:var(--muted)}
body[data-theme="light"] .account-orders .orders-empty{padding:14px 0;color:var(--muted-2)}
body[data-theme="light"] .account-orders .history-chat{color:var(--theme-accent-dark);text-decoration:underline}
body[data-theme="light"] .account-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;line-height:1}
body[data-theme="light"] .account-label{font-size:12px}

body[data-theme="light"] .account-form-view .eyebrow-line{background:var(--theme-accent)}
body[data-theme="light"] .account-form-view .modal-intro{color:var(--muted)}
body[data-theme="light"] .account-form-view .form-field{color:var(--ink)}
body[data-theme="light"] .account-form-view .form-field small{color:var(--muted-2)}
body[data-theme="light"] .account-form-view .form-field input,
body[data-theme="light"] .account-form-view .form-field textarea{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .account-form-view .form-field input:focus,
body[data-theme="light"] .account-form-view .form-field textarea:focus{border-color:var(--theme-accent-bright);box-shadow:0 0 0 3px var(--theme-accent-glow)}
body[data-theme="light"] .account-form-view .form-field input::placeholder,
body[data-theme="light"] .account-form-view .form-field textarea::placeholder{color:var(--muted-2)}

body[data-theme="light"] .account-form-view .form-message{color:var(--green);font-size:12px}
body[data-theme="light"] .account-form-view .form-error{color:var(--red-light);font-size:12px}

body[data-theme="light"] .account-form-view .account-actions .button-primary{background:var(--theme-accent);color:var(--white);border-color:var(--theme-accent);box-shadow:var(--elev-2)}
body[data-theme="light"] .account-form-view .account-actions .button-primary:hover{background:var(--theme-accent-dark);box-shadow:var(--crimson-glow)}
body[data-theme="light"] .account-form-view .account-actions .button-secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .account-form-view .account-actions .button-secondary:hover{background:var(--surface-2);border-color:var(--muted-2)}

body[data-theme="light"] .account-signed-in .eyebrow-line{background:var(--theme-accent)}
body[data-theme="light"] .account-signed-in h2{color:var(--ink)}
body[data-theme="light"] .account-signed-in .modal-intro{color:var(--muted)}
body[data-theme="light"] .account-signed-in .account-actions .button-primary{background:var(--theme-accent);color:var(--white);border-color:var(--theme-accent);box-shadow:var(--elev-2)}
body[data-theme="light"] .account-signed-in .account-actions .button-primary:hover{background:var(--theme-accent-dark);box-shadow:var(--crimson-glow)}
body[data-theme="light"] .account-signed-in .account-actions .button-secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .account-signed-in .account-actions .button-secondary:hover{background:var(--surface-2);border-color:var(--muted-2)}

body[data-theme="light"] .account-orders .orders-empty{color:var(--muted-2)}
body[data-theme="light"] .account-orders .history-chat:hover{color:var(--theme-accent)}
body[data-theme="light"] .account-orders .button-secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .account-orders .button-secondary:hover{background:var(--surface-2);border-color:var(--muted-2)}

body[data-theme="light"] .account-close{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .account-close:hover{background:var(--surface);border-color:var(--theme-accent-bright);box-shadow:0 0 15px var(--theme-accent-glow);color:var(--theme-accent-dark)}

body[data-theme="light"] .dialog-scrim{background:rgba(0,0,0,.4);backdrop-filter:blur(4px)}

@media(max-width:720px){body[data-theme="light"] .account-modal{width:min(96vw,410px)}}

body[data-theme="light"] .theme-mode-options button{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .theme-mode-options button[aria-pressed="true"]{background:color-mix(in srgb,var(--theme-accent) 10%,var(--surface));border-color:var(--theme-accent);box-shadow:0 0 0 1px var(--theme-accent-glow)}
body[data-theme="light"] .theme-close{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .theme-options legend{color:var(--muted-2)}
body[data-theme="light"] .theme-footnote{color:var(--muted-2)}
body[data-theme="light"] .conversation-page{background:var(--base)}
body[data-theme="light"] .conversation-page .conversation-heading p,body[data-theme="light"] .conversation-page .secure-note,body[data-theme="light"] .conversation-footer{color:var(--muted-2)}
body[data-theme="light"] .conversation-state,body[data-theme="light"] .order-panel,body[data-theme="light"] .chat-panel{background:var(--surface);color:var(--ink);border-color:var(--line);box-shadow:var(--elev-2)}
body[data-theme="light"] .order-panel-heading h2,body[data-theme="light"] .chat-header strong,body[data-theme="light"] .conversation-state strong,body[data-theme="light"] .chat-context strong{color:var(--ink)}
body[data-theme="light"] .order-total-card,body[data-theme="light"] .order-detail-section,body[data-theme="light"] .chat-context,body[data-theme="light"] .message-form{background:var(--surface-2);border-color:var(--line)}
body[data-theme="light"] .order-items li,body[data-theme="light"] .buyer-details dl div{color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .chat-header{background:var(--surface);border-color:var(--line)}
body[data-theme="light"] .chat-header small,body[data-theme="light"] .chat-context p,body[data-theme="light"] .order-total-card span,body[data-theme="light"] .order-detail-section h3{color:var(--muted)}
body[data-theme="light"] .message-scroll{background:var(--base)}
body[data-theme="light"] .message.from-buyer{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .message.from-admin{background:color-mix(in srgb,var(--theme-accent) 9%,var(--surface));color:var(--ink);border-color:color-mix(in srgb,var(--theme-accent) 23%,var(--line))}
body[data-theme="light"] .message p,body[data-theme="light"] .message strong{color:var(--ink)}
body[data-theme="light"] .message time,body[data-theme="light"] .message-empty{color:var(--muted-2)}
body[data-theme="light"] .message-form textarea{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .chat-error{background:var(--red-soft);color:var(--theme-accent-bright)}

body[data-theme="light"] .admin-topbar{background:var(--surface);border-color:var(--line);box-shadow:var(--elev-1)}
body[data-theme="light"] .admin-main{color:var(--ink)}
body[data-theme="light"] .admin-brand small,body[data-theme="light"] .admin-user,body[data-theme="light"] .breadcrumb{color:var(--muted-2)}
body[data-theme="light"] .breadcrumb b{color:var(--ink)}
body[data-theme="light"] .top-link{color:var(--muted)}
body[data-theme="light"] .top-link:hover{color:var(--ink)}
body[data-theme="light"] .sidebar,body[data-theme="light"] .stat-card,body[data-theme="light"] .panel-card,body[data-theme="light"] .toolbar-card,body[data-theme="light"] .table-wrap,body[data-theme="light"] .admin-order,body[data-theme="light"] .notification-item,body[data-theme="light"] .table-empty,body[data-theme="light"] .product-editor,body[data-theme="light"] .setup-card,body[data-theme="light"] .login-card{background:var(--surface);color:var(--ink);border-color:var(--line);box-shadow:var(--elev-1)}
body[data-theme="light"] .side-link{color:var(--muted)}
body[data-theme="light"] .side-link.is-active,body[data-theme="light"] .side-link:hover{background:color-mix(in srgb,var(--theme-accent) 9%,var(--surface));color:var(--ink)}
body[data-theme="light"] .side-link>span,body[data-theme="light"] .stat-card>span,body[data-theme="light"] .stat-card>small,body[data-theme="light"] .stat-card>i,body[data-theme="light"] .panel-heading .eyebrow,body[data-theme="light"] .empty-inline,body[data-theme="light"] .page-subtitle,body[data-theme="light"] .settings-section>p,body[data-theme="light"] .refresh-note{color:var(--muted-2)}
body[data-theme="light"] .stat-card>strong,body[data-theme="light"] .panel-heading h2,body[data-theme="light"] .settings-section h2,body[data-theme="light"] .page-title-row h1{color:var(--ink)}
body[data-theme="light"] .settings-section{border-color:var(--line)}
body[data-theme="light"] .login-card label,body[data-theme="light"] .settings-form label,body[data-theme="light"] .product-editor label{color:var(--muted)}
body[data-theme="light"] .login-card input,body[data-theme="light"] .settings-form input,body[data-theme="light"] .product-editor input,body[data-theme="light"] .product-editor select,body[data-theme="light"] .product-editor textarea,body[data-theme="light"] .toolbar-card select,body[data-theme="light"] .admin-search,body[data-theme="light"] .order-actions select{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .admin-search input{color:var(--ink)}
body[data-theme="light"] .admin-search input::placeholder{color:var(--muted-2)}
body[data-theme="light"] .data-table th{background:var(--surface-2);color:var(--muted)}
body[data-theme="light"] .data-table td{color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .product-cell strong,body[data-theme="light"] .order-card-data b,body[data-theme="light"] .notification-explainer b{color:var(--ink)}
body[data-theme="light"] .product-cell small,body[data-theme="light"] .order-card-head small,body[data-theme="light"] .order-card-data span,body[data-theme="light"] .notification-item time{color:var(--muted-2)}
body[data-theme="light"] .product-thumb{background:var(--surface-2);border-color:var(--line)}
body[data-theme="light"] .quiet-button,body[data-theme="light"] .row-action,body[data-theme="light"] .notification-item button,body[data-theme="light"] .editor-close{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .order-lines{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
body[data-theme="light"] .notification-explainer{background:var(--surface-2);color:var(--muted);border-color:var(--line)}
body[data-theme="light"] .product-overlay{background:rgba(10,10,10,.6)}
body[data-theme="light"] .upload-preview{background:var(--surface-2);color:var(--muted);border-color:var(--line)}

@media(max-width:720px){.appearance-button{min-height:35px;padding-inline:9px;font-size:9px}.header-actions{gap:6px}.admin-appearance{min-height:29px;padding-inline:6px}.theme-dialog{padding:19px}.conversation-header-actions{gap:6px}}
@media(max-width:390px){.header-actions{gap:5px}.appearance-button{gap:5px;padding-inline:7px;font-size:8px}.appearance-button svg{width:14px;height:14px}.header-actions .appearance-button span,.conversation-header-actions .appearance-button span,.admin-appearance span{display:none}.theme-dialog h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.theme-dialog[open],.accent-choice,.appearance-button{animation:none;transition:none}}

/* Shared accent tokens keep prices, category cards, and controls in sync. */
body[data-accent]{
  --theme-accent-text:var(--theme-accent-bright);
  --theme-accent-fill:color-mix(in srgb,var(--theme-accent) 12%,var(--surface));
  --theme-accent-border:color-mix(in srgb,var(--theme-accent) 42%,var(--line));
  --theme-accent-hover:color-mix(in srgb,var(--theme-accent) 88%,white);
}
body[data-theme="light"]{
  --theme-accent-text:var(--theme-accent-dark);
  --theme-accent-fill:color-mix(in srgb,var(--theme-accent) 9%,var(--surface));
  --theme-accent-border:color-mix(in srgb,var(--theme-accent) 38%,var(--line));
  --theme-accent-hover:var(--theme-accent-dark);
}
body[data-accent] :is(.product-price strong,.calculator-result strong,.cart-item-price,.cart-total strong,.order-total-card strong,.item-price,[data-calculated-price]){color:var(--theme-accent-text)}
body[data-accent] :is(.game-label,.eyebrow-line,.strip-mark,.fact-icon,.terms-check a,.form-field>span){color:var(--theme-accent-text)}
body[data-accent] :is(.button-primary,.cart-count,.floating-cart){background:var(--theme-accent)}
body[data-accent] :is(.button-primary:hover,.admin-button.primary-button:hover){background:var(--theme-accent-hover)}
body[data-accent] :is(.header-order:hover,.appearance-button:hover,.theme-dialog,.theme-close:hover,.product-card:hover,.conversation-thread:hover){border-color:var(--theme-accent-border)}
body[data-accent] :is(.product-card:hover,.calculator-card:hover,.theme-dialog,.conversation-thread:hover){box-shadow:var(--elev-3),0 0 22px var(--theme-accent-glow)}
body[data-accent] :is(.add-button:hover:not(:disabled),.search-box:focus-within,.robux-input-label input:focus,.message-form textarea:focus,.form-field input:focus,.form-field textarea:focus,.admin-search:focus-within,.settings-form input:focus,.product-editor input:focus,.product-editor select:focus,.product-editor textarea:focus){border-color:var(--theme-accent-bright);box-shadow:0 0 0 3px var(--theme-accent-glow)}
body[data-accent] :is(.terms-check input,.settings-form input[type="checkbox"]){accent-color:var(--theme-accent)}
body[data-accent] .filter-list{scrollbar-color:var(--theme-accent-border) var(--theme-accent-fill)}
body[data-accent] .filter-list::-webkit-scrollbar-track{background:var(--theme-accent-fill)}
body[data-accent] .filter-list::-webkit-scrollbar-thumb{background:var(--theme-accent-border)}
body[data-accent] [data-category-card]{border-color:var(--line)}
body[data-accent] [data-category-card]:hover,
body[data-accent] [data-category-card][aria-pressed="true"]{border-color:var(--theme-accent);box-shadow:0 0 0 1px var(--theme-accent-glow),var(--elev-3)}
body[data-accent] [data-category-card][aria-pressed="true"] :is(strong,span){color:var(--theme-accent-text)}
body[data-accent] ::selection{background:var(--theme-accent);color:var(--white)}

body[data-theme="light"] :is(.product-card,.calculator-card,.theme-dialog,[data-category-card]){color:var(--ink)}
body[data-theme="light"] :is(.product-price strong,.calculator-result strong,.cart-item-price,.cart-total strong,.order-total-card strong,.item-price,[data-calculated-price]){color:var(--theme-accent-dark)}
body[data-theme="light"] :is(.product-icon:not(.has-image),.game-label,[data-category-card][aria-pressed="true"]){background:var(--theme-accent-fill);border-color:var(--theme-accent-border)}
body[data-theme="light"] :is(.product-icon:not(.has-image),.game-label,[data-category-card][aria-pressed="true"]){color:var(--theme-accent-dark)}
body[data-theme="light"] [data-category-card]:hover,
body[data-theme="light"] [data-category-card][aria-pressed="true"]{box-shadow:var(--elev-2),0 0 0 1px var(--theme-accent-glow)}
body[data-theme="light"] :is(.cart-count,.floating-cart){color:var(--white)}
body[data-theme="light"] :is(.theme-dialog h2 em,.conversation-heading h1 em,.terms-lead h2 em,.feature-copy h2 em,.payment h2 em,.hero h1 em,.order-modal h2 em,.page-title-row h1 em,.setup-card h1 em,.login-card h1 em,.category-heading h2 em){color:var(--theme-accent-dark)}
body[data-theme="light"] :is(.strip-mark,.fact-icon){color:var(--theme-accent-dark)}
body[data-theme="light"] .calculator-result{background:var(--surface-2)}
body[data-theme="light"] .calculator-result span{color:var(--muted)}
