/* hattyhat — Tokyo Night meets Bitcoin. Retro terminal: Hyprland-style bar, CRT scanlines, synthwave sun.
   Self-hosted fonts (OFL), no external assets, no client JS. */

@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(/fonts/jbm-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(/fonts/jbm-400-latinext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; font-display: swap; src: url(/fonts/jbm-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; font-display: swap; src: url(/fonts/jbm-700-latinext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Press Start 2P'; font-weight: 400; font-display: swap; src: url(/fonts/ps2p-latin.woff2) format('woff2'); }

:root {
  /* Tokyo Night */
  --bg: #1a1b26;
  --bg-dark: #16161e;
  --surface: #1f2335;
  --surface-2: #24283b;
  --line: #292e42;
  --line-strong: #414868;
  --text: #c0caf5;
  --muted: #a9b1d6;
  --faint: #565f89;
  --blue: #7aa2f7;
  --cyan: #7dcfff;
  --magenta: #bb9af7;
  --pink: #f7768e;
  --green: #9ece6a;
  --yellow: #e0af68;
  /* Bitcoin */
  --btc: #f7931a;
  --accent: var(--btc);
  --accent-ink: #16161e;
  --ok: var(--green);
  --warn: var(--yellow);
  --bad: var(--pink);
  --radius: 6px;
  --glow: 0 0 18px rgba(187, 154, 247, 0.35);
  --border-grad: linear-gradient(135deg, var(--cyan), var(--magenta) 55%, var(--btc));
  --mono: 'JetBrains Mono', 'JetBrainsMono Nerd Font', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --pixel: 'Press Start 2P', var(--mono);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(ellipse 120% 60% at 50% -10%, #24283b 0%, var(--bg) 55%, var(--bg-dark) 100%) fixed, var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--mono);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* CRT scanlines, barely there */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.13) 0 1px, transparent 1px 3px);
  z-index: 50;
}
main { flex: 1; }
a { color: var(--blue); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { color: var(--cyan); text-decoration-color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 3px; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--mono); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 0.5em; color: var(--text); }
h1 { font-family: var(--pixel); font-weight: 400; font-size: clamp(1.35rem, 4.6vw, 2.5rem); line-height: 1.35; letter-spacing: 0; }
h2 { font-size: clamp(1.15rem, 3vw, 1.5rem); }
h3 { font-size: 1rem; color: var(--magenta); }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); }
.neon { color: #e6e9ff; text-shadow: 0 0 6px rgba(125, 207, 255, 0.55), 0 0 22px rgba(187, 154, 247, 0.45), 3px 3px 0 #3d2a66; }
.prompt { color: var(--green); margin-right: 0.4em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 0.82rem; }
.center { text-align: center; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 60; }
.dev-banner { background: repeating-linear-gradient(45deg, #2b1f12 0 12px, #241a10 12px 24px); color: var(--yellow); font-size: 0.72rem; text-align: center; padding: 5px 16px; border-bottom: 1px solid #4a3418; }

/* ---- top bar (waybar / Hyprland workspaces) ---- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(22, 22, 30, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 14px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); white-space: nowrap; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand .glyph { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--btc); color: var(--accent-ink); font-weight: 700; transform: rotate(14deg); box-shadow: 0 0 12px rgba(247, 147, 26, 0.5); }
.brand .name { font-family: var(--pixel); font-size: 0.72rem; letter-spacing: 0.02em; }
.brand .cursor { display: inline-block; width: 0.5em; height: 1.05em; background: var(--btc); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.workspaces { display: flex; gap: 4px; background: var(--bg-dark); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.workspaces a { display: flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 5px; color: var(--faint); text-decoration: none; font-size: 0.8rem; }
.workspaces a .n { color: var(--faint); }
.workspaces a:hover { color: var(--text); background: var(--surface-2); }
.workspaces a[aria-current='page'] { background: var(--blue); color: var(--accent-ink); }
.workspaces a[aria-current='page'] .n { color: var(--accent-ink); font-weight: 700; }
.ticker { border: 0; width: 250px; height: 26px; background: transparent; color-scheme: dark; }
.bag { font-size: 0.82rem; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.bag[aria-current='page'], .bag:hover { color: var(--text); }
.bag-count { background: var(--magenta); color: var(--accent-ink); border-radius: 4px; padding: 0 6px; font-size: 0.72rem; font-weight: 700; }

/* ---- footer (vim statusline) ---- */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 36px 0 28px; font-size: 0.82rem; color: var(--muted); background: rgba(22, 22, 30, 0.6); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-bottom: 28px; }
.site-footer h4 { font-weight: 700; color: var(--magenta); margin: 0 0 8px; font-size: 0.78rem; }
.site-footer h4::before { content: '## '; color: var(--faint); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--cyan); }
.statusline { display: flex; flex-wrap: wrap; gap: 0; margin: 0; background: var(--bg-dark); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; font-size: 0.75rem; }
.statusline span { padding: 3px 12px; }
.statusline .mode { background: var(--blue); color: var(--accent-ink); font-weight: 700; }
.statusline span:nth-child(2) { background: var(--surface-2); color: var(--btc); }

/* ---- hero (synthwave sun over a neon grid) ---- */
.hero { overflow: hidden; }
.hero-grid { display: grid; gap: 8px; grid-template-columns: 1fr; align-items: center; padding: 48px 16px 24px; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1fr 1fr; padding-top: 72px; } }
.eyebrow { font-size: 0.78rem; color: var(--green); margin-bottom: 16px; display: block; }
.lede { font-size: 1rem; color: var(--muted); max-width: 36em; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin: 0 auto; }
.sun {
  position: absolute; left: 50%; top: 6%; width: 74%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(180deg, #ffd27a 0%, var(--btc) 38%, var(--pink) 68%, var(--magenta) 100%);
  -webkit-mask: linear-gradient(#000 0 48%, transparent 48% 51%, #000 51% 59%, transparent 59% 63%, #000 63% 70%, transparent 70% 75.5%, #000 75.5% 81%, transparent 81% 88%, #000 88%);
          mask: linear-gradient(#000 0 48%, transparent 48% 51%, #000 51% 59%, transparent 59% 63%, #000 63% 70%, transparent 70% 75.5%, #000 75.5% 81%, transparent 81% 88%, #000 88%);
  filter: drop-shadow(0 0 40px rgba(247, 118, 142, 0.45));
  opacity: 0.92;
}
.floor {
  position: absolute; left: -30%; right: -30%; bottom: 0; height: 42%;
  background:
    linear-gradient(transparent 0 calc(100% - 2px), rgba(187, 154, 247, 0.65) 0) 0 0 / 100% 34px,
    linear-gradient(90deg, transparent 0 calc(100% - 2px), rgba(125, 207, 255, 0.5) 0) 0 0 / 44px 100%,
    linear-gradient(var(--bg), #2a1f45);
  transform: perspective(260px) rotateX(58deg);
  transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(transparent, #000 40%);
          mask: linear-gradient(transparent, #000 40%);
}
.hero-hat { position: absolute; inset: 8% 4% 0; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }
.hero-hat img { width: 100%; height: auto; }

/* ---- buttons / forms ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 0.85rem/1.3 var(--mono); padding: 11px 18px; text-align: center; border-radius: 4px; border: 2px solid var(--line-strong); background: var(--surface-2); color: var(--text); text-decoration: none; cursor: pointer; min-height: 46px; box-shadow: 4px 4px 0 var(--bg-dark); transition: transform 0.06s, box-shadow 0.06s; }
.btn:hover { border-color: var(--cyan); color: var(--text); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--bg-dark); }
.btn-primary { background: var(--btc); border-color: var(--btc); color: var(--accent-ink); box-shadow: 4px 4px 0 #6b3b9a; }
.btn-primary:hover { background: #ffa53a; border-color: #ffa53a; color: var(--accent-ink); }
.btn-primary:active { box-shadow: 1px 1px 0 #6b3b9a; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-small { padding: 6px 12px; min-height: 34px; font-size: 0.78rem; box-shadow: 3px 3px 0 var(--bg-dark); }
.btn-danger { border-color: #6b2a35; color: var(--bad); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
form.inline { display: inline; }
label { display: block; font-size: 0.8rem; color: var(--muted); margin: 0 0 6px; }
input[type='text'], input[type='email'], input[type='password'], input[type='number'], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-dark); border: 1px solid var(--line-strong); border-radius: 4px; padding: 11px 12px; min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(125, 207, 255, 0.15); }
.field { margin-bottom: 16px; }
.grid-2 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.qty { width: 80px !important; }

/* ---- cards / product grid ---- */
.section { padding-top: 40px; padding-bottom: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.15s, box-shadow 0.15s; }
.card:hover { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--border-grad) border-box; box-shadow: var(--glow); }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card-link:hover { color: inherit; }
.card .art { background: radial-gradient(ellipse at 50% 42%, #2f3549 0%, var(--surface) 70%); }
.card .art img { width: 100%; height: auto; aspect-ratio: 1; }
.card .body { padding: 12px 16px 4px; display: flex; flex-direction: column; gap: 2px; }
.card .name { font-size: 1.05rem; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; }
.card-foot { padding: 4px 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid var(--line-strong); color: var(--muted); padding: 1px 7px; border-radius: 3px; white-space: nowrap; align-self: center; font-weight: 400; }
.badge.accent { color: var(--magenta); border-color: #4b3b6e; }
.badge.ok { color: var(--ok); border-color: #3b5228; }
.badge.warn { color: var(--warn); border-color: #5a4524; }
.badge.bad { color: var(--bad); border-color: #6b2a35; }
.swatches-mini { display: flex; gap: 5px; flex-shrink: 0; }
.swatches-mini svg { width: 12px; height: 12px; }

/* ---- live price frames ---- */
.live-price { border: 0; display: block; width: 100%; min-width: 0; flex: 1; background: transparent; color-scheme: dark; }
.live-price.card { height: 24px; }
.live-price.full { height: 104px; }
body.live { background: transparent; min-height: 0; display: block; overflow: hidden; font-size: 14px; }
body.live::after { display: none; }
.lp-card { font-size: 0.82rem; color: var(--muted); white-space: nowrap; line-height: 24px; }
.lp .price-big { font-size: 1.7rem; font-weight: 700; color: var(--btc); text-shadow: 0 0 14px rgba(247, 147, 26, 0.35); line-height: 1.3; }
.tk { font-size: 0.78rem; line-height: 26px; white-space: nowrap; color: var(--text); text-align: right; }
.tk .btc { color: var(--btc); font-weight: 700; }
.tk .sep { color: var(--line-strong); margin: 0 8px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 8px var(--green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---- product page: CSS-only colourway switcher ---- */
.product { display: grid; gap: 28px; grid-template-columns: 1fr; padding-top: 28px; }
@media (min-width: 880px) { .product { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 44px; } }
.window { border: 2px solid transparent; border-radius: 8px; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--border-grad) border-box; box-shadow: var(--glow); overflow: hidden; align-self: start; }
.titlebar { display: flex; justify-content: space-between; gap: 12px; font-size: 0.75rem; padding: 6px 12px; background: var(--bg-dark); border-bottom: 1px solid var(--line); color: var(--muted); }
.gallery .views { position: relative; aspect-ratio: 1; background: radial-gradient(ellipse at 50% 42%, #2f3549 0%, var(--surface) 70%); }
.gallery .view { position: absolute; inset: 0; opacity: 0; transition: opacity 0.2s; }
.gallery .view img { width: 100%; height: 100%; object-fit: contain; }
.colorway-input { position: absolute; opacity: 0; pointer-events: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 5px 12px 5px 6px; cursor: pointer; font-size: 0.8rem; color: var(--muted); margin: 0; background: var(--bg-dark); }
.swatch svg { width: 20px; height: 20px; }
.price-block { border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); padding: 14px 0; margin: 8px 0 18px; }
.price-big { font-size: 1.6rem; font-weight: 700; }
.breakdown { font-size: 0.82rem; width: 100%; border-collapse: collapse; }
.breakdown td { padding: 5px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.breakdown td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.breakdown tr.profit td { color: var(--btc); }
.breakdown tr.total td { border-bottom: 0; border-top: 1px solid var(--line-strong); font-size: 1rem; color: var(--text); padding-top: 10px; font-weight: 700; }
.details { padding-left: 18px; color: var(--muted); }
.details li::marker { content: '› '; color: var(--magenta); }

/* ---- generic panels / tables ---- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel + .panel { margin-top: 16px; }
.two-col { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .two-col { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
table.data th { text-align: left; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--magenta); padding: 8px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
table.data td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }
.notice { border: 1px solid var(--line-strong); border-left: 3px solid var(--magenta); background: var(--surface); padding: 12px 16px; border-radius: 4px; margin: 16px 0; font-size: 0.88rem; }
.notice.bad { border-left-color: var(--bad); }
.notice.ok { border-left-color: var(--ok); }
.timeline { list-style: none; padding: 0; margin: 0; font-size: 0.82rem; }
.timeline li { padding: 6px 0 6px 18px; border-left: 1px solid var(--line-strong); position: relative; color: var(--faint); }
.timeline li::before { content: ''; position: absolute; left: -4px; top: 13px; width: 7px; height: 7px; background: var(--line-strong); }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 0.86rem; margin: 0; }
.kv dt { color: var(--magenta); font-size: 0.78rem; }
.kv dd { margin: 0; word-break: break-word; }
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.6em; color: var(--blue); }
.prose h2::before { content: '# '; color: var(--faint); }
.prose li { margin: 0.3em 0; }

/* ---- how-it-works strip ---- */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); }
.step::before { counter-increment: step; content: '[0' counter(step) ']'; color: var(--btc); font-size: 0.78rem; display: block; margin-bottom: 8px; }
.formula { font-size: clamp(0.95rem, 3.2vw, 1.3rem); border: 2px solid transparent; border-radius: 6px; padding: 22px; text-align: center; background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box, var(--border-grad) border-box; box-shadow: var(--glow); margin-bottom: 14px; }
.formula .plus { color: var(--btc); font-weight: 700; text-shadow: 0 0 12px rgba(247, 147, 26, 0.45); }

/* ---- mock checkout ---- */
.mock-pay { max-width: 520px; margin: 32px auto; }
.big-sats { font-size: 2rem; font-weight: 700; color: var(--btc); }
.sim-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .sim-grid { grid-template-columns: 1fr 1fr; } }
.sim-grid form, .sim-grid .btn { width: 100%; }

/* ---- admin ---- */
.admin-nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; margin: 20px 0; }
.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat .v { font-size: 1.35rem; font-weight: 700; color: var(--btc); }
.stat .k { font-size: 0.75rem; color: var(--muted); }
pre.email { white-space: pre-wrap; background: var(--bg-dark); border: 1px solid var(--line); padding: 12px; border-radius: 4px; font-size: 0.8rem; }

/* colourway switcher rules (radio inputs precede .gallery and .info inside .product) */
.product > #cw-0:checked ~ .gallery .view-0, .product > #cw-1:checked ~ .gallery .view-1, .product > #cw-2:checked ~ .gallery .view-2,
.product > #cw-3:checked ~ .gallery .view-3, .product > #cw-4:checked ~ .gallery .view-4, .product > #cw-5:checked ~ .gallery .view-5,
.product > #cw-6:checked ~ .gallery .view-6, .product > #cw-7:checked ~ .gallery .view-7 { opacity: 1; }
.product > #cw-0:checked ~ .info label[for='cw-0'], .product > #cw-1:checked ~ .info label[for='cw-1'], .product > #cw-2:checked ~ .info label[for='cw-2'],
.product > #cw-3:checked ~ .info label[for='cw-3'], .product > #cw-4:checked ~ .info label[for='cw-4'], .product > #cw-5:checked ~ .info label[for='cw-5'],
.product > #cw-6:checked ~ .info label[for='cw-6'], .product > #cw-7:checked ~ .info label[for='cw-7'] { border-color: var(--btc); color: var(--text); box-shadow: 0 0 10px rgba(247, 147, 26, 0.3); }
.product > #cw-0:focus-visible ~ .info label[for='cw-0'], .product > #cw-1:focus-visible ~ .info label[for='cw-1'], .product > #cw-2:focus-visible ~ .info label[for='cw-2'],
.product > #cw-3:focus-visible ~ .info label[for='cw-3'], .product > #cw-4:focus-visible ~ .info label[for='cw-4'], .product > #cw-5:focus-visible ~ .info label[for='cw-5'],
.product > #cw-6:focus-visible ~ .info label[for='cw-6'], .product > #cw-7:focus-visible ~ .info label[for='cw-7'] { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 760px) {
  .ticker { display: none; }
}
@media (max-width: 520px) {
  .bar .wrap { gap: 8px; }
  .brand .name { display: none; }
  .workspaces a { padding: 3px 7px; }
  .workspaces a .l { font-size: 0.74rem; }
  .workspaces a .n { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brand .cursor, .dot { animation: none; }
  .btn { transition: none; }
}
.info h3 { margin-top: 26px; }
.hero-title { font-size: clamp(1.3rem, 3.6vw, 2.1rem); margin-bottom: 0.35em; }
.agents { font-family: var(--pixel); font-size: clamp(0.6rem, 1.4vw, 0.78rem); color: var(--cyan); text-shadow: 0 0 10px rgba(125, 207, 255, 0.6); margin-bottom: 1.4em; }
.span-all { grid-column: 1 / -1; }
details.safety { margin-top: 18px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; background: var(--bg-dark); }
details.safety summary { cursor: pointer; font-size: 0.8rem; color: var(--muted); }
details.safety .kv { margin-top: 10px; }
/* ---- direct payment page ---- */
.pay { max-width: 760px; margin: 36px auto; }
.pay-body { display: grid; gap: 24px; padding: 22px; grid-template-columns: 1fr; }
.pay-ecash { padding: 22px; }
.pay-ecash textarea { width: 100%; }
.pay-ecash .actions + p { margin-top: 18px; }
@media (min-width: 640px) { .pay-body { grid-template-columns: 260px 1fr; } }
.qr { display: block; align-self: start; position: relative; z-index: 60; background: #fff; border-radius: 6px; padding: 6px; max-width: 280px; margin: 0 auto; box-shadow: 0 0 24px rgba(247, 147, 26, 0.35); }
.qr svg { width: 100%; height: auto; }
textarea.copy, input.copy { font-family: var(--mono); font-size: 0.72rem; word-break: break-all; margin-bottom: 12px; resize: none; }
