/* breaker.studio v7 preview, layered on v6.css. Same brand: near-black, one foil gold,
   Instrument Sans, Plex Mono for readouts only. New: real boards as the proof, the year-one
   kit sold as one ledger, scenes, Control Panel features. No eyebrows, no icon-card grids. */

:root { --gold-line: rgba(226,166,29,.42); --r: 12px; }

/* ---------- hero: price readout replaces the dot facts ---------- */
.hero-price { display: grid; grid-template-columns: auto auto 1fr; gap: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.hero-price > div { display: grid; gap: 4px; padding: 18px 28px 0 0; }
.hero-price > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-price dt { font-size: 13.5px; color: var(--mute); }
.hero-price dd { margin: 0; font: 500 26px/1 var(--mono); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-price > div:first-child dd { color: var(--gold-hi); }
.hero-price > div:last-child dd { font: 600 17px/1.5 var(--sans); letter-spacing: -.01em; }
.hero-side { max-width: 190px; }
.hp { display: flex; align-items: center; gap: 0; }

/* ---------- built for: the shows, by name ---------- */
.built { border-block: 1px solid var(--line); background: var(--bg-2); }
.built-in { display: flex; align-items: center; gap: 18px 40px; padding-block: 22px; }
.built-k { flex: none; font-size: 14px; color: var(--mute); max-width: 9em; line-height: 1.3; }
.built-list { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.built-list li { display: flex; align-items: center; gap: 10px; font: 600 15.5px/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.built-list img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }

/* ---------- the boards ---------- */
.work { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.wk-stage { margin: 0; display: grid; gap: 18px; }
.wk-screen { position: relative; border-radius: var(--r); overflow: hidden; background: #050506; aspect-ratio: 1080 / 754; box-shadow: 0 0 0 1px var(--line-2), 0 50px 90px -50px rgba(0,0,0,.95), 0 30px 80px -50px rgba(226,166,29,.35); }
.wk-screen video { width: 100%; height: 100%; object-fit: cover; }
.wk-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,.45); }
.wk-bar i { display: block; height: 100%; width: 100%; background: var(--gold-hi); transform-origin: 0 50%; transform: scaleX(0); }
@keyframes wk-swap { from { opacity: 0; transform: translateY(6px); } }

.wk-list { display: grid; gap: 6px; }
.wk { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 14px; align-items: center; padding: 7px; border-radius: 9px; border: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.wk img { width: 92px; height: 64px; object-fit: cover; border-radius: 5px; opacity: .62; filter: saturate(.7); transition: opacity .3s, filter .3s; }
.wk span { display: grid; gap: 1px; min-width: 0; }
.wk b { font-size: 15.5px; line-height: 1.25; color: var(--body); transition: color .3s; }
.wk em { font-style: normal; font-size: 13px; color: var(--mute); }
.wk:hover { background: rgba(242,241,236,.03); }
.wk:hover img { opacity: .9; }
.wk:hover b { color: var(--ink); }
.wk.on { background: var(--panel); border-color: var(--line-2); }
.wk.on img { opacity: 1; filter: none; box-shadow: 0 0 0 1.5px var(--gold-hi); }
.wk.on b { color: var(--ink); }
.wk.on em { color: var(--gold-hi); }
.wk:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.wk-note { margin-top: 22px; max-width: 70ch; }
.work-sect .how { margin-top: clamp(80px, 9vw, 128px); }
/* the boards intro is one sentence pair: keep it on one line wherever the page is wide enough */
@media (min-width: 1101px) { #boards .sect-head { max-width: none; } #boards .sect-head .lede { max-width: none; } }

/* ---------- animations ---------- */
.anim { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.anim-copy { display: grid; gap: 22px; align-content: start; }
.anim-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 6px; border-top: 1px solid var(--line-2); }
.anim-pick { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font: 600 16px/1.3 var(--sans); letter-spacing: -.01em; color: var(--body); transition: color .2s; }
.anim-pick:nth-child(odd) { padding-right: 16px; }
.anim-pick:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.anim-pick:last-child:nth-child(odd) { grid-column: 1 / -1; }
.anim-pick i { flex: none; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; opacity: .45; transition: opacity .2s; }
.anim-pick:hover { color: var(--ink); }
.anim-pick.on { color: var(--gold-hi); }
.anim-pick.on i, .anim-pick:hover i { opacity: 1; }
.anim-pick:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 4px; }
.anim-rule { font-size: 14.5px; line-height: 1.5; color: var(--body); }
.anim-stage { margin: 0; display: grid; gap: 14px; }
.anim-screen { border-radius: var(--r); overflow: hidden; aspect-ratio: 1080 / 750; background: #050506; box-shadow: 0 0 0 1px var(--line-2), 0 50px 90px -50px rgba(0,0,0,.95), 0 30px 90px -55px rgba(90,168,255,.4); }
.anim-screen video { width: 100%; height: 100%; object-fit: cover; }
.anim-stage figcaption { font-size: 14.5px; color: var(--body); }

/* ---------- scenes (sample brand, CSS-drawn) ---------- */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); }
.scene { display: grid; gap: 10px; align-content: start; }
.scene p { font-size: 15px; max-width: 34ch; }
.scene .h3 { margin-top: 10px; }
.sc-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #07070a; box-shadow: 0 0 0 1px var(--line-2), 0 40px 70px -45px rgba(0,0,0,.95); }
.sc-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene-note { margin-top: 26px; }

/* ---------- Control Panel features ---------- */
.feat-sect { padding-top: clamp(40px, 5vw, 72px); }
.feats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.ft { display: grid; gap: 22px; align-content: space-between; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.ft-copy { display: grid; gap: 8px; }
.ft-copy p { font-size: 15.5px; max-width: 46ch; }
.ft-sound { grid-column: span 7; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.ft-lists { grid-column: span 5; }
.ft-up { grid-column: span 7; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }


/* list editor */
.le { border-radius: 10px; background: #0B0C0F; border: 1px solid var(--line-2); overflow: hidden; font-size: 14px; }
.le-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.le-head b { font-size: 15px; }
.le-n { font: 500 12px var(--mono); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.le-rows li { display: grid; grid-template-columns: 76px minmax(0, 1fr) 30px; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--body); }
.le-g { justify-self: start; font: 600 12.5px/1 var(--sans); color: var(--ink); padding: 5px 8px; border-radius: 4px; background: #1D2025; box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.le-rows i { justify-self: end; width: 28px; height: 16px; border-radius: 99px; background: #2A2D33; position: relative; }
.le-rows i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #6C6F76; transition: transform .25s var(--ease); }
.le-rows i.le-on { background: rgba(226,166,29,.9); }
.le-rows i.le-on::after { background: #16150F; transform: translateX(12px); }
.le-off { opacity: .55; }
.le-cust .le-g { background: rgba(226,166,29,.14); box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--gold-hi); }
.le-acts { display: flex; gap: 8px; justify-content: flex-end; padding: 10px 14px; }
.le-acts span { font: 600 12.5px/1 var(--sans); padding: 8px 10px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--body); }
.le-acts .le-pri { background: var(--gold); color: var(--gold-ink); box-shadow: none; }


/* updates timeline */

/* ---------- offer: the year-one ledger beside the checkout ---------- */
.deal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ledger { border-top: 1px solid var(--line-2); }
.lg-rows li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lg-rows img, .lg-sc, .lg-up { width: 112px; height: 74px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); background: #0B0C0F; }
.lg-rows li > span:last-child { display: grid; gap: 3px; }
.lg-rows b { font-size: 18px; letter-spacing: -.015em; line-height: 1.25; }
.lg-rows em { font-style: normal; font-size: 15px; line-height: 1.45; color: var(--body); max-width: 56ch; }
.lg-sc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 8px 10px; }
.lg-sc i { border-radius: 3px; background: linear-gradient(180deg, rgba(226,166,29,.4), rgba(226,166,29,.08)); box-shadow: inset 0 0 0 1px var(--gold-line); }
.lg-up { display: grid; place-items: center; color: var(--gold-hi); }
.lg-up svg { width: 30px; height: 30px; }
.deal .buy { position: sticky; top: calc(var(--nav-h) + 20px); }
.deal .due { margin-top: 0; }
.offer .sure { margin-top: clamp(28px, 3vw, 40px); padding-top: 24px; border-top: 1px solid var(--line); }
.offer .need { margin-top: 18px; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .work { grid-template-columns: minmax(0, 1fr) 250px; }
  .wk { grid-template-columns: 74px minmax(0,1fr); gap: 11px; }
  .wk img { width: 74px; height: 52px; }
  .ft-sound, .ft-up { grid-column: span 12; }
  .ft-lists { grid-column: span 6; }
}
@media (max-width: 900px) {
  .hero-price { order: 5; margin-top: 30px; grid-template-columns: 1fr 1fr; }
  .hero-price > div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 14px; }
  .hero-price > div:last-child dt { order: 0; }
  .hero-side { max-width: none; }
  .hp { padding: 14px 6px; font-size: 12.5px; }
  .built-in { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 18px; }
  .built-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; width: 100%; }
  .built-list li { font-size: 14px; white-space: normal; }
  .built-list img { width: 26px; height: 26px; flex: none; }

  .work { grid-template-columns: 1fr; }
  .wk-list { grid-row: 2; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scroll-snap-type: x mandatory; }
  .wk-list::-webkit-scrollbar { display: none; }
  .wk { flex: none; width: 132px; grid-template-columns: 1fr; gap: 7px; padding: 6px; scroll-snap-align: start; }
  .wk img { width: 100%; height: auto; aspect-ratio: 1080 / 754; }
  .wk b { font-size: 13.5px; }
  .wk em { font-size: 12px; }
  .wk-stage { grid-row: 1; }

  .anim { grid-template-columns: 1fr; }
  .anim-stage { order: -1; }
  .scenes { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); gap: 14px; }
  .scenes::-webkit-scrollbar { display: none; }
  .scene { scroll-snap-align: start; }

  .ft-sound, .ft-up, .ft-lists { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .deal { grid-template-columns: 1fr; }
  .deal .buy { position: static; }
  .lg-rows li { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 15px 0; }
  .lg-rows img, .lg-sc, .lg-up { width: 76px; height: 52px; }
  .lg-sc { padding: 6px; gap: 4px; }
  .lg-rows b { font-size: 16.5px; }
  .lg-rows em { font-size: 14.5px; }
  .offer .sure { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero-price dd { font-size: 23px; }
  .hp { padding: 14px 4px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* hero picks carry the show's badge; on phones the badge is the button */
.hp-a { width: 22px; height: 22px; border-radius: 50%; flex: none; margin-right: 10px; box-shadow: 0 0 0 1px var(--line-2); opacity: .7; transition: opacity .3s, box-shadow .3s; }
.hp-a-y { display: inline-block; box-shadow: none; border: 1.5px dashed var(--gold-hi); }
.hp.on .hp-a { opacity: 1; box-shadow: 0 0 0 1.5px var(--gold-hi); }
.hp.on .hp-a-y { box-shadow: none; }
.hero-picks .hp { padding-left: 0; }
.hero-picks .hp::before { display: none; }
@media (max-width: 900px) {
  .hero-picks { gap: 10px; align-items: center; }
  .hero-picks .hp { padding: 6px 2px; box-shadow: none !important; }
  .hp-a { width: 36px; height: 36px; margin-right: 0; }
  .hp .hp-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hp-yours .hp-n { position: static; width: auto; height: auto; clip-path: none; margin-left: 8px; font-size: 13px; }
  .hp.on .hp-a { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--gold-hi); }
}

/* ---- pass 2 fixes ---- */
.built { position: relative; z-index: 1; }
.built-in { gap: 14px 32px; }
.built-list { gap: 12px 24px; }
.built-list li { font-size: 14.5px; }
.wk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 22px; }
.wk-foot .wk-note { margin-top: 0; }
.anim-go { justify-self: start; margin-top: 6px; }
@media (max-width: 900px) { .anim-go { justify-self: stretch; } }
.ft-sound .ft-copy, .ft-up .ft-copy { align-self: start; }
@media (min-width: 1101px) { .ft-sound .ft-copy, .ft-up .ft-copy { align-self: center; } }
@media (max-width: 900px) {
  .scenes { display: flex; gap: 14px; }
  .scene { flex: 0 0 74%; }
  .wk-foot .btn { width: 100%; }
  .built-in { gap: 12px; }
}
@media (min-width: 1101px) {
  .built-list { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; flex: 1; gap: 0 20px; }
  .built-list li { font-size: 14px; }
  .built-k { max-width: 7.5em; }
}

/* ---- pass 3 (review) ---- */
.ask { font-size: 14px; color: var(--body); text-align: center; margin-top: -4px; }
.ask a { color: var(--ink); text-underline-offset: 3px; }
.ask a:hover { color: var(--gold-hi); }
.offer .need { padding-inline: 0; }
@media (min-width: 1101px) {
  .built-in { gap: 14px 24px; }
  .built-list { gap: 0 14px; }
  .built-list li { font-size: 13.5px; gap: 8px; }
  .built-list img { width: 26px; height: 26px; }
  .ft-sound { align-items: start; }
  .ft-sound .ft-copy { align-self: start; }
}
@media (max-width: 900px) {
  .wk-list, .scenes { scroll-padding-inline: var(--gutter); }
}
@media (min-width: 1101px) {
  .ft-sound { grid-column: span 5; grid-template-columns: 1fr; align-content: space-between; }
  .ft-lists { grid-column: span 7; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
  .ft-lists .ft-copy { align-self: start; }
}


/* ---- soundboard: the real comic-panel buttons (from the picker design) ---- */
@font-face { font-family: 'Anton'; src: url('../fonts/anton-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
.sbx { --cream: #F6E8C3; --ink-k: #0d0d0f; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px; border-radius: 10px; background: #0b0f16; border: 1px solid var(--line-2); }
.sbx-k { all: unset; box-sizing: border-box; position: relative; display: block; aspect-ratio: 1; --cut: 22%; container-type: inline-size; border-radius: 2px; transition: transform .12s var(--ease); }
button.sbx-k { cursor: pointer; }
.sbx-p { position: absolute; inset: 0; background: var(--cream); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); overflow: hidden; }
.sbx-p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sbx-c { position: absolute; left: 0; right: 0; bottom: 0; background: var(--cream); border-top: 1.5px solid var(--ink-k); color: var(--ink-k); font: 400 13.5cqw/1.32 'Anton', 'Arial Narrow', sans-serif; letter-spacing: .04em; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; padding-top: 1px; }
.sbx-l { position: absolute; top: 0; right: 0; width: 18%; height: 18%; display: grid; place-items: center; color: #7e8fa3; }
.sbx-l svg { width: 78%; height: 78%; }
.sbx-k::after { content: ''; position: absolute; inset: -4px; border: 2.5px solid transparent; border-radius: 4px; pointer-events: none; transition: border-color .2s; clip-path: polygon(0 0, calc(100% - var(--cut) - 1px) 0, 100% calc(var(--cut) + 1px), 100% 100%, 0 100%); }
button.sbx-k:hover::after { border-color: rgba(231,184,76,.45); }
.sbx-k.hit::after { border-color: var(--gold-hi); }
button.sbx-k:active { transform: translateY(1px); }
button.sbx-k:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.sbx-add .sbx-p { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(242,241,236,.2); color: var(--mute); display: grid; place-items: center; }
.sbx-add .sbx-p svg { width: 34%; height: 34%; margin-bottom: 14%; }
.sbx-add .sbx-c { background: transparent; border-top-color: rgba(242,241,236,.16); color: var(--mute); }

.ft-up { grid-column: 1 / -1; }

/* ---- moments: jump to a moment in the board reel ---- */


/* ---- Control Panel demo: brought up to the 1.7.5 panel, driving a real board ---- */
.ng-b { overflow: hidden; }
.ng-live { height: 1920px; }
.cp-nw { display: grid; gap: .1em; min-width: 0; }
.cp-nw b { font-size: 1.12em; }
.cp-nw .cp-k { font-size: .9em; }
.cp-sell { grid-template-columns: auto auto auto minmax(0, 1fr); }
.cp-tools2 { display: inline-flex; align-items: center; gap: .45em; margin-left: .35em; }
.cp-ico { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .5em; background: rgba(255,255,255,.06); color: var(--pm); }
.cp-tools2 .cp-pill { font-size: .86em; padding: .45em .75em; }
.cp-hits { display: grid; gap: .45em; margin-top: .9em; }
.cp-hrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45em; }
.cp-big { padding-inline: .9em; white-space: nowrap; }
.cp-big:not([aria-disabled="true"]) { background: rgba(226,166,29,.14); box-shadow: inset 0 0 0 1.5px var(--gold-hi); color: var(--ink); }
.cp-big:not([aria-disabled="true"]):hover { background: rgba(226,166,29,.24); box-shadow: inset 0 0 0 1.5px var(--gold-hi); }
.cp-end { display: grid; place-items: center; min-height: 2.6em; margin-top: .9em; border-radius: .55em; box-shadow: inset 0 0 0 1px var(--pl2); font-weight: 600; color: var(--pi); }
@media (max-width: 899px) {
  .cp-tools2, .cp-end { display: none; }
  .cp-sell { grid-template-columns: auto minmax(0, 1fr); }
  .cp-hits { margin-top: 0; }
}

/* ===================== the Control Panel, yours to try =====================
   Tokens measured from the real 1.7.5 panel (31 Oct): page #0A0D12, rows #10141B r10, code tags 52x30 r6
   800 14px on a 150deg team gradient, inputs 14px/500, tools 28px #6D7887, chaser #1E5EFF, buttons r7. */
.tr-sect { background: linear-gradient(180deg, transparent, var(--bg-2) 10%, var(--bg-2) 90%, transparent); }
.tr { --p-bg: #0A0D12; --p-row: #10141B; --p-row2: #151A22; --p-sold: #22272F; --p-ink: #EEF1F5; --p-mute: #6D7887; --p-soft: #A3ADBB; --p-line: rgba(255,255,255,.06); --p-line2: rgba(255,255,255,.12); --p-blue: #1E5EFF; --p-red: #FF7B80;
  display: grid; gap: 18px; }
.tr-head { margin-bottom: clamp(26px, 3vw, 40px); }

/* goals */
.tr-goals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: g; }
.tr-goals li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, background-color .3s, opacity .3s; }
.tg-c { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-3); color: transparent; transition: background-color .3s, border-color .3s, color .3s; }
.tg-t { display: grid; gap: 2px; min-width: 0; }
.tg-t b { font-size: 14.5px; line-height: 1.25; }
.tg-t em { font-style: normal; font-size: 12.5px; line-height: 1.35; color: var(--mute); }
.tr-goals li.now { border-color: var(--gold-hi); background: rgba(226,166,29,.07); }
.tr-goals li.now .tg-c { border-color: var(--gold-hi); }
.tr-goals li.ok { opacity: .62; }
.tr-goals li.ok .tg-c { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--gold-ink); }
.tr-goals li.ok b { text-decoration: line-through; text-decoration-color: rgba(242,241,236,.45); }
.tg-go { all: unset; cursor: pointer; display: inline-block; margin-top: 3px; padding: 5px 10px; border-radius: 6px; background: var(--gold); color: var(--gold-ink); font: 600 12.5px/1.2 var(--sans); }
.tg-go:hover { background: var(--gold-hi); }
.tg-go[hidden] { display: none; }
.tg-go:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

/* stage: panel left, stream right (it sticks while you work the panel) */
.tr-stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 30%, 380px); gap: 20px; align-items: start; }
.tr-side { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 12px; }
.rp { grid-column: 1; grid-row: 1; }

/* the stream */
.tr-stream { position: relative; aspect-ratio: 9 / 13; border-radius: 14px; overflow: hidden; background: #050506; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px #000; container-type: inline-size; }
.tr-stream .feed { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.tr-top { position: absolute; left: 4%; right: 4%; top: 3.4%; z-index: 1; display: flex; align-items: center; gap: 2.4cqw; font-size: 3.6cqw; line-height: 1.15; color: #fff; }
.tr-top .s-ava { width: 8cqw; height: 8cqw; }
.tr-top .s-host em { font-size: 2.9cqw; }
.tr-top .s-live { font-size: 2.6cqw; padding: 1.2cqw 1.8cqw; border-radius: .9cqw; }
.tr-board { position: absolute; left: 1.5%; right: 1.5%; top: 15cqw; aspect-ratio: 1080 / 754; overflow: hidden; }
.tr-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr-live { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity .3s; pointer-events: none; background: transparent; color-scheme: normal; }
.ng-on .tr-live { opacity: 1; }
.ng-on .tr-still { visibility: hidden; transition: visibility 0s .3s; }
.tr-fx { position: absolute; inset: -3% 0 0; opacity: 0; transform: scale(.96); transition: opacity .35s var(--ease), transform .5s var(--ease); pointer-events: none; }
.tr-fx video { width: 100%; height: 100%; object-fit: contain; }
.fx-on .tr-fx { opacity: 1; transform: none; }
.tr-closed { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 6px; background: #08080a; color: var(--ink); font-size: max(15px, 4.6cqw); opacity: 0; visibility: hidden; transition: opacity .06s, visibility .06s; }
.tr-closed span { font: 500 max(11px, 3cqw) var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.closed .tr-closed { opacity: 1; visibility: visible; }
.tr-note { position: absolute; z-index: 3; left: 50%; bottom: 5%; max-width: 92%; padding: 7px 13px; border-radius: 99px; background: rgba(8,8,7,.9); border: 1px solid var(--line-2); color: var(--ink); font: 600 12.5px/1.2 var(--sans); white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.tr-note.on { opacity: 1; transform: translate(-50%, 0); }
.tr-under { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.tr-under p { font-size: 13px; line-height: 1.4; color: var(--mute); }
.tr-obs { all: unset; box-sizing: border-box; cursor: pointer; min-height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-3); font: 600 13.5px var(--sans); color: var(--ink); display: inline-grid; place-items: center; white-space: nowrap; }
.tr-obs:hover { border-color: var(--ink); }
.closed .tr-obs { background: var(--ink); color: var(--gold-ink); border-color: var(--ink); }
.tr-obs:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

/* the panel */
.rp { position: relative; background: var(--p-bg); border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -40px #000; padding: 12px; display: grid; gap: 10px; color: var(--p-ink); font: 400 14px/1.3 var(--sans); min-width: 0; }
.rp button { font-family: var(--sans); }
.rp-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px; }
.rp-logo { font: 700 22px/1 var(--sans); letter-spacing: -.06em; color: var(--p-ink); }
.rp-logo i { font-style: normal; color: var(--gold-hi); }
.rp-name { font-size: 14px; font-weight: 600; margin-right: 6px; white-space: nowrap; }
.rp-tabs { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.rp-tabs span { padding: 6px 10px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--p-soft); white-space: nowrap; }
.rp-tabs .on { background: rgba(255,255,255,.08); color: var(--p-ink); }
.rp-pv { margin-left: auto; padding: 5px 9px; border-radius: 7px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 600; }
.rp-tools { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 10px; background: var(--p-row); overflow-x: auto; scrollbar-width: none; }
.rp-tools::-webkit-scrollbar { display: none; }
.rt-g { display: flex; gap: 2px; padding-left: 6px; margin-left: 2px; border-left: 1px solid var(--p-line); }
.rt-end { margin-left: auto; }
.rt { all: unset; box-sizing: border-box; cursor: pointer; padding: 7px 10px; border-radius: 7px; font: 600 12.5px/1.2 var(--sans); color: var(--p-soft); white-space: nowrap; transition: background-color .15s, color .15s; }
.rt:hover { color: var(--p-ink); background: rgba(255,255,255,.05); }
.rt.on { background: #fff; color: #16110A; }
.rt-off { cursor: default; opacity: .7; }
.rt-off:hover { background: none; color: var(--p-soft); }
.rt-red { color: var(--p-red); }
.rt[aria-disabled="true"] { opacity: .35; cursor: default; background: none; }
.rt:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -2px; }
.rp-body { display: grid; gap: 10px; transition: opacity .25s, filter .25s; }
.rp-body.dim { opacity: .3; filter: blur(1px); }
.rp-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--p-row); }
.rp-cat > span:first-child { display: grid; gap: 1px; }
.rp-cat b { font-size: 14.5px; font-weight: 600; }
.rp-cat em { font-style: normal; font-size: 12.5px; color: var(--p-soft); }
.rp-sm { padding: 5px 9px; border-radius: 7px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 600; white-space: nowrap; }
.rp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 12px; align-items: start; }
.rp-main { display: grid; gap: 8px; min-width: 0; }
.rp-sh { display: flex; align-items: center; gap: 8px; }
.rp-sh b { font-size: 15px; font-weight: 700; color: #fff; }
.rp-count { font-size: 12.5px; color: var(--p-soft); font-variant-numeric: tabular-nums; margin-right: auto; }
.rp-ico { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: rgba(255,255,255,.06); color: var(--p-soft); }
.rp-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.rp-bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease); }
.rp-air { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 9px 12px; border-radius: 9px; background: #fff; color: #0B0F16; font-size: 13px; }
.rp-air b { font-weight: 700; }
.rp-air span { color: #4A5260; }
.rp-air[hidden] { display: none; }
.rp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 6px; }
.pr { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto auto auto; align-items: center; gap: 5px; height: 44px; padding: 5px 6px; border-radius: 10px; background: var(--p-row); transition: background-color .2s; }
.pr-tag { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; width: 52px; height: 30px; border-radius: 6px; background: linear-gradient(150deg, var(--c1) 0%, var(--c2) 100%); color: #fff; font: 800 14px/1 var(--sans); letter-spacing: .01em; text-shadow: 0 1px 2px rgba(0,0,0,.4); transition: filter .2s, transform .12s; }
.pr-tag:hover { filter: brightness(1.15); }
.pr-tag:active { transform: scale(.96); }
.pr-tag:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.pr-in { all: unset; box-sizing: border-box; min-width: 0; width: 100%; height: 34px; padding: 7px 6px; border-radius: 7px; border: 1px solid transparent; font: 500 14px var(--sans); color: var(--p-ink); }
.pr-in::placeholder { color: #5A6372; }
.pr-in:hover { background: rgba(255,255,255,.03); }
.pr-in:focus { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.pr-sold { display: none; padding: 3px 5px; border-radius: 4px; background: #fff; color: #0B0F16; font: 800 9.5px/1 var(--sans); letter-spacing: .04em; }
.pr-t { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; width: 26px; height: 28px; border-radius: 5px; color: var(--p-mute); transition: color .15s, background-color .15s; }
.pr-t:hover { color: var(--p-ink); background: rgba(255,255,255,.06); }
.pr-t:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 1px; }
.pr-img { cursor: default; }
.pr.is-sold { background: var(--p-sold); box-shadow: inset 3px 0 0 rgba(255,255,255,.75); }
.pr.is-sold .pr-tag { filter: grayscale(.85) brightness(.75); opacity: .6; }
.pr.is-sold .pr-sold { display: inline-block; }
.pr.is-sold .pr-scr { visibility: hidden; }
.pr.is-hl { background: #111829; box-shadow: inset 3px 0 0 var(--p-blue); }
.pr.is-hl .pr-hl { background: var(--p-blue); color: #fff; }
.pr.is-sold.is-hl { background: var(--p-sold); box-shadow: inset 3px 0 0 rgba(255,255,255,.75); }
.pr.is-air { box-shadow: 0 0 0 2px #fff; }
.pr.is-air .pr-scr { background: #fff; color: #0B0F16; }
.pr.flash { animation: prflash .7s var(--ease); }
@keyframes prflash { 0% { background: rgba(255,255,255,.28); } 100% {} }
.rp-csv { justify-self: start; margin-top: 4px; padding: 7px 11px; border-radius: 7px; background: rgba(255,255,255,.06); font-size: 12.5px; font-weight: 600; }
.rp-col { display: grid; gap: 14px; }
.rp-box { display: grid; gap: 8px; }
.rp-h { font-size: 15px; font-weight: 700; color: #fff; }
.rp-h em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--p-mute); margin-left: 4px; }
.rp-anims { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rp-btn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; min-height: 50px; padding: 8px; border-radius: 7px; background: var(--p-row2); border: 1px solid var(--p-line); font: 600 13px/1.2 var(--sans); text-align: center; color: var(--p-ink); transition: background-color .15s, border-color .15s; }
.rp-btn:hover { background: #1C222C; border-color: rgba(255,255,255,.14); }
.rp-btn.on { background: #fff; color: #0B0F16; }
.rp-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.rp-calls { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rp-fw { grid-column: 1 / -1; }
.rp-f { display: flex; align-items: center; gap: 2px; min-width: 0; height: 36px; padding: 0 10px; border-radius: 7px; background: var(--p-row); border: 1px solid transparent; transition: border-color .15s; }
.rp-f:focus-within { border-color: rgba(255,255,255,.22); }
.rp-f i { font-style: normal; color: var(--p-mute); font-size: 13.5px; }
.rp-f input { all: unset; box-sizing: border-box; min-width: 0; width: 100%; font: 500 13.5px var(--sans); color: var(--p-ink); }
.rp-f input::placeholder { color: #5A6372; }
.rp-hits { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.rp-big, .rp-add { all: unset; box-sizing: border-box; cursor: pointer; height: 34px; padding: 0 12px; border-radius: 7px; font: 600 13px var(--sans); display: grid; place-items: center; white-space: nowrap; }
.rp-big { background: rgba(255,255,255,.06); color: var(--p-ink); }
.rp-big:hover { background: rgba(255,255,255,.1); }
.rp-big.on { background: #fff; color: #0B0F16; }
.rp-add { background: #EEF1F5; color: #0B0F16; }
.rp-add:hover { background: #fff; }
.rp-big:focus-visible, .rp-add:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.rp-hitlist { display: grid; gap: 4px; }
.rp-hitlist:empty { display: none; }
.rp-hitlist li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 7px 10px; border-radius: 7px; background: var(--p-row); font-size: 13px; }
.rp-hitlist span { color: var(--p-soft); font-size: 12px; }
.rp-hitlist i { font-style: normal; margin-left: auto; font-size: 11px; font-weight: 700; color: var(--gold-hi); }
.rp-endb { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; height: 44px; border-radius: 7px; border: 1px solid rgba(255,255,255,.22); font: 600 14.5px var(--sans); color: var(--p-ink); }
.rp-endb:hover { border-color: rgba(255,255,255,.4); }
.rp-endb:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

/* animation segment (sits on top of the panel, as in the real one) */
.rp-seg { display: grid; gap: 9px; padding: 13px 14px; border-radius: 12px; background: #141922; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.rp-seg[hidden] { display: none; }
.rs-t { font-size: 15.5px; font-weight: 700; }
.rs-buyer { display: grid; gap: 4px; }
.rs-buyer span { font-size: 12px; font-weight: 600; color: var(--p-soft); }
.rs-buyer input { all: unset; box-sizing: border-box; height: 36px; padding: 0 11px; border-radius: 7px; background: var(--p-row); border: 1px solid rgba(255,255,255,.08); font: 500 13.5px var(--sans); color: var(--p-ink); }
.rs-buyer input::placeholder { color: #5A6372; }
.rs-buyer input:focus { border-color: rgba(255,255,255,.25); }
.rs-p { font-size: 13.5px; color: var(--p-soft); }
.rs-p b { color: var(--p-ink); }
.rs-k { font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--p-soft); }
.rs-k[hidden], .rs-chips[hidden], .rs-row[hidden], .rs-b[hidden] { display: none; }
.rs-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.rs-chip { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; min-width: 46px; height: 28px; padding: 0 6px; border-radius: 6px; background: linear-gradient(150deg, var(--c1) 0%, var(--c2) 100%); color: #fff; font: 800 12.5px/1 var(--sans); text-shadow: 0 1px 2px rgba(0,0,0,.4); transition: filter .15s, transform .12s; }
.rs-chip:hover { filter: brightness(1.2); }
.rs-chip:active { transform: scale(.95); }
.rs-chip:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.rs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rs-a, .rs-b, .rs-end { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; min-height: 40px; padding: 6px 10px; border-radius: 7px; font: 700 13px/1.2 var(--sans); text-align: center; }
.rs-a { background: #fff; color: #0B0F16; }
.rs-b { background: rgba(255,255,255,.08); color: var(--p-ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.rs-end { justify-self: start; min-height: 32px; font-weight: 600; font-size: 12.5px; background: rgba(255,255,255,.06); color: var(--p-ink); }
.rs-a:focus-visible, .rs-b:focus-visible, .rs-end:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.rp-toast { position: absolute; left: 50%; bottom: 14px; z-index: 5; padding: 9px 14px; border-radius: 9px; background: #1B212B; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 30px -10px #000; font: 600 13px var(--sans); color: var(--p-ink); white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.rp-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* what to try next */
.try-ping { position: relative; z-index: 1; box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 6px rgba(226,166,29,.22) !important; animation: tryping 1.6s ease-in-out infinite; }
@keyframes tryping { 50% { box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 10px rgba(226,166,29,0); } }
.tr.all-done .tr-goals li { opacity: 1; }
.tr-foot { max-width: 80ch; }
.tr-foot b { color: var(--body); font-weight: 600; }

@media (max-width: 1180px) {
  .tr-goals { grid-template-columns: repeat(5, minmax(170px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tr-goals::-webkit-scrollbar { display: none; }
  .rp-cols { grid-template-columns: minmax(0, 1fr); }
  .rp-col { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
  .rp-endb { align-self: end; }
}
@media (max-width: 900px) {
  .tr-stage { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tr-side { grid-column: 1; grid-row: 1; top: var(--nav-h); z-index: 4; gap: 0; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter); background: var(--bg-2); }
  .rp { grid-row: 2; padding: 10px; }
  .tr-stream { aspect-ratio: 1080 / 754; border-radius: 10px; }
  .tr-stream .feed { filter: brightness(.45); }
  .tr-top { display: none; }
  .tr-board { inset: 0; top: 0; }
  .tr-under { margin-top: 8px; }
  .tr-under p { font-size: 12px; }
  .tr-obs { min-height: 32px; font-size: 12.5px; padding: 0 11px; }
  .rp-top .rp-tabs span:not(.on), .rp-name { display: none; }
  .rp-grid { grid-template-columns: 1fr 1fr; gap: 5px; }
  .pr { grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 3px; padding: 4px; height: 42px; }
  .pr-tag { width: 44px; height: 30px; font-size: 12.5px; }
  .pr-in { font-size: 16px; padding: 6px 3px; }
  .pr-img, .pr-sold { display: none !important; }
  .pr-t { width: 24px; }
  .rp-csv { display: none; }
  .tg-t em { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .try-ping { animation: none; }
  .pr.flash { animation: none; }
}
.rp b, .rp strong { color: inherit; }
.rp-air b { color: #0B0F16; }
.rs-p b { color: var(--p-ink); }
.tr-done { display: none; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 14px 16px; border-radius: 10px; background: rgba(226,166,29,.08); border: 1px solid var(--gold-line); }
.tr-done p { font-size: 15.5px; max-width: 60ch; }
.tr.all-done .tr-done { display: flex; }
@media (max-width: 900px) { .tr-done .btn { width: 100%; } }

/* ===================== the Control Panel, one click =====================
   The board is the star; one small card in the real panel's style holds the core loop. */
.oc-sect { background: linear-gradient(180deg, transparent, var(--bg-2) 12%, var(--bg-2) 88%, transparent); }
.oc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; }
.oc .tr-stream { aspect-ratio: 1080 / 900; }
.oc .tr-board { top: 13cqw; }
.oc-card { --p-row: #10141B; --p-ink: #EEF1F5; --p-soft: #A3ADBB;
  display: grid; gap: 14px; padding: 18px; border-radius: 16px; background: #0A0D12; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -40px #000; color: var(--p-ink); }
.oc-card b { color: inherit; }
.oc-head { display: flex; align-items: center; gap: 12px; }
.oc-what { display: grid; gap: 1px; margin-right: auto; }
.oc-what b { font-size: 15.5px; font-weight: 600; }
.oc-what em { font-style: normal; font-size: 13px; color: var(--p-soft); font-variant-numeric: tabular-nums; }
.oc-undo { all: unset; cursor: pointer; padding: 7px 12px; border-radius: 7px; background: rgba(255,255,255,.07); font: 600 13px var(--sans); }
.oc-undo:hover:not(:disabled) { background: rgba(255,255,255,.12); }
.oc-undo:disabled { opacity: .35; cursor: default; }
.oc-undo:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.oc-hint { font-size: 15px; font-weight: 600; color: var(--gold-hi); min-height: 1.3em; }
.oc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.sp { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; place-items: center; height: 40px; border-radius: 7px; background: linear-gradient(150deg, var(--c1) 0%, var(--c2) 100%); color: #fff; font: 800 13.5px/1 var(--sans); letter-spacing: .01em; text-shadow: 0 1px 2px rgba(0,0,0,.45); transition: filter .2s, opacity .2s, transform .12s; }
.sp:hover { filter: brightness(1.18); }
.sp:active { transform: scale(.94); }
.sp:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.sp.is-sold { filter: grayscale(.9) brightness(.55); opacity: .55; }
.sp.is-sold::after { content: 'SOLD'; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); padding: 1.5px 4px; border-radius: 3px; background: #fff; color: #0B0F16; font: 800 8px/1 var(--sans); letter-spacing: .05em; text-shadow: none; }
.sp.is-sold:hover { filter: grayscale(.6) brightness(.75); }
/* until the first click, one open team gently says "me" */
.oc:not(.used) .sp[data-id="col"] { box-shadow: 0 0 0 2px var(--gold-hi); animation: tryping 1.6s ease-in-out infinite; }
.oc.sop .sp:not(.is-sold) { box-shadow: 0 0 0 2px var(--gold-hi); }
.oc-moves { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.oc-btn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; min-height: 48px; border-radius: 9px; background: #151A22; border: 1px solid rgba(255,255,255,.08); font: 600 15px var(--sans); color: var(--p-ink); transition: background-color .15s, border-color .15s; }
.oc-btn:hover { background: #1C222C; border-color: rgba(255,255,255,.16); }
.oc.sop #cpSop { background: #fff; color: #0B0F16; }
.oc-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.oc-links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 2px; }
.oc-link { all: unset; cursor: pointer; font: 500 13px var(--sans); color: var(--p-soft); text-decoration: underline; text-decoration-color: rgba(163,173,187,.35); text-underline-offset: 3px; }
.oc-link:hover { color: var(--p-ink); }
.oc-link[hidden] { display: none; }
.oc-link:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.oc-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin-top: clamp(26px, 3vw, 38px); }
.oc-proof li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--body); }
.oc-proof li::before { content: ''; position: absolute; left: 0; top: .3em; width: 15px; height: 15px; background: var(--gold-hi); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.oc-proof b { color: var(--ink); }
.oc-sect { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.4 2.9 2.9 6.1-6.6'/%3E%3C/svg%3E"); }
.oc-fine { margin-top: 18px; max-width: 80ch; }
@media (max-width: 900px) {
  .oc { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .oc-stage { position: sticky; top: var(--nav-h); z-index: 4; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter); background: var(--bg-2); }
  .oc .tr-stream { aspect-ratio: 1080 / 754; border-radius: 10px; }
  .oc .tr-stream .feed { filter: brightness(.45); }
  .oc .tr-top { display: none; }
  .oc .tr-board { inset: 0; top: 0; }
  .oc-card { padding: 14px; gap: 12px; }
  .oc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .sp { height: 42px; font-size: 13px; }
  .oc-proof { grid-template-columns: 1fr; }
}
.oc-moves { grid-template-columns: 1fr; }
.oc-tag { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 3px 7px; border-radius: 99px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font: 600 10.5px/1 var(--sans); letter-spacing: .02em; color: var(--p-soft); white-space: nowrap; }

/* ---- demo team buttons, redesigned: sold ones recede, open ones are the stars ---- */
.oc-grid { gap: 7px; }
.sp { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 3px; height: 56px; border-radius: 10px;
  background: radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--tc) 55%, transparent), transparent 70%), linear-gradient(180deg, #1D232E, #151A22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.08), 0 6px 16px -8px rgba(0,0,0,.8);
  color: #fff; text-align: center; transition: transform .15s var(--ease), box-shadow .2s, background-color .2s, opacity .2s; }
.sp::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--tc), var(--tc2)); }
.sp b { font: 800 15px/1 var(--sans); letter-spacing: .02em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.sp span { font: 600 10.5px/1 var(--sans); color: rgba(238,241,245,.62); letter-spacing: .01em; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.sp:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc) 70%, #fff 30%), inset 0 1px 0 rgba(255,255,255,.1), 0 10px 22px -8px color-mix(in srgb, var(--tc) 60%, #000); }
.sp:active { transform: translateY(0) scale(.97); }
.sp:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
/* sold: flat, quiet, all the same */
.sp.is-sold { filter: none; opacity: 1; background: #10141B; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.sp.is-sold::before { display: none; }
.sp.is-sold b { font-size: 13px; color: #4A5260; text-shadow: none; }
.sp.is-sold span { display: none; }
.sp.is-sold::after { content: ''; position: static; transform: none; padding: 0; background: #3A414D; width: 11px; height: 11px; border-radius: 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.4 2.9 2.9 6.1-6.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.4 2.9 2.9 6.1-6.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.sp.is-sold:hover { transform: none; filter: none; background: #141922; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.sp.is-sold:hover b { color: #7A8392; }
.sp.just { animation: spjust .9s var(--ease); }
@keyframes spjust { 0% { background: #fff; } 25% { background: color-mix(in srgb, var(--tc) 60%, #10141B); } 100% { background: #10141B; } }
/* the one to click first, and every open one while Stash or Pass waits */
.oc:not(.used) .sp[data-id="col"] { box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 6px rgba(226,166,29,.2); animation: tryping 1.6s ease-in-out infinite; }
.oc.sop .sp:not(.is-sold) { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 2px var(--gold-hi); }
/* Stash or Pass and Undo to match */
.oc-btn { min-height: 50px; border-radius: 10px; background: linear-gradient(180deg, #1D232E, #151A22); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.08); font: 700 15px var(--sans); letter-spacing: .005em; transition: transform .15s var(--ease), box-shadow .2s; }
.oc-btn:hover { background: linear-gradient(180deg, #222935, #181D26); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.1); transform: translateY(-1px); }
.oc.sop #cpSop { background: var(--gold-hi); color: var(--gold-ink); box-shadow: none; }
.oc-undo { border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); background: transparent; }
.oc-undo:disabled { box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
@media (max-width: 900px) {
  .oc-grid { gap: 6px; }
  .sp { height: 52px; }
  .sp b { font-size: 14px; }
  .sp span { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) { .sp.just { animation: none; } }
.sp { place-content: initial; grid-template-columns: minmax(0, 1fr); align-content: center; padding-inline: 4px; }
.sp span { max-width: 100%; }

/* ---- demo: board on top of the camera, hands visible below (like the hero phone) ---- */
.oc { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; }
.oc .tr-stream { aspect-ratio: 9 / 14; }
.oc .tr-stream .feed { object-position: 50% 78%; }
.oc .tr-board { left: 1.5%; right: 1.5%; top: 15cqw; }
/* ---- demo fallback (pre-rendered from the real board) ---- */
.fb { position: absolute; inset: 0; display: none; }
.fb-on .fb { display: block; }
.fb-on .tr-live { display: none; }
.fb-t, .fb-n { position: absolute; opacity: 0; transition: opacity .25s; }
.fb-t { inset: 0; width: 100%; height: 100%; }
.fb-n { left: 48.148%; top: 5.836%; width: 19.63%; height: 8.488%; }
.fb-t.on, .fb-n.on { opacity: 1; }
.fb-card { position: absolute; left: 50%; top: 41.11%; height: 59.15%; width: auto; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; }
.fb-card.on { animation: fbcard 2s var(--ease) forwards; }
@keyframes fbcard { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 14% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } 22% { transform: translate(-50%, -50%) scale(1); } 85% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.96); } }
.fb-rip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
.rip-on .fb-rip { opacity: 1; }
@media (max-width: 900px) {
  .oc .tr-stream { aspect-ratio: 1 / 1; }
  .oc .tr-board { left: 0; right: 0; top: 0; }
  .oc .tr-stream .feed { filter: none; object-position: 50% 85%; }
}
@media (prefers-reduced-motion: reduce) { .fb-card.on { animation: none; opacity: 1; transform: translate(-50%, -50%); } }
@media (max-width: 900px) { .oc { grid-template-columns: minmax(0, 1fr); } }

/* ---- updates: one thin band ---- */
.ft.ft-up { position: relative; overflow: hidden; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: clamp(18px, 2.4vw, 32px); padding: clamp(18px, 1.8vw, 24px) clamp(20px, 2.4vw, 32px); background: linear-gradient(90deg, rgba(226,166,29,.07), rgba(226,166,29,0) 38%), var(--panel); }
.ft.ft-up::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(226,166,29,0), var(--gold-hi) 30%, var(--gold-hi) 70%, rgba(226,166,29,0)); }
.ux-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(226,166,29,.1); border: 1px solid rgba(226,166,29,.35); color: var(--gold-hi); }
.ux-ic svg { width: 24px; height: 24px; }
.ft-up .ft-copy { gap: 3px; }
.ft-up .ft-copy p { max-width: 76ch; font-size: 15px; }
.ux-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ux-chips li { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 14px 0 11px; border-radius: 99px; background: rgba(10,11,13,.5); border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.ux-chips svg { width: 14px; height: 14px; color: var(--gold-hi); }
@media (prefers-reduced-motion: no-preference) {
  .ft-up.in .ux-ic svg { animation: ux-spin 1.1s cubic-bezier(.5,0,.2,1) .25s both; }
  @keyframes ux-spin { from { transform: rotate(-180deg); } to { transform: none; } }
}
@media (max-width: 1100px) {
  .ft.ft-up { grid-template-columns: auto minmax(0, 1fr); row-gap: 14px; }
  .ux-chips { grid-column: 2; }
}
@media (max-width: 560px) {
  .ft.ft-up { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 14px; }
  .ux-ic { width: 40px; height: 40px; }
  .ux-ic svg { width: 19px; height: 19px; }
  .ux-chips { grid-column: 1 / -1; }
}

/* ---------- hero: everything you get, then one price for all of it ---------- */
.hero-list { list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; margin: 30px 0 0; padding: 0; }
.hero-list li { display: flex; align-items: center; gap: 10px; font: 600 19px/1.25 var(--sans); letter-spacing: -.012em; color: var(--ink); }
.hero-list svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--gold-ink); background: var(--gold-hi); }
.hero-total { display: flex; align-items: center; gap: 16px; margin: 30px 0 0; }
.hero-total b { font: 600 clamp(52px, 5.4vw, 72px)/.9 var(--sans); letter-spacing: -.045em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.hero-total span { font: 600 17px/1.3 var(--sans); letter-spacing: -.01em; color: var(--body); }
.hero-after { margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: var(--mute); }
@media (max-width: 900px) {
  .hero-list { margin-top: 20px; gap: 10px 22px; }
  .hero-list li { font-size: 17px; }
  .hero-total { margin-top: 22px; }
}
@media (max-width: 420px) {
  .hero-list { grid-template-columns: 1fr; }
}

/* ---------- sizes: the Full and the Slim board, each over a live break ---------- */
.sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(20px, 5vw, 72px); }
.size { margin: 0; display: grid; gap: 16px; align-content: start; }
.size-phone { aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #050506; border: 6px solid #15171b; box-shadow: 0 0 0 1px var(--line-2), 0 50px 90px -50px rgba(0,0,0,.95); }
.size-phone { position: relative; }
/* two videos per phone: the next board loads in the hidden one and fades in over the last part of the current clip */
.size-phone video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.size-phone video.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .size-phone video { transition: none; } }
.size figcaption { display: grid; gap: 4px; text-align: center; }
.size figcaption b { font: 600 19px/1.25 var(--sans); letter-spacing: -.012em; color: var(--ink); }
.size figcaption span { font-size: 15px; line-height: 1.45; color: var(--body); }
@media (max-width: 900px) {
  .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .size-phone { border-radius: 18px; border-width: 4px; }
  .size figcaption b { font-size: 16.5px; }
  .size figcaption span { font-size: 13.5px; }
}

/* ---------- the page's light ----------
   The hero's holographic cards are gold and blue under a dark table. That light carries down the page: soft pools,
   alternating sides, each spilling past its section's edges so no section starts or stops. All of them sit under the
   content (main is their stacking context), dim enough that the boards and videos stay the brightest thing on screen.
   A faint grain keeps the black from reading as flat. */
main { position: relative; isolation: isolate; overflow-x: clip; }
main::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05; background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Two layers of light. A wide, faint wash runs down each side of the page and overlaps the next section's (so the
   gaps between sections are never bare black), and a brighter pool sits behind each section's main piece. */
.work-sect::before, .work-sect::after, .size-sect::before, .size-sect::after, .anim-sect::before, .anim-sect::after,
.feat-sect::before, .feat-sect::after, .scene-sect::before, .scene-sect::after, .offer::before, .offer::after, #questions::before, #questions::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none; }
/* washes: tall, soft, half off the page edge, 140% of the section high so each one runs into its neighbours */
.work-sect::before, .anim-sect::before, .scene-sect::before, #questions::before { left: -34vw; top: -20%; width: 80vw; height: 140%; background: radial-gradient(closest-side, rgba(226,166,29,0.065), transparent); }
.size-sect::before, .feat-sect::before, .offer::before { right: -34vw; top: -20%; width: 80vw; height: 140%; background: radial-gradient(closest-side, rgba(86,140,255,0.06), transparent); }
/* pools: behind the piece that matters in each section */
.work-sect::after   { left: 22%;  top: 8%;  width: 62vw; height: 46%; background: radial-gradient(closest-side, rgba(226,166,29,0.08), transparent); }
.size-sect::after   { left: 50%; transform: translateX(-50%); top: 22%; width: 56vw; height: 86%; background: radial-gradient(closest-side, rgba(226,166,29,0.1), transparent); }
.anim-sect::after   { right: -4vw; top: 0;   width: 64vw; height: 110%; background: radial-gradient(closest-side, rgba(86,140,255,0.09), transparent); }
.feat-sect::after   { left: 14%;  top: 18%; width: 60vw; height: 90%; background: radial-gradient(closest-side, rgba(226,166,29,0.075), transparent); }
.scene-sect::after  { left: 50%; transform: translateX(-50%); top: 26%; width: 84vw; height: 84%; background: radial-gradient(closest-side, rgba(226,166,29,0.1), transparent); }
.offer::after       { right: -6vw; top: 10%; width: 56vw; height: 92%; background: radial-gradient(closest-side, rgba(226,166,29,0.11), transparent); }
#questions::after   { left: -8vw; top: 0;   width: 46vw; height: 80%; background: radial-gradient(closest-side, rgba(86,140,255,0.075), transparent); }
@media (max-width: 900px) {
  .work-sect::before, .anim-sect::before, .scene-sect::before, #questions::before { left: -70vw; width: 150vw; }
  .size-sect::before, .feat-sect::before, .offer::before { right: -70vw; width: 150vw; }
  .work-sect::after, .size-sect::after, .anim-sect::after, .feat-sect::after, .scene-sect::after, .offer::after, #questions::after { width: 130vw; }
  .work-sect::after, .feat-sect::after, #questions::after { left: -15vw; }
  .anim-sect::after, .offer::after { right: -15vw; }
}
}
