:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e8eaf2; background: #101117; font-synthesis: none; --muted: #898c9d; --line: #292b39; --purple: #aa91ff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 50% -30%, #29243b 0, #101117 58%); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .35; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.topbar { height: 66px; padding: 0 29px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #2a2934; background: #14141c; }
.brand { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 750; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: white; font-size: 11px; background: linear-gradient(135deg, #ac8aff, #7255db); box-shadow: 0 4px 18px #8364df3a; }
.brand-domain { color: #9695a7; font-weight: 500; }
.header-divider, .tool-divider { width: 1px; height: 23px; background: #34333e; }
.project-name { font-size: 12px; color: #d3d3de; font-weight: 600; white-space: nowrap; }
.name-chevron { margin-left: 9px; color: #777988; }
.top-actions { display: flex; align-items: center; gap: 19px; margin-left: auto; }
.privacy { display: flex; align-items: center; gap: 7px; color: #a4a8b4; font-size: 10px; white-space: nowrap; }
.privacy span, .hint-dot { width: 6px; height: 6px; background: #70d7a3; border-radius: 50%; }
.recording-status { display: flex; align-items: center; gap: 6px; color: #888b9c; font-size: 10px; white-space: nowrap; }
.recording-dot { width: 7px; height: 7px; border-radius: 50%; background: #737585; }
.recording-status.active { color: #ff9a9f; }
.recording-status.active .recording-dot { background: #ff5865; box-shadow: 0 0 9px #ff5865; animation: pulse 1.1s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.button { min-height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 7px; font-size: 11px; font-weight: 650; color: #e8eaf2; }
.button-primary { background: #a790f3; color: #191128; }
.button-primary:hover:not(:disabled) { background: #bcaafb; }
.button-primary span { padding-left: 8px; }
.button-secondary { border-color: #3a3b4b; background: #282936; }
main { padding: 19px 24px 0; max-width: 1800px; margin: auto; }
.panel { background: #1a1b25; border: 1px solid #2d2e3b; border-radius: 10px; overflow: hidden; }
.editor-grid { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(400px, 2.2fr) minmax(210px, .82fr); gap: 12px; min-height: 428px; }
.panel-top { display: flex; justify-content: space-between; align-items: center; padding: 21px 20px 17px; }
.eyebrow { margin: 0 0 5px; font: 600 9px ui-monospace, SFMono-Regular, Menlo, monospace; color: #858497; letter-spacing: .13em; }
h2 { font-size: 15px; margin: 0; letter-spacing: -.025em; }
.panel-count { padding: 4px 7px; border-radius: 5px; color: #a4a3b3; background: #292a36; font-size: 10px; }
.library { display: flex; flex-direction: column; min-width: 0; }
.library-tabs { display: flex; gap: 22px; padding: 0 20px; border-bottom: 1px solid #30303e; color: #737586; font-size: 11px; }
.library-tabs span { padding: 0 0 11px; }
.library-tabs .selected-tab { color: #d5c9ff; border-bottom: 2px solid #a68bfb; }
.import-zone { display: flex; flex-direction: column; align-items: center; gap: 7px; margin: 17px; padding: 20px 12px; border: 1px dashed #514761; border-radius: 8px; background: #201e2c; text-align: center; cursor: pointer; }
.import-zone:hover { border-color: #ab91ef; background: #282437; }
.import-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; color: #c5b6fb; background: #393048; font-size: 20px; }
.import-zone strong { font-size: 11px; }
.import-zone > span:not(.import-icon):not(.import-button) { color: #9392a2; font-size: 10px; }
.import-button { margin-top: 6px; padding: 6px 10px; border: 1px solid #554b68; border-radius: 5px; font-size: 10px; color: #dfd6fa; }
.media-list { display: grid; gap: 7px; padding: 0 17px; max-height: 225px; overflow-y: auto; }
.media-item { display: flex; align-items: center; gap: 9px; padding: 8px; border: 1px solid #373746; border-radius: 7px; background: #22232f; }
.media-thumb { display: grid; place-items: center; flex: 0 0 32px; height: 30px; border-radius: 5px; background: linear-gradient(135deg, #50416c, #293e59); color: #e2d5ff; font-size: 10px; }
.media-info { min-width: 0; flex: 1; display: grid; gap: 3px; }
.media-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.media-info small { color: #9698a9; font-size: 9px; }
.media-add { border: 1px solid #4f4863; border-radius: 5px; background: #373044; color: #d5c8ff; font-size: 17px; width: 27px; height: 27px; }
.library-note { color: #888a9b; font-size: 10px; line-height: 1.55; }
.library > .library-note { margin: 12px 19px; }
.caption-import { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 17px 0; }
.caption-import label { display: inline-flex; align-items: center; cursor: pointer; }
.caption-import .library-note { width: 100%; }
.capture-details { margin: auto 17px 17px; border: 1px solid #393541; border-radius: 7px; background: #24232d; }
.capture-details summary, .capture-project summary { cursor: pointer; list-style: none; }
.capture-details summary::-webkit-details-marker, .capture-project summary::-webkit-details-marker { display: none; }
.capture-details summary { display: flex; align-items: center; gap: 10px; padding: 11px; font-size: 11px; font-weight: 650; }
.capture-details summary > span:nth-child(2) { flex: 1; }
.capture-details summary small { display: block; margin-top: 4px; color: #9493a2; font-size: 9px; font-weight: 400; }
.capture-icon { color: #ed8792; }
.capture-body { padding: 0 11px 11px; }
.source-row { display: flex; align-items: center; gap: 7px; padding: 9px 0; border-top: 1px solid #3a3944; font-size: 10px; }
.source-row > span:first-child { flex: 1; }
.source-row small, .source-required { color: #9a99a8; font-size: 9px; }
.source-row input { accent-color: #a790f3; }
.capture-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.viewer { display: flex; flex-direction: column; min-width: 0; }
.viewer-top { padding-bottom: 14px; }
.viewer-badge { color: #8e8d9f; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.viewer-stage { position: relative; flex: 1; display: grid; place-items: center; min-height: 250px; margin: 0 17px; border: 1px solid #30303e; border-radius: 7px; background: radial-gradient(ellipse at 50% 50%, #181724, #0d0e14 75%); overflow: hidden; }
#preview { display: none; width: 100%; height: 100%; max-height: 370px; object-fit: contain; background: #08090d; }
#preview-composite { display: none; width: 100%; height: 100%; max-height: 370px; object-fit: contain; background: #08090d; }
#preview-composite.has-source { display: block; }
#preview-camera, #preview-microphone { display: none; }
.preview-captions { position: absolute; bottom: 8%; left: 5%; right: 5%; text-align: center; color: white; font-size: clamp(14px, 2vw, 22px); font-weight: 600; white-space: pre-line; text-shadow: -2px -2px 3px #000, 2px 2px 3px #000, 0 0 8px #000; pointer-events: none; }
.viewer-empty { text-align: center; }
.viewer-empty-icon { display: grid; place-items: center; width: 49px; height: 49px; margin: 0 auto 15px; border: 1px solid #49425f; border-radius: 14px; color: #bba8f1; background: #292437; font-size: 16px; }
.viewer-empty strong { font-size: 13px; }
.viewer-empty p { margin: 8px 0 0; color: #838594; font-size: 11px; line-height: 1.7; }
.transport { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px 5px; }
.timecode { color: #a2a3b1; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.transport-center { display: flex; align-items: center; gap: 15px; }
.icon-button, .play-button { display: grid; place-items: center; border: 0; background: none; color: #b8b8c6; }
.icon-button { font-size: 11px; }
.play-button { width: 31px; height: 31px; border-radius: 50%; background: #393444; color: #f0e9ff; font-size: 12px; }
.playhead { display: block; width: calc(100% - 40px); height: 3px; margin: 7px 20px 17px; accent-color: #ad97fa; }
.inspector-icon { color: #a09bae; }
.inspector-empty { text-align: center; padding: 90px 20px; }
.inspector-empty div { margin-bottom: 12px; color: #777184; font-size: 25px; }
.inspector-empty strong { font-size: 11px; }
.inspector-empty p { color: #858797; font-size: 10px; line-height: 1.6; }
#inspector-content { padding: 10px 20px 20px; }
.inspector-label { margin: 8px 0; color: #89899b; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.selected-name { display: block; margin-bottom: 22px; overflow-wrap: anywhere; font-size: 12px; }
.property-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #30313d; color: #a3a4b3; font-size: 10px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 10px; }
.field-grid label, .capture-settings label { display: grid; gap: 6px; color: #a9a9b8; font-size: 10px; }
input[type="number"], input[type="text"], select { width: 100%; min-width: 0; height: 32px; padding: 0 8px; color: #eee; background: #11121a; border: 1px solid #3b3b4a; border-radius: 5px; }
.full-width { width: 100%; }
.inspector-help { color: #878898; font-size: 10px; line-height: 1.6; }
.inspector-rule { margin: 20px 0; height: 1px; background: #333440; }
.text-button { padding: 0; border: 0; color: #e2939b; background: none; font-size: 10px; }
.timeline-panel { margin-top: 12px; min-height: 220px; }
.timeline-top { display: flex; align-items: center; gap: 45px; padding: 18px 20px; border-bottom: 1px solid #30303d; }
.timeline-heading h2 span { color: #818290; font-size: 10px; font-weight: 400; margin-left: 6px; }
.timeline-tools { display: flex; align-items: center; gap: 8px; }
.tool-button { min-height: 29px; padding: 0 9px; color: #c3c0d0; background: #292935; border: 1px solid #393946; border-radius: 5px; font-size: 11px; }
.tool-divider { height: 20px; margin: 0 4px; }
.timeline-hint { display: flex; align-items: center; gap: 7px; margin-left: auto; color: #898b99; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.ruler { display: flex; justify-content: space-between; padding: 10px 20px 10px 105px; border-bottom: 1px solid #2c2d38; color: #777989; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.timeline-lane { display: flex; min-height: 85px; border-bottom: 1px solid #2e2f3a; }
.lane-label { flex: 0 0 90px; padding: 22px 15px; border-right: 1px solid #30313c; color: #8c8d9d; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.lane-label span { display: inline-block; margin-right: 5px; color: #b4a1ed; }
.caption-lane-label { margin-top: 68px; }
.timeline-scroll { flex: 1; min-width: 0; overflow-x: auto; }
.timeline-clips { position: relative; display: flex; align-items: flex-start; gap: 4px; width: max-content; min-width: 100%; min-height: 130px; padding: 12px 12px 56px; }
.timeline-empty { display: flex; align-items: center; gap: 8px; color: #7d7e8d; font-size: 10px; }
.timeline-empty span { color: #a696ce; font-size: 18px; }
.timeline-clip { position: relative; display: grid; align-content: space-between; flex: 0 0 auto; min-width: 92px; max-width: 260px; height: 60px; padding: 8px 10px; border: 1px solid #625a87; border-radius: 5px; text-align: left; color: #ebe4ff; background: linear-gradient(115deg, #4a3b65, #35455d); }
.timeline-clip.selected { border: 2px solid #c5afff; padding: 7px 9px; }
.timeline-clip.missing { border-color: #b7666d; background: linear-gradient(115deg, #55343c, #3e3540); }
.media-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.source-missing { border-color: #8e545c; }
.timeline-clip.dragging { opacity: .4; }
.timeline-clip.drop-before::before, .timeline-clip.drop-after::after { content: ""; position: absolute; top: -4px; bottom: -4px; width: 3px; border-radius: 2px; background: #d3bfff; z-index: 2; }
.timeline-clip.drop-before::before { left: -5px; }
.timeline-clip.drop-after::after { right: -5px; }
.timeline-clip strong { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.timeline-clip small { font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; opacity: .8; }
.timeline-playhead { position: absolute; z-index: 3; top: 5px; bottom: 5px; width: 2px; background: #ff5964; transform: translateX(-50%); pointer-events: none; }
.timeline-playhead-handle { position: absolute; top: -2px; left: 50%; width: 13px; height: 13px; border: 0; border-radius: 3px; background: #ff5964; transform: translateX(-50%); cursor: ew-resize; pointer-events: auto; touch-action: none; }
.caption-lane { position: absolute; left: 0; right: 0; top: 84px; border-top: 1px solid #30313c; }
.caption-cue { position: absolute; min-width: 2px; height: 23px; padding: 4px; overflow: hidden; border: 1px solid #956b49; border-radius: 4px; color: #ffe2bb; background: #594334; text-align: left; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; }
.timeline-bottom { display: flex; justify-content: space-between; gap: 10px; padding: 12px 20px; color: #858696; font-size: 9px; }
.capture-project { margin-top: 12px; padding: 14px 18px; font-size: 11px; }
.capture-project summary { color: #c0bacd; font-weight: 600; }
.empty-project { margin: 12px 0; color: #9092a2; }
.track-list { display: grid; gap: 5px; margin-top: 12px; }
.track-card { display: flex; align-items: center; gap: 10px; padding: 7px; background: #242531; border-radius: 5px; }
.track-badge { color: #bfa7f8; }
.track-info { display: grid; gap: 3px; flex: 1; }
.track-info small { color: #9394a4; }
.track-state { color: #80d7aa; font-size: 9px; }
.capture-settings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.capture-settings input[type="range"] { accent-color: #b29bfb; }
.notice { margin-bottom: 10px; padding: 11px 14px; border: 1px solid #4f6b55; border-radius: 7px; color: #e0ede2; background: #1a2921; font-size: 11px; line-height: 1.5; }
.notice.error { border-color: #80515b; color: #ffdce0; background: #301f27; }
.notice button { margin-left: 10px; color: inherit; background: #35523d; border: 0; border-radius: 4px; padding: 5px 8px; }
footer { display: flex; justify-content: space-between; gap: 15px; padding: 20px 2px; color: #747583; font-size: 9px; }
@media (max-width: 1000px) { .editor-grid { grid-template-columns: 240px minmax(0, 1fr); } .inspector { grid-column: 1 / -1; } .inspector-empty { padding: 20px; } #inspector-content { max-width: 500px; } .privacy { display: none; } }
@media (max-width: 650px) { .topbar { padding: 0 12px; gap: 9px; } .header-divider, .project-name { display: none; } .top-actions { gap: 8px; } .recording-status { font-size: 9px; } .brand-domain { display: none; } main { padding: 12px 10px 0; } .editor-grid { grid-template-columns: 1fr; } .viewer { min-height: 360px; } .inspector { grid-column: auto; } .timeline-top { gap: 12px; flex-wrap: wrap; } .timeline-hint { display: none; } .timeline-bottom span:last-child { display: none; } .capture-settings { grid-template-columns: 1fr 1fr; } footer { flex-direction: column; } }
.export-downloads { display: flex; flex-wrap: wrap; gap: 1rem; }
.export-downloads a { color: #a9a4ff; }
