:root { --paper: #f6f7f9; --ink: #182e35; --muted: #77848a; --line: #e5e9eb; --teal: #087e78; --sidebar: #152c32; --mint: #e5f3ee; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, select { font: inherit; }
button, select, a, summary, input[type="range"], input[type="checkbox"] { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .5; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #53c8bc; outline-offset: 3px; }
a { color: var(--teal); text-decoration: none; }
button { border: 0; background: transparent; }
[hidden] { display: none !important; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 224px; padding: 30px 20px 22px; color: #dce5e6; background: var(--sidebar); display: flex; flex-direction: column; z-index: 3; }
.brand { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 24px; font-weight: 650; letter-spacing: -.8px; margin-bottom: 44px; }
.brand-icon { color: #8fdbc9; font-size: 37px; line-height: 1; }
.brand small { display: block; color: #a5b8bd; font-size: 8px; letter-spacing: 1.35px; font-weight: 400; }
.sidebar-label { display: flex; justify-content: space-between; font-size: 11px; color: #9bafb4; letter-spacing: 1px; margin-bottom: 12px; }
.device-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.device { border: 1px solid #365056; color: #c3d0d2; border-radius: 7px; padding: 10px 4px; font-size: 19px; font-weight: 600; }
.device span { display: block; font-size: 10px; font-weight: 400; margin-top: 3px; }
.device.active { background: #d8efe6; border-color: #d8efe6; color: #194b43; }
.episode-label { margin-top: 32px; }
.search { display: flex; align-items: center; gap: 8px; background: #213c43; padding: 5px 9px; border: 1px solid #344d54; border-radius: 6px; margin-bottom: 14px; }
.search span { font-size: 22px; }
.search input { background: none; border: 0; color: #fff; width: 100%; min-width: 0; font-size: 11px; outline-offset: 5px; }
.search input::placeholder { color: #99aeb4; }
.episode-list { display: flex; flex-direction: column; gap: 7px; overflow-y: auto; }
.episode-item { width: 100%; text-align: left; padding: 13px 10px; border: 1px solid transparent; border-radius: 7px; color: #b7c9cd; }
.episode-item:hover { background: #203c43; }
.episode-item.active { background: #26464d; border-color: #4a6b70; color: white; }
.episode-item .item-top { display: flex; align-items: center; gap: 9px; }
.sample-number { font-size: 10px; color: #8eb5b9; font-family: monospace; }
.episode-item strong { font-size: 12px; font-weight: 500; }
.episode-item small { display: block; font-size: 10px; color: #9bb5bb; margin: 5px 0 0 23px; }
.episode-item .item-state { font-size: 9px; color: #b9d9bd; }
.episode-item .item-state.pending { color: #d4b78a; }
.sidebar-bottom { padding-top: 26px; margin-top: auto; color: #c0d2d5; font-size: 11px; }
.sidebar-bottom p { color: #91a9b0; font-size: 10px; line-height: 1.9; margin: 8px 0 15px; }
.sidebar-bottom a { color: #adcec6; font-size: 10px; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #a9d7bf; margin-right: 6px; }
.workspace { margin-left: 224px; }
.topbar { height: 64px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 0 32px; background: #fff; font-size: 12px; }
.breadcrumb { color: var(--muted); }
.slash { color: #b1babd; margin: 0 14px; }
.prototype-badge { font-size: 10px; border: 1px solid #dde4e5; border-radius: 5px; padding: 4px 8px; color: #6b7c82; }
.prototype-badge span { margin-left: 10px; color: #9ba7ab; font-family: monospace; }
main { max-width: 1760px; margin: auto; padding: 28px 32px 0; }
.episode-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { color: #798e94; font-size: 9px; letter-spacing: 1.5px; font-weight: 600; }
.eyebrow span { margin-left: 12px; color: #8ca299; }
h1 { font-size: 26px; font-weight: 600; letter-spacing: -.7px; line-height: 1.4; margin: 5px 0 7px; }
.episode-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
code { font-size: 10px; color: #849297; overflow-wrap: anywhere; }
.text-button { color: var(--teal); font-size: 10px; padding: 0; }
.episode-stats { display: flex; gap: 28px; flex-shrink: 0; }
.episode-stats div { display: flex; flex-direction: column; }
.episode-stats strong { font: 500 21px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.episode-stats span { font-size: 10px; color: var(--muted); }
.viewer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); align-items: start; gap: 20px; }
.observation-column, .annotation-column { min-width: 0; display: grid; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; min-height: 51px; padding: 12px 18px; border-bottom: 1px solid var(--line); gap: 12px; }
h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; }
.section-number { color: #90a2a7; font: 10px ui-monospace, monospace; margin-right: 3px; }
.small-tag { color: #71858a; background: #f2f5f5; padding: 2px 7px; font-size: 9px; border-radius: 4px; white-space: nowrap; font-weight: 400; }
.view-labels { background: #192329; color: #92a8af; display: grid; grid-template-columns: 1fr 1fr; font: 9px/32px ui-monospace, monospace; letter-spacing: 1px; }
.view-labels span { padding: 0 16px; }
.view-labels span + span { border-left: 1px solid #334047; }
.view-labels b { color: #d7e1e3; font: 10px sans-serif; margin-left: 8px; }
.video-stage { background: #0d1418; display: grid; grid-template-columns: 1fr; }
.video-stage.mono { grid-template-columns: 1fr 1fr; }
.video-wrap { position: relative; min-width: 0; display: flex; align-items: center; }
video { display: block; width: 100%; aspect-ratio: 16 / 5; object-fit: contain; background: #10191e; }
.mono video { aspect-ratio: 16 / 9; }
.media-message { position: absolute; left: 18px; right: 18px; bottom: 14px; background: #102229e8; color: #bfd1d6; padding: 8px 12px; border-radius: 5px; font-size: 11px; pointer-events: none; }
.right-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; border-left: 1px solid #334047; color: #adc0c6; text-align: center; background: repeating-linear-gradient(135deg, #162329, #162329 8px, #18262b 8px, #18262b 9px); }
.empty-icon { font-size: 34px; color: #58747d; margin-bottom: 12px; }
.right-placeholder strong { font-size: 12px; font-weight: 500; }
.right-placeholder p { font-size: 10px; color: #78929b; line-height: 1.9; }
.legend { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; background: #f9fbfb; border-bottom: 1px solid var(--line); color: #7b8a8f; font-size: 9px; }
.legend > div { display: flex; gap: 13px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; }
.hand-left { background: #438fe7; }.hand-right { background: #f49b45; }.gaze { background: #d169b7; }
.current-caption { padding: 13px 18px 16px; min-height: 97px; }
#current-caption { font-size: 12px; line-height: 1.8; margin-top: 4px; color: #344f56; }
#current-caption p { margin: 3px 0; }
.timeline-panel { padding: 16px 18px 12px; }
.transport, .transport-left { display: flex; gap: 12px; align-items: center; }
.transport { justify-content: space-between; margin-bottom: 16px; }
.play-button { display: flex; align-items: center; justify-content: center; width: 34px; height: 32px; border-radius: 6px; background: var(--teal); color: white; font-size: 13px; }
.icon-button { color: #7b8f95; font: 10px ui-monospace, monospace; padding: 0; }
.timecode { font: 10px ui-monospace, monospace; color: #93a1a6; }.timecode b { color: #38575f; font-weight: 500; }
.speed-label { color: #8b999d; font-size: 10px; white-space: nowrap; }
select { background: #fff; border: 1px solid var(--line); padding: 4px 7px; border-radius: 4px; color: #36565d; font-size: 11px; }
.speed-label select { margin-left: 5px; border: 0; background: #f0f4f4; }
.seek { width: 100%; height: 4px; margin: 5px 0 0; accent-color: var(--teal); display: block; }
.time-ruler { display: flex; justify-content: space-between; padding: 8px 0 12px; color: #93a0a5; font: 9px ui-monospace, monospace; }
.track-row { display: flex; align-items: center; gap: 9px; margin: 7px 0; font-size: 9px; color: #778b92; }
.track-row > span { width: 69px; flex-shrink: 0; }
.track-lane { height: 27px; background: #f3f6f5; position: relative; flex: 1; border-radius: 3px; overflow: hidden; }
.segment-bar { position: absolute; height: 11px; background: #a9cfc4; border: 1px solid #fff; min-width: 3px; border-radius: 2px; padding: 0; }
.segment-bar:nth-child(3n + 1) { background: #88b8a9; }.segment-bar.active { background: #187f72; }
.availability-track { flex: 1; border-radius: 3px; background: #e8eef5; color: #849aac; padding: 3px 9px; font-size: 9px; }
.availability-track.pending { background: repeating-linear-gradient(135deg, #f5f6f7, #f5f6f7 4px, #eceff1 4px, #eceff1 5px); color: #a0aaae; }
.timeline-foot { display: flex; justify-content: space-between; color: #95a0a4; font-size: 9px; border-top: 1px solid #f0f2f3; padding-top: 11px; margin-top: 13px; gap: 10px; }
.disclosure { width: 100%; text-align: left; border-bottom: 0; }
.disclosure h2 { font-size: 12px; }.disclosure > span { color: #93a5ab; }
.pose-content { color: #6e848c; }
.pose-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 17px; border-top: 1px solid var(--line); font-size: 10px; }
.pose-layers { display: flex; align-items: center; gap: 16px; }
.pose-layers label { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.pose-layers input { accent-color: var(--teal); width: 12px; height: 12px; margin: 0 3px 0 0; }
.pose-layers .dot { margin: 0; }
.pose-viewport { position: relative; height: 300px; background: #111e25; }
#pose-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.pose-message { position: absolute; inset: 0; display: grid; place-content: center; padding: 32px; text-align: center; color: #b8cbd2; font-size: 12px; background: #12232be8; pointer-events: none; }
.pose-view-hint { position: absolute; bottom: 12px; right: 14px; color: #667d83; background: #ffffffb8; padding: 3px 6px; border-radius: 4px; font-size: 9px; pointer-events: none; }
.pose-readout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 14px; padding: 11px 17px 5px; font: 10px/1.7 ui-monospace, monospace; color: #5e7d86; }
.pose-legend { display: flex; flex-wrap: wrap; gap: 15px; padding: 0 17px 11px; font-size: 9px; color: #879ca3; }
.camera-dot { background: #71d6ba; }
.source-panel summary { padding: 12px 18px; color: #819198; font-size: 10px; }.source-panel summary span { float: right; }
#source-content { padding: 0 18px 15px; font-size: 11px; color: #789096; overflow-wrap: anywhere; }#source-content p { margin: 6px 0; }#source-content a { display: inline-block; margin: 3px 14px 0 0; }
.captions-panel { display: flex; flex-direction: column; height: clamp(360px, 45vh, 540px); }
.count-badge { font: 10px ui-monospace, monospace; background: #eff5f2; color: #63887b; border-radius: 4px; padding: 3px 7px; }
.caption-tools { padding: 14px 16px 0; }.caption-tools > label { display: block; font-size: 9px; color: #87979d; margin-bottom: 5px; }.caption-tools select { width: 100%; padding: 7px 9px; background: #fbfcfc; }
.caption-list-heading { display: flex; align-items: center; justify-content: space-between; color: #85969c; font-size: 9px; margin: 14px 0 10px; }.caption-list-heading input { vertical-align: middle; width: 11px; height: 11px; margin: 0 3px 0 0; accent-color: var(--teal); }
.caption-list { position: relative; overflow-y: auto; padding: 0 11px 12px; flex: 1; scrollbar-width: thin; scrollbar-color: #d1dedc transparent; }
.caption-card { display: block; padding: 13px 12px; border: 1px solid transparent; border-bottom-color: #edf0f1; border-radius: 5px; width: 100%; text-align: left; transition: background .15s; }
.caption-card:hover { background: #f4f8f7; }.caption-card.active { background: #edf6f2; border-color: #bedbd0; margin: 3px 0; }
.caption-card .card-time { display: flex; align-items: center; justify-content: space-between; color: #81989e; font: 9px ui-monospace, monospace; }.caption-card.active .card-time { color: #378b76; }
.caption-card .card-text { font-size: 11px; line-height: 1.85; color: #465e66; margin: 7px 0 0; white-space: pre-line; }
.caption-card .card-details { color: #8c9b9f; font-size: 9px; line-height: 1.7; margin: 8px 0 0; }.caption-card .evidence { color: #628f88; font-size: 9px; margin-top: 7px; }
.caption-card.active::before { content: '● 当前片段'; font-size: 8px; color: #348b73; display: block; margin-bottom: 7px; }
.caption-footer { border-top: 1px solid var(--line); padding: 12px 17px; color: #8c9d9f; font-size: 9px; }.caption-dot { background: #b4c9bf; }
.empty-state { text-align: center; padding: 40px 20px; color: #879b9f; font-size: 12px; }.empty-state p { font-size: 11px; }.empty-state .empty-icon { display: block; }
.page-footer { display: flex; justify-content: space-between; padding: 22px 0; font-size: 9px; color: #99a4a8; gap: 12px; }.page-footer i { margin: 0 7px; font-style: normal; color: #bec7ca; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 10; background: #183c42; color: white; box-shadow: 0 8px 32px #0c28292b; padding: 12px 22px; font-size: 12px; border-radius: 7px; }
@media (max-width: 1200px) { .sidebar { width: 195px; padding-inline: 15px; }.workspace { margin-left: 195px; }main { padding: 24px 22px 0; }.topbar { padding-inline: 22px; }.viewer-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 14px; }.episode-stats { gap: 18px; }.episode-stats strong { font-size: 18px; }.legend { flex-wrap: wrap; } }
@media (max-width: 1000px) { .viewer-grid { grid-template-columns: 1fr; }.captions-panel { height: 530px; }.episode-header { align-items: flex-start; }.episode-stats { gap: 15px; }.page-footer { flex-wrap: wrap; } }
@media (max-width: 700px) { .sidebar { position: static; width: auto; padding: 18px 16px; }.brand { margin-bottom: 20px; }.sidebar-label, .sidebar-bottom { display: none; }.device-switch { max-width: 260px; }.search { margin-top: 15px; margin-bottom: 8px; }.episode-list { flex-direction: row; overflow-x: auto; }.episode-item { flex: 0 0 155px; }.workspace { margin-left: 0; }.topbar { height: 50px; padding-inline: 16px; }main { padding: 20px 14px 0; }.episode-header { flex-direction: column; gap: 14px; }h1 { font-size: 23px; }.episode-stats { gap: 35px; }.episode-stats div { flex-direction: row; gap: 8px; align-items: baseline; }.transport-left { gap: 9px; }.timecode { font-size: 9px; }.timeline-foot { flex-wrap: wrap; }.legend { font-size: 8px; }.pose-content { gap: 10px; }.pose-symbol { font-size: 40px; }.captions-panel { height: 520px; } }
