:root {
  color-scheme: dark;
  --bg: #0b0e13;
  --surface: #12171f;
  --border: #28313e;
  --text: #f4f7fa;
  --muted: #a1abba;
  --accent: #c2fa74;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 95px; scrollbar-color: #383838 var(--bg); }
body { margin: 0; background: radial-gradient(ellipse at 85% 0%, #21302055, transparent 48%), var(--bg); color: var(--text); font: 14px/1.5 "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; border: 0; }
button:disabled { cursor: not-allowed; opacity: .4; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 19px; font-weight: 550; letter-spacing: -.5px; }
h3 { font-size: 15px; font-weight: 500; }
button, a, select, input { transition: background .18s, border-color .18s, color .18s, opacity .18s; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.account-panel { width: 100%; padding: 36px; box-shadow: 0 24px 80px #0004; }
.account-panel p { color: var(--muted); margin: 12px 0; }
.account-panel label, #inviteDialog label, #passwordDialog label { display: grid; gap: 6px; margin: 16px 0; }
.account-panel input, #inviteCode, #passwordDialog input { width: 100%; min-width: 0; padding: 14px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.account-panel .primary-button { width: 100%; }
.account-panel .text-button { margin-top: 18px; }
.review-toolbar, .feedback-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0; }
.review-toolbar { justify-content: space-between; }
.review-toolbar span, .feedback-status { color: var(--muted); font-size: 12px; }
.feedback-controls button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
::selection { background: var(--accent); color: #080808; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; padding: 12px 20px; background: var(--accent); color: #080808; border-radius: 5px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--border); background: #0b0e13ed; backdrop-filter: blur(16px); }
.header-inner { max-width: 1440px; min-height: 82px; padding: 14px 48px; margin: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 25px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 26px; font-weight: 700; letter-spacing: -1.3px; }
.brand-dot { margin-left: -8px; color: var(--accent); }
.brand-mark { display: flex; gap: 3px; width: 23px; margin-right: 2px; transform: rotate(15deg); }
.brand-mark i { width: 8px; height: 22px; border-radius: 2px; background: var(--accent); }
.brand-mark i:last-child { height: 16px; margin-top: 6px; background: #6b9345; }
nav { display: flex; gap: 6px; align-items: center; }
.nav-item { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: transparent; font-size: 12px; white-space: nowrap; }
.nav-item > .icon { display: none; }
.nav-item:hover { color: #fff; }
.nav-item.active { color: var(--accent); border-color: #c2fa7426; background: #c2fa740c; }
.count { font-size: 9px; min-width: 17px; padding: 1px 4px; border: 1px solid #363636; border-radius: 4px; text-align: center; color: #aaa; }
.header-profile { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.local-status { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #9a9a9a; white-space: nowrap; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; font-size: 11px; color: #bdbdbd; border: 1px solid #333; border-radius: 50%; background: #181818; }
main { max-width: 1340px; padding: 0 48px; margin: auto; }
.workspace-path { display: flex; gap: 12px; margin-top: 32px; color: #818181; font-size: 10px; }
.workspace-path > span:first-child { color: #4c4c4c; }
.workspace-path > span:last-child { color: #bcbcbc; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding: 42px 0 49px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 19px; font-size: 9px; font-weight: 500; letter-spacing: 1.8px; color: #a5a5a5; }
h1 { font-size: clamp(42px, 4.5vw, 66px); line-height: 1.06; font-weight: 650; letter-spacing: -3px; }
h1 > span { color: var(--accent); }
.hero p { margin-top: 23px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.hero-note { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: #12171faa; color: #dce5f0; font-size: 12px; }
.hero-note > .icon { width: 17px; height: 17px; color: #858585; }
.hero-note small { display: block; color: #777; font-size: 10px; margin-top: 5px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 19px; }
.section-description { color: #858585; font-size: 11px; margin-top: 6px; }
.section-kicker { color: #8c8c8c; letter-spacing: 1.4px; font-size: 8px; margin-bottom: 9px; }
.step-note { display: flex; align-items: center; gap: 13px; font-size: 10px; color: #777; }
.step-note > span { display: flex; gap: 6px; }
.step-note b { font-weight: 400; font-size: 9px; color: #666; }
.step-note .step-current { color: #d9d9d9; }
.step-current b { color: var(--accent); }
.step-note > i { width: 17px; height: 1px; background: #303030; }
.create-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; scroll-margin-top: 20px; box-shadow: 0 16px 48px #0002; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.create-grid > .panel { border: 0; border-radius: 0; }
.upload-panel { padding: 25px; display: flex; flex-direction: column; }
.upload-heading { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #c5c5c5; margin-bottom: 21px; }
.quiet-tag { color: #818181; font-size: 9px; letter-spacing: .7px; }
.dropzone { display: flex; flex: 1; align-items: center; justify-content: center; flex-direction: column; min-height: 320px; padding: 30px 18px; text-align: center; background: radial-gradient(ellipse at 50% 10%, #c2fa7409, transparent 65%), #0d1219; border: 1px dashed #43513c; border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.dragging { background: #172019; border-color: var(--accent); }
.dropzone.has-file { border-style: solid; border-color: #738b57; }
.upload-symbol { width: 58px; height: 58px; border: 1px solid #c2fa7433; border-radius: 17px; display: grid; place-items: center; color: var(--accent); background: #c2fa740c; margin-bottom: 23px; box-shadow: 0 4px 12px #0004; }
.upload-symbol .icon { width: 21px; height: 21px; }
.dropzone h3 { font-size: 21px; font-weight: 500; letter-spacing: -.6px; max-width: 100%; overflow-wrap: anywhere; }
.dropzone.has-file h3 { font-size: 16px; }
.dropzone p { font-size: 11px; line-height: 1.8; color: #8b8b8b; margin-top: 8px; }
.choose-button { display: flex; align-items: center; gap: 20px; margin-top: 23px; padding: 12px 18px; border: 1px solid #42513b; border-radius: 9px; background: #c2fa7414; color: var(--accent); font-size: 12px; font-weight: 600; }
.choose-button .icon { width: 14px; height: 14px; }
.dropzone:hover .choose-button { background: #c2fa7426; }
.file-types { display: flex; gap: 10px; margin-top: 19px; color: #858585; font-size: 8px; letter-spacing: .7px; }
.file-types > span { color: #484848; }
.upload-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; color: #888; font-size: 9px; }
.upload-footer > span:first-child { display: flex; align-items: center; gap: 7px; }
.upload-footer .icon { width: 13px; height: 13px; color: #a0a0a0; }
.create-grid > .settings-panel { border-left: 1px solid var(--border); padding: 25px; background: #151b24; }
.panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.panel-title h3 { font-size: 16px; font-weight: 600; }
.panel-title .icon { width: 16px; height: 16px; color: #858585; }
.field-label, .settings-panel label { display: block; margin-bottom: 10px; font-size: 10px; letter-spacing: .8px; color: var(--muted); font-weight: 500; }
.timing-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.timing-fields label { margin: 0; }
.timing-fields input { display: block; width: 100%; margin-top: 7px; padding: 12px; color: #eee; background: var(--bg); border: 1px solid #354052; border-radius: 9px; font-size: 16px; letter-spacing: 0; }
.timing-fields input:focus { outline: 1px solid var(--accent); border-color: var(--accent); }
.timing-help { margin-top: 8px; color: #858585; font-size: 9px; }
.timing-visual { display: flex; align-items: center; gap: 5px; margin: 14px 0 18px; font-size: 8px; color: #a3a3a3; }
.timing-visual > div { flex: 8; background: #262626; padding: 4px 8px; border-radius: 2px; border-bottom: 1px solid #555; }
.timing-visual > div:last-child { flex: 6; text-align: right; background: #202020; border-color: #393939; }
.timing-visual > span { display: flex; color: var(--accent); }
.timing-visual .icon { width: 12px; height: 12px; }
.detection-note { display: grid; gap: 5px; padding: 12px 0 0; border-top: 1px solid #292929; color: #858585; font-size: 9px; line-height: 1.5; }
.detection-note strong { color: #bcbcbc; font-size: 8px; font-weight: 500; letter-spacing: 1px; }
.size-row { display: flex; align-items: center; gap: 10px; margin: 19px 0; padding-top: 18px; border-top: 1px solid #292929; }
.export-icon { color: #8b8b8b; display: flex; }
.export-icon .icon { width: 18px; height: 18px; }
.size-row strong { display: block; font-size: 11px; font-weight: 450; color: #d0d0d0; }
.size-row div > span { display: block; margin-top: 3px; color: #858585; font-size: 9px; }
.check-badge { margin-left: auto; color: var(--accent); }
.check-badge .icon { width: 13px; height: 13px; }
.primary-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; color: #17200d; background: var(--accent); border: 1px solid var(--accent); border-radius: 10px; font-size: 13px; font-weight: 650; }
.primary-button .icon { width: 15px; height: 15px; }
.primary-button:hover:not(:disabled) { background: #c8ff88; border-color: #c8ff88; }
.primary-button:disabled { opacity: 1; background: #202020; color: #858585; border-color: #333; }
.settings-note { margin-top: 11px; text-align: center; color: #888; font-size: 9px; }
.feature-row { display: flex; justify-content: center; gap: 30px; padding: 20px 0; color: #8c8c8c; font-size: 9px; }
.feature-row > span { display: flex; align-items: center; gap: 7px; }
.feature-row .icon { width: 13px; height: 13px; color: #858585; }

.recordings-section { margin-top: 32px; scroll-margin-top: 20px; }
.heading-count { display: inline-block; vertical-align: middle; border: 1px solid #333; border-radius: 4px; color: #999; font: 10px/1.5 "Segoe UI", sans-serif; padding: 0 5px; margin-left: 7px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 3px; color: #a1a1a1; background: transparent; font-size: 11px; border-radius: 3px; }
.text-button .icon { width: 13px; height: 13px; }
.text-button:hover { color: #fff; }
.recordings { border-top: 1px solid var(--border); }
.recordings:empty { border: 0; }
.recording-row { display: flex; align-items: center; gap: 15px; padding: 18px 16px; margin-top: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.recording-row:hover { background: #19212c; }
.recording-row.selected { background: #19251b; border-color: #c2fa7440; }
.recording-icon { width: 58px; height: 38px; display: grid; place-items: center; background: #202020; border: 1px solid #333; border-radius: 5px; overflow: hidden; color: #aaa; flex-shrink: 0; }
.recording-icon img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.recording-icon > .icon { width: 17px; height: 17px; }
.recording-info { flex: 1; min-width: 0; }
.recording-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #d2d2d2; font-weight: 450; }
.recording-detail { margin-top: 5px; font-size: 10px; color: #818181; }
.recording-error { color: #ffaca5; font-size: 11px; margin-top: 7px; }
.recording-actions { display: flex; align-items: center; gap: 17px; }
.status-pill { display: flex; align-items: center; gap: 6px; font-size: 9px; text-transform: capitalize; color: #aaa; }
.status-pill::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #aaa; }
.status-pill.ready::before { background: var(--accent); }
.status-pill.failed { color: #ffaca5; }
.status-pill.failed::before { background: #ffaca5; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1px solid #363636; border-radius: 5px; background: #191919; color: #d5d5d5; font-size: 10px; white-space: nowrap; cursor: pointer; }
.secondary-button .icon { width: 13px; height: 13px; }
.secondary-button:hover:not(:disabled) { background: #252525; border-color: #666; color: #fff; }
.icon-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 5px; border-radius: 4px; background: transparent; color: #878787; font-size: 21px; flex-shrink: 0; }
.icon-button .icon { width: 14px; height: 14px; }
.icon-button:hover:not(:disabled) { color: #ffb5af; background: #282020; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 45px 20px; text-align: center; border-style: dashed; background: #10151c; }
.empty-icon { color: #818181; margin-bottom: 15px; }
.empty-icon .icon { width: 28px; height: 28px; }
.empty-state h3 { font-size: 14px; color: #ccc; }
.empty-state p { margin-top: 7px; color: #898989; font-size: 11px; }
.upload-progress { margin-top: 17px; }
.upload-progress label { font-size: 11px; color: #bcbcbc; }
progress { display: block; width: 100%; height: 3px; border: 0; border-radius: 5px; overflow: hidden; background: #333; margin: 10px 0; accent-color: var(--accent); }
progress::-webkit-progress-bar { background: #333; }
progress::-webkit-progress-value { background: var(--accent); transition: width .35s; }
.notice { margin: 17px 0; padding: 13px 16px; border: 1px solid #62413c; border-radius: 6px; background: #171212; color: #ffb3a9; font-size: 12px; overflow-wrap: anywhere; }
.notice.success { color: #ced8c3; background: #131513; border-color: #41483a; }
#resultsSection { margin-top: 40px; scroll-margin-top: 20px; }
.subtle { font-size: 11px; margin-top: 7px; color: #8c8c8c; overflow-wrap: anywhere; }
.review-note { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 11px 13px; border: 1px solid #292929; border-radius: 6px; background: #121212; color: #969696; font-size: 10px; line-height: 1.7; }
.review-note .icon { width: 14px; height: 14px; color: #aaa; }
.clips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.clip-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s; }
.clip-card:hover { border-color: #c2fa7460; }
.clip-preview { display: block; position: relative; width: 100%; aspect-ratio: 16/9; padding: 0; background: #050505; overflow: hidden; }
.clip-preview img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); transition: filter .2s; }
.clip-preview:hover img { filter: brightness(1); }
.play-badge { position: absolute; inset: 0; display: grid; place-items: center; }
.play-badge .icon { width: 34px; height: 34px; padding: 9px; border: 1px solid #ffffff50; border-radius: 50%; background: #0009; color: #fff; fill: currentColor; }
.clip-duration { position: absolute; right: 9px; bottom: 9px; background: #080808dd; padding: 3px 6px; border-radius: 3px; font: 9px monospace; }
.clip-content { padding: 16px; }
.clip-topline { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.clip-topline h3 { font-size: 13px; font-weight: 450; }
.clip-topline > span { font-size: 9px; color: #acacac; }
.clip-description { font-size: 10px; color: #898989; margin: 6px 0 15px; }
.clip-download { width: 100%; }
.clip-content > .text-button { width: 100%; font-size: 9px; margin-top: 7px; padding-bottom: 0; }
.clip-content > .text-button:hover { color: #ffb3a9; }
.manual-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px; margin-top: 21px; }
.manual-panel h3 { font-size: 13px; }
.manual-panel p { font-size: 10px; line-height: 1.8; max-width: 355px; color: #929292; margin-top: 6px; }
.manual-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.manual-controls input { width: 95px; border: 1px solid #3b3b3b; border-radius: 5px; color: #eee; background: #0b0b0b; padding: 8px 9px; font-size: 11px; }
.manual-controls input::placeholder { color: #909090; }
.no-clips { grid-column: 1/-1; padding: 30px; border: 1px dashed #383838; border-radius: 7px; text-align: center; font-size: 12px; color: #a2a2a2; line-height: 1.8; }
footer { display: flex; align-items: center; gap: 18px; padding: 26px 0; margin-top: 48px; border-top: 1px solid #242424; font-size: 9px; color: #7b7b7b; }
.footer-brand { font-size: 16px; font-weight: 600; letter-spacing: -.7px; color: #aaa; }
footer > span:last-child { margin-left: auto; font-size: 7px; letter-spacing: 1.4px; }
dialog { width: min(900px, 92vw); max-height: 90dvh; padding: 28px; background: var(--surface); color: var(--text); border: 1px solid #3a4758; border-radius: 18px; box-shadow: 0 30px 100px #0009; }
dialog[open] { animation: dialog-in .18s ease-out; }
dialog::backdrop { background: #000d; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.dialog-heading h2 { font-size: 16px; overflow-wrap: anywhere; min-width: 0; }
video { width: 100%; max-height: 65vh; display: block; background: #000; border-radius: 5px; }
.player-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; color: #999; font-size: 11px; }
.help-content h3 { margin: 25px 0 9px; font-size: 14px; color: #e5e5e5; }
.help-content p { color: #aaa; font-size: 13px; line-height: 1.85; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.welcome-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding-block: 72px; min-height: calc(100dvh - 82px); }
.welcome-copy { min-width: 0; }
.welcome-copy h1 { font-size: clamp(48px, 5.1vw, 74px); letter-spacing: -3.5px; }
.welcome-copy > p { max-width: 460px; margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.welcome-features { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-block: 26px; font-size: 11px; color: #bec7d2; }
.welcome-features > span { display: flex; align-items: center; gap: 7px; }
.welcome-features .icon { width: 15px; height: 15px; color: var(--accent); }
.session-preview { max-width: 490px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg, #1b2430, #11171f); box-shadow: 0 20px 48px #0003; }
.preview-top, .preview-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--muted); font-size: 9px; }
.preview-top > span:first-child { display: flex; align-items: center; gap: 7px; color: #d1d9e3; }
.preview-stage { position: relative; display: flex; align-items: center; min-height: 140px; overflow: hidden; border-radius: 8px; padding: 20px; margin-top: 14px; background: linear-gradient(115deg, #10171e, #263729); }
.preview-stage::before { content: ""; position: absolute; width: 200px; height: 200px; right: -10px; top: -35px; border: 1px solid #c2fa7420; border-radius: 50%; box-shadow: 0 0 0 25px #c2fa7407, 0 0 0 50px #c2fa7405; }
.preview-label { z-index: 1; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -.5px; }
.preview-chip { position: absolute; bottom: 12px; right: 12px; color: #cddbc2; font-size: 8px; letter-spacing: .8px; }
.target-reticle { position: absolute; right: 66px; top: 42px; width: 38px; height: 38px; border: 2px dashed var(--accent); border-radius: 8px; transform: rotate(45deg); box-shadow: 0 0 30px #c2fa7420; }
.preview-timeline { display: flex; height: 22px; gap: 5px; margin: 12px 0; }
.preview-timeline span { flex: 1; border-radius: 3px; background: repeating-linear-gradient(90deg, #435244 0 2px, #283429 2px 5px); }
.preview-timeline .timeline-hit { background: #b6e971; flex: .45; }
.preview-bottom strong { color: var(--accent); font-weight: 500; }
.preview-bottom .icon { width: 13px; height: 13px; }
.account-kicker { margin-bottom: 14px; color: var(--accent); font-size: 9px; letter-spacing: 1.6px; }
.account-panel h2 { font-size: 30px; line-height: 1.2; font-weight: 650; letter-spacing: -1px; }
.account-panel > p { font-size: 13px; line-height: 1.8; }
.account-panel label { color: #d1d9e3; font-size: 12px; }
.account-panel .input-hint { font-size: 11px; }
.account-panel .text-button { width: 100%; color: var(--accent); font-size: 12px; }
.account-privacy { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.account-privacy .icon { width: 17px; height: 17px; color: var(--muted); margin-top: 3px; }
.account-privacy p { margin: 0; font-size: 11px; line-height: 1.8; }
.account-footnote { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 8px; letter-spacing: 1px; }

@media (max-width: 1000px) {
  .welcome-shell { gap: 32px; padding-block: 48px; }
  .account-panel { padding: 26px; }
  .welcome-copy h1 { font-size: 54px; }
  .preview-top > span:last-child { display: none; }
  .header-inner, main { padding-inline: 32px; }
  .local-status { display: none; }
  .hero { padding-bottom: 40px; }
  .hero-note { font-size: 10px; }
  .hero-note small { max-width: 140px; }
  .create-grid { grid-template-columns: minmax(0, 1.3fr) minmax(295px, 1fr); }
  .upload-panel, .create-grid > .settings-panel { padding: 21px; }
  .feature-row { gap: 20px; font-size: 8px; }
  .manual-panel { align-items: flex-start; flex-direction: column; }
  .clips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .welcome-shell { grid-template-columns: 1fr; gap: 32px; padding-block: 36px; max-width: 560px; }
  .welcome-copy h1 { font-size: clamp(42px, 9vw, 60px); letter-spacing: -2px; }
  .welcome-copy > p { font-size: 14px; }
  .session-preview { display: none; }
  .welcome-features { margin-bottom: 0; }
  .account-panel { padding: 28px; }
  .header-inner { height: auto; min-height: 68px; padding: 12px 24px; gap: 10px 20px; flex-wrap: wrap; }
  .header-profile { flex-basis: 100%; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
  .header-profile .local-status { display: block; margin-right: auto; max-width: 50%; overflow: hidden; text-overflow: ellipsis; }
  nav { gap: 4px; }
  .brand { font-size: 24px; }
  main { padding-inline: 24px; }
  .hero-note { display: none; }
  .hero { padding-top: 34px; }
  h1 { font-size: 52px; letter-spacing: -2.3px; }
  .create-grid { grid-template-columns: 1fr; }
  .create-grid > .settings-panel { border-left: 0; border-top: 1px solid #292929; padding: 25px; }
  .upload-panel { padding: 25px; }
  .dropzone { min-height: 270px; }
  .segmented button { text-align: center; padding: 12px; }
  .segmented small { font-size: 10px; }
  select { font-size: 12px; }
  .settings-note { font-size: 10px; }
  .primary-button { padding: 13px 16px; }
  .feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; font-size: 9px; }
  .recording-actions { gap: 10px; }
  .recording-row { padding: 15px 8px; flex-wrap: wrap; gap: 12px; }
  .recording-info { flex-basis: 65%; }
  .recording-actions { width: 100%; padding-left: 70px; }
  .status-pill { margin-right: auto; }
}
@media (max-width: 480px) {
  .welcome-shell { padding-block: 28px; }
  .welcome-copy .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .welcome-features { gap: 10px 14px; font-size: 10px; }
  .account-panel { padding: 22px; }
  .account-panel h2 { font-size: 27px; }
  .header-inner { padding-inline: 20px; min-height: 66px; gap: 10px 15px; }
  .brand { font-size: 23px; gap: 6px; }
  .brand-mark { width: 18px; gap: 2px; }
  .brand-mark i { width: 7px; height: 20px; }
  .brand-mark i:last-child { height: 14px; }
  .brand-dot { margin-left: -6px; }
  nav { gap: 3px; }
  .nav-item { font-size: 11px; }
  #libraryNav .nav-label, #libraryNav .count, #howNav .nav-label { display: none; }
  #libraryNav > .icon, #howNav > .icon { display: block; width: 17px; height: 17px; }
  main { padding-inline: 20px; }
  .workspace-path { margin-top: 25px; font-size: 9px; }
  .hero { padding: 34px 0 35px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  h1 { font-size: clamp(37px, 10.7vw, 49px); letter-spacing: -2px; }
  .hero p { font-size: 11px; margin-top: 19px; }
  h2 { font-size: 17px; }
  .section-heading { gap: 10px; margin-bottom: 17px; }
  .step-note { gap: 8px; font-size: 9px; }
  .step-note > span { gap: 4px; }
  .step-note > i, .step-note b { display: none; }
  .upload-panel, .create-grid > .settings-panel { padding: 19px; }
  .upload-heading { font-size: 11px; }
  .quiet-tag { font-size: 8px; }
  .dropzone { padding: 25px 12px; min-height: 265px; }
  .dropzone h3 { font-size: 18px; }
  .dropzone.has-file h3 { font-size: 14px; }
  .dropzone p { font-size: 10px; }
  .upload-footer { font-size: 8px; gap: 5px; }
  .upload-footer > span:last-child { display: none; }
  .file-types { gap: 7px; }
  .feature-row { gap: 13px 7px; font-size: 8px; }
  .feature-row > span { gap: 5px; }
  .feature-row .icon { width: 12px; height: 12px; }
  .recordings-section { margin-top: 25px; }
  .section-description { font-size: 10px; }
  .recording-row { padding: 15px 8px; gap: 10px; }
  .recording-icon { width: 45px; height: 34px; }
  .recording-name { font-size: 10px; }
  .recording-detail { font-size: 9px; }
  .recording-actions { padding-left: 55px; gap: 7px; }
  .recording-actions .secondary-button { padding: 7px 9px; font-size: 9px; }
  .status-pill { font-size: 8px; }
  #resultsSection > .section-heading { align-items: flex-start; flex-direction: column; }
  .clips-grid { grid-template-columns: 1fr; }
  .manual-panel { padding: 17px; }
  .manual-controls { gap: 6px; }
  .manual-controls input { width: 80px; padding-inline: 7px; font-size: 10px; }
  .manual-controls .secondary-button { font-size: 9px; padding-inline: 8px; }
  footer { gap: 12px; font-size: 8px; margin-top: 32px; }
  footer > span:last-child { display: none; }
  dialog { padding: 16px; }
  .dialog-heading h2 { font-size: 14px; }
  .player-actions { flex-wrap: wrap; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.admin-users { padding-left: 20px; max-height: 220px; overflow-y: auto; }
.admin-users li { padding-block: 6px; }
#adminDialog .help-content { display: grid; gap: 16px; }
#inviteLink { width: 100%; }
