:root{--bg: #0f0f12;--surface: #1a1a20;--surface-2: #24242c;--border: #2e2e38;--text: #f2f2f5;--muted: #9a9aa8;--accent: #ffb020;--accent-text: #1a1200;--danger: #ff4d5e;--radius: 12px;color-scheme:dark;font-family:system-ui,-apple-system,Hiragino Sans,Noto Sans JP,sans-serif;line-height:1.6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:var(--accent);text-decoration:none}h1{font-size:1.4rem;margin:0}h2{font-size:1.05rem;margin:0}p{margin:0}.appbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:#0f0f12e6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}.brand{font-weight:800;font-size:1.1rem;color:var(--text)}.page{padding:16px;max-width:960px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.page.narrow{max-width:640px}.stack{display:flex;flex-direction:column;gap:12px}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.row.between{justify-content:space-between}.row.end{justify-content:flex-end}.muted{color:var(--muted)}.small{font-size:.85rem}.error{color:var(--danger)}button,.button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:999px;cursor:pointer;padding:10px 18px;font:inherit;font-weight:700;background:var(--accent);color:var(--accent-text);display:inline-flex;align-items:center;gap:6px}button:disabled{opacity:.4;cursor:not-allowed}button.ghost{background:var(--surface-2);color:var(--text)}button.danger{background:var(--danger);color:#fff}button.small{padding:6px 12px;font-size:.85rem}button.wide{width:100%;justify-content:center}input[type=text],input:not([type]),input[type=file]{width:100%;padding:10px 12px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit}.field{display:flex;flex-direction:column;gap:4px}.check{display:flex;gap:8px;align-items:flex-start}.check input{margin-top:.35em}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.card{display:flex;flex-direction:column;background:var(--surface);border-radius:var(--radius);overflow:hidden;color:var(--text)}.thumb{position:relative;aspect-ratio:9 / 16;max-height:280px;background:#000;display:grid;place-items:center}.thumb img{width:100%;height:100%;object-fit:cover}.thumb-ph{font-size:2rem;color:var(--muted)}.badge{position:absolute;top:8px;left:8px;background:#000000a6;padding:2px 8px;border-radius:999px;font-size:.75rem}.card-body{padding:10px 12px;display:flex;flex-direction:column;gap:2px}.title{font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage{position:relative;background:#000;border-radius:var(--radius);overflow:hidden}.video{display:block;width:100%;max-height:70vh;background:#000}.play-overlay{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:72px;height:72px;justify-content:center;font-size:1.8rem;background:#0000008c;color:#fff}.countin{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:6rem;font-weight:900;background:#00000080}.rec-dot{position:absolute;top:10px;right:12px;color:var(--danger);font-weight:800}.meter{height:6px;background:var(--surface-2);border-radius:3px;overflow:hidden}.meter>div{height:100%;background:linear-gradient(90deg,#3ddc84,var(--accent),var(--danger));transition:width 60ms linear}.lineage{font-size:.85rem;color:var(--muted)}.sliders{display:flex;flex-direction:column;gap:6px;padding-top:8px}.slider{display:grid;grid-template-columns:7em 1fr 4em;align-items:center;gap:8px}.slider input{width:100%;accent-color:var(--accent)}.slider output{text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}.takes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.takes li{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;border-radius:8px;background:var(--surface-2)}.takes li.selected{outline:2px solid var(--accent)}details summary{cursor:pointer;color:var(--muted)}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:grid;place-items:center;padding:16px;z-index:100}.dialog{width:min(420px,100%);background:var(--surface);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:12px}
