Files
Claude 345ee4a2bd dark tokens: home, /slack, /skills, /machines, /brand, /tag, /bot, /hsm, /press, /comparison, /iro, /koe, /koma
- Home: product mockups stay dark; their green/red diff lines, POST labels and Posted badge
  keep the same colours, written as the rgb Hanzo's color-mix() resolves to in dark; the
  GitHub mark on its dark tile uses var(--foreground).
- /tag, /brand: labels on light chips and the Hanzo White sample use --neutral-600 /
  --x-on-ink / --primary-foreground; swatch colours unchanged.
- /bot, /hsm: dimmed names use --text-tertiary instead of white at 30%.
- /comparison, /iro, /koe, /koma: secondary lines in dark rooms use --muted-foreground.
- /slack, /skills, /machines, /hsm, /brand, /press: selected tabs and pills drawn by a
  sibling or ::before; the selected element now carries the same colour in dark.
Every rule is under html:not(.light): light mode is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
2026-11-08 14:05:55 +00:00

50 lines
4.8 KiB
CSS

/* Koma (kf-): the headline split under the anamorphic frame, the cinema monitor, the four-shot timeline */
.kf-v2 { top: auto; bottom: 5%; left: max(24px, calc((100% - var(--wrap)) / 2)); right: max(24px, calc((100% - var(--wrap)) / 2)); width: auto; transform: none; display: grid; grid-template-columns: 7fr 5fr; grid-template-areas: 'h l' 'h a' 'h c'; column-gap: 56px; align-items: end; }
.kf-v2 .lv-crumb { grid-area: c; margin-top: 18px; }
.kf-v2 .lv-lines { grid-area: h; }
.kf-v2 .lv-lede { grid-area: l; margin: 0; }
.kf-v2 .lv-acts { grid-area: a; margin-top: 24px; }
.kf-scene .cr-studio { max-width: 1040px; margin: 0 auto; }
.kf-mon { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #000; }
.kf-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
.kf-cam video { width: 100%; height: 100%; object-fit: cover; display: block; }
.kf-thirds { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .12) 0, rgba(255, 255, 255, .12) calc(33.33% + .5px), transparent 0, transparent calc(66.66% - .5px), rgba(255, 255, 255, .12) 0, rgba(255, 255, 255, .12) calc(66.66% + .5px), transparent 0), linear-gradient(transparent calc(33.33% - .5px), rgba(255, 255, 255, .12) 0, rgba(255, 255, 255, .12) calc(33.33% + .5px), transparent 0, transparent calc(66.66% - .5px), rgba(255, 255, 255, .12) 0, rgba(255, 255, 255, .12) calc(66.66% + .5px), transparent 0); }
.kf-cut { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.kf-tag { position: absolute; z-index: 2; margin: 0; padding: 6px 9px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #e5e5e5; }
.kf-tl { top: 14px; left: 14px; } .kf-tr { top: 14px; right: 14px; } .kf-bl { bottom: 14px; left: 14px; } .kf-br { bottom: 14px; right: 14px; }
.kf-line { padding: 16px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.kf-line-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; }
.kf-line-h .mb-mono { margin: 0 auto 0 0; }
.kf-tc { margin: 0; font: 500 15px var(--mono); color: #f5f5f5; }
.kf-tc-of { color: #a3a3a3; }
.kf-play { min-width: 76px; }
.kf-track { position: relative; padding-bottom: 14px; cursor: ew-resize; touch-action: pan-y; border-radius: 12px; outline-offset: 4px; }
.kf-track:hover .kf-head { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.kf-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; pointer-events: none; }
.kf-shots li { display: grid; gap: 3px; padding: 8px; border-radius: 12px; background: #171717; border: 1px solid rgba(255, 255, 255, .08); transition: border-color .4s, background .4s; }
.kf-shots li[data-on] { border-color: rgba(255, 255, 255, .55); background: #1b1b1e; }
.kf-thumb { display: block; aspect-ratio: 16 / 9; margin-bottom: 6px; border-radius: 6px; background-size: 220%; background-color: #000; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .3s cubic-bezier(.16, 1, .3, 1); }
.kf-shots li[data-on] .kf-thumb { outline-color: #fafafa; }
.kf-shots b { font-size: 13.5px; font-weight: 497; color: #f5f5f5; }
.kf-shots span:not(.kf-thumb) { font: 500 13px var(--mono); color: #a3a3a3; }
.kf-shots b span:not(.kf-thumb) { font: inherit; color: inherit; } /* the shot name keeps its weight; its words sit in a span for the copy check */
.kf-ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 1px, transparent 1px calc(100% / 120)); }
.kf-run { position: absolute; inset: -6px 0 -4px 0; pointer-events: none; }
.kf-head { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; border-radius: 2px; background: #f5f5f5; transition: box-shadow .25s; }
.kf-head::before { content: ''; position: absolute; top: -4px; left: -5px; width: 12px; height: 12px; border-radius: 3px; background: inherit; }
@media (max-width: 900px) {
.kf-v2 { left: 20px; right: 20px; bottom: 28px; display: block; }
.kf-v2 .lv-lede { margin-top: 16px; }
.kf-mon { aspect-ratio: 4 / 3; }
.kf-tag { padding: 5px 7px; }
.kf-br { right: auto; left: 14px; bottom: 50px; }
.kf-shots { grid-template-columns: repeat(2, 1fr); }
.kf-line { padding: 14px 12px 16px; }
}
/* dark: the shared Creative.css draws these two headings in #0a0a0a in both modes; on this page they take Hanzo's
foreground in dark until the shared file is converted */
html:not(.light) .lv:has(> .lv-stage[data-hero=koma]) :is(.cr-caps-h, .cr-fits-list h3) { color: var(--foreground); }
html:not(.light) .lv:has(> .lv-stage[data-hero=koma]) .cr-fit-x { color: var(--muted-foreground); }
html:not(.light) .lv:has(> .lv-stage[data-hero=koma]) :is(.cr-fits-list, .cr-fits-list li) { border-color: var(--border); }