/* * video-recap 审片台 (read-only) — minimal, calm visual layout. * Uses shared ZenStory design tokens from tokens.css exclusively. */ /* ====================================================== 1. base & utilities */ * { box-sizing: border-box; } [hidden] { display: none !important; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; background: var(--zs-bg); color: var(--zs-ink-900); font: var(--zs-text-14)/1.6 var(--zs-sans); font-feature-settings: "tnum"; } button, input, summary { font: inherit; color: inherit; } button { cursor: pointer; } a { color: inherit; } h1, h2, h3 { margin: 0; font-weight: var(--zs-weight-bold); } p { margin: 0; } ::selection { background: var(--zs-selection); } :focus-visible { outline: var(--zs-focus-width) solid var(--zs-focus); outline-offset: var(--zs-focus-offset); border-radius: var(--zs-radius-xs); } .skip { position: absolute; left: -999px; top: var(--zs-space-2); z-index: 99; background: var(--zs-ink-900); color: var(--zs-on-ink); padding: var(--zs-space-1h) var(--zs-space-2h); border-radius: var(--zs-radius-sm); } .skip:focus { left: var(--zs-space-2); } .muted { color: var(--zs-ink-500); } .small { font-size: var(--zs-text-13); } svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; } .card { background: var(--zs-paper); border: 1px solid var(--zs-line); border-radius: var(--zs-radius-lg); box-shadow: var(--zs-shadow-sm); min-width: 0; } .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; margin-right: 6px; } .dot.danger { background: var(--zs-danger); } .tag { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--zs-space-2); border-radius: var(--zs-radius-pill); font-size: var(--zs-text-12); font-weight: var(--zs-weight-medium); white-space: nowrap; background: var(--zs-surface-2); color: var(--zs-ink-700); flex: none; } .tag.ok { background: var(--zs-ok-wash); color: var(--zs-ok); } .tag.warn { background: var(--zs-warn-wash); color: var(--zs-warn); } .tag.voice { background: var(--zs-voice-wash); color: var(--zs-voice); } .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--zs-space-1h); height: 32px; padding: 0 var(--zs-space-3); border-radius: var(--zs-radius-ctl); border: 1px solid var(--zs-line); background: var(--zs-paper); color: var(--zs-ink-900); font-weight: var(--zs-weight-medium); font-size: var(--zs-text-13); text-decoration: none; white-space: nowrap; } .btn:hover { border-color: var(--zs-line-strong); background: var(--zs-surface-2); } .btn.sm { height: 28px; padding: 0 var(--zs-space-2h); font-size: var(--zs-text-12); } .notice { display: flex; gap: var(--zs-space-2h); align-items: center; padding: var(--zs-space-2h) var(--zs-space-3h); border-radius: var(--zs-radius-md); background: var(--zs-danger-wash); color: var(--zs-danger); border: 1px solid color-mix(in srgb, var(--zs-danger) 24%, transparent); font-size: var(--zs-text-13); } .empty { padding: var(--zs-space-10) var(--zs-space-6); text-align: center; color: var(--zs-ink-500); } .empty h3 { color: var(--zs-ink-900); font-size: var(--zs-text-16); margin-bottom: var(--zs-space-1); } .empty p { max-width: 420px; margin: 0 auto; font-size: var(--zs-text-13); } .loading { padding: var(--zs-space-16) var(--zs-space-6); text-align: center; color: var(--zs-ink-500); } .flash { animation: flash var(--zs-duration-slow) var(--zs-ease); } @keyframes flash { 0% { background: var(--zs-accent-wash); } 100% { background: transparent; } } /* =================================================== 2. topbar & navigation */ .topbar { position: sticky; top: 0; z-index: 30; height: var(--zs-topbar-height); display: flex; align-items: center; justify-content: space-between; gap: var(--zs-space-3); padding: 0 var(--zs-space-5); background: color-mix(in srgb, var(--zs-bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--zs-line); } .brand { display: inline-flex; align-items: center; gap: var(--zs-space-2h); text-decoration: none; flex: none; } .brand-title { font-weight: var(--zs-weight-heavy); font-size: var(--zs-text-15); } .top-spacer { flex: 1; } .nav-seg { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--zs-radius-pill); background: var(--zs-surface-2); border: 1px solid var(--zs-line); } .nav-tab { display: inline-flex; align-items: center; height: 28px; padding: 0 var(--zs-space-3h); border-radius: var(--zs-radius-pill); text-decoration: none; font-size: var(--zs-text-13); font-weight: var(--zs-weight-semibold); color: var(--zs-ink-500); white-space: nowrap; } .nav-tab:hover { color: var(--zs-ink-900); } .nav-tab[aria-current="page"] { background: var(--zs-paper); color: var(--zs-ink-900); box-shadow: var(--zs-shadow-sm); } .top-actions { display: flex; align-items: center; gap: var(--zs-space-2); flex: none; } .search-trigger { display: inline-flex; align-items: center; gap: var(--zs-space-1h); height: 32px; padding: 0 var(--zs-space-3); border: 1px solid var(--zs-line); border-radius: var(--zs-radius-pill); background: var(--zs-paper); color: var(--zs-ink-500); font-size: var(--zs-text-13); } .search-trigger:hover { border-color: var(--zs-line-strong); color: var(--zs-ink-900); } .icon-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--zs-line); background: var(--zs-paper); display: grid; place-items: center; color: var(--zs-ink-700); flex: none; } .icon-btn:hover { border-color: var(--zs-line-strong); color: var(--zs-ink-900); } /* ===================================================== 3. screening studio */ main { min-height: calc(100vh - var(--zs-topbar-height)); outline: none; } .studio { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - var(--zs-topbar-height)); } /* Left Video List */ .rail { border-right: 1px solid var(--zs-line); background: color-mix(in srgb, var(--zs-surface) 60%, var(--zs-bg)); position: sticky; top: var(--zs-topbar-height); height: calc(100vh - var(--zs-topbar-height)); overflow-y: auto; } .rail-list { padding: var(--zs-space-3); display: flex; flex-direction: column; gap: 4px; } .rail-item { display: flex; align-items: center; justify-content: space-between; gap: var(--zs-space-2); padding: var(--zs-space-2h) var(--zs-space-3); border-radius: var(--zs-radius-md); text-decoration: none; color: var(--zs-ink-700); transition: background var(--zs-duration-fast); } .rail-item:hover { background: var(--zs-surface-2); color: var(--zs-ink-900); } .rail-item.active { background: var(--zs-paper); color: var(--zs-ink-900); font-weight: var(--zs-weight-semibold); box-shadow: var(--zs-shadow-sm); } .ri-title { flex: 1; font-size: var(--zs-text-13); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ri-dur { font: var(--zs-text-12) var(--zs-mono); color: var(--zs-ink-400); flex: none; } .rail-empty { padding: var(--zs-space-8) var(--zs-space-4); text-align: center; color: var(--zs-ink-500); font-size: var(--zs-text-13); } .rail-more { margin-top: var(--zs-space-3); padding-top: var(--zs-space-2h); border-top: 1px solid var(--zs-line); } .rail-more > summary { padding: var(--zs-space-1h) var(--zs-space-3); font-size: var(--zs-text-12); color: var(--zs-ink-500); cursor: pointer; list-style: none; } .rail-more > summary::-webkit-details-marker { display: none; } .rail-sublist { display: flex; flex-direction: column; gap: 2px; margin-top: var(--zs-space-1); } /* Right Main Stage */ .stage { padding: var(--zs-space-5) var(--zs-space-7) var(--zs-space-10); max-width: 1400px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: var(--zs-space-4); min-width: 0; } .stage-head { display: flex; align-items: center; justify-content: space-between; gap: var(--zs-space-3); flex-wrap: wrap; } .stage-head h1 { font-size: var(--zs-text-20); font-weight: var(--zs-weight-heavy); } .src-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--zs-radius-pill); background: var(--zs-surface-2); border: 1px solid var(--zs-line); } .src-btn { border: 0; background: transparent; color: var(--zs-ink-500); font-size: var(--zs-text-12); font-weight: var(--zs-weight-semibold); padding: 4px 12px; border-radius: var(--zs-radius-pill); } .src-btn.on { background: var(--zs-paper); color: var(--zs-ink-900); box-shadow: var(--zs-shadow-sm); } .studio-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.85fr); gap: var(--zs-space-5); align-items: start; } /* Video Player */ .theater-wrap { background: var(--zs-media); border-radius: var(--zs-radius-lg); overflow: hidden; box-shadow: var(--zs-shadow); } .theater { width: 100%; min-height: 300px; max-height: 74vh; display: flex; align-items: center; justify-content: center; } .theater video { display: block; width: 100%; max-height: 74vh; object-fit: contain; background: var(--zs-media); } .theater-empty { min-height: 300px; padding: var(--zs-space-8) var(--zs-space-6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--zs-space-2); text-align: center; color: var(--zs-panel-ink); } .theater-empty p { color: color-mix(in srgb, var(--zs-panel-ink) 70%, transparent); font-size: var(--zs-text-13); } /* Right Panel: 解说词 / 镜头 */ .inspector { display: flex; flex-direction: column; overflow: hidden; max-height: 74vh; } .insp-single-head { padding: var(--zs-space-3) var(--zs-space-4); border-bottom: 1px solid var(--zs-line); font-size: var(--zs-text-14); font-weight: var(--zs-weight-bold); } .insp-tabs { display: flex; gap: var(--zs-space-4); padding: 0 var(--zs-space-4); border-bottom: 1px solid var(--zs-line); flex: none; } .insp-tab { position: relative; display: inline-flex; align-items: center; height: 44px; font-size: var(--zs-text-14); font-weight: var(--zs-weight-semibold); color: var(--zs-ink-500); text-decoration: none; } .insp-tab:hover { color: var(--zs-ink-900); } .insp-tab.on { color: var(--zs-ink-900); } .insp-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--zs-ink-900); border-radius: 2px; } .insp-body { flex: 1; overflow-y: auto; } .insp-pad { padding: var(--zs-space-4); } /* Script Rows */ .script-list { display: flex; flex-direction: column; } .script-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--zs-space-3); align-items: baseline; padding: var(--zs-space-3h) var(--zs-space-4); border-bottom: 1px solid var(--zs-line); cursor: pointer; transition: background var(--zs-duration-fast); } .script-row:last-child { border-bottom: 0; } .script-row:hover { background: var(--zs-surface-2); } .script-row.on { background: var(--zs-accent-wash); box-shadow: inset 3px 0 0 var(--zs-accent); } .sr-time { font: var(--zs-text-12) var(--zs-mono); color: var(--zs-ink-400); } .script-row.on .sr-time { color: var(--zs-accent-ink); font-weight: var(--zs-weight-semibold); } .sr-text { font-size: var(--zs-text-15); line-height: 1.72; color: var(--zs-ink-900); overflow-wrap: anywhere; } /* Shot Rows */ .clip-list { display: flex; flex-direction: column; } .clip-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--zs-space-3); align-items: baseline; padding: var(--zs-space-3) var(--zs-space-4); border-bottom: 1px solid var(--zs-line); cursor: pointer; transition: background var(--zs-duration-fast); } .clip-row:last-child { border-bottom: 0; } .clip-row:hover { background: var(--zs-surface-2); } .clip-row.on { background: var(--zs-accent-wash); box-shadow: inset 3px 0 0 var(--zs-accent); } .cr-num { font: var(--zs-weight-semibold) var(--zs-text-12) var(--zs-mono); color: var(--zs-ink-400); } .cr-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .cr-time { font: var(--zs-text-12) var(--zs-mono); color: var(--zs-ink-500); } .cr-reason { font-size: var(--zs-text-14); color: var(--zs-ink-900); line-height: 1.55; overflow-wrap: anywhere; } /* Storyboard Thumbnails */ .sb-section { padding: var(--zs-space-3h) var(--zs-space-4); border-top: 1px solid var(--zs-line); } .sub-h { font-size: var(--zs-text-12); font-weight: var(--zs-weight-semibold); color: var(--zs-ink-500); margin-bottom: var(--zs-space-2); } .sb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--zs-space-2h); } .sb-thumb { border: 1px solid var(--zs-line); border-radius: var(--zs-radius-sm); background: var(--zs-surface); padding: var(--zs-space-1h); display: flex; flex-direction: column; gap: var(--zs-space-1); text-align: left; } .sb-thumb:hover { border-color: var(--zs-line-strong); } .sb-thumb img { width: 100%; height: 88px; object-fit: cover; border-radius: var(--zs-radius-xs); background: var(--zs-media); display: block; } .sb-thumb span { font-size: var(--zs-text-12); color: var(--zs-ink-700); } /* ======================================================== 4. library views */ .page-wrap { max-width: 1180px; margin: 0 auto; padding: var(--zs-space-6) var(--zs-space-6) var(--zs-space-12); display: flex; flex-direction: column; gap: var(--zs-space-5); } .page-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--zs-space-3); flex-wrap: wrap; } .page-bar h1 { font-size: var(--zs-text-20); font-weight: var(--zs-weight-heavy); } .tab-badge { margin-left: var(--zs-space-1h); font: var(--zs-weight-semibold) var(--zs-text-11) var(--zs-mono); color: var(--zs-ink-400); } .nav-tab[aria-current="page"] .tab-badge { color: var(--zs-accent-ink); } .filter-bar { display: flex; align-items: center; gap: var(--zs-space-2); flex-wrap: wrap; } .chip-btn { display: inline-flex; align-items: center; gap: var(--zs-space-1h); height: 30px; padding: 0 var(--zs-space-3); border-radius: var(--zs-radius-pill); border: 1px solid var(--zs-line); background: var(--zs-paper); color: var(--zs-ink-700); font-size: var(--zs-text-12); font-weight: var(--zs-weight-semibold); text-decoration: none; transition: background var(--zs-duration-fast), border-color var(--zs-duration-fast); } .chip-btn span { font: var(--zs-text-11) var(--zs-mono); color: var(--zs-ink-400); } .chip-btn:hover { border-color: var(--zs-line-strong); color: var(--zs-ink-900); } .chip-btn.on { background: var(--zs-ink-900); color: var(--zs-on-ink); border-color: var(--zs-ink-900); } .chip-btn.on span { color: color-mix(in srgb, var(--zs-on-ink) 72%, transparent); } .cat-stack { display: flex; flex-direction: column; gap: var(--zs-space-6); } .cat-group { display: flex; flex-direction: column; gap: var(--zs-space-3); } .cat-head { display: flex; align-items: center; gap: var(--zs-space-2); padding-bottom: var(--zs-space-1h); border-bottom: 1px solid var(--zs-line); } .cat-head h2 { font-size: var(--zs-text-16); font-weight: var(--zs-weight-bold); } .cat-count { font: var(--zs-weight-semibold) var(--zs-text-11) var(--zs-mono); padding: 1px var(--zs-space-2); border-radius: var(--zs-radius-pill); background: var(--zs-surface-2); color: var(--zs-ink-500); } .res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: var(--zs-space-3h); } .sfx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: var(--zs-space-3); } .res-card { padding: var(--zs-space-4); display: flex; flex-direction: column; gap: var(--zs-space-2); } .res-card.compact { padding: var(--zs-space-3h); gap: var(--zs-space-1h); } .rc-top { display: flex; align-items: center; justify-content: space-between; gap: var(--zs-space-2); } .rc-title { font-size: var(--zs-text-15); font-weight: var(--zs-weight-bold); min-width: 0; overflow-wrap: anywhere; } .rc-meta { font: var(--zs-text-12) var(--zs-mono); color: var(--zs-ink-500); } .chip-row { display: flex; align-items: center; gap: var(--zs-space-1h); flex-wrap: wrap; } .meta-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 var(--zs-space-2); border-radius: var(--zs-radius-xs); font-size: var(--zs-text-11); background: var(--zs-surface); border: 1px solid var(--zs-line); color: var(--zs-ink-700); } .res-audio { width: 100%; height: 34px; display: block; margin-top: auto; padding-top: var(--zs-space-1); } .img-btn { width: 100%; border: 1px solid var(--zs-line); border-radius: var(--zs-radius-md); background: var(--zs-media); padding: 0; overflow: hidden; display: block; } .img-btn img { width: 100%; height: 140px; object-fit: contain; display: block; } .series-card { overflow: hidden; } .series-head { padding: var(--zs-space-4) var(--zs-space-5); background: color-mix(in srgb, var(--zs-surface-2) 55%, var(--zs-paper)); border-bottom: 1px solid var(--zs-line); display: flex; flex-direction: column; gap: var(--zs-space-2); } .series-title-row { display: flex; align-items: center; justify-content: space-between; gap: var(--zs-space-3); flex-wrap: wrap; } .series-title-row h2 { font-size: var(--zs-text-17); font-weight: var(--zs-weight-heavy); } .ep-list { display: flex; flex-direction: column; } .ep-row { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: var(--zs-space-3); align-items: baseline; padding: var(--zs-space-3h) var(--zs-space-5); border-bottom: 1px solid var(--zs-line); } .ep-row:last-child { border-bottom: 0; } .ep-badge { display: inline-grid; place-items: center; height: 22px; border-radius: var(--zs-radius-xs); background: var(--zs-surface-2); font: var(--zs-weight-semibold) var(--zs-text-11) var(--zs-mono); color: var(--zs-ink-700); } .ep-main { display: flex; flex-direction: column; gap: var(--zs-space-1); min-width: 0; } .ep-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--zs-space-3); flex-wrap: wrap; } .ep-title { font-size: var(--zs-text-14); font-weight: var(--zs-weight-bold); } .tpl-card { padding: var(--zs-space-4); display: flex; gap: var(--zs-space-4); align-items: center; } .tpl-mini { width: 104px; flex: none; } .tpl-info { display: flex; flex-direction: column; gap: var(--zs-space-1h); flex: 1; min-width: 0; } .mini { position: relative; width: 100%; background: var(--zs-panel); border-radius: var(--zs-radius-sm); overflow: hidden; border: 1px solid var(--zs-line); container-type: inline-size; } .mini.pkg { background: repeating-conic-gradient(var(--zs-surface-3) 0% 25%, var(--zs-surface) 0% 50%) 50% / 12px 12px; } .mini.studio-mini { background: var(--zs-panel); } .mini.studio-mini.blurred { background: linear-gradient(180deg, var(--zs-panel) 0%, var(--zs-ramp-5) 50%, var(--zs-panel) 100%); } .mini .studio-vp { position: absolute; display: grid; place-items: center; background: color-mix(in srgb, var(--zs-brand-cyan) 16%, var(--zs-media)); box-shadow: inset 0 0 0 1px var(--zs-panel-edge); color: var(--zs-panel-ink); font-size: var(--zs-text-10); } .mini .band { position: absolute; left: 0; right: 0; background: var(--zs-accent-wash); } .mini .line { position: absolute; left: 0; right: 0; text-align: center; white-space: nowrap; color: var(--line-c, var(--zs-media-ink)); font-family: var(--zs-sans); font-weight: var(--zs-weight-bold); line-height: 1.15; } .mini .layer { position: absolute; display: block; object-fit: fill; } .mini .layer-box { position: absolute; box-shadow: inset 0 0 0 1px var(--zs-panel-edge); color: var(--zs-panel-ink); font-size: var(--zs-text-10); padding: 2px; overflow: hidden; } .tpl-list { display: flex; flex-direction: column; gap: var(--zs-space-4); } .sample-card { padding: var(--zs-space-4); display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--zs-space-5); align-items: center; } .sample-video { border-radius: var(--zs-radius-md); overflow: hidden; background: var(--zs-media); display: grid; place-items: center; min-height: 160px; } .sample-video video { width: 100%; max-height: 320px; object-fit: contain; display: block; } /* =========================================================== 5. overlays */ .lightbox { position: fixed; inset: 0; z-index: 70; background: var(--zs-media-scrim); backdrop-filter: blur(6px); display: grid; place-items: center; padding: var(--zs-space-5); } .lb-box { max-width: min(1240px, 94vw); max-height: 90vh; display: flex; flex-direction: column; gap: var(--zs-space-2h); align-items: center; } .lb-box img { max-width: 100%; max-height: calc(90vh - 48px); object-fit: contain; border-radius: var(--zs-radius-md); box-shadow: var(--zs-shadow-lg); background: var(--zs-media); } .lb-cap { color: var(--zs-media-ink); font-size: var(--zs-text-13); display: flex; align-items: center; gap: var(--zs-space-3); } .palette { position: fixed; inset: 0; z-index: 60; display: grid; place-items: start center; padding-top: 12vh; background: var(--zs-scrim); backdrop-filter: blur(3px); } .pal { width: min(600px, calc(100vw - 32px)); max-height: 64vh; display: flex; flex-direction: column; background: var(--zs-paper); border: 1px solid var(--zs-line); border-radius: var(--zs-radius-lg); box-shadow: var(--zs-shadow-lg); overflow: hidden; } .pal-in { display: flex; align-items: center; gap: var(--zs-space-2h); padding: var(--zs-space-3) var(--zs-space-4); border-bottom: 1px solid var(--zs-line); } .pal-in input { flex: 1; min-width: 0; border: 0; background: none; font-size: var(--zs-text-15); outline: none; } .pal-res { overflow-y: auto; padding: var(--zs-space-1h); } .pal-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--zs-space-2h); padding: var(--zs-space-2) var(--zs-space-2h); border-radius: var(--zs-radius-sm); cursor: pointer; align-items: baseline; text-decoration: none; } .pal-item[aria-selected="true"], .pal-item:hover { background: var(--zs-surface-2); } .pal-item .w { font-size: var(--zs-text-12); color: var(--zs-ink-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pal-item .x { font-size: var(--zs-text-13); min-width: 0; overflow-wrap: anywhere; } .pal-item mark { background: var(--zs-accent-wash); color: inherit; border-radius: 2px; padding: 0 2px; } .pal-empty { padding: var(--zs-space-7); text-align: center; color: var(--zs-ink-500); font-size: var(--zs-text-13); } /* ========================================================== 6. responsive */ @media (max-width: 1080px) { .studio-grid { grid-template-columns: minmax(0, 1fr); } .inspector { max-height: none; } } @media (max-width: 800px) { .studio { grid-template-columns: minmax(0, 1fr); } .rail { position: static; height: auto; max-height: 200px; border-right: 0; border-bottom: 1px solid var(--zs-line); } .stage, .page-wrap { padding: var(--zs-space-4); } .sample-card { grid-template-columns: minmax(0, 1fr); } }