/* Studio layout shared by Video and Audio: control panel on the left, stage on the right */

.studio-body { overflow: hidden; }
.studio {
  display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 12px; padding: 12px;
  height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
}
.side, .stage { background: #111113; border: 1px solid var(--line); border-radius: 16px; min-height: 0; }
.side { display: flex; flex-direction: column; overflow: hidden; }
.stage { overflow: auto; padding: 14px 20px 28px; scrollbar-width: thin; scrollbar-color: #333 transparent; }

.side-tabs { display: flex; gap: 18px; padding: 14px 18px 0; border-bottom: 1px solid var(--line); flex: none; }
.side-tabs button { background: none; border: 0; padding: 4px 0 12px; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 6px; }
.side-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.side-tabs .count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--surface-3); color: var(--muted); font-size: 11px; display: inline-grid; place-items: center; }
.side-tabs .count.on { background: var(--accent); color: var(--accent-ink); }
.side-scroll { flex: 1; min-height: 0; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.side-scroll > * { flex-shrink: 0; }
.side-foot { flex: none; padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #111113; }
.side-foot > div { display: grid; gap: 8px; }
.side-note { margin: 0; font-size: 13px; color: var(--muted); }

/* feature card: the current start frame or model */
.frame-card {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 8.2; padding: 0; border: 0; border-radius: 12px; overflow: hidden; text-align: left; background: #000;
}
.frame-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: transform 0.4s; }
.frame-card:hover img { transform: scale(1.04); }
.frame-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 60%); }
.fc-label { position: absolute; left: 14px; bottom: 30px; z-index: 1; font-size: 26px; color: var(--accent); }
.fc-sub { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 12.5px; color: rgba(255, 255, 255, 0.8); }
.fc-change { position: absolute; top: 10px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; }
.fc-change svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* option rows */
.row-sel {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; width: 100%;
  padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: left;
}
.row-sel:hover { background: var(--surface-2); }
.row-sel small { grid-column: 1; font-size: 11.5px; color: var(--muted); }
.row-sel strong { grid-column: 1; font-size: 14px; font-weight: 600; }
.row-sel > svg { grid-column: 2; grid-row: 1 / span 2; width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.row-sel.sel { grid-template-columns: 1fr; padding: 8px 10px; cursor: pointer; }
.row-sel.sel select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0 16px 0 0; font-size: 13.5px; font-weight: 600; width: 100%; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 7px) 55%, calc(100% - 2px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.row-sel.sel select:focus { outline: none; }
.row-sel.sel:focus-within { border-color: var(--accent); }
.row-sel.sel option { background: #1b1b1e; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.field { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.f-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.f-head output { color: var(--text); font-weight: 600; }
.field textarea { width: 100%; border: 0; background: transparent; resize: none; color: var(--text); font-size: 14px; line-height: 1.5; min-height: 120px; outline: none; }
input[type="range"] { width: 100%; accent-color: var(--accent); }

.adv { border-radius: 12px; background: var(--surface); border: 1px solid var(--line); padding: 10px 12px; }
.adv summary { cursor: pointer; font-size: 13.5px; font-weight: 600; list-style: none; }
.adv summary::-webkit-details-marker { display: none; }
.adv summary .muted { font-weight: 400; font-size: 12px; margin-left: 6px; }
.adv summary::after { content: '▾'; float: right; color: var(--muted); }
.adv[open] summary::after { content: '▴'; }
.adv #finish-sliders { display: grid; gap: 10px; margin: 12px 0; }
.adv label { display: grid; gap: 3px; font-size: 12px; color: var(--muted); }
.adv label span { display: flex; justify-content: space-between; }
.adv label output { color: var(--text); }
.btn-ghost.small { min-height: 32px; font-size: 12.5px; }

.go {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; border: 0; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink); font: 800 19px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(255, 191, 47, 0.18); transition: background 0.15s;
}
.go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.go:hover { background: var(--accent-hi); }
.go:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.go.busy { cursor: progress; opacity: 0.85; }
.btn-ghost.wide { width: 100%; min-height: 40px; }
.btn-ghost svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* storyboard list in the side panel */
.board-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bcard { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.bcard.active { border-color: var(--accent); }
.bcard.playing { border-color: var(--hot); }
.bcard .th { padding: 0; border: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.bcard .th img { width: 100%; height: 100%; object-fit: cover; }
.bcard .meta strong { display: block; font: 800 18px/1 var(--display); }
.bcard .meta span { font-size: 12.5px; color: var(--muted); }
.bcard .ctrl { display: grid; grid-template-columns: repeat(3, 26px); gap: 2px; }
.bcard .ctrl button { height: 26px; border-radius: 6px; border: 0; background: transparent; color: var(--muted); }
.bcard .ctrl button:hover:not(:disabled) { background: var(--surface-3); color: var(--text); }
.bcard .ctrl button:disabled { opacity: 0.3; }
.board-total { font-size: 13px; color: var(--muted); }

/* stage */
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 9px; background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 500; }
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pill:hover { color: var(--text); background: var(--surface); }
.pill.on { color: var(--text); background: var(--surface-2); border-color: var(--line-2); }
.src { font-size: 12.5px; color: var(--muted); }
.stage-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 22px 0 16px; flex-wrap: wrap; }
.stage-head h1 { margin: 0; font-size: clamp(34px, 3.6vw, 56px); }
.stage-head p { margin: 10px 0 0; max-width: 520px; color: var(--muted); font-size: 14.5px; }
.stage-actions { display: flex; gap: 8px; }

.viewfinder { position: relative; width: 100%; max-height: 64vh; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.viewfinder canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.vf-lines i { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, 0.55); pointer-events: none; }
.vf-lines i:nth-child(1) { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.vf-lines i:nth-child(2) { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.vf-lines i:nth-child(3) { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.vf-lines i:nth-child(4) { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.vf-hud { position: absolute; left: 44px; bottom: 16px; display: flex; gap: 12px; align-items: baseline; font-size: 12.5px; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); pointer-events: none; }
.hud-move { font: 800 22px/1 var(--display); text-transform: uppercase; color: #fff; }
.tally { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.6); padding: 5px 12px; border-radius: 999px; font: 700 16px/1 var(--display); letter-spacing: 0.06em; }
.tally .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4b3e; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.vf-status { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(420px, 80%); background: rgba(10, 10, 12, 0.85); border-radius: 12px; padding: 10px 14px; text-align: center; }
.vf-status p { margin: 6px 0 0; font-size: 13px; }
.meter { height: 4px; background: var(--surface-3); border-radius: 2px; overflow: hidden; }
.meter-fill { height: 100%; width: 0; background: var(--accent); transition: width 0.16s linear; }
.meter.indeterminate .meter-fill { width: 30%; animation: sweep 1.2s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.drop-hint { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.7); border: 2px dashed var(--accent); border-radius: 12px; font: 800 26px var(--display); text-transform: uppercase; }
.focus-mark { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid var(--accent); border-radius: 50%; pointer-events: none; animation: fm 0.9s ease-out forwards; }
@keyframes fm { from { transform: scale(1.6); } 70% { opacity: 1; } to { transform: scale(1); opacity: 0; } }

.lib-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 30px 0 14px; scroll-margin-top: 12px; }
.lib-head h2 { margin: 0; font-size: 30px; }
.groups { display: flex; gap: 6px; flex-wrap: wrap; }
.groups button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; }
.groups button[aria-selected="true"] { background: #fff; color: #0b0b0c; border-color: #fff; }
.groups button:hover:not([aria-selected="true"]) { color: var(--text); background: var(--surface); }
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.mcard { display: block; padding: 0; border: 0; background: none; text-align: left; border-radius: 10px; }
.mcard .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.mcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mcard strong { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 600; }
.mcard span { font-size: 12.5px; color: var(--muted); }
.mcard[aria-checked="true"] .frame { box-shadow: 0 0 0 2px var(--accent); }
.mcard[aria-checked="true"] strong { color: var(--accent); }
.mcard .use { position: absolute; right: 8px; bottom: 8px; padding: 4px 9px; border-radius: 7px; background: rgba(0, 0, 0, 0.6); font-size: 12px; font-weight: 600; opacity: 0; transition: opacity 0.15s; }
.mcard:hover .use { opacity: 1; }
.mcard[aria-checked="true"] .use { opacity: 1; background: var(--accent); color: var(--accent-ink); }
.mcard .badge { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.looks { display: flex; gap: 6px; flex-wrap: wrap; }
.looks button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; }
.looks button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.looks button:hover:not([aria-checked="true"]) { color: var(--text); background: var(--surface-2); }

.clips-row { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.clip { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.clip .meta { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 12.5px; color: var(--muted); }
.clip .meta a { color: var(--accent-ink); background: var(--accent); font-weight: 600; padding: 5px 10px; border-radius: 7px; }
.clip.fresh { border-color: var(--accent); }

/* start-frame picker */
.picker { width: min(900px, calc(100vw - 24px)); }
.picker h3 { margin: 18px 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.picker-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.picker-actions label { cursor: pointer; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pick { position: relative; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: #000; aspect-ratio: 16 / 10; }
.pick img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.pick:hover img { transform: scale(1.05); }
.pick span { position: absolute; left: 8px; bottom: 6px; font-size: 12px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }

/* ---------- audio page bits ---------- */
.vcard em { display: block; font-style: normal; font-size: 11.5px; color: var(--dim); margin-top: 2px; line-height: 1.35; }
.vcard:hover { background: var(--surface-2); }
.vplay { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); display: grid; place-items: center; }
.vplay svg { width: 12px; height: 12px; fill: currentColor; }
.vplay:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.vplay.busy { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.fcard .vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.fcard .vis::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05)); }
.wave-anim { position: absolute; left: 6%; right: 6%; top: 25%; width: 88%; height: 50%; z-index: 1; }
.hrow.fresh { border-color: var(--accent); }
.feature-duo + .lib-head { margin-top: 28px; }
.voice-row small, .voice-row strong, .row-sel > span > small, .row-sel > span > strong { display: block; }
.voice-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 16px/1 var(--display); color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), #ff7a3d); }
.feature-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; overflow: hidden; }
.fcard h3 { margin: 0; font-size: 18px; font-weight: 600; }
.fcard p { margin: 4px 0 14px; font-size: 13.5px; color: var(--muted); }
.fcard .vis { position: relative; height: 200px; border-radius: 10px; overflow: hidden; background: #0d0d0f; }
.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.vcard { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; cursor: pointer; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.vcard strong { display: block; font-size: 14px; }
.vcard .vt > span { display: block; font-size: 12px; color: var(--muted); }
.vcard[aria-checked="true"] { border-color: var(--accent); background: rgba(255, 191, 47, 0.07); }
.history { display: grid; gap: 8px; }
.hrow { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.hrow .play { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.hrow .play svg { width: 14px; height: 14px; fill: currentColor; }
.hrow .t strong { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52ch; }
.hrow .t span { font-size: 12px; color: var(--muted); }
.hrow canvas { width: 180px; height: 34px; }
.hrow a { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.beds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bed { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.bed strong { display: block; font-size: 13.5px; }
.bed span { font-size: 12px; color: var(--muted); }
.bed[aria-checked="true"] { border-color: var(--accent); background: rgba(255, 191, 47, 0.07); }

@media (max-width: 900px) {
  .studio-body { overflow: auto; }
  .studio { grid-template-columns: 1fr; height: auto; padding: 8px; }
  .side { order: 2; max-height: none; }
  .side-scroll { overflow: visible; }
  .side-foot { position: sticky; bottom: 0; z-index: 5; border-radius: 0 0 16px 16px; }
  .stage { order: 1; overflow: visible; padding: 12px; }
  .stage-head { margin: 14px 0 12px; }
  .feature-duo { grid-template-columns: 1fr; }
  .hrow { grid-template-columns: auto 1fr auto; }
  .hrow canvas { display: none; }
}

/* ---------- 3D page ---------- */
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack[hidden] { display: none; }
.three-view canvas { cursor: grab; touch-action: none; }
.three-view canvas:active { cursor: grabbing; }
.three-view { background: radial-gradient(120% 90% at 50% 40%, #17171b 0%, #0c0c0e 70%); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.check strong { display: block; font-size: 13.5px; font-weight: 600; }
.check small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.text-in { width: 100%; background: transparent; border: 0; color: var(--text); font: 500 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; outline: none; padding: 2px 0; }
.setup { margin: 10px 0 8px; padding-left: 18px; display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.setup code, .side-note code { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-3); color: var(--text); padding: 1px 5px; border-radius: 5px; word-break: break-word; }
.setup a, .side-note a { color: var(--accent); }
.pick-grid.wide { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.side-foot .grid2 .btn-ghost { justify-content: center; cursor: pointer; }

/* ---------- Film page ---------- */
.text-in.big { font: 800 24px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); gap: 0; }
.swatch i { width: 18px; height: 26px; display: block; }
.swatch i:first-child { border-radius: 6px 0 0 6px; }
.swatch i:last-child { border-radius: 0 6px 6px 0; }
.swatch[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.film-view canvas { cursor: pointer; }
.big-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(255, 191, 47, 0.95); color: var(--accent-ink); font-size: 26px; padding-left: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.big-play:hover { background: var(--accent-hi); }
.big-play[hidden] { display: none; }
.transport { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 12px auto 0; max-width: 100%; }
.transport output { font: 600 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); min-width: 92px; text-align: right; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.chk { padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.chk strong { display: block; font: 800 26px/1 var(--display); }
.chk span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.chk.ok strong { color: var(--accent); }
.chk.warn strong { color: var(--hot); }
.block-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.bk { padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.bk strong { display: block; font: 800 22px/1 var(--display); color: var(--text); }
.bk span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.sheet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sheet-item { padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.sheet-item.drop { border-color: var(--accent); }
.si-head { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.si-type { font: 800 16px/1 var(--display); text-transform: uppercase; }
.si-drop { font-size: 10px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 2px 5px; border-radius: 4px; }
.si-beat { color: var(--muted); margin-right: auto; }
.si-head select { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); border-radius: 6px; font-size: 12px; padding: 3px 4px; }
.si-head button { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 13px; line-height: 1; }
.si-head button:disabled { opacity: 0.35; }
.si-head .si-go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 10px; }
.si-fields { display: grid; gap: 6px; }
.si-fields input { width: 100%; background: #0f0f11; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 9px; color: var(--text); font-size: 13px; }
.sheet-add select { width: 100%; background: var(--surface-2); border: 1px dashed var(--line-2); color: var(--muted); border-radius: 10px; padding: 9px; font-size: 13px; }
/* Still examples complement the moving camera demonstrations. */
.mcard .frame > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
