Files
Claude a40a74238d stream: dark — halftone field as live (7px, 36%, top glow)
Dark only; the pinned stage keeps its sticky position. Bright unchanged (lightcheck 0 diffs), copycheck missing 0, 0 console errors.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P5YBdxX2mH7piDf4NGrmPi
2026-11-08 11:50:56 +00:00

252 lines
23 KiB
CSS

/* ---------- stream v2 (st2-) ---------- */
/* Stage object (frame look): partitions running full-bleed in the dark */
.st2-tape { position: relative; height: 100%; background: radial-gradient(120% 70% at 70% 10%, rgba(255, 255, 255, .08), transparent 60%), #000; overflow: hidden; display: flex; flex-direction: column; padding-top: clamp(28px, 5svh, 80px); }
.st2-lanes { display: flex; flex-direction: column; gap: clamp(8px, 1.2svh, 16px); }
.st2-lane { position: relative; display: flex; align-items: center; height: clamp(44px, 6.2svh, 72px); border-block: 1px solid rgba(255, 255, 255, .06); }
.st2-p { position: absolute; left: 6%; z-index: 2; padding: 6px 10px; border-radius: 8px; background: #000; font-size: 13px; color: #a3a3a3; }
.st2-strip { display: flex; width: max-content; animation: st2-run 28s linear infinite; }
.st2-lane.ln1 .st2-strip { animation-duration: 34s; }
.st2-lane.ln2 .st2-strip { animation-duration: 24s; }
.st2-lane.ln3 .st2-strip { animation-duration: 40s; }
.st2-lane.still .st2-strip { animation-play-state: paused; }
.st2-pause { top: auto !important; bottom: 28px; right: 24px !important; }
@keyframes st2-run { to { transform: translateX(-50%); } }
.st2-run { display: flex; gap: 8px; padding-right: 8px; }
.st2-run i { display: flex; align-items: flex-end; width: clamp(96px, 9vw, 132px); height: clamp(36px, 5svh, 56px); padding: 8px 10px; border-radius: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .2); }
.st2-run b { font-size: 13px; font-weight: 500; font-style: normal; color: #e4e4e7; }
.st2-run i { font-style: normal; }
.st2-lane.ln3 .st2-run i:nth-child(3n) { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.st2-mark { position: absolute; left: 42%; top: 50%; z-index: 3; transform: translateY(-50%); padding: 9px 12px; border-radius: 10px; background: #f5f5f5; color: #000; font-size: 13px; font-weight: 606; box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); transition: background .3s, box-shadow .3s; }
.st2-mark::before { content: ''; position: absolute; left: -8px; top: -14px; bottom: -14px; width: 2px; background: #f5f5f5; }
.st2-mark.down { background: #000; color: #f5f5f5; border: 1.5px dashed #a3a3a3; box-shadow: none; }
.st2-bad { position: absolute; right: 8%; z-index: 3; padding: 9px 12px; border-radius: 10px; background: #000; border: 1.5px solid #f5f5f5; color: #f5f5f5; font-size: 13px; font-weight: 606; animation: st2-bounce .9s var(--ease) both; }
@keyframes st2-bounce { from { transform: translateX(-60px); opacity: 0; } 55% { transform: translateX(10px); opacity: 1; } to { transform: translateX(40px); opacity: 0; } }
.st2-clients { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 6% 22px auto; padding: 0 0 0 24px; }
.st2-clients span { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; color: #d4d4d4; }
.st2-clients b { padding: 8px 12px; border-radius: 999px; background: #f5f5f5; color: #000; font-size: 13px; font-weight: 606; }
.st2 .l2-stage.frame .l2-stage-copy { position: relative; padding-bottom: clamp(40px, 6svh, 96px); }
.st2 .l2-stage.frame .l2-stage-copy::before { content: ''; position: absolute; inset: -80px -100vw -200px; z-index: -1; background: linear-gradient(180deg, transparent, #000 45%); pointer-events: none; }
/* Signature: the sideways tape */
.st2-rul { position: relative; }
.st2-rul-stick { position: relative; }
.st2-rul.pin .st2-rul-stick { position: sticky; top: var(--x-top, 60px); height: calc(100svh - var(--x-top, 60px)); min-height: 600px; overflow: hidden; display: flex; align-items: center; }
.st2-track { display: flex; align-items: stretch; gap: 20px; padding: 0 24px; width: max-content; }
.st2-rul:not(.pin) { padding-block: clamp(96px, 10vw, 140px); }
.st2-rul:not(.pin) > .st2-rul-stick > .st2-rul-h { width: min(100% - 48px, 1440px); margin: 0 auto 40px; padding: 0; }
.st2-rul:not(.pin) .st2-track { width: auto; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 24px; padding: 0 24px 8px; scrollbar-width: none; }
.st2-rul:not(.pin) .st2-track > * { scroll-snap-align: start; }
.st2-rul-h { flex: none; width: min(640px, 80vw); display: flex; flex-direction: column; justify-content: center; padding-right: 48px; }
.st2-rul-h .l2-display { max-width: 9ch; }
.st2-range { margin: 28px 0 0; font-size: 14px; color: light-dark(#525252, var(--muted-foreground)); }
.st2-rec { flex: none; width: min(480px, 84vw); min-height: min(560px, 66svh); display: flex; flex-direction: column; padding: 36px; border-radius: 24px; background: light-dark(#f5f5f5, var(--card)); transition: background .5s var(--ease), color .5s var(--ease); }
.st2-rec:nth-of-type(odd) { margin-top: 6svh; }
.st2-rec.read { background: light-dark(#ededed, var(--surface-2)); }
.st2-big { margin: 0 0 auto; padding-bottom: 32px; font-size: 64px; font-weight: 497; color: transparent; -webkit-text-stroke: 1.5px #a3a3a3; transition: color .6s var(--ease); }
.st2-rec.read .st2-big { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.st2-ofs { display: flex; justify-content: space-between; margin: 14px 0 0; font-size: 13px; color: light-dark(#404040, var(--text-secondary)); }
.st2-ofs span:last-child { color: light-dark(#525252, var(--muted-foreground)); }
.st2-rec .l2-body { margin-top: 18px; font-size: 17px; }
.st2-figs { flex: none; list-style: none; margin: 0 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); align-content: center; gap: 48px 40px; }
.st2-figs li { display: flex; flex-direction: column; gap: 10px; }
.st2-figs b { font-size: 64px; font-weight: 220; letter-spacing: -.05em; line-height: .95; }
.st2-figs li:first-child b { color: var(--ink); text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; }
.st2-figs span { font: 500 14px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: light-dark(#525252, var(--muted-foreground)); }
.st2-commit { position: absolute; left: 0; right: 0; bottom: max(28px, 5svh); display: flex; align-items: center; gap: 14px; padding: 0 24px; pointer-events: none; }
.st2-commit i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--hair) 0 2px, transparent 2px 14px); }
.st2-commit p { margin: 0; font-size: 13px; color: var(--soft); }
.st2-commit b { font-weight: 606; color: var(--ink); }
/* the one line that changes */
.st2-code-l { grid-column: 1 / span 5; }
.st2-code-r { grid-column: 7 / span 6; }
.st2-code-r .cf-code { border-radius: 24px; }
.st2-code-r .cf-mark { background: light-dark(#e4e4e7, var(--secondary)); color: var(--ink); border-radius: 4px; box-shadow: inset 0 -2px 0 var(--ink); }
.st2-check { margin-top: 48px; padding: 26px; border-radius: 24px; background: light-dark(#f5f5f5, var(--card)); }
.st2-check label { display: flex; flex-direction: column; gap: 14px; }
.st2-check input { height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--hair); background: var(--x-raised); font: 500 20px/1 var(--mono); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.st2-check input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px light-dark(rgba(10, 10, 10, .1), var(--border)); }
.st2-ans { min-height: 52px; margin: 16px 0 0; font-size: 17px; line-height: 1.45; color: var(--soft); }
.st2-ans b { color: var(--ink); }
.st2-ans button { margin: 0 4px; min-height: 36px; padding: 2px 10px; border: 1px solid light-dark(rgba(0, 0, 0, .14), var(--border-control)); border-radius: 8px; background: var(--x-raised); color: var(--ink); font: 500 15px/1.6 var(--mono); cursor: pointer; transition: border-color .2s, transform var(--dur-press, .1s) var(--ease); }
.st2-ans button:active { transform: scale(.98); }
@media (hover: hover) { .st2-ans button:hover { border-color: var(--ink); } }
.st2-apis { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.st2-apis li { padding: 7px 10px; border-radius: 8px; background: var(--x-raised); font: 500 13px/1 var(--mono); color: light-dark(#525252, var(--muted-foreground)); transition: background .25s, color .25s; }
.st2-apis li.on { background: var(--ink); color: var(--x-on-ink); }
@media (max-width: 900px) {
.st2-tape { padding-top: 96px; }
.st2-p { left: 16px; font-size: 13px; }
.st2-mark { left: 30%; font-size: 12px; max-width: 64vw; white-space: nowrap; }
.st2-clients { display: none; }
.st2-rul-h { width: 84vw; padding-right: 0; }
.st2-rec { min-height: 0; padding: 26px 22px; }
.st2-rec:nth-of-type(odd) { margin-top: 0; }
.st2-figs { grid-template-columns: 1fr 1fr; width: 84vw; margin-left: 0; gap: 28px 16px; }
.st2-figs b { font-size: 44px; }
.st2-code-l, .st2-code-r { grid-column: auto; }
.st2-code-r { margin-top: 48px; }
.st2-ofs, .st2-apis li, .st2-range, .st2-p, .st2-mark, .st2-bad, .st2-run b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .st2-strip, .st2-bad { animation: none; } }
/* deck rhythm: the offsets and the four words rest at 32, so the moving tape stays the one big thing */
.st2-big { font-size: 32px; padding-bottom: 24px; -webkit-text-stroke-width: 1px; }
.st2-figs b { font-size: 32px; font-weight: 400; letter-spacing: -.03em; }
.st2-figs { gap: 32px 40px; }
.st2-rec { min-height: min(440px, 56svh); }
/* the committed-offset line keeps moving while the tape is pinned: records still arriving (transform only) */
.st2-commit i { position: relative; overflow: hidden; background: none; }
.st2-commit i::before { content: ''; position: absolute; inset: 0 -14px 0 0; background: repeating-linear-gradient(90deg, light-dark(rgba(0, 0, 0, .22), var(--border-focus)) 0 2px, transparent 2px 14px); animation: st2-ants 1.4s linear infinite; }
@keyframes st2-ants { to { transform: translateX(-14px); } }
@media (prefers-reduced-motion: reduce) { .st2-commit i::before { animation: none; } }
@media (max-width: 900px) { .st2-big { font-size: 28px; } .st2-figs b { font-size: 28px; } }
/* the hero holds for a shorter scroll (no dead black after the tape settles) */
.st2 .l2-stage { height: 118svh; }
/* each fact card carries its record strip; hover consumes one record */
.st2-rec { position: relative; overflow: hidden; transition: background .5s var(--ease), transform .3s cubic-bezier(.16, 1, .3, 1); }
.st2-recs { margin: auto -36px -36px; padding: 18px 0 22px 36px; border-top: 1px solid var(--line); overflow: hidden; }
.st2-recs > div { display: flex; gap: 6px; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.st2-recs i { flex: none; display: flex; align-items: flex-end; width: 58px; height: 40px; padding: 6px 7px; border-radius: 8px; background: var(--x-raised); border: 1px solid var(--x-e10); font-style: normal; }
.st2-recs i b { font-size: 12px; font-weight: 500; color: light-dark(#525252, var(--muted-foreground)); }
.st2-recs i.on { background: var(--ink); border-color: var(--ink); }
.st2-recs i.on b { color: light-dark(#fafafa, var(--primary-foreground)); }
.st2-recs i.bad { background: none; border: 1.5px dashed var(--ink); }
.st2-rec.read .st2-recs i.on { box-shadow: 0 0 0 3px var(--x-e12); }
@media (hover: hover) { .st2-rec:hover { transform: translateY(-4px); } .st2-rec:hover .st2-recs > div { transform: translateX(-64px); } }
.st2-rec .l2-body { margin-bottom: 24px; }
/* the client names read as a caption, not as buttons */
.st2-clients span { border: 0; padding: 8px 4px; color: #a3a3a3; }
.st2-p { white-space: nowrap; }
@media (max-width: 900px) {
.st2 .l2-stage { height: auto; }
.st2-tape { padding-top: 56px; }
.st2-mark { left: 24%; max-width: calc(76% - 16px); overflow: hidden; text-overflow: ellipsis; }
/* phones: the six records stack (no hidden sideways rail), the four words after them */
.st2-rul:not(.pin) .st2-track { flex-direction: column; overflow: visible; width: auto; padding: 0 16px; gap: 12px; }
.st2-rul:not(.pin) .st2-rec { width: auto; }
.st2-figs { width: auto; margin: 24px 0 0; }
.st2-recs { margin: 18px -22px -26px; padding-left: 22px; }
}
/* phones: a slim committed-offset line rides above the stacked records and ticks as each one inks */
.st2-commit-m { position: sticky; bottom: 16px; z-index: 3; width: max-content; margin: 16px auto 0; padding: 10px 14px; border-radius: 999px; background: #0a0a0a; color: #a3a3a3; font-size: 13px; }
.st2-commit-m b { color: #fafafa; font-weight: 606; }
.st2-rec .st2-big { transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease); }
.st2-recs i.on { transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.st2-rec:not(.read) .st2-recs i.on { background: var(--x-raised); border-color: light-dark(rgba(0, 0, 0, .3), var(--border-selected)); }
.st2-rec:not(.read) .st2-recs i.on b { color: light-dark(#525252, var(--muted-foreground)); }
/* the hero: a shorter hold and the title higher in its frame (about 40% of the screen) */
@media (min-width: 901px) {
.st2 .l2-stage { height: 104svh; }
.st2 .l2-stage.frame .l2-stage-copy { padding-bottom: clamp(120px, 24svh, 240px); }
}
@media (max-width: 900px) { .st2 .l2-stage.frame .l2-stage-copy { padding-bottom: 32px; } .st2-tape { padding-top: 24px; } .st2 .l2-stage, .st2 .l2-stage-pin { min-height: 600px !important; height: 600px !important; } }
/* the client names and the API list read as captions, not controls */
.st2-apis li { background: none; padding: 4px 6px; }
.st2-apis li.on { background: var(--ink); padding: 4px 8px; border-radius: 6px; }
/* the close's object: one partition and the committed offset */
.st2-mini { position: relative; padding: 24px 0 22px; border-radius: 24px; background: #0a0a0a; border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; color: #f5f5f5; }
.st2-mini-k { display: flex; justify-content: space-between; gap: 12px; margin: 0 76px 18px 24px; font-size: 13px; color: #a3a3a3; }
.st2-mini-k b { font-weight: 500; color: #f5f5f5; }
.st2-mini-lane { position: relative; display: flex; align-items: center; height: 76px; border-block: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.st2-mini-lane .st2-strip { animation-duration: 30s; }
.st2-mini-lane.still .st2-strip { animation-play-state: paused; }
.st2-mini-lane .st2-mark { left: 38%; }
.st2-mini .l2-pause { top: 12px; right: 12px; }
@media (max-width: 900px) {
.st2-rul:not(.pin) > .st2-rul-stick > .st2-rul-h { width: min(100% - 32px, 1440px); margin-bottom: 28px; }
.st2-rul:not(.pin) .st2-track { scroll-padding-inline: 16px; padding: 0 16px 8px; }
.st2-rul:not(.pin) .st2-rec { width: 82vw; }
.st2-mini-k { font-size: 14px; }
}
/* ---- run 4 (D2): hero clear of the title, the stamp in its own slot, labels over a solid edge ---- */
.st2-clients { gap: 4px 14px; margin-bottom: 18px; }
.st2-clients span, .st2-clients i { padding: 0; font-size: 13px; color: #8f8f8f; font-style: normal; }
.st2-clients b { padding: 0; background: none; color: #f5f5f5; font-weight: 500; }
.st2-p { left: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 40px 0 6%; border-radius: 0; background: linear-gradient(90deg, #000 72%, transparent); }
.st2-bad-slot { position: absolute; right: 0; top: 0; bottom: 0; z-index: 3; width: 260px; display: flex; align-items: center; justify-content: flex-end; padding-right: 6%; background: linear-gradient(90deg, transparent, #000 34%); pointer-events: none; }
.st2-bad { position: static; }
@keyframes st2-bounce { from { transform: translateX(-24px); opacity: 0; } 30% { transform: translateX(0); opacity: 1; } 75% { opacity: 1; } to { transform: translateX(18px); opacity: 0; } }
.st2-bad { animation-duration: 2.2s; }
@media (min-width: 901px) {
.st2 .l2-stage.frame .l2-stage-copy { padding-bottom: clamp(72px, 11svh, 120px); }
.st2-tape { padding-top: clamp(20px, 3svh, 48px); }
}
@media (max-width: 900px) {
.st2-p { padding-left: 16px; padding-right: 28px; }
.st2-mark { left: 132px; max-width: calc(100% - 144px); white-space: normal; line-height: 1.25; padding: 6px 10px; overflow: visible; }
.st2-bad-slot { width: 170px; padding-right: 12px; }
}
/* the record on stage: its strip consumes at rest, its offset stands up */
.st2-rec.cur .st2-recs > div { animation: st2-consume 5.6s steps(1, end) infinite; }
@keyframes st2-consume { 0% { transform: translateX(0); } 25% { transform: translateX(-64px); } 50% { transform: translateX(-128px); } 75% { transform: translateX(-64px); } }
.st2-rec .st2-big { transform-origin: left bottom; transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease), transform .6s cubic-bezier(.16, 1, .3, 1); }
.st2-rec.cur .st2-big { transform: scale(1.5); }
.st2-recs > div { transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) { .st2-rec.cur:hover .st2-recs > div { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .st2-rec.cur .st2-recs > div { animation: none; } .st2-rec.cur .st2-big { transform: none; } }
/* phones: the committed offset sits in the heading, never over a record */
.st2-commit-m { position: static; margin: 16px 0 0; }
/* the API list: real controls that fill the checker */
.st2-apis li { padding: 0; background: none; }
.st2-apis li.on { background: none; padding: 0; }
.st2-apis button { min-height: 32px; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px; background: none; font: 500 13px/1 var(--mono); color: light-dark(#525252, var(--muted-foreground)); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform var(--dur-press, .1s) var(--ease); }
.st2-apis button.on { background: var(--ink); color: var(--x-on-ink); }
.st2-apis button:active { transform: scale(.96); }
@media (hover: hover) { .st2-apis button:not(.on):hover { border-color: light-dark(rgba(0, 0, 0, .2), var(--border-focus)); color: var(--ink); background: var(--x-raised); } }
@media (max-width: 900px) { .st2-apis button { font-size: 14px; min-height: 36px; } }
/* the close: the consumer group, four committed offsets climbing */
.st2-grp { position: relative; padding: 22px 24px 18px; border-radius: 24px; background: #0a0a0a; border: 1px solid rgba(255, 255, 255, .12); color: #f5f5f5; }
.st2-grp-k { display: flex; justify-content: space-between; gap: 12px; margin: 0 56px 16px 0; font-size: 13px; color: #a3a3a3; }
.st2-grp-k b, .st2-grp-k .st2-grp-b { font-weight: 500; color: #f5f5f5; }
.st2-grp .l2-pause { top: 12px; right: 12px; }
.st2-grp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.st2-grp-rows li { display: grid; grid-template-columns: 96px 1fr 56px; grid-template-rows: auto auto; align-items: center; column-gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font: 500 13px/1.2 var(--mono); }
.st2-grp-rows span { color: #a3a3a3; }
.st2-grp-rows i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.st2-grp-rows em { display: block; height: 100%; border-radius: inherit; background: #f5f5f5; transform-origin: left; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.st2-grp-rows b { text-align: right; font-weight: 606; font-variant-numeric: tabular-nums; }
.st2-grp-rows small { grid-column: 2 / 4; margin-top: 6px; font-size: 12px; color: #737373; transition: color .3s; }
.st2-grp-rows li.down em { background: none; box-shadow: inset 0 0 0 1.5px #a3a3a3; }
.st2-grp-rows li.down small { color: #e4e4e7; }
@media (max-width: 900px) { .st2-grp-rows li { grid-template-columns: 88px 1fr 48px; font-size: 13px; } .st2-grp-rows small { font-size: 12px; } }
.st2-p { padding-right: 64px; background: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.st2-bad-slot { background: linear-gradient(90deg, transparent, #000 40px); }
@media (max-width: 900px) { .st2-p { padding-right: 44px; background: linear-gradient(90deg, #000 calc(100% - 28px), transparent); } .st2-bad-slot { width: 190px; } }
.st2-grp-rows small { color: #8f8f8f; }
.st2-rec .st2-big { transform-origin: left top; }
/* Hanzo's Mori art (live: the black card behind the six facts), kept under the heading (COPY-RULE.md rule 5) */
.st2-art { margin-top: 28px; }
/* dark (docs/DARK-MODE.md): the shared l2 frame takes Hanzo's dark on this page; light-dark() keeps bright exactly as it was */
.st2.l2-page { background: var(--bg); --hair: light-dark(rgba(0, 0, 0, .1), var(--border)); --muted: light-dark(#525252, var(--muted-foreground)); --soft: light-dark(#525252, var(--muted-foreground)); }
.st2 .l2-obj { background: var(--x-raised); }
html:not(.light) .st2 .l2-pause:not(.dk) { background: var(--surface-overlay); }
.st2-code-r .cf-mark { background: light-dark(#e4e4e7, var(--secondary)); }
/* the code panel carries Hanzo's .light class (color-scheme: light, and Hanzo's light tokens), so its dark is set by an
html:not(.light) rule with Hanzo's dark tokens captured on the page root (resolved there, inherited as colours) */
html:not(.light) .st2.l2-page { --st2-d-card: var(--card); --st2-d-foreground: var(--foreground); --st2-d-border: var(--border); --st2-d-border-selected: var(--border-selected); --st2-d-muted: var(--surface-2); --st2-d-muted-foreground: var(--muted-foreground); --st2-d-text-secondary: var(--text-secondary); --st2-d-secondary: var(--secondary); }
html:not(.light) .st2.l2-page .cf-code.light { color-scheme: dark; background: var(--st2-d-card); color: var(--st2-d-foreground); border-color: var(--st2-d-border); box-shadow: none; }
html:not(.light) .st2.l2-page .cf-code.light .cf-code-bar { border-color: var(--st2-d-border); }
html:not(.light) .st2.l2-page .cf-code.light .cf-code-bar > i { background: var(--st2-d-border-selected); }
html:not(.light) .st2.l2-page .cf-code.light .cf-code-bar .x-copy { background: var(--st2-d-muted); border-color: var(--st2-d-border); color: var(--st2-d-muted-foreground); }
html:not(.light) .st2.l2-page .cf-code.light .cf-code-k { color: var(--st2-d-muted-foreground); }
html:not(.light) .st2.l2-page .cf-code.light .s { color: var(--st2-d-muted-foreground); }
html:not(.light) .st2.l2-page .cf-code.light .k { color: var(--st2-d-text-secondary); }
html:not(.light) .st2.l2-page .st2-code-r .cf-mark { background-color: var(--st2-d-secondary); background-image: none; color: var(--st2-d-foreground); box-shadow: inset 0 -2px 0 var(--st2-d-foreground); }
/* live's dark cards: #0f0f0f with a white 10% hairline (inset, so nothing moves) */
html:not(.light) .st2-rec, html:not(.light) .st2-check { box-shadow: inset 0 0 0 1px var(--border); }
/* dark only: Hanzo's hero texture as measured on live hanzo.ai dark (7px dot grid, dots ~36% foreground, densest at the
side edges and toward the bottom, plus live's top glow); the pinned stage keeps its own sticky position */
html:not(.light) .st2 .l2-stage > .l2-stage-pin { isolation: isolate; }
html:not(.light) .st2 .l2-stage > .l2-stage-pin::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
background: radial-gradient(circle, color-mix(in srgb, var(--foreground) 36%, transparent) 1.5px, transparent 2.1px) 0 0 / 7px 7px;
-webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .15) 32%, rgba(0, 0, 0, .15) 64%, #000), linear-gradient(180deg, rgba(0, 0, 0, .25), #000 85%);
-webkit-mask-composite: source-in;
mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .15) 32%, rgba(0, 0, 0, .15) 64%, #000), linear-gradient(180deg, rgba(0, 0, 0, .25), #000 85%);
mask-composite: intersect; }
html:not(.light) .st2 .l2-stage > .l2-stage-pin::after { content: ''; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none;
background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%); }