/* v2 — the "drop desk" look. Loaded after site.css; pages move onto it one at a time. */
:root {
  --bg: #121419; --panel: #191c23; --panel-2: #20242d; --line: #2a2f3a;
  --ink: #f1f2f4; --dim: #9aa1ad; --faint: #646b78;
  --accent: #ff7a1a; --accent-ink: #160c02; --accent-soft: rgba(255, 122, 26, .13);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font: "Instrument Sans", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #f3f1ec; --panel: #fbfaf7; --panel-2: #eae7df; --line: #d9d5cb; --ink: #17181b; --dim: #575c66; --faint: #8a8f99; --accent: #e2620a; --accent-ink: #fff; --accent-soft: rgba(226, 98, 10, .11); }
}
:root[data-theme="light"] { --bg: #f3f1ec; --panel: #fbfaf7; --panel-2: #eae7df; --line: #d9d5cb; --ink: #17181b; --dim: #575c66; --faint: #8a8f99; --accent: #e2620a; --accent-ink: #fff; --accent-soft: rgba(226, 98, 10, .11); }

body.v2 { font-family: var(--font); background:
  linear-gradient(color-mix(in srgb, var(--line) 38%, transparent) 1px, transparent 1px) 0 0 / 100% 88px,
  var(--bg); background-attachment: local; }
body.v2 .wrap { max-width: 1240px; padding: 0 28px; }
@media (max-width: 640px) { body.v2 .wrap { padding: 0 16px; } }
.v2 .label { font: 600 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.v2 .label b { color: var(--accent); font-weight: 600; }
.v2 .disp { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .86; }

/* header */
.v2 .site-head { background: color-mix(in srgb, var(--bg) 82%, transparent); }
.v2 .site-head .wrap { height: 58px; }
.v2 .brand { font-family: var(--display); font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.v2 .nav a { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; }
.v2 .nav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.v2 .theme-btn { border-radius: 4px; }

/* ---------- desk: the live clock ---------- */
.desk { padding: clamp(28px, 5vw, 56px) 0 0; }
.desk-top { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.live { display: inline-flex; align-items: center; gap: 9px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.clock { display: flex; align-items: flex-end; gap: clamp(8px, 1.6vw, 22px); flex-wrap: wrap; }
.clock .unit { display: flex; flex-direction: column; gap: 8px; }
.clock .n { font-family: var(--display); font-weight: 900; font-size: clamp(84px, 19vw, 264px); line-height: .78; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.clock .unit.days .n { color: var(--accent); }
.clock .unit.small .n { font-size: clamp(40px, 7.4vw, 104px); color: var(--ink); }
.clock .sep { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 7.4vw, 104px); line-height: .78; color: var(--faint); padding-bottom: 20px; }
.desk-line { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: end; }
@media (max-width: 860px) { .desk-line { grid-template-columns: 1fr; } }
.desk-line h1 { font: 600 clamp(19px, 2.2vw, 26px)/1.25 var(--font); letter-spacing: -.01em; max-width: 26ch; text-wrap: balance; text-transform: none; }
.desk-line h1 em { font-style: normal; color: var(--accent); }
.desk-line p { color: var(--dim); max-width: 46ch; }

/* ---------- timeline ---------- */
.tl { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); }
.tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0 0; }
.tl-stage { position: relative; height: 210px; margin-top: 8px; cursor: crosshair; touch-action: pan-y; outline: none; }
.tl-stage svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tl-stage .bar { fill: var(--faint); transition: fill .15s; }
.tl-stage .bar.has { fill: color-mix(in srgb, var(--accent) 62%, var(--panel-2)); }
.tl-stage .bar.on { fill: var(--accent); }
.tl-stage .axis { stroke: var(--line); }
.tl-stage .yr { font: 600 11px var(--mono); fill: var(--faint); letter-spacing: .1em; }
.tl-stage .cursor { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 4; }
.tl-read { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 32px; align-items: start; padding: 18px 0 22px; min-height: 124px; }
@media (max-width: 760px) { .tl-read { grid-template-columns: 1fr; min-height: 0; } }
.tl-read .when .disp { font-size: clamp(34px, 4.6vw, 56px); }
.tl-read .what { color: var(--dim); font-size: 15px; }
.tl-read .what b { color: var(--ink); font-weight: 600; }
.tl-read .took { text-align: right; }
@media (max-width: 760px) { .tl-read .took { text-align: left; } }
.tl-read .took .disp { font-size: clamp(44px, 6vw, 80px); color: var(--accent); }
.tl-read .took.none .disp { color: var(--faint); }
.tl-keys { display: flex; gap: 8px; }
.tl-keys button { width: 34px; height: 30px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); border-radius: 4px; cursor: pointer; font: 600 14px var(--mono); }
.tl-keys button:hover { color: var(--ink); border-color: var(--faint); }

/* ---------- three instruments ---------- */
.trio { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 980px) { .trio { grid-template-columns: 1fr; } }
.inst { padding: 30px 28px 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.inst:last-child { border-right: 0; }
.inst:first-child { padding-left: 0; }
.inst:last-child { padding-right: 0; }
@media (max-width: 980px) { .inst { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; } .inst:last-child { border-bottom: 0; } }
.inst h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 42px); line-height: .9; letter-spacing: 0; }
.inst .sub { color: var(--dim); font-size: 15px; max-width: 40ch; }
.inst .more { margin-top: auto; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.inst .more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* window grid */
.win { display: grid; grid-template-columns: 34px repeat(9, 1fr); gap: 4px; align-items: center; }
.win .h, .win .d { font: 600 10.5px var(--mono); color: var(--faint); text-align: center; letter-spacing: .04em; }
.win .d { text-align: left; }
.win .c { aspect-ratio: 1 / 1; border-radius: 3px; background: var(--panel-2); position: relative; }
.win .c.now { outline: 2px solid var(--ink); outline-offset: 2px; }
.status { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; align-self: flex-start; }
.status.hot { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* rate race */
.race { display: grid; gap: 9px; }
.race .r { display: grid; grid-template-columns: 112px minmax(0, 1fr) 46px; gap: 12px; align-items: center; font-size: 14.5px; }
.race .r span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.race .t { height: 14px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.race .t i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.1s cubic-bezier(.16, 1, .3, 1); }
.race .r b { font: 700 14px var(--mono); text-align: right; }
.race .r.hid span:first-child { filter: blur(5px); user-select: none; }
.race .r.hid .t i { background: repeating-linear-gradient(120deg, var(--accent) 0 5px, transparent 5px 10px); animation: slide 1.2s linear infinite; background-size: 20px 100%; }
@keyframes slide { to { background-position: 20px 0; } }
.race .r.hid b { color: var(--accent); }

/* stack switcher */
.stack { display: grid; gap: 6px; }
.stack button { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 10px 12px; background: none; border: 1px solid var(--line); border-radius: 4px; color: inherit; font: inherit; cursor: pointer; }
.stack button img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; }
.stack button b { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1; }
.stack button small { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.stack button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.stack-out { color: var(--dim); font-size: 15px; min-height: 68px; }
.stack-out a { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* closing band */
.band { padding: clamp(40px, 7vw, 88px) 0; }
.band .disp { font-size: clamp(54px, 10.5vw, 150px); max-width: 11ch; }
.band .disp span { color: var(--accent); }
.band-row { display: flex; flex-wrap: wrap; gap: 20px 44px; align-items: end; justify-content: space-between; margin-top: 26px; }
.band-row p { color: var(--dim); max-width: 44ch; font-size: 17px; }
.v2 .btn { border-radius: 4px; font: 700 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 14px 20px; }

.rise { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; } .live i, .race .r.hid .t i { animation: none; } }

/* ---------- hero with the particle number ---------- */
body.v2 { background: var(--bg); }
.desk { padding: 0; }
.hero2 { position: relative; height: min(84vh, 820px); min-height: 540px; overflow: hidden; }
.hero2 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero2-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 26px; padding-bottom: 34px; pointer-events: none; }
.hero2-in a, .hero2-in button { pointer-events: auto; }
.hero2-foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; }
.hero2-foot h1 { font: 600 clamp(24px, 3.3vw, 44px)/1.08 var(--font); letter-spacing: -.025em; max-width: 15ch; margin: 12px 0 14px; text-transform: none; text-wrap: balance; }
.hero2-foot h1 em { font-style: normal; color: var(--accent); }
.fx-label { transition: color .2s; }
.fx-label.hot { color: var(--accent); }
.tick { font: 600 15px var(--mono); letter-spacing: .08em; color: var(--dim); font-variant-numeric: tabular-nums; }
.hero2-side { max-width: 400px; display: grid; gap: 18px; }
.hero2-side p { color: var(--dim); font-size: 15.5px; }
.hero2-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tl { margin-top: 0; }
@media (max-width: 900px) { .hero2 { height: auto; min-height: 0; } .hero2-in { gap: 44vh; } }

/* ---------- home, slimmed: one hero that explains itself, then four doors ---------- */
.hero2.home { height: min(88vh, 860px); }
.fact { max-width: 420px; padding-top: clamp(20px, 6vh, 64px); display: grid; gap: 10px; }
.fact-cap { font-size: clamp(30px, 4.4vw, 58px); color: var(--accent); line-height: .9; min-height: 1.8em; text-wrap: balance; }
.fact-sub { color: var(--dim); font-size: 15.5px; max-width: 34ch; min-height: 3em; }
.fact-dots { display: flex; gap: 8px; margin-top: 6px; pointer-events: auto; }
.fact-dots button { width: 34px; height: 5px; border-radius: 2px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.fact-dots button[aria-selected="true"] { background: var(--accent); width: 56px; }
.hero2.home .hero2-foot h1 { font: 600 clamp(28px, 3.6vw, 50px)/1.04 var(--font); max-width: 14ch; margin: 0; }
.doors { border-top: 1px solid var(--line); }
.door { display: grid; grid-template-columns: 54px minmax(0, auto) minmax(0, 1fr) 44px; gap: 8px 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .25s cubic-bezier(.16, 1, .3, 1), color .2s; }
.door .disp { font-size: clamp(44px, 7.4vw, 108px); transition: color .2s; }
.door-sub { color: var(--dim); font-size: 16px; max-width: 42ch; justify-self: end; text-align: right; transition: color .2s; }
.door-go { font: 700 30px var(--mono); color: var(--faint); justify-self: end; transition: transform .25s, color .2s; }
.door:hover, .door:focus-visible { padding-left: 18px; }
.door:hover .disp, .door:focus-visible .disp { color: var(--accent); }
.door:hover .door-go { color: var(--accent); transform: translateX(8px); }
.door:hover .door-sub { color: var(--ink); }
@media (max-width: 820px) { .door { grid-template-columns: 34px minmax(0, 1fr) 28px; } .door-sub { grid-column: 2 / -1; justify-self: start; text-align: left; } .hero2.home { height: auto; } .hero2.home .hero2-in { gap: 46vh; } }

.hero2.home .hero2-in { padding-bottom: 54px; }

/* ---------- home polish ---------- */
.hero2.home .hero2-foot h1 { font: 500 clamp(19px, 1.9vw, 25px)/1.25 var(--font); letter-spacing: -.01em; max-width: 22ch; color: var(--ink); }
.hero2.home .hero2-foot h1 .w { display: inline-block; opacity: 0; transform: translateY(.6em); animation: wordin .6s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes wordin { to { opacity: 1; transform: none; } }
.fact-cap { font-size: clamp(40px, 6vw, 84px); }
.fact.swap .fact-cap, .fact.swap .fact-sub { animation: capin .55s cubic-bezier(.16, 1, .3, 1) both; }
.fact.swap .fact-sub { animation-delay: .08s; }
@keyframes capin { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero2-side { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(6px); padding: 14px 0 0 14px; border-radius: 6px; }
.ticker { border-top: 1px solid var(--line); overflow: hidden; padding: 13px 0; }
.ticker-in { display: flex; gap: 46px; width: max-content; animation: tick 46s linear infinite; }
.ticker-in span { font: 600 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.ticker-in span::before { content: "•"; color: var(--accent); margin-right: 46px; }
@keyframes tick { to { transform: translateX(-50%); } }
.door { grid-template-columns: 54px minmax(0, auto) minmax(0, 1fr) 44px; }
.door-sub, .door-prev { grid-column: 3; grid-row: 1; justify-self: end; }
.door-prev { opacity: 0; transform: translateX(14px); transition: opacity .25s, transform .3s cubic-bezier(.16, 1, .3, 1); display: flex; align-items: center; gap: 10px; pointer-events: none; }
.door:hover .door-prev, .door:focus-visible .door-prev { opacity: 1; transform: none; }
.door:hover .door-sub, .door:focus-visible .door-sub { opacity: 0; }
.door-sub { transition: opacity .2s; }
.door-prev img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: var(--panel-2); }
.door-prev svg { width: min(340px, 30vw); height: 64px; }
.door-prev svg rect { fill: var(--faint); }
.door-prev svg rect.has { fill: var(--accent); }
#prev-cards { flex-direction: column; align-items: stretch; gap: 7px; width: min(340px, 30vw); }
.pb { display: grid; grid-template-columns: 110px 1fr 40px; gap: 10px; align-items: center; font-size: 13.5px; }
.pb b { font-weight: 600; text-align: left; white-space: nowrap; }
.pb em { font: 700 13px var(--mono); font-style: normal; text-align: right; }
.pt { height: 9px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.pt i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .7s cubic-bezier(.16, 1, .3, 1); }
.door:hover .pt i { width: var(--w); }
.chipm { font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--dim); }
@media (max-width: 820px) { .door-prev { display: none; } .door:hover .door-sub { opacity: 1; } .door-sub { grid-column: 2 / -1; } .hero2-side { background: none; backdrop-filter: none; padding: 0; } }
@media (prefers-reduced-motion: reduce) { .ticker-in { animation: none; } .hero2.home .hero2-foot h1 .w { opacity: 1; transform: none; animation: none; } }

/* ---------- setup: the helix ---------- */
.setup-top { padding: clamp(36px, 6vw, 72px) 0 10px; }
.setup-top h1 { font-size: clamp(64px, 12vw, 176px); margin: 14px 0 22px; }
.setup-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; max-width: 980px; }
@media (max-width: 760px) { .setup-intro { grid-template-columns: 1fr; } }
.setup-intro p { color: var(--dim); font-size: 16.5px; }
.setup-intro .rule { border-left: 2px solid var(--accent); padding-left: 16px; }
.setup-intro .rule b { color: var(--ink); }
.helix-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 34px; overflow: hidden; background: radial-gradient(60% 70% at 72% 50%, var(--accent-soft), transparent 70%); }
.helix-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: center; min-height: min(78vh, 720px); }
@media (max-width: 900px) { .helix-grid { grid-template-columns: 1fr; min-height: 0; } .hx-stage { order: -1; } }
.hx-detail { padding: 34px 0; display: grid; gap: 14px; align-content: center; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hx-chips button { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 11px; border: 1px solid var(--line); background: none; color: var(--dim); border-radius: 4px; cursor: pointer; }
.hx-chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hx-detail #hx-kind { color: var(--accent); }
.hx-detail h2 { font-size: clamp(54px, 7.4vw, 116px); line-height: .84; }
.hx-why { font-size: clamp(17px, 1.6vw, 21px); max-width: 30ch; }
.v2 .hx-detail .points { padding: 0; margin-top: 4px; max-width: 46ch; }
.hx-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 10px; }
.v2 .btn.off { opacity: .45; pointer-events: none; }
.hx-detail.swap #hx-name, .hx-detail.swap #hx-why, .hx-detail.swap .points, .hx-detail.swap #hx-kind { animation: capin .5s cubic-bezier(.16, 1, .3, 1) both; }
.hx-detail.swap #hx-why { animation-delay: .05s; } .hx-detail.swap .points { animation-delay: .1s; }
.hx-stage { position: relative; height: min(78vh, 720px); min-height: 460px; perspective: 1200px; perspective-origin: 50% 46%; cursor: grab; touch-action: none; outline: none; user-select: none; }
.hx-stage:active { cursor: grabbing; }
.hx-spin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-7deg); }
.hx-card { position: absolute; left: -84px; top: -112px; width: 168px; height: 224px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); font: inherit; cursor: pointer; display: grid; grid-template-rows: 1fr auto auto; gap: 4px; padding: 14px; text-align: left; backface-visibility: visible; transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .5s, border-color .3s, box-shadow .3s; will-change: transform; }
.hx-spin.drag .hx-card { transition: opacity .2s, border-color .3s; }
.hx-card img, .hx-card .mono { width: 100%; aspect-ratio: 1 / 1; border-radius: 7px; object-fit: cover; background: var(--panel-2); align-self: start; }
.hx-card .mono { display: grid; place-items: center; font: 900 54px var(--display); text-transform: uppercase; color: var(--accent); }
.hx-card b { font: 800 22px/1 var(--display); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-card small { font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hx-card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 70px -20px color-mix(in srgb, var(--accent) 60%, transparent); }
.hx-hint { position: absolute; right: 0; bottom: 16px; }
@media (max-width: 900px) { .hx-stage { height: 420px; min-height: 0; } .hx-card { width: 132px; height: 180px; left: -66px; top: -90px; } .hx-card b { font-size: 18px; } }
.index { padding: clamp(40px, 6vw, 72px) 0; }
.index-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 20px; }
@media (max-width: 900px) { .index-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .index-grid { grid-template-columns: 1fr; } }
.index-col h3 { font-size: 26px; margin-bottom: 8px; }
.index-col a, .index-col span.off { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.index-col a b, .index-col .off b { font-weight: 650; }
.index-col a span, .index-col .off span { color: var(--dim); font-size: 14px; }
.index-col a:hover b { color: var(--accent); }
.index-col .off { opacity: .6; }
@media (prefers-reduced-motion: reduce) { .hx-card { transition: none; } }

/* ---------- setup tweaks ---------- */
.hx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-bottom: 12px; }
.hx-bar .hx-chips { margin-bottom: 0; }
.hx-step { display: flex; align-items: center; gap: 12px; }
.hx-detail { align-content: start; padding-top: clamp(34px, 9vh, 96px); min-height: min(78vh, 720px); }
@media (max-width: 900px) { .hx-detail { min-height: 0; padding-top: 22px; } }
.hx-card img, .door-prev img, .stack img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.hx-card { -webkit-user-drag: none; }

/* ---------- setup: the action row is pinned to the bottom of the panel, so the arrows never move ---------- */
.hx-detail { display: flex; flex-direction: column; gap: 14px; height: min(78vh, 720px); min-height: 520px; padding: clamp(28px, 6vh, 64px) 0 clamp(28px, 6vh, 56px); }
.hx-act { margin-top: auto; padding-top: 16px; justify-content: space-between; }
@media (max-width: 900px) { .hx-detail { height: auto; min-height: 430px; } }

/* ---------- light / dark switch: upright. Down = dark (default). The ball falls and bounces; it springs back up. ---------- */
.v2 .theme-btn { width: 26px; height: 48px; border-radius: 99px; padding: 0; position: relative; background: var(--panel-2); border: 1px solid var(--line); overflow: hidden; flex: none; }
.v2 .theme-btn .knob { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink);
  transform: translateY(22px);
  transition: transform 1.2s linear(0, .004, .016, .035, .063, .098, .141 13.6%, .25, .391, .563, .765, 1, .891 40.9%, .848, .813, .785, .766, .754, .75, .754, .766, .785, .813, .848, .891 68.2%, 1 72.7%, .973, .953, .941, .938, .941, .953, .973, 1, .988, .984, .988, 1); }
:root[data-theme="light"] .v2 .theme-btn .knob { transform: translateY(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .v2 .theme-btn .knob { transition: none !important; } }

/* ---------- setup: card text never clipped, nothing selects while you drag ---------- */
.hx-card { grid-template-rows: auto auto auto; align-content: start; gap: 7px; height: auto; min-height: 224px; top: -118px; }
.hx-card b { line-height: 1.05; padding-top: 3px; white-space: normal; overflow: visible; font-size: 21px; }
.hx-card small { line-height: 1.3; }
body.grabbing, body.grabbing * { user-select: none !important; -webkit-user-select: none !important; cursor: grabbing !important; }
.hx-detail, .hx-stage { -webkit-user-select: none; user-select: none; }

/* ---------- setup: the full sheet for whatever is at the front ---------- */
.sheet { border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) 0; background: color-mix(in srgb, var(--panel) 65%, transparent); }
.sheet-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.sheet-head img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--panel-2); }
.sheet-head h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: .9; margin-top: 4px; }
.sheet-head .label { color: var(--accent); }
@media (max-width: 640px) { .sheet-head { grid-template-columns: 52px 1fr; } .sheet-head .btn { grid-column: 1 / -1; justify-content: center; } .sheet-head img { width: 52px; height: 52px; } }
.sheet-offer { margin-top: 20px; padding: 13px 16px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); color: var(--accent); border-radius: 6px; font-weight: 600; font-size: 15px; }
.sheet-offer[hidden] { display: none; }
.sheet-grid { display: grid; grid-template-columns: 1.15fr 1fr .9fr; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.sheet-col { padding: 22px 28px 4px 0; display: grid; gap: 14px; align-content: start; }
.sheet-col + .sheet-col { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 900px) { .sheet-grid { grid-template-columns: 1fr; } .sheet-col + .sheet-col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tier { border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; display: grid; gap: 4px; background: var(--bg); }
.tier b { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.tier span { font: 600 15px var(--mono); }
.tier span:first-of-type { color: var(--accent); font-size: 17px; }
.tier.empty span { color: var(--dim); font: 500 15px var(--font); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font: 700 14px var(--mono); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--dim); }
.sheet-note { color: var(--dim); font-size: 14.5px; }
.sheet.swap .sheet-head h2, .sheet.swap .sheet-grid, .sheet.swap .sheet-offer { animation: capin .5s cubic-bezier(.16, 1, .3, 1) both; }

/* ---------- ACO page ---------- */
.aco-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); }
.aco-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .aco-hero-in { grid-template-columns: 1fr; } }
.aco-hero h1 { font-size: clamp(58px, 9.4vw, 148px); margin: 16px 0 24px; max-width: 9ch; }
.aco-hero h1 span, .app-head h2 span { color: var(--accent); }
.aco-lede { color: var(--dim); font-size: 17.5px; max-width: 50ch; margin-bottom: 26px; }
.feed { display: grid; gap: 12px; perspective: 900px; }
.slip { border: 1px solid var(--line); border-left: 3px solid var(--good); background: var(--panel); border-radius: 6px; padding: 16px 18px; display: grid; gap: 12px; font-family: var(--mono); animation: slipin .7s cubic-bezier(.16, 1, .3, 1) both; transform-origin: top center; }
.slip:nth-child(2) { opacity: .7; } .slip:nth-child(3) { opacity: .4; }
@keyframes slipin { from { opacity: 0; transform: translateY(-26px) rotateX(-24deg); } }
.slip-top { display: flex; justify-content: space-between; align-items: center; color: var(--good); font-weight: 700; font-size: 13.5px; }
.slip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slip b { display: block; font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.slip .blank { display: block; height: 12px; width: 62px; background: var(--ink); opacity: .8; margin-top: 6px; border-radius: 1px; }
.slip .blank.w2 { width: 84px; }
.calc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(30px, 5vw, 56px) 0; background: color-mix(in srgb, var(--panel) 65%, transparent); }
.calc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px 56px; align-items: center; margin-top: 18px; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-q { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; display: block; margin-bottom: 22px; }
.calc-q b { color: var(--accent); font-family: var(--mono); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p, 14%), var(--panel-2) var(--p, 14%)); outline-offset: 8px; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 4px solid var(--accent); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 4px solid var(--accent); cursor: grab; }
.calc-ends { display: flex; justify-content: space-between; margin-top: 12px; }
.calc-out { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; align-items: end; }
.calc-out .disp { font-size: clamp(40px, 5.4vw, 76px); margin-top: 8px; font-variant-numeric: tabular-nums; }
.calc-out .disp.big { font-size: clamp(64px, 9vw, 132px); color: var(--accent); }
.calc-out .disp.dim { color: var(--faint); }
.aco-runs .door { grid-template-columns: 54px minmax(0, auto) minmax(0, 1fr) 0; cursor: default; }
.app { padding: clamp(40px, 6vw, 80px) 0; }
.app-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.app-head h2 { font-size: clamp(40px, 6vw, 88px); margin-top: 10px; max-width: 12ch; }
.v2 .switch { border-radius: 4px; background: var(--panel); }
.v2 .switch button { border-radius: 3px; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .app-grid { grid-template-columns: 1fr; } }
.app-cell { padding: 24px 22px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; animation: capin .5s cubic-bezier(.16, 1, .3, 1) both; transition: background .2s; }
.app-cell:hover { background: var(--accent-soft); }
.app-cell h3 { font-size: 18.5px; } .app-cell p { color: var(--dim); font-size: 15px; } .app-cell .label { color: var(--accent); }
.steps2 { padding: 0 0 clamp(30px, 5vw, 60px); }
.steps2 ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .steps2 ol { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .steps2 ol { grid-template-columns: 1fr; } }
.steps2 li { padding: 22px 22px 22px 0; display: grid; gap: 8px; }
.steps2 li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps2 li b { font-size: 64px; color: var(--accent); line-height: .9; }
.steps2 li p { color: var(--dim); font-size: 15px; }

.hx-card img { object-fit: contain; }
.sheet-text { font-size: 16px; line-height: 1.6; max-width: 52ch; }
.sheet-text.todo { color: var(--faint); font-style: italic; }
.sheet-grid { grid-template-columns: 1fr 1.25fr .85fr; }

/* ---------- ACO: war room demo ---------- */
.war { border-top: 1px solid var(--line); padding: clamp(34px, 5vw, 64px) 0; }
.war-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.war-head h2 { font-size: clamp(44px, 7vw, 104px); margin-top: 10px; }
.war-stats { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: end; }
.war-stats > div { display: grid; gap: 6px; }
.war-stats b { font: 700 22px var(--mono); font-variant-numeric: tabular-nums; }
.war-stats b.hot { color: var(--accent); }
.war-stats b:not(.num) { font: 800 26px/1 var(--display); text-transform: uppercase; }
.war-grid { display: grid; grid-template-columns: repeat(30, 1fr); gap: 5px; }
@media (max-width: 700px) { .war-grid { grid-template-columns: repeat(15, 1fr); gap: 4px; } }
.war-grid i { aspect-ratio: 1 / 1; border-radius: 3px; background: var(--panel-2); transition: background .35s, transform .35s; }
.war-grid i.mine { outline: 2px solid var(--ink); outline-offset: 1px; }
.war-grid i.run { background: color-mix(in srgb, var(--accent) 45%, var(--panel-2)); animation: pulse .7s ease-in-out infinite alternate; }
@keyframes pulse { to { background: var(--accent); transform: scale(.82); } }
.war-grid i.hit { background: var(--good); }
.war-grid i.miss { background: color-mix(in srgb, var(--bad) 70%, var(--panel-2)); }
.war-grid i.none { background: var(--line); }
.war-note { color: var(--dim); font-size: 15px; margin-top: 16px; max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .war-grid i.run { animation: none; } }

/* ---------- drop history ---------- */
.dh-top { padding: clamp(28px, 5vw, 56px) 0 clamp(26px, 4vw, 44px); }
.dh-top .desk-line h1 { font: 600 clamp(22px, 2.6vw, 34px)/1.15 var(--font); letter-spacing: -.02em; max-width: 22ch; text-transform: none; }
.tl-stage { cursor: pointer; }
.trio.pat { grid-template-columns: 1.1fr 1fr 1fr; }
@media (max-width: 980px) { .trio.pat { grid-template-columns: 1fr; } }
.days, .gaps { display: grid; gap: 8px; }
.dr { display: grid; grid-template-columns: 76px minmax(0, 1fr) 30px; gap: 12px; align-items: center; font-size: 14px; }
.dr span { font: 600 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.dr .t { height: 16px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.dr .t i { display: block; height: 100%; width: 0; background: color-mix(in srgb, var(--accent) 55%, var(--panel-2)); transition: width 1s cubic-bezier(.16, 1, .3, 1); }
.rise.in .dr .t i { width: var(--w); }
.dr.top .t i { background: var(--accent); } .dr.top span { color: var(--ink); }
.dr b { font: 700 13.5px var(--mono); text-align: right; }
.ledger { padding: clamp(40px, 6vw, 80px) 0; }
.ledger-head { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.ledger-head h2 { font-size: clamp(48px, 8vw, 120px); margin-top: 10px; }
.ledger-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ledger-tools .hx-chips { margin: 0; }
.ledger-q { padding: 9px 12px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 4px; font: 500 15px var(--font); min-width: 230px; }
.ledger-cols, .lrow { display: grid; grid-template-columns: 150px 70px minmax(0, 1.5fr) minmax(0, 1fr) 190px; gap: 18px; align-items: center; }
.ledger-cols { padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.lwrap { border-bottom: 1px solid var(--line); transition: background .3s; }
.lwrap.flash { background: var(--accent-soft); }
.lrow { width: 100%; padding: 14px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lrow:hover .ld b { color: var(--accent); }
.ld b { display: block; font-size: 30px; line-height: .95; transition: color .15s; }
.ld small, .lw small { display: block; color: var(--faint); font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.lq, .ll { font-size: 14px; color: var(--dim); }
.lw b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lo { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 10px; align-items: center; }
.lo .lt { height: 12px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.lo .lt i { display: block; height: 100%; background: var(--accent); }
.lo b { font-size: 15px; text-align: right; color: var(--accent); }
.lo.none b { color: var(--faint); }
.lmore { display: none; padding: 2px 0 16px 168px; }
.lwrap.open .lmore { display: grid; gap: 6px; }
.li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 100px 130px; gap: 14px; font-size: 14.5px; color: var(--dim); }
.li span:first-child { color: var(--ink); }
.li small { font-size: 13px; color: var(--faint); }
.li .num { font-size: 13px; }
@media (max-width: 900px) {
  .ledger-cols { display: none; }
  .lrow { grid-template-columns: 96px minmax(0, 1fr) 96px; gap: 12px; }
  .lq, .ll { display: none; } .ld b { font-size: 24px; }
  .lo { grid-template-columns: 1fr; } .lo .lt { display: none; }
  .lmore { padding-left: 0; } .li { grid-template-columns: 1fr; gap: 2px; padding: 6px 0; border-top: 1px solid var(--line); }
  .ledger-q { min-width: 0; flex: 1; }
}

/* ---------- drop history, second pass ---------- */
.live i { display: none; }
.since { display: flex; align-items: flex-end; gap: clamp(12px, 2vw, 26px); margin-top: 14px; }
.since .n { font-family: var(--display); font-weight: 900; font-size: clamp(120px, 22vw, 300px); line-height: .76; color: var(--accent); font-variant-numeric: tabular-nums; }
.since .disp { font-size: clamp(30px, 5vw, 72px); padding-bottom: .08em; }
.dh-top .tick { margin: 18px 0 26px; }
.tl-read .took .disp { color: var(--ink); }
.ledger-cols, .lrow { grid-template-columns: 150px 70px minmax(0, 1.6fr) 90px minmax(0, 1fr); }
.war-note a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .lrow { grid-template-columns: 96px minmax(0, 1fr); } }

/* ---------- drop history, calmer ---------- */
.dh-line { font: 600 clamp(22px, 2.6vw, 34px)/1.15 var(--font); letter-spacing: -.02em; text-transform: none; max-width: 24ch; }
.dh-line em { font-style: normal; color: var(--accent); }
.dfacts { border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; gap: 24px 40px; align-items: end; padding: 28px 0; }
.facts-row > div { display: grid; gap: 8px; }
.facts-row b { font-size: clamp(34px, 4.6vw, 62px); line-height: .9; }
@media (max-width: 900px) { .facts-row { grid-template-columns: 1fr 1fr; } .facts-row .btn { grid-column: 1 / -1; justify-content: center; } }
#pat .trio { border-bottom: 1px solid var(--line); }
#pat .dr .t i { width: var(--w); }
.ledger-more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 22px 0 6px; }
.ledger { padding-top: clamp(34px, 5vw, 64px); }
.facts-row b { white-space: nowrap; }

/* ---------- drop history: retailer tabs ---------- */
.sites { border-bottom: 1px solid var(--line); }
.sites-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.sites-in::-webkit-scrollbar { display: none; }
.sites-in button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid transparent; background: none; color: var(--dim); border-radius: 4px; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.sites-in button:hover { color: var(--ink); border-color: var(--line); }
.sites-in button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.sites-in button small { font-size: 9.5px; letter-spacing: .1em; padding: 2px 5px; border-radius: 3px; background: var(--panel-2); color: var(--faint); }
.soon-in { padding: clamp(60px, 12vw, 150px) 28px; display: grid; gap: 18px; justify-items: start; }
.soon-in h1 { font-size: clamp(70px, 14vw, 210px); color: var(--faint); }
.soon-in p { color: var(--dim); font-size: 17px; max-width: 52ch; }

/* ---------- drop history: the field ---------- */
.field-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(50% 60% at 33% 50%, var(--accent-soft), transparent 70%); padding-bottom: 14px; }
.field-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: center; }
@media (max-width: 900px) { .field-grid { grid-template-columns: 1fr; } }
.field { position: relative; height: min(70vh, 620px); min-height: 420px; overflow: hidden; cursor: grab; touch-action: none; outline: none; user-select: none; -webkit-user-select: none;
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.field:active { cursor: grabbing; }
.bub { position: absolute; left: 0; top: 0; width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); display: grid; place-content: center; text-align: center; gap: 0; cursor: pointer; font: inherit; padding: 0; will-change: transform; transition: border-color .2s, box-shadow .25s, background .2s; }
.bub b { font: 900 38px/.9 var(--display); }
.bub small { font: 600 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.bub.pre { background: color-mix(in srgb, var(--accent) 78%, var(--panel-2)); border-color: transparent; color: var(--accent-ink); }
.bub.pre small { color: color-mix(in srgb, var(--accent-ink) 75%, transparent); }
.bub.on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink), 0 26px 80px -18px color-mix(in srgb, var(--accent) 70%, transparent); }
.field-read { display: grid; gap: 14px; align-content: center; padding: 30px 0; min-height: 420px; }
.field-read #r-day { color: var(--accent); }
.field-read #r-date { font-size: clamp(40px, 5.4vw, 80px); line-height: .88; }
.field-what { font-size: clamp(17px, 1.6vw, 21px); max-width: 30ch; min-height: 2.8em; }
.field-dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 34px; margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 16px; }
.field-dl div { display: grid; gap: 6px; } .field-dl dd { margin: 0; font-size: 22px; font-weight: 700; }
.field-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 10px; }
.field-read.swap #r-date, .field-read.swap .field-what, .field-read.swap .field-dl { animation: capin .45s cubic-bezier(.16, 1, .3, 1) both; }
.field-key { padding: 4px 0 6px; } .field-key b { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .field { height: 380px; min-height: 0; } .field-read { min-height: 0; padding-top: 6px; } .bub { width: 78px; height: 78px; } .bub b { font-size: 30px; } }

/* ---------- drop history: ripple row of retailers ---------- */
.rip { border-bottom: 1px solid var(--line); padding: 18px 0 8px; overflow: hidden; }
.rip-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.rip-view { overflow: hidden; padding: 54px 0; cursor: grab; touch-action: pan-y; outline: none; user-select: none; -webkit-user-select: none; }
.rip-track { display: flex; gap: 16px; width: max-content; padding: 0 max(28px, calc((100vw - 1240px) / 2 + 28px)); will-change: transform; }
.rip-card { flex: none; width: clamp(170px, 17vw, 230px); aspect-ratio: 3 / 4; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; cursor: pointer; padding: 16px; display: grid; grid-template-rows: auto 1fr auto; text-align: left; will-change: transform; transition: border-color .2s, background .2s, box-shadow .3s; }
.rip-card b { align-self: end; font-size: clamp(30px, 3.2vw, 44px); line-height: .9; word-break: break-word; }
.rip-card small { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }
.rip-card.soon b { color: var(--dim); }
.rip-card:hover { border-color: var(--faint); }
.rip-card[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--accent) 80%, transparent); }
.rip-card[aria-pressed="true"] b, .rip-card[aria-pressed="true"] small, .rip-card[aria-pressed="true"] .label { color: var(--accent-ink); }

/* ---------- ACO: success posts as a coverflow ---------- */
.aco-hero-in { grid-template-columns: 1fr; }
.aco-hero h1 { max-width: 13ch; }
.cover { border-top: 1px solid var(--line); padding: 20px 0 6px; overflow: hidden; background: radial-gradient(40% 70% at 50% 55%, var(--accent-soft), transparent 70%); }
.cover-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cover-stage { position: relative; height: 440px; perspective: 1300px; cursor: grab; touch-action: pan-y; outline: none; user-select: none; -webkit-user-select: none; }
.cover-stage .slip { position: absolute; left: 50%; top: 50%; width: min(330px, 78vw); text-align: left; color: var(--ink); cursor: pointer; animation: none; opacity: 1; transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .5s, box-shadow .4s, border-color .3s; will-change: transform; backface-visibility: hidden; }
.cover-stage.drag .slip { transition: opacity .2s; }
.cover-stage .slip.on { border-color: var(--good); box-shadow: 0 30px 90px -30px color-mix(in srgb, var(--good) 70%, transparent); }
.cover-stage .slip:nth-child(n) { opacity: 1; }
@media (max-width: 700px) { .cover-stage { height: 280px; } }

/* real success cards in the coverflow */
.cover-stage .shot { position: absolute; left: 50%; top: 50%; width: min(600px, 84vw); aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #0b0b0c; cursor: pointer; transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .5s, box-shadow .4s, border-color .3s, filter .4s; will-change: transform; backface-visibility: hidden; filter: brightness(.55); }
.cover-stage .shot img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cover-stage.drag .shot { transition: opacity .2s; }
.cover-stage .shot.on { filter: none; border-color: var(--good); box-shadow: 0 30px 90px -30px color-mix(in srgb, var(--good) 70%, transparent); }

/* ---------- drop history, simplified: headline + facts side by side, one explorer, list on request ---------- */
.dh-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px 48px; align-items: end; }
.dh-side { display: grid; gap: 26px; padding-bottom: 4px; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 44px); }
.dh-side > div { display: grid; gap: 8px; }
.dh-side b { font-size: clamp(34px, 4.2vw, 60px); line-height: .9; white-space: nowrap; }
.dh-side .btn { justify-self: start; }
@media (max-width: 900px) { .dh-grid { grid-template-columns: 1fr; } .dh-side { border-left: 0; padding-left: 0; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 22px; } .dh-side .btn { grid-column: 1 / -1; } }
.field-wrap { background: radial-gradient(42% 62% at 30% 50%, var(--accent-soft), transparent 72%); }
.field-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); }
.field-read #r-date { font-size: clamp(38px, 4.6vw, 68px); line-height: .9; white-space: nowrap; }
ul.field-what { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 34ch; min-height: 5.6em; align-content: start; font-size: clamp(15.5px, 1.4vw, 18px); }
ul.field-what li.more { color: var(--dim); }
.field-dl [hidden] { display: none; }
.field-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 6px; padding-bottom: 10px; }
.field-foot .field-key { padding: 0; margin: 0; }
#pat { border-top: 1px solid var(--line); }
@media (max-width: 900px) { .field-grid { grid-template-columns: 1fr; } .field-read #r-date { white-space: normal; } }
.dh-credit { padding: 18px 28px 30px; } .dh-credit .war-note { margin: 0; }

/* ---------- card hit rates: one card on the bench, 100 orders fired at it ---------- */
.ch-top { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 34px); }
.ch-top h1 { font-size: clamp(54px, 10vw, 150px); margin-top: 14px; max-width: 11ch; }
.ch-top h1 span { color: var(--accent); }
.ch-lede { font-size: clamp(16px, 1.5vw, 19px); max-width: 52ch; margin-top: 18px; }
.bench { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(38% 60% at 24% 50%, var(--accent-soft), transparent 72%); padding: clamp(28px, 4vw, 54px) 0; }
.bench-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.pc-stage { position: relative; perspective: 1100px; padding: 26px 8% 34px; }
.pc { display: block; width: 100%; aspect-ratio: 1.586; border-radius: 16px; border: 1px solid var(--line); }
.pc-b1, .pc-b2 { position: absolute; left: 8%; right: 8%; width: auto; top: 26px; background: var(--panel); }
.pc-b1 { transform: translateY(16px) scale(.94); opacity: .7; } .pc-b2 { transform: translateY(30px) scale(.88); opacity: .4; }
.pc-face { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(16px, 2.4vw, 26px); color: #f4f1ec;
  background: linear-gradient(135deg, #2a2019, #15161b 55%, #1d2027); border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--accent) 75%, transparent), 0 2px 0 rgba(255, 255, 255, .06) inset;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s cubic-bezier(.16, 1, .3, 1); transform-style: preserve-3d; will-change: transform; }
.pc-face.flip { animation: pcin .6s cubic-bezier(.16, 1, .3, 1); }
@keyframes pcin { from { transform: translateY(-34px) rotateX(38deg) scale(.94); opacity: 0; } }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pc-top img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.pc-top .label { color: rgba(244, 241, 236, .6); }
.pc-face b { align-self: center; font-size: clamp(34px, 5.2vw, 72px); line-height: .88; }
.pc-num { font-size: clamp(13px, 1.5vw, 18px); font-weight: 600; letter-spacing: .14em; color: rgba(244, 241, 236, .78); }
.pc-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .13) 50%, transparent 70%); background-size: 220% 100%; background-position: var(--sx, 50%) 0; mix-blend-mode: screen; }
.pc-face.locked { background: repeating-linear-gradient(135deg, #191b21 0 14px, #1f222a 14px 28px); border-color: var(--line); box-shadow: none; }
.pc-face.locked b { color: var(--accent); }
.bench-keys { display: flex; align-items: center; gap: 14px; padding: 0 8%; }
.bench-read { display: grid; gap: 16px; align-content: center; }
.bench-read #b-rank { color: var(--accent); }
.bench-n { display: flex; align-items: flex-end; gap: clamp(10px, 1.6vw, 20px); }
.bench-n .n { font-family: var(--display); font-weight: 900; font-size: clamp(96px, 15vw, 210px); line-height: .78; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 1.9ch; }
.bench-n .disp { font-size: clamp(22px, 3vw, 40px); padding-bottom: .06em; color: var(--dim); }
.hund { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; max-width: 520px; }
.hund i { aspect-ratio: 1; border-radius: 2px; background: var(--panel-2); transition: background .25s, transform .25s; }
.hund i.hit { background: var(--good); transform: scale(1.06); }
.hund i.miss { background: color-mix(in srgb, var(--bad) 46%, var(--panel-2)); }
.hund i.lk { background: repeating-linear-gradient(135deg, var(--panel-2) 0 3px, var(--line) 3px 6px); }
.bench-note { font-size: clamp(15.5px, 1.4vw, 18px); max-width: 44ch; min-height: 3.2em; }
.bench-act { display: flex; flex-wrap: wrap; gap: 10px; }
.bench-act [hidden] { display: none; }
.rank { padding: clamp(30px, 5vw, 60px) 0 clamp(40px, 6vw, 80px); }
.rank-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-bottom: 10px; }
.rk { display: grid; grid-template-columns: 34px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.6fr) 62px; gap: 16px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); color: var(--ink); font: inherit; padding: 15px 10px; cursor: pointer; transition: background .2s, padding .3s cubic-bezier(.16, 1, .3, 1); }
.rk:last-of-type { border-bottom: 1px solid var(--line); }
.rk:hover { background: color-mix(in srgb, var(--panel) 70%, transparent); padding-left: 18px; }
.rk b { font-size: clamp(22px, 2.6vw, 34px); line-height: .95; }
.rk-who { color: var(--dim); font-size: 14.5px; }
.rk-t { height: 12px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.rk-t i { display: block; height: 100%; background: var(--ink); border-radius: 2px; }
.rk .num { text-align: right; font-weight: 700; font-size: 17px; }
.rk[aria-pressed="true"] { background: var(--panel); } .rk[aria-pressed="true"] .rk-t i { background: var(--accent); } .rk[aria-pressed="true"] b { color: var(--accent); }
.rk.locked b { color: var(--dim); } .rk.locked .rk-t i { background: repeating-linear-gradient(135deg, var(--faint) 0 5px, var(--line) 5px 10px); }
@media (max-width: 900px) { .bench-grid { grid-template-columns: 1fr; } .pc-stage { padding: 12px 0 30px; } .pc-b1, .pc-b2 { left: 0; right: 0; top: 12px; } .bench-keys { padding: 0; }
  .rk { grid-template-columns: 26px minmax(0, 1fr) 54px; gap: 6px 12px; } .rk-who { grid-column: 2; grid-row: 2; } .rk-t { grid-column: 2 / -1; grid-row: 3; } .rk .num { grid-row: 1; grid-column: 3; } }
.pc-top img[hidden] { display: none; } .pc-face.locked .pc-top { justify-content: flex-end; } .bench-n .n { color: var(--ink); } .pc-face.locked ~ * {}
@media (max-width: 900px) { .bench-grid { grid-template-columns: minmax(0, 1fr); } } .bench-card, .bench-read { min-width: 0; }

/* card hit rates: the three card facts under the note */
.bench-dl { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px 28px; margin: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.bench-dl[hidden] { display: none; }
.bench-dl div { display: grid; gap: 8px; align-content: start; } .bench-dl dd { margin: 0; font-size: 15px; font-weight: 600; }
.bench-dl dd.tbc { color: var(--faint); font-weight: 500; }
#b-sites { display: flex; flex-wrap: wrap; gap: 6px; }
#b-sites .site { font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--faint); white-space: nowrap; }
#b-sites .site.yes { color: var(--good); border-color: color-mix(in srgb, var(--good) 45%, var(--line)); }
#b-sites .site.no { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
@media (max-width: 640px) { .bench-dl { grid-template-columns: 1fr 1fr; } .bench-dl div:first-child { grid-column: 1 / -1; } }

/* card hit rates: nothing moves when you change card */
.bench-grid { align-items: start; }
.bench-card { padding-top: clamp(0px, 3vw, 46px); }
.bench-note { min-height: 4.9em; }
.bench-dl { min-height: 118px; align-items: start; }
.bench-act { min-height: 104px; align-content: flex-start; }
.bench-n .disp { white-space: nowrap; }
@media (max-width: 900px) { .bench-card { padding-top: 0; } .bench-act { min-height: 0; } .bench-dl { min-height: 0; } }
.bench-dl { min-height: 136px; } .pc-top .label { margin-left: auto; }

/* footer: optional right-hand note in the same voice as the left */
.v2 .site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 40px; }
.site-foot .foot-right { text-align: right; max-width: 62ch; }
.site-foot .foot-right a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .site-foot .foot-right { text-align: left; } }
/* "soon" retailer page: label clear of the rule above */
.soon-in { padding-top: clamp(46px, 7vw, 90px); }
#soon { border-top: 1px solid transparent; }
.ledger-more [hidden], .btn[hidden] { display: none; }

/* ---------- moving between pages: the header stays put, the orange tab slides to the new page, the page rises in ---------- */
@view-transition { navigation: auto; }
.v2 .site-head { view-transition-name: site-head; }
.v2 .nav a[aria-current="page"] { view-transition-name: nav-pill; }
.v2 main { view-transition-name: page; }
.v2 .site-foot { view-transition-name: site-foot; }
::view-transition-old(page) { animation: vt-out .2s ease both; }
::view-transition-new(page) { animation: vt-in .55s cubic-bezier(.16, 1, .3, 1) both; }
::view-transition-old(site-foot), ::view-transition-new(site-foot) { animation: none; }
::view-transition-group(nav-pill) { animation-duration: .5s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(nav-pill), ::view-transition-new(nav-pill) { height: 100%; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(34px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- fewer capitals: only the logo and the big headlines shout ---------- */
body.v2 .label, body.v2 .nav a, body.v2 .btn, body.v2 .inst h2, body.v2 .inst .more, body.v2 .status, body.v2 .stack button b, body.v2 .stack button small,
body.v2 .ticker-in span, body.v2 .chipm, body.v2 .hx-chips button, body.v2 .hx-card .mono, body.v2 .hx-card small, body.v2 .tier b, body.v2 .tags span,
body.v2 .switch button, body.v2 .war-stats b:not(.num), body.v2 .dr span, body.v2 .ld small, body.v2 .lw small, body.v2 .sites-in button, body.v2 .bub small,
body.v2 .rip-card small, body.v2 #b-sites .site, body.v2 .disp { text-transform: none; }
body.v2 h1.disp, body.v2 h2.disp, body.v2 .since .disp, body.v2 .bench-n .disp, body.v2 .rip-card .disp, body.v2 .soon-in h1 { text-transform: uppercase; }
body.v2 .label { letter-spacing: .03em; font-size: 12.5px; display: inline-block; }
/* the drop list header is a label too, but it has to stay a grid so its headings sit over the columns */
body.v2 .ledger-cols { display: grid; }
@media (max-width: 900px) { body.v2 .ledger-cols { display: none; } }
body.v2 .label::first-letter, body.v2 .rip-card small::first-letter, body.v2 .dr span::first-letter { text-transform: uppercase; }
body.v2 .nav a { letter-spacing: .01em; font-size: 13px; }
body.v2 .btn { letter-spacing: .01em; font-size: 13.5px; }
body.v2 .hx-chips button, body.v2 .switch button, body.v2 #b-sites .site, body.v2 .tags span, body.v2 .chipm, body.v2 .rip-card small, body.v2 .ld small, body.v2 .lw small, body.v2 .bub small { letter-spacing: .02em; }
body.v2 .ticker-in span { letter-spacing: .06em; font-size: 12.5px; }

/* "soon" retailer page: the label sits clear of the rule above (the page gutter rule was zeroing this) */
body.v2 .soon-in { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(60px, 10vw, 130px); }

/* theme switch lies flat: the knob bounces sideways. Right = dark (the default), left = light. */
.v2 .theme-btn { width: 48px; height: 26px; }
.v2 .theme-btn .knob { left: 3px; top: 3px; transform: translateX(22px); }
:root[data-theme="light"] .v2 .theme-btn .knob { transform: translateX(0); }

/* ---------- drop history: a calendar you can read a date off, in place of the bubble field ---------- */
.field-wrap { background: none; }
.field-grid { grid-template-columns: auto minmax(260px, 1fr); align-items: center; }
.cal { --c: 14px; --g: 3px; display: grid; gap: 26px; padding: clamp(26px, 4vw, 44px) 0 18px; outline: none; min-width: 0; }
.cal-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cal-head b { font-size: 30px; line-height: 1; }
.cal-scroll { overflow-x: auto; scrollbar-width: none; } .cal-scroll::-webkit-scrollbar { display: none; }
.cal-body { display: flex; gap: 8px; width: max-content; }
.cal-days { display: grid; grid-template-rows: repeat(7, var(--c)); gap: var(--g); margin-top: calc(14px + var(--g) + 3px); font: 500 9.5px/var(--c) var(--mono); color: var(--faint); }
.cal-months { display: grid; gap: var(--g); height: 14px; margin-bottom: 3px; font: 500 10.5px/14px var(--mono); color: var(--faint); }
.cal-months span { white-space: nowrap; }
.cal-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, var(--c)); grid-auto-columns: var(--c); gap: var(--g); }
.cal-grid i, .cal-grid button { width: var(--c); height: var(--c); border-radius: 2px; background: var(--panel-2); display: block; }
.cal-grid i.pad { background: none; }
.cal-grid i.later { background: none; box-shadow: inset 0 0 0 1px var(--line); }
.cal-grid i.today { background: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-grid button { border: 0; padding: 0; cursor: pointer; background: var(--ink); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s; }
.cal-grid button.pre { background: var(--accent); }
.cal-grid button:hover { transform: scale(1.35); }
.cal-grid button.on { transform: scale(1.45); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); position: relative; z-index: 1; }
.cal-grid button.pre.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
.field-key .k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin-left: 4px; }
.field-key .k.in { background: var(--ink); } .field-key .k.pre { background: var(--accent); } .field-key .k.now { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 1100px) { .cal { --c: 12px; } }
@media (max-width: 900px) { .field-grid { grid-template-columns: minmax(0, 1fr); } .cal { --c: 13px; } }
@media (max-width: 1340px) and (min-width: 1101px) { .cal { --c: 13px; } }
.field-dl dd { white-space: nowrap; font-size: 20px; } .field-dl { gap: 8px 22px; }
.cal { grid-template-columns: minmax(0, 1fr); } .cal-year { min-width: 0; }

/* calendar: one year per screen in a sideways scroller, newest first on screen; the readout never moves */
.field-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: start; }
.cal { display: block; padding-bottom: 6px; }
.cal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.cal-track::-webkit-scrollbar { display: none; }
.cal-year { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.cal-head { align-items: center; }
.cal-navs { margin-left: auto; display: flex; gap: 6px; padding-right: 2px; }
.cal-nav { font: 600 12px var(--mono); padding: 7px 10px; border: 1px solid var(--line); border-radius: 4px; background: none; color: var(--dim); cursor: pointer; }
.cal-nav:hover { color: var(--ink); border-color: var(--faint); } .cal-nav[hidden] { display: none; }
.field-read { align-content: start; padding-top: clamp(26px, 4vw, 44px); min-height: 0; }
ul.field-what { min-height: 0; height: 7.4em; overflow: hidden; }
ul.field-what li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
@media (max-width: 900px) { .field-grid { grid-template-columns: minmax(0, 1fr); } .field-read { padding-top: 0; } }
.field-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 310px); gap: clamp(20px, 3vw, 40px); }
.cal { align-self: center; }
.cal-nav { min-width: 86px; text-align: center; } .cal-nav[hidden] { display: inline-block; visibility: hidden; }

/* drop history retailers: six fit across, so they sit as a row of wide cards (a sideways scroller only on small screens) */
@media (min-width: 901px) {
  /* the calendar takes the full width (a whole year at a readable size); the drop it points at reads across underneath */
  body.v2 .field-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.v2 .cal { padding-bottom: 26px; }
  body.v2 .field-read { display: grid; grid-template-columns: minmax(250px, auto) minmax(0, 1fr) auto; grid-template-areas: "day what dl" "date what dl" "date what act"; gap: 6px 56px; align-items: start; align-content: start;
    min-height: 0; padding: 26px 0 6px; border-top: 1px solid var(--line); }
  body.v2 .field-read #r-day { grid-area: day; }
  body.v2 .field-read #r-date { grid-area: date; }
  body.v2 .field-read .field-what { grid-area: what; max-width: none; padding-top: 4px; font-size: 17px; height: auto; min-height: 7.4em; }
  body.v2 .field-read .field-dl { grid-area: dl; border-top: 0; padding-top: 0; margin: 0; }
  body.v2 .field-read .field-act { grid-area: act; margin-top: 14px; }
  /* retailers: wide cards that run off the edge, so the row drags and ripples like it was built to */
  .rip-view { padding: 44px 0 48px; }
  .rip-card { width: clamp(280px, 25vw, 360px); aspect-ratio: 5 / 4; padding: 18px 20px; }
  .rip-card b { font-size: clamp(36px, 3.4vw, 52px); }
}
.sheet-offer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.feat-more { display: none; }
.hx-range { display: none; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p, 0%), var(--panel-2) var(--p, 0%)); }
.hx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 4px solid var(--accent); }
.hx-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--accent); }

/* ───────── Phones (16 Nov 2026). Kept last on purpose: several desktop rules further up were written after
   their own phone rules and quietly won, which is what broke the menu, Setup, the calendar and the home doors. ───────── */
@media (max-width: 760px) {
  /* menu: its own full-width row under the logo, every link visible */
  body.v2 .site-head .wrap { flex-wrap: wrap; height: auto; gap: 6px 12px; padding-top: 10px; padding-bottom: 8px; }
  body.v2 .site-head .theme-btn { margin-left: auto; }
  body.v2 .site-head .nav { order: 3; flex: 0 0 100%; margin-left: 0; gap: 0; justify-content: space-between; }
  body.v2 .site-head .nav a { padding: 8px 5px; font-size: 12px; letter-spacing: -.01em; }

  /* home: the three doors read number, name, arrow, then the line underneath */
  body.v2 .door, body.v2 .aco-runs .door { grid-template-columns: 26px minmax(0, 1fr) 22px; gap: 6px 10px; padding: 20px 0; align-items: baseline; }
  body.v2 .door .disp { font-size: clamp(38px, 12vw, 54px); }
  body.v2 .door-sub { grid-column: 2 / -1; grid-row: 2; justify-self: start; text-align: left; max-width: none; font-size: 15px; opacity: 1 !important; }

  /* home: the number has its own fixed gap (no vh, which moves when the address bar slides), no previews on the doors */
  body.v2 .hero2.home { height: auto; min-height: 0; }
  body.v2 .hero2.home .hero2-in { gap: clamp(230px, 70vw, 300px); padding-bottom: 34px; }
  body.v2 .hero2.home .fact { min-height: 162px; padding-top: 34px; }
  body.v2 .hero2.home .fact-cap { min-height: 0; }   /* the caption fits one line on a phone, so don't hold room for two */
  body.v2 .hero2.home .fact { align-content: start; }   /* same height for a one-line and a two-line caption, so the number never jumps */
  /* previews stay folded away until a door is tapped once; the second tap opens the page */
  body.v2 .door-prev { display: flex; grid-column: 2 / -1; grid-row: 3; justify-self: start; flex-wrap: nowrap; gap: 5px; max-height: 0; overflow: hidden; opacity: 0; transform: none; transition: max-height .45s cubic-bezier(.16, 1, .3, 1), opacity .3s, margin-top .3s; }
  body.v2 .door.open .door-prev { max-height: 120px; opacity: 1; margin-top: 8px; }
  body.v2 .door-prev img { width: 29px; height: 29px; border-radius: 6px; }
  body.v2 .door-prev svg { width: min(260px, 70vw); height: 40px; }
  body.v2 #prev-cards { width: min(280px, 74vw); }
  body.v2 .door.open .pt i { width: var(--w); }
  body.v2 .door.open .disp, body.v2 .door.open .door-go { color: var(--accent); }

  /* setup: the spiral, sized for a phone. Cards far round the ring are clipped so they can't sit on the text,
     and a finger spins it sideways so up and down still scrolls the page. */
  body.v2 .helix-grid { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  body.v2 .hx-stage { order: -1; height: 360px; min-height: 0; touch-action: auto; cursor: default; overflow: hidden; overflow: clip; margin: 0 -16px; }
  body.v2 .hx-range { display: block; margin: 2px 0 18px; }
  /* the write-up keeps one height whatever the item, so the arrows and the button never jump about */
  body.v2 .hx-detail { min-height: 600px; }
  body.v2 .hx-detail #hx-why { min-height: 3.1em; }
  body.v2 .hx-card { width: 124px; min-height: 0; height: auto; left: -62px; top: -92px; padding: 10px; gap: 5px; }
  body.v2 .hx-card b { font-size: 16px; }
  body.v2 .hx-hint { display: none; }
  body.v2 .hx-detail { height: auto; padding: 14px 0 6px; }
  body.v2 .hx-detail h2 { font-size: clamp(44px, 14vw, 64px); }
  /* one block per item: the write-up runs straight into its price and detail, with a single button */
  body.v2 .hx-act { justify-content: flex-start; }
  body.v2 .hx-act #hx-go { display: none; }
  body.v2 .helix-wrap { border-bottom: 0; padding-bottom: 0; }
  body.v2 .sheet { border-top: 0; padding-top: 4px; }
  body.v2 .sheet-head { display: block; }
  body.v2 .sheet-head img, body.v2 .sheet-head > div { display: none; }
  body.v2 .sheet-head .btn { display: flex; justify-content: center; width: 100%; }
  body.v2 .sheet-grid { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  body.v2 .sheet-col { padding: 20px 0 6px; }
  body.v2 .sheet-col + .sheet-col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  body.v2 .index { display: none; }
  body.v2 .sheet { border-bottom: 0; padding-bottom: 8px; }   /* no empty band between the last item and the footer */

  /* drop history: the retailer carousel, smaller, and the calendar keeps its day names on screen */
  body.v2 .rip-view { padding: 22px 0 26px; }
  body.v2 .rip-track { padding: 0 16px; gap: 10px; }
  body.v2 .rip-card { width: 132px; aspect-ratio: 4 / 5; padding: 12px; }
  body.v2 .rip-card b { font-size: 24px; }
  body.v2 .field-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  body.v2 .cal { padding-top: 22px; }
  body.v2 .cal-days { position: sticky; left: 0; z-index: 2; background: var(--bg); padding-right: 6px; }
  body.v2 .cal-nav { min-height: 40px; }
  body.v2 .field-read { padding: 4px 0 8px; gap: 10px; }
  body.v2 ul.field-what { height: auto; min-height: 0; }
  body.v2 .field-dl { margin-top: 6px; }
  body.v2 .field-foot { gap: 12px; }

  /* aco: three of the six app points, the rest behind a button */
  body.v2 .app-grid:not(.all) .app-cell:nth-child(n+4) { display: none; }
  body.v2 .feat-more { display: flex; width: 100%; justify-content: center; margin-top: 12px; }
  body.v2 .feat-more[hidden] { display: none; }

  /* moving between pages: on a phone the old page faded half way and then sat waiting for the network. No hand-over
     animation here; the new page just rises in once it has arrived. */
  body.v2 main { animation: pagein .38s cubic-bezier(.16, 1, .3, 1) both; }

  /* the two-row header slides away as you read down and comes back the moment you scroll up */
  body.v2 .site-head { transition: transform .7s cubic-bezier(.22, .8, .3, 1), opacity .55s ease; }
  body.v2 .site-head.away { transform: translateY(-100%); opacity: 0; }

  /* aco: swipe the success cards, no arrow buttons */
  body.v2 .cover-head .tl-keys { display: none; }

  /* card hit rates: tapping a card in the list lands on its number and button, clear of the menu */
  body.v2 .bench-read { scroll-margin-top: 104px; }

  /* aco: steps sit flush under each other */
  body.v2 .steps2 ol { grid-template-columns: minmax(0, 1fr); }
  body.v2 .steps2 li, body.v2 .steps2 li + li { padding: 20px 0; border-left: 0; }
  body.v2 .steps2 li + li { border-top: 1px solid var(--line); }

  /* buttons are easy to hit */
  body.v2 .btn { min-height: 44px; }
  body.v2 .tl-keys button { min-width: 44px; min-height: 44px; }
}

@media (max-width: 760px) { @view-transition { navigation: none; } }
@keyframes pagein { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { body.v2 main { animation: none !important; } }

body.v2 ul.field-what { height: auto; min-height: 7.4em; overflow: visible; }
body.v2 ul.field-what li { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
@media (max-width: 760px) { body.v2 ul.field-what { min-height: 0; } }
