@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/newsreader-latin-opsz-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/newsreader-latin-opsz-italic.woff2') format('woff2-variations'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/public-sans-latin-wght-normal.woff2') format('woff2-variations'); }
/* App layout. Phones: header, the 3D stage, then a drawer of controls (collapsible). Wide screens: stage left, controls right.
   The stage is always dark (the guitar under lights); the drawer follows the viewer's theme. */
:root {
  --bg: #f4f3f7; --panel: #ffffff; --ink: #141519; --muted: #5c5f6b; --line: #e1dfe7;
  --accent: #773b96; --accent-ink: #ffffff; --accent-soft: #f1e9f6; --rail-on: #c9afd9; --rail-off: #e9e7ee; --ok: #19805a;
  --stage: #050506; --stage-ink: #f3f1f6; --stage-muted: #a8abb5; --stage-line: rgba(255, 255, 255, 0.14);
  --glass: rgba(18, 19, 23, 0.62); --stage-ok: #6fd6b6; --stage-warn: #ffb35c;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 8px; --drawer-h: clamp(290px, 44svh, 520px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1013; --panel: #17191e; --ink: #ecebf0; --muted: #a3a6b1; --line: #2a2c33;
    --accent: #c094dc; --accent-ink: #17191e; --accent-soft: #2a2133; --rail-on: #6a4683; --rail-off: #26282e; --ok: #6fd6a8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1013; --panel: #17191e; --ink: #ecebf0; --muted: #a3a6b1; --line: #2a2c33;
  --accent: #c094dc; --accent-ink: #17191e; --accent-soft: #2a2133; --rail-on: #6a4683; --rail-off: #26282e; --ok: #6fd6a8;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--stage); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.app { height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) var(--drawer-h); transition: grid-template-rows 0.28s ease; }
@supports (height: 1svh) { .app { height: 100svh; } }
.app.collapsed { grid-template-rows: auto minmax(0, 1fr) 96px; }

/* ---------- header ---------- */
.top { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px max(14px, env(safe-area-inset-right, 0px)) 8px max(14px, env(safe-area-inset-left, 0px)); padding-top: max(8px, env(safe-area-inset-top, 0px)); background: var(--stage); color: var(--stage-ink); border-bottom: 1px solid var(--stage-line); z-index: 3; }
.top > svg { width: 26px; height: auto; flex: none; }
.brand { font-family: var(--display); font-size: 1.12rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brand span { color: var(--stage-muted); font-weight: 400; }
.pill { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--stage-warn); border: 1px solid rgba(255, 179, 92, 0.45); border-radius: 999px; padding: 1px 8px; flex: none; }
.brand-logo { height: 26px; width: auto; display: block; }
.send-top { margin-left: auto; flex: none; background: #773b96; color: #fff; border: 0; border-radius: 999px; padding: 7px 15px; font-weight: 700; font-size: 0.86rem; }
.send-top:hover { filter: brightness(1.1); }
@media (max-width: 400px) { .brand span { display: none; } }

/* ---------- stage ---------- */
.stage { position: relative; min-height: 0; overflow: hidden; background: var(--stage); color: var(--stage-ink); }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 95% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.55) 100%); transition: opacity 0.3s; }
.stage.poster .vignette, .stage.bright .vignette { opacity: 0; }
.stage.bright { --stage: #4b4d53; }
.stage.paper { --stage: #f3efe6; --stage-ink: #111315; --stage-muted: #4a4d55; --stage-line: rgba(0, 0, 0, 0.16); --glass: rgba(255, 255, 255, 0.66); }
.stage.paper .gname, .stage.paper .readout { text-shadow: none; }
.stage.paper .readout { color: #4a4d55; }
.stage.paper .sbtn:hover, .stage.paper .resetbtn:hover { background: rgba(255, 255, 255, 0.9); }
.stage.bright .readout { color: #e8e9ee; }
.dot-auto { background: linear-gradient(135deg, #f2f1ec 50%, #1c1e22 50%); }
#logoFile { font-size: 0.9rem; }
.field #logoClear { margin-left: 6px; }
.stage-head, .stage-foot { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) 10px max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; z-index: 2; min-width: 0; }
.stage-head { top: 0; }
.stage-foot { bottom: 0; justify-content: space-between; }
.stage-head > *, .stage-foot > * { pointer-events: auto; }
.gname { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px dashed transparent; color: var(--stage-ink); font-family: var(--display); font-style: italic; font-size: 1.3rem; font-weight: 500; padding: 2px 0; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.gname::placeholder { color: var(--stage-muted); }
.gname:hover, .gname:focus { border-bottom-color: var(--stage-line); outline: none; }
.checks-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; background: rgba(12, 40, 33, 0.72); color: var(--stage-ok); border: 1px solid rgba(111, 214, 182, 0.35); border-radius: 999px; padding: 4px 10px; font-size: 0.76rem; font-weight: 600; transition: background 0.25s, color 0.25s, border-color 0.25s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.checks-chip svg { width: 14px; height: 14px; }
.checks-chip.hit { background: rgba(60, 38, 12, 0.8); color: var(--stage-warn); border-color: rgba(255, 179, 92, 0.5); }
.readout { font-size: 0.78rem; color: var(--stage-muted); font-variant-numeric: tabular-nums; min-width: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.readout b { color: var(--stage-ink); font-weight: 600; }
.stage-actions { display: flex; gap: 6px; flex: none; }
.sbtn { display: inline-flex; align-items: center; gap: 6px; background: var(--glass); color: var(--stage-ink); border: 1px solid var(--stage-line); border-radius: 999px; padding: 7px 12px; font-weight: 600; font-size: 0.82rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sbtn:hover { background: rgba(40, 42, 48, 0.8); }
.sbtn svg { width: 16px; height: 16px; flex: none; }
.sbtn[aria-pressed="true"] { background: #f3f1f6; color: #111315; border-color: #f3f1f6; }
.sbtn:focus-visible { outline-color: #fff; }
@media (max-width: 520px) { .readout .plastic { display: none; } .sbtn .lbl-x { display: none; } .sbtn { padding: 7px 10px; } .stage-actions { gap: 5px; } }
.hintbar { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); z-index: 2; pointer-events: none; font-size: 0.78rem; color: var(--stage-ink); background: var(--glass); border: 1px solid var(--stage-line); border-radius: 999px; padding: 4px 12px; white-space: nowrap; transition: opacity 0.5s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hintbar.gone { opacity: 0; }
.pstyles { position: absolute; left: 14px; top: 52px; z-index: 3; display: flex; gap: 4px; background: var(--glass); border: 1px solid var(--stage-line); border-radius: 999px; padding: 3px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pstyles[hidden] { display: none; }
.pchip { background: transparent; color: var(--stage-ink); border: 0; border-radius: 999px; padding: 4px 10px; font-weight: 600; font-size: 0.76rem; }
.pchip[aria-checked="true"] { background: #f3f1f6; color: #111315; }
@media (max-width: 520px) { .pstyles { top: 90px; } }
.resetbtn { position: absolute; right: 14px; top: 52px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: var(--glass); color: var(--stage-ink); border: 1px solid var(--stage-line); border-radius: 999px; padding: 6px 11px 6px 9px; font-weight: 600; font-size: 0.78rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.resetbtn svg { width: 15px; height: 15px; flex: none; }
.resetbtn.show { opacity: 1; transform: none; pointer-events: auto; }
.resetbtn:hover { background: rgba(40, 42, 48, 0.8); }
.resetbtn:focus-visible { outline-color: #fff; }
@media (max-width: 520px) { .resetbtn { top: 90px; } .resetbtn span { display: none; } .resetbtn { padding: 8px; } }
.toast { position: absolute; left: 50%; bottom: 56px; z-index: 4; transform: translate(-50%, 8px); width: max-content; max-width: min(92%, 440px); background: #221d1a; color: #ffe7c7; border: 1px solid rgba(255, 179, 92, 0.5); border-radius: var(--r); padding: 9px 14px; font-size: 0.86rem; line-height: 1.35; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; color: var(--stage-muted); font-family: var(--display); font-style: italic; font-size: 1.1rem; pointer-events: none; transition: opacity 0.4s; }
.loading.gone { opacity: 0; }
.fallback { position: absolute; inset: 44px 0 52px; display: grid; place-items: center; z-index: 1; padding: 8px; }
.fallback[hidden] { display: none; }
.fallback svg { height: 100%; width: auto; max-width: 100%; }
.fallback p { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; text-align: center; font-size: 0.78rem; color: var(--stage-muted); }

/* ---------- drawer ---------- */
.drawer { position: relative; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); background: var(--bg); color: var(--ink); border-radius: 14px 14px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35); z-index: 3; margin-top: -10px; }
.grab { display: flex; justify-content: center; align-items: center; height: 22px; width: 100%; background: transparent; border: 0; padding: 0; }
.grab span { width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.grab:hover span { background: var(--muted); }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); padding: 0 max(10px, env(safe-area-inset-right, 0px)) 0 max(10px, env(safe-area-inset-left, 0px)); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 6px 10px 9px; font-weight: 600; color: var(--muted); margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab:hover { color: var(--ink); }
.drawer-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.app.collapsed .drawer-body { visibility: hidden; }
.bench-in { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; }
@media (min-width: 960px) {
  .app, .app.collapsed { grid-template-columns: minmax(0, 1fr) 430px; grid-template-rows: auto minmax(0, 1fr); }
  .top { grid-column: 1 / -1; }
  .drawer { border-radius: 0; margin-top: 0; box-shadow: none; border-left: 1px solid var(--stage-line); }
  .grab { display: none; }
  .app.collapsed .drawer-body { visibility: visible; }
}

h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.3rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.lede { margin: 0; color: var(--muted); max-width: 60ch; }
.panel { display: grid; gap: 16px; }
.panel[hidden] { display: none; }
.hint { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 62ch; }

/* body cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.card { text-align: left; display: grid; grid-template-rows: auto auto 1fr; gap: 2px; padding: 6px 6px 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); min-width: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.card:hover { border-color: var(--accent); }
.card[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: var(--accent-soft); }
.card .thumb { background: radial-gradient(80% 60% at 20% 10%, rgba(119, 59, 150, 0.35), transparent 70%), #111315; border-radius: 6px; aspect-ratio: 41 / 46; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; overflow: hidden; }
.card .thumb svg { width: 86%; height: 92%; }
.card .nm { font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.15; }
.card .kind { display: block; font-family: var(--body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.card .tg { font-size: 0.76rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 420px) { .card .tg { display: none; } }

/* sliders */
.sliders { display: grid; gap: 12px; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 12px; }
.srow label { font-weight: 600; }
.srow output { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.srow .range { grid-column: 1 / -1; }
.range { --lo: 0%; --hi: 100%; -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; margin: 0; touch-action: pan-y; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--rail-off) 0 var(--lo), var(--rail-on) var(--lo) var(--hi), var(--rail-off) var(--hi) 100%); }
.range::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--rail-off) 0 var(--lo), var(--rail-on) var(--lo) var(--hi), var(--rail-off) var(--hi) 100%); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--accent); border: 3px solid var(--panel); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid var(--panel); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.range:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.note { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 12px 14px; display: grid; gap: 8px; }
.note p { margin: 0; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* chips, swatches */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 12px; font-size: 0.88rem; font-weight: 500; }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.chip .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.25); flex: none; }
.chip .dots { display: inline-flex; }
.chip .dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.25); margin-left: -4px; }
.chip .dots i:first-child { margin-left: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 10px 4px; }
.sw { display: grid; justify-items: center; gap: 4px; background: transparent; border: 0; padding: 2px; font-size: 0.72rem; color: var(--muted); border-radius: var(--r); }
.sw i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.22); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.18), inset 0 4px 8px rgba(255, 255, 255, 0.25); transition: transform 0.15s; }
.sw:hover i { transform: scale(1.06); }
.sw[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.sw[aria-pressed="true"] i { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5px var(--accent); }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.toggle input { width: 18px; height: 18px; accent-color: var(--accent); }

/* option cards */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.opt b { font-weight: 600; }
.opt span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.opt[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.opts.wide { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .opts.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 4px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea { border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 9px 11px; min-width: 0; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.seg { display: grid; gap: 8px; }
.seg h3 { margin: 0; font-size: 0.9rem; font-weight: 600; }
.custom[hidden] { display: none; }
.custom { display: grid; gap: 14px; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r); }
.lookbtn { justify-self: start; background: transparent; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: 0.86rem; }

.real { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 8px; }
.real img { width: 76px; height: 96px; object-fit: cover; object-position: 50% 76%; border-radius: 6px; }
.real span { font-size: 0.88rem; color: var(--muted); line-height: 1.45; min-width: 0; }
.real b { color: var(--ink); }
.real u { color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }
.photo { width: 100%; max-height: 72vh; object-fit: contain; border-radius: var(--r); background: #ebe6ef; }

.send { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r); padding: 11px 18px; font-weight: 600; border: 1px solid var(--line); background: var(--panel); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 1.02rem; padding: 13px 20px; }
.btn-primary:hover { filter: brightness(1.06); }
.small { font-size: 0.84rem; color: var(--muted); margin: 0; }
.proto { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* sheets */
.backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(8, 9, 11, 0.6); display: flex; align-items: flex-end; justify-content: center; padding-top: env(safe-area-inset-top, 0px); }
.backdrop[hidden] { display: none; }
.sheet { width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; background: var(--panel); color: var(--ink); border-radius: 14px 14px 0 0; padding: 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); display: grid; gap: 14px; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3); }
@media (min-width: 700px) { .backdrop { align-items: center; } .sheet { border-radius: 14px; } }
.sheet-head { display: flex; align-items: center; gap: 10px; }
.sheet-head h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.45rem; }
.x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.x svg { width: 16px; height: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; align-items: start; }
.checklist svg { width: 20px; height: 20px; color: var(--ok); margin-top: 1px; }
.checklist small { grid-column: 2; color: var(--muted); font-variant-numeric: tabular-nums; }
.spec { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; font-size: 0.92rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.segctl { display: inline-grid; grid-auto-flow: column; justify-self: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.segctl button { border: 0; background: transparent; border-radius: 999px; padding: 6px 18px; font-weight: 600; font-size: 0.88rem; color: var(--muted); }
.segctl button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.shareimg { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; justify-self: center; border-radius: var(--r); border: 1px solid var(--line); background: #111315; object-fit: cover; }
.done { border: 1px solid var(--line); background: var(--accent-soft); border-radius: var(--r); padding: 12px 14px; }
.done p { margin: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
