mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 01:01:21 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwnSSVASfNEEi92hQ4
74 lines
6.3 KiB
CSS
74 lines
6.3 KiB
CSS
/* Oto (ot-): the soundstage, the page's one dark room */
|
|
.ot-v2 { width: min(36%, 480px); }
|
|
.ot-top { margin-bottom: clamp(40px, 5vw, 64px); }
|
|
.ot-cam { margin: 0; }
|
|
.ot-cam video { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 55%; display: block; border-radius: 24px; background: #0a0a0a; border: 1px solid rgba(255, 255, 255, .1); }
|
|
.ot-cam figcaption { margin: 14px 4px 0; color: #a3a3a3; } /* under the frame: nothing sits over the film */
|
|
.ot-studio .mb-panel { background: #0c0c0e; border: 1px solid rgba(255, 255, 255, .09); box-shadow: none; }
|
|
.ot-studio .mb-cap { color: #a3a3a3; }
|
|
.ot-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
|
.ot-head p { margin: 0; }
|
|
.ot-k { color: #f5f5f5; }
|
|
.ot-clock { font: 500 20px var(--mono); color: #fff; min-width: 7ch; }
|
|
.ot-sound { margin-left: auto; }
|
|
.ot-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
|
|
.ot-props { padding: 16px; border-right: 1px solid rgba(255, 255, 255, .08); }
|
|
.ot-props-h { margin: 0 0 12px; }
|
|
.ot-props ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
|
|
.ot-pad { position: relative; width: 100%; display: grid; grid-template-columns: 34px 1fr; grid-template-areas: 'e n' 'e m'; gap: 2px 10px; align-items: center; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: #171717; color: #f5f5f5; text-align: left; cursor: pointer; transition: background .25s, border-color .25s; }
|
|
.ot-pad:hover { background: #1c1c1f; border-color: rgba(255, 255, 255, .3); }
|
|
.ot-ring { position: absolute; inset: -1px; border-radius: inherit; box-shadow: inset 0 0 0 1.5px #fff, 0 0 24px rgba(255, 255, 255, .2); opacity: 0; pointer-events: none; }
|
|
.ot-emo { grid-area: e; font-size: 24px; line-height: 1; filter: grayscale(1); } /* Hanzo's own emoji, in greys */
|
|
.ot-pad-n { grid-area: n; font-size: 14.5px; font-weight: 500; line-height: 1.25; }
|
|
.ot-pad-m { grid-area: m; font: 500 13px var(--mono); color: #a3a3a3; }
|
|
.ot-spec { position: relative; min-height: 300px; background: #000; }
|
|
.ot-spec canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
|
|
.ot-spec-t, .ot-spec-b { position: absolute; left: 14px; margin: 0; padding: 5px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #d4d4d4; }
|
|
.ot-spec-t { top: 12px; right: 14px; width: fit-content; }
|
|
.ot-spec-b { bottom: 12px; }
|
|
.ot-now { position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .6); animation: ot-now 1.2s ease-in-out infinite; }
|
|
@keyframes ot-now { 50% { opacity: .35; } }
|
|
.ot-bus { padding: 16px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
|
|
.ot-bus-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
|
|
.ot-bus-h p { margin: 0; }
|
|
.ot-bus ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
|
|
.ot-bus li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 30px; gap: 12px; align-items: center; }
|
|
.ot-ch { font-size: 14px; color: #d4d4d4; }
|
|
.ot-meter { position: relative; height: 6px; border-radius: 3px; background: #262626; }
|
|
.ot-meter i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #a3a3a3, #fff); transform-origin: 0 50%; transform: scaleX(.04); }
|
|
.ot-meter b { position: absolute; top: -3px; width: 2px; height: 12px; background: #a3a3a3; }
|
|
.ot-v { font: 500 14px var(--mono); color: #f5f5f5; text-align: right; }
|
|
@media (max-width: 900px) {
|
|
.ot-v2 { width: auto; }
|
|
.ot-cam video { aspect-ratio: 4 / 3; }
|
|
.ot-main { grid-template-columns: 1fr; }
|
|
.ot-props { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 14px 12px; }
|
|
.ot-props ul { grid-template-columns: 1fr 1fr; }
|
|
.ot-pad { grid-template-columns: 1fr; grid-template-areas: 'e' 'n' 'm'; gap: 6px; min-height: 120px; align-content: start; }
|
|
.ot-spec { min-height: 220px; }
|
|
.ot-spec-t { right: auto; max-width: calc(100% - 28px); }
|
|
.ot-bus ul { grid-template-columns: 1fr; }
|
|
.ot-sound { margin-left: 0; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { .ot-now { animation: none; } }
|
|
|
|
/* ---------- dark (live hanzo.ai's dark palette, Hanzo's tokens only). The launch kit (v2/Launch.css), Creative.css and
|
|
ModelCards.css draw their type and rules in fixed light colours; this page sets their dark values, scoped to /oto.
|
|
Films, the soundstage and the black model cards are black in both modes and are left alone. ---------- */
|
|
html:not(.light) .lv:has(.ot-scene) { --ac: var(--foreground); --ac-ink: var(--foreground); --ac-soft: var(--x-fill); --ac-line: var(--border-control); }
|
|
html:not(.light) .lv:has(.ot-scene) :is(.lv-lines, .lv-h, .lv-ch-h, .cr-caps-h, .cr-fits-list h3) { color: var(--ink); }
|
|
html:not(.light) .lv:has(.ot-scene) .lv-stats :is(.x-stat-v, .x-stat-l) { color: var(--ink); }
|
|
html:not(.light) .lv:has(.ot-scene) :is(.lv-lines .lv-ln + .lv-ln, .lv-crumb, .lv-crumb span + span::before, .lv-side, .lv-ch-rail button, .cr-fit-n, .cr-fit-k) { color: var(--faint); }
|
|
html:not(.light) .lv:has(.ot-scene) .lv-ch-rail button[aria-current] { color: var(--ink); }
|
|
@media (hover: hover) { html:not(.light) .lv:has(.ot-scene) .lv-ch-rail button:hover { color: var(--ink); } }
|
|
html:not(.light) .lv:has(.ot-scene) :is(.lv-lede, .lv-p, .lv-ch-b, .lv-stats .x-stat-n, .cr-fit-x, .mc-sub) { color: var(--soft); }
|
|
html:not(.light) .lv:has(.ot-scene) :is(.lv-stats, .cr-fits-list) { border-top-color: var(--line); }
|
|
html:not(.light) .lv:has(.ot-scene) :is(.lv-stats > .x-stat + .x-stat) { border-left-color: var(--line); }
|
|
html:not(.light) .lv:has(.ot-scene) .cr-fits-list li { border-bottom-color: var(--line); }
|
|
html:not(.light) .lv:has(.ot-scene) .lv-ch-rail::before { background: var(--line); }
|
|
html:not(.light) .lv:has(.ot-scene) .cr-tab[aria-selected='true'] { color: var(--ink); }
|
|
html:not(.light) .lv:has(.ot-scene) .cr-tab-ink { background: var(--x-knob); } /* the selected pill in a track, as Hanzo's dark tabs */
|
|
html:not(.light) .lv:has(.ot-scene) .mc { background: var(--bg); }
|
|
/* the closing band is black in both modes; its solid ask is Hanzo's light primary there */
|
|
html:not(.light) .lv:has(.ot-scene) .x-band .x-btn.solid { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
|