:root {
  --bg: #080b12;
  --panel: #101521;
  --panel2: #151b28;
  --line: #252c3a;
  --muted: #a6adbc;
  --text: #f7f8fb;
  --purple: #ff222b;
  --pink: #ff3a43;
  --cyan: #5a86ff;
  --green: #54e262;
}

body { background: var(--bg); color: var(--text); }
.topbar { background: #080b12ed; border-color: #ffffff14; }
.brand-mark span, .brand-name > span, .profile span, .icon-button b { color: #ff3a43; }
.eyebrow-line { background: linear-gradient(90deg, #ff222b, #bb0710); }
.hero h1 em, .section-heading em, .proof-head em, .promo-copy em { color: #ff3a43; }
.hero-art { background: radial-gradient(ellipse at 52% 56%, #ff222b22, transparent 60%); }
.hero-glow { background: #ff222b20; }
.hero-ring { border-color: #ff222b35; }
.ring-two { border-color: #5a86ff24; }
.hero-tag b, .tag-dot, .floating-label b { color: #ff6268; }
.tag-dot { background: #ff222b; box-shadow: 0 0 8px #ff222b; }
.button-primary { background: linear-gradient(105deg, #ff222b, #bb0710); box-shadow: 0 8px 24px #ff222b35; }
.button-primary:hover { background: #ff3a43; }
.button-quiet span, .view-all span, footer > a:nth-of-type(2) b { color: #ff3a43; }
.rail-item.active { background: #291318; color: #ffb8bc; box-shadow: inset 2px 0 #ff222b; }
.mini-tab.active { border-color: #ff3a43; background: #351318; }
.archive-card.selected { border-color: #ff3a43; box-shadow: 0 0 0 1px #ff3a43; }
.upload-icon { background: #291318; color: #ff7b81; }
.mini-tab.active { border-color: #ff3a43; background: #351318; color: #fff; }
.range { accent-color: #ff222b; background: linear-gradient(90deg, #ff222b, #414354); }
.range::-webkit-slider-thumb { border-color: #ff3a43; box-shadow: 0 0 8px #ff3a43; }
.range::-moz-range-thumb { border-color: #ff3a43; }
.helper-note span { color: #ff6268; }
.scene { background: radial-gradient(ellipse at 51% 52%, #2a171c 0, #17151b 42%, #10141c 74%); }
.upload-box { background: #121721; border-color: #353743; }
.or-line span { background: #101521; }
.control-label b, .promo-kicker { color: #ff7b81; }
.text-input:focus, .text-input:focus-visible, select:focus-visible { border-color: #ff3a43; outline-color: #ff3a43; }
.scene-live i, .online i, .live-pill i, .proof-count i, .proof-status i { background: #54e262; }
.proof-status { color: #9df4a5; }
.proof-card:nth-child(2) .proof-art { background: linear-gradient(130deg, #251318, #67252c); }
.proof-card:nth-child(3) .proof-art { background: linear-gradient(130deg, #111b2a, #31547e); }
.proof-card:nth-child(4) .proof-art { background: linear-gradient(130deg, #20191b, #694044); }
.promo-banner { border-color: #713239; background: linear-gradient(105deg, #171116, #35151b 55%, #100d12); }
.promo-banner:after { background: linear-gradient(110deg, transparent 10%, #ff222b12 54%, transparent 80%); }
.promo-orb { border-color: #ff3a4333; box-shadow: 0 0 50px #ff222b1c, inset 0 0 65px #ff222b10; }
.promo-stat b span { color: #ff6268; }
.promo-code { border-color: #ff62687d; color: #ffdfe0; }
.button-light { background: #f7f8fb; color: #080b12; }
footer > a:nth-of-type(2) b { color: #ff3a43; }
.toast { background: #101521; border-color: #48373a; color: #f7f8fb; }
button:focus-visible, a:focus-visible { outline: 2px solid #ff3a43; outline-offset: 3px; }
.pickup-note { display:flex; align-items:center; gap:12px; margin-top:12px; padding:12px 14px; border:1px solid #303745; border-left:3px solid #ff222b; border-radius:4px; background:#101521; }
.pickup-note > span { flex:0 0 auto; padding:7px 8px; border-radius:4px; background:#291318; color:#ff7b81; font:16px 'Russo One', sans-serif; }
.pickup-note p { display:grid; gap:3px; margin:0; }
.pickup-note b { color:#f7f8fb; font-size:9px; }
.pickup-note small { color:#a6adbc; font-size:8px; line-height:1.5; }
.modal-pickup { margin:0 0 12px; }
.accepted-pickup { margin:14px 0; }

/* Keep secondary information readable without changing the headline scale. */
small { font-size:10px; }
.main-nav { font-size:13px; }
.online, .proof-count, .view-all, footer > a:nth-of-type(2) { font-size:11px; }
.eyebrow { font-size:10px; letter-spacing:1.8px; }
.button { font-size:10px; }
.hero-stats small { font-size:10px; }
.hero-tag, .floating-label { font-size:9px; }
.step-label, .reset-button { font-size:10px; }
.rail-item { font-size:9px; }
.upload-box b { font-size:10px; }
.upload-box small, .browse-button, .mini-tab, .or-line span { font-size:9px; }
.control-label, .layout-label, .helper-note { font-size:9px; letter-spacing:.35px; }
.control-label b, .layout-label small { font-size:10px; }
.panel-footer b, .panel-footer small { font-size:9px; }
.scene-caption, .scene-bottom { font-size:9px; letter-spacing:.6px; }
.preview-meta, .dimensions b { font-size:10px; }
.dimensions span, .order-price small { font-size:9px; }
.editor-footnote { font-size:10px; line-height:1.6; }
.collection-card .art-kicker, .collection-card .art-name { font-size:10px; }
.proof-tag { font-size:8px; }
.proof-info b { font-size:10px; }
.proof-info span, .proof-status { font-size:9px; }
.promo-kicker, .promo-code, .promo-stat small { font-size:9px; }
.promo-copy p { font-size:11px; }
footer > span, footer > small { font-size:9px; }
.pickup-note b { font-size:10px; }
.pickup-note small { font-size:9px; }
.modal-lead { font-size:12px; }
.modal-privacy { font-size:9px; }
.proof-empty { grid-column:1/-1; min-height:150px; display:grid; place-content:center; justify-items:center; gap:8px; padding:22px; border:1px dashed #343b48; border-radius:4px; color:#a6adbc; text-align:center; }
.proof-empty b { color:#f7f8fb; font-size:14px; }
.proof-empty span { max-width:430px; font-size:11px; line-height:1.6; }
.proof-live .proof-art { background:linear-gradient(135deg,#111722,#1b202a); }
.qr-type-label { display:block; margin:13px 0 6px; color:#aeb0bd; font-size:9px; font-weight:900; letter-spacing:.6px; }
.qr-select { appearance:auto; }
.qr-value-label { margin-top:14px; }
.qr-toggle { display:flex; align-items:center; gap:9px; margin-top:15px; color:#e3e5ec; font-size:10px; cursor:pointer; }
.qr-toggle input { width:16px; height:16px; accent-color:#ff222b; }
.remove-qr { margin-top:12px; border:1px solid rgba(255,63,72,.45); border-radius:3px; background:transparent; color:#ff858b; padding:8px 11px; font-size:9px; font-weight:800; cursor:pointer; }
.remove-qr:hover { background:#38171d; color:#fff; }
#qrRender { position:fixed; left:-10000px; top:-10000px; width:1px; height:1px; overflow:hidden; }

.mini-tabs { display:flex; flex-wrap:wrap; gap:6px; min-width:0; max-width:100%; }
.mini-tab { max-width:100%; white-space:normal; line-height:1.3; overflow-wrap:anywhere; }
.home-site-link { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; color:#dfe3ec; font-size:11px; font-weight:800; }
.home-site-link span { color:#ff3a43; }
.home-site-link:hover { color:#fff; }
@media (max-width: 760px) {
  .top-actions { gap:11px; }
  .home-site-link { font-size:10px; }
  .mini-tabs { gap:5px; }
  .mini-tab { padding:7px 9px; }
}
@media (max-width: 390px) {
  .home-site-link { font-size:9px; gap:4px; }
  .brand-name { font-size:14px; }
  .topbar { padding-left:4%; padding-right:4%; }
}

/* Shared GamerX site header */
.shell { width:min(1380px,calc(100% - 40px)); margin-inline:auto; }
.site-header { position:fixed; inset:0 0 auto; z-index:100; background:rgba(8,11,18,.78); border-bottom:1px solid rgba(255,255,255,.08); backdrop-filter:blur(18px); }
.header-inner { height:78px; display:flex; align-items:center; gap:32px; }
.site-header .brand { width:154px; height:70px; display:flex; align-items:center; flex:0 0 auto; }
.site-header .brand img { width:154px; height:auto; }
.site-header .main-nav { display:flex; align-items:center; gap:26px; margin-left:auto; color:#c9cfda; }
.site-header .main-nav a,.site-header .chat-nav { position:relative; color:#c9cfda; font-size:.94rem; font-weight:600; transition:color .2s ease; white-space:nowrap; }
.site-header .main-nav a:hover,.site-header .chat-nav:hover { color:#fff; }
.site-header .chat-nav { border:0; padding:0; background:none; cursor:pointer; }
.language-switcher { display:flex; flex:0 0 auto; border:1px solid #252c3a; border-radius:8px; overflow:hidden; background:#0c1019; }
.language-switcher button { border:0; border-right:1px solid #252c3a; background:transparent; color:#858d9c; min-width:40px; height:36px; cursor:pointer; font-size:.8rem; font-weight:700; }
.language-switcher button:last-child { border-right:0; }
.language-switcher button[aria-pressed="true"] { background:#ff222b; color:#fff; }
.menu-button { display:none; margin-left:auto; width:44px; height:42px; border:1px solid #252c3a; border-radius:6px; background:transparent; padding:10px; cursor:pointer; }
.menu-button span:not(.sr-only) { display:block; height:2px; background:#fff; margin:5px 0; transition:.2s; }
.hero { padding-top:142px; }
.rail-help-label { display:block; border:0; background:none; color:#858999; font-size:8px; cursor:pointer; }
.rail-help-label:hover { color:#fff; }
.quick-control-label { margin-top:12px; }
.text-layer-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:3px; }
.text-layer-heading .field-label { margin:0; }
.text-layer-heading .field-label span { color:#818797; font-size:8px; }
.add-text-layer,.remove-text-layer { border:1px solid #343744; background:#11141d; color:#e2e4eb; border-radius:3px; padding:7px 9px; font-size:9px; font-weight:800; cursor:pointer; }
.add-text-layer:hover,.remove-text-layer:hover { border-color:#ff3039; color:#fff; }
.add-text-layer[hidden],.remove-text-layer[hidden] { display:none; }
.text-layer-list { display:flex; gap:6px; flex-wrap:wrap; margin-top:10px; }
.text-layer-tab { border:1px solid #343744; background:#0c0f17; color:#9298a7; border-radius:3px; padding:7px 10px; font-size:9px; font-weight:800; cursor:pointer; }
.text-layer-tab.active { border-color:#ff3039; color:#fff; background:#38171d; }
.remove-text-layer { margin-top:8px; color:#ff747a; }
.text-layer-heading + .text-layer-list + .remove-text-layer + .field-label { margin-top:15px; }
.archive-empty { grid-column:1/-1; align-self:stretch; min-height:86px; display:grid; place-items:center; padding:18px; border:1px dashed #353743; border-radius:4px; color:#a6adbc; font-size:11px; text-align:center; }
@media(max-width:1020px) { .header-inner { gap:18px; } .site-header .main-nav { gap:16px; } .site-header .main-nav a,.site-header .chat-nav { font-size:.82rem; } }
@media(max-width:780px) {
  .shell { width:min(100% - 28px,1380px); }
  .header-inner { height:70px; gap:14px; }
  .site-header .brand { width:125px; height:53px; }
  .site-header .brand img { width:125px; }
  .menu-button { display:block; order:3; flex:0 0 auto; }
  .language-switcher { order:2; margin-left:auto; }
  .language-switcher button { min-width:32px; height:34px; }
  .site-header .main-nav { position:absolute; left:0; right:0; top:70px; display:none; flex-direction:column; align-items:stretch; gap:0; margin:0; background:#0c1019; border-bottom:1px solid #252c3a; padding:10px 14px 16px; box-shadow:0 22px 40px rgba(0,0,0,.32); }
  .site-header .main-nav.is-open { display:flex; }
  .site-header .main-nav a,.site-header .chat-nav { min-height:48px; display:flex; align-items:center; padding:12px; font-size:1rem; text-align:left; }
  .hero { padding-top:122px; }
}
@media(max-width:350px) { .site-header .brand { width:88px; } .site-header .brand img { width:88px; } .language-switcher button { min-width:29px; font-size:.72rem; } .menu-button { width:38px; padding:9px; } }

@media (max-width: 760px) {
  .hero-stats small, .main-nav, .eyebrow, .button, .upload-box small,
  .browse-button, .mini-tab, .control-label, .layout-label, .helper-note,
  .scene-caption, .scene-bottom, .dimensions span, .order-price small,
  .editor-footnote, .proof-status, .promo-copy p, .modal-privacy { font-size:9px; }
  .dimensions span, .order-price small, .modal-lead, .promo-copy p { font-size:10px; }
}
.layer-toggle-group { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.layer-visibility-btn { flex: 1 1 0; min-width: 0; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #353a48; border-radius: 5px; background: #141720; color: #c5c9d3; cursor: pointer; transition: .18s ease; }
.layer-visibility-btn[aria-pressed="true"] { border-color: #563038; background: #21151a; color: #fff; }
.layer-visibility-btn:hover { border-color: #ff3a43; }
.layer-visibility-btn:focus-visible { outline: 2px solid #ff3a43; outline-offset: 2px; }
.layer-toggle-icon { font: 800 15px/1 'Manrope', Arial, sans-serif; color: #ff4650; }
.layer-toggle-qr { font-size: 18px; }
.layer-toggle-label { font-size: 10px; font-weight: 800; letter-spacing: .25px; }
.layer-toggle-status { width: 7px; height: 7px; border-radius: 50%; background: #5b6575; }
.layer-visibility-btn[aria-pressed="true"] .layer-toggle-status { background: #5cf08b; box-shadow: 0 0 8px #5cf08b88; }

/* Thermoprint header follows the two-level GamerX /app navigation. */
.app-header { z-index: 110; background: #080a10; border-bottom-color: #20232c; backdrop-filter: none; }
.app-header-inner { width: min(1180px, calc(100% - 40px)); height: 78px; gap: 28px; }
.app-header .app-brand, .app-header .app-brand img { width: 174px; height: auto; }
.app-header .app-main-nav { margin-left: auto; gap: clamp(12px, 1.65vw, 25px); }
.app-header .app-main-nav a { font-size: 15px; color: #c1c5d0; }
.app-header .app-main-nav a.is-active { color: #f4f5f8; }
.app-header .app-main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 2px; background: #ff2635; }
.app-header .app-language-switcher { border-radius: 12px; background: #101116; border-color: #242631; }
.app-header .app-language-switcher button { min-width: 40px; height: 40px; }
.app-header .app-menu-button { margin-left: 0; }
.app-section-nav { position: fixed; z-index: 109; inset: 78px 0 auto; height: 46px; background: #080a10; border-bottom: 1px solid #1e212a; }
.app-section-nav-inner { width: min(1180px, calc(100% - 40px)); height: 100%; display: flex; align-items: center; justify-content: center; gap: 38px; }
.app-section-nav a { color: #8991a2; font-size: 14px; font-weight: 700; white-space: nowrap; transition: color .2s ease; }
.app-section-nav a:hover { color: #fff; }
.app-section-nav .nav-home { display: none; }
.hero { padding-top: 172px; }
@media (max-width: 1050px) {
  .app-header-inner { gap: 14px; }
  .app-header .app-brand, .app-header .app-brand img { width: 150px; }
  .app-header .app-menu-button { display: block; order: 3; margin-left: 0; flex: 0 0 44px; }
  .app-header .app-language-switcher { order: 2; margin-left: auto; }
  .app-header .app-language-switcher button { min-width: 34px; height: 36px; }
  .app-header .app-main-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px max(20px, calc((100% - 1180px) / 2)) 14px; background: #090b12; border-bottom: 1px solid #282b35; box-shadow: 0 18px 32px #0008; }
  .app-header .app-main-nav.is-open { display: flex; }
  .app-header .app-main-nav a { min-height: 44px; display: flex; align-items: center; font-size: 15px; }
  .app-header .app-main-nav a.is-active::after { left: 0; right: auto; bottom: 0; width: 30px; }
  .app-section-nav { top: 78px; }
  .app-section-nav-inner { justify-content: flex-start; gap: 30px; overflow-x: auto; scrollbar-width: none; }
  .app-section-nav-inner::-webkit-scrollbar { display: none; }
  .app-section-nav a { font-size: 13px; }
  .app-section-nav .nav-home { display: inline; }
  .hero { padding-top: 172px; }
}
@media (max-width: 780px) {
  .app-header-inner { height: 70px; }
  .app-header .app-brand, .app-header .app-brand img { width: 130px; }
  .app-header .app-main-nav { top: 70px; }
  .app-section-nav { top: 70px; height: 44px; }
  .app-section-nav-inner { width: calc(100% - 28px); gap: 25px; }
  .app-section-nav a { font-size: 12px; }
  .hero { padding-top: 158px; }
}
@media (max-width: 350px) {
  .app-header .app-brand, .app-header .app-brand img { width: 105px; }
  .app-header .app-language-switcher button { min-width: 29px; }
}
