@font-face{font-family:Barlow;src:url('./assets/BarlowCondensed-Black.ttf') format('truetype');font-style:normal;font-weight:900;font-display:swap}
@font-face{font-family:Barlow;src:url('./assets/BarlowCondensed-SemiBold.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:DM;src:url('./assets/DMSans-Variable.ttf') format('truetype');font-style:normal;font-weight:100 1000;font-display:swap}
:root{color-scheme:dark;--bg:#18191a;--panel:#202122;--line:#353638;--text:#f3eee3;--muted:#a1a29d;--accent:#ed5b3b;--display:Barlow,'Arial Narrow',sans-serif;--sans:DM,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.45}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.screen:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{border:0}button[hidden],a[hidden],[hidden]{display:none!important}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app{max-width:1656px;padding:0 52px;margin:auto}.masthead{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:31px 0 32px}.identity{display:flex;align-items:center;gap:15px;text-decoration:none}.brand-mark{height:45px;width:45px;color:var(--accent);transform:rotate(-7deg)}.identity strong{display:block;font:900 28px/.98 var(--display);letter-spacing:.2px}.identity small{display:block;font-size:8px;letter-spacing:2.15px;margin-top:9px;color:var(--muted)}.title-dot{color:var(--accent)}.header-actions{display:flex;gap:12px;align-items:center}.button{min-height:43px;padding:12px 18px;display:inline-flex;justify-content:center;gap:10px;align-items:center;font-size:12px;font-weight:600;line-height:1.2;text-decoration:none;border:1px solid transparent;border-radius:4px;transition:background .18s,transform .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{background:var(--accent);color:#18191a}.button.primary:hover:not(:disabled){background:#ff7555}.button.secondary{background:transparent;border-color:#454646}.button.secondary:hover{background:#292a2a;border-color:#777970}.button .icon{width:18px;height:18px}.film-topline{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:9px;letter-spacing:1.55px;color:var(--muted);padding:0 1px 12px}.film-topline>span:first-child{display:flex;align-items:center;gap:8px}.film-topline b{padding:0 7px;font-weight:400;color:#666862}.status-dot{height:5px;width:5px;display:inline-block;background:var(--accent);border-radius:50%}.player{border:1px solid #41403a;border-radius:5px;overflow:hidden;background:#101111}.screen{position:relative;width:100%;aspect-ratio:16/9;background:#eee4cc;isolation:isolate;overflow:hidden}.screen canvas{display:block;width:100%;height:100%;object-fit:contain}.loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:#eee4cc;color:#252723;font-size:12px}.loading-mark{font-size:70px;color:var(--accent)}.screen-play{position:absolute;left:3.7%;bottom:6.5%;display:flex;align-items:center;gap:13px;background:#f4ebd7;color:#232820;padding:11px 18px 11px 10px;box-shadow:5px 5px 0 #222824;border:2px solid #222824;transform:rotate(-2deg);font:600 12px var(--sans);letter-spacing:1.1px;transition:transform .2s}.screen-play:hover{transform:rotate(0) translateY(-2px)}.screen-play .icon{height:29px;width:29px;color:var(--accent)}.screen-play small{font-size:10px;letter-spacing:0;color:#6e7064;margin-left:10px}.transport{padding:0 20px 4px;background:#202122}.scrubber-wrap{height:24px;position:relative;display:flex;align-items:center;z-index:2}.scrubber{--progress:0%;width:100%;height:4px;appearance:none;cursor:pointer;background:linear-gradient(to right,var(--accent) 0 var(--progress),#424443 var(--progress) 100%);margin:0;border-radius:0;z-index:2;position:relative}.scrubber::-webkit-slider-thumb{appearance:none;border:0;background:var(--text);width:11px;height:11px;border-radius:50%;box-shadow:0 0 0 3px #202122}.scrubber::-moz-range-thumb{border:0;background:var(--text);width:11px;height:11px;border-radius:50%;box-shadow:0 0 0 3px #202122}.chapter-ticks{position:absolute;inset:10px 0;height:4px;pointer-events:none;z-index:3}.chapter-ticks i{position:absolute;top:0;width:3px;height:4px;background:#202122}.transport-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding-bottom:4px}.transport-left,.transport-right{display:flex;align-items:center;gap:11px;min-width:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;min-width:32px;min-height:32px;padding:6px;border-radius:4px;color:#bfc0ba;transition:background .2s,color .2s}.icon-button:hover{background:#343638;color:var(--text)}.icon-button.active{color:var(--text)}.play-button{color:var(--text);margin-left:-5px}.play-button .icon{width:25px;height:25px}.timecode{font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.3px;white-space:nowrap;color:#c7c8c0;margin-left:7px}.time-divider{margin:0 9px;color:#64675f}.current-chapter{font-size:10px;color:var(--muted);border-left:1px solid #44463f;padding-left:15px;margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audio-status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px;margin-right:13px;white-space:nowrap}.silent-dot{width:5px;height:5px;background:#a7ac9a;border-radius:50%}.audio-status.has-audio{color:#f1c274}.audio-status.has-audio .silent-dot{background:#f1c274}.chapters{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:19px}.chapter{position:relative;text-align:left;background:transparent;padding:12px 11px;border-radius:3px;display:flex;flex-direction:column;gap:7px;border-top:2px solid #393b36}.chapter.active{border-top-color:var(--accent);background:#252523}.chapter:hover{background:#2a2a27}.chapter-time{font-size:9px;color:#8f9188;font-variant-numeric:tabular-nums;letter-spacing:.5px}.chapter.active .chapter-time{color:var(--accent)}.chapter-name{font-size:11px;white-space:nowrap;color:#d8d7cb}.chapter.active .chapter-name{color:var(--text)}.chapter-number{position:absolute;right:10px;top:13px;font-size:8px;color:#676b60}.film-note{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:33px 0 32px;margin-top:21px;border-top:1px solid var(--line)}.note-heading{display:flex;align-items:center;gap:16px;flex-shrink:0}.note-star{font-size:34px;color:var(--accent)}.note-heading p{margin:0;font-size:15px;line-height:1.55;font-weight:400}.note-heading strong{font-weight:500}.note-copy{margin-right:auto;margin-left:34px}.note-copy p{color:#babdb2;max-width:430px;font-size:11px;line-height:1.6;margin:0 0 8px}.note-copy span{font-size:9px;color:#818579}.note-copy b{font-weight:400;padding:0 6px;color:#55584f}.text-button{background:none;color:#bbbeb1;display:inline-flex;align-items:center;gap:10px;padding:5px 0;text-decoration:none;font-size:10px;white-space:nowrap}.text-button:hover{color:var(--accent)}.text-button .icon{width:17px;height:17px}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;align-items:center;padding:19px 0 23px;font-size:8px;letter-spacing:1.15px;color:#797d71}footer b{font-weight:400;padding:0 8px}kbd{font:8px var(--sans);border:1px solid #45483f;padding:3px 4px;border-radius:3px;white-space:nowrap;color:#a4aa99}.keyboard-help{letter-spacing:0;display:flex;align-items:center;gap:7px}.keyboard-help kbd:not(:first-child){margin-left:9px}.fullscreen-controls{display:none;position:absolute;bottom:25px;left:50%;transform:translateX(-50%);align-items:center;gap:18px;background:#202122e8;padding:10px 15px;border-radius:6px;color:var(--text);font-size:12px;font-variant-numeric:tabular-nums;transition:opacity .2s}.screen:fullscreen{background:#000;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.screen:fullscreen canvas{width:100%;height:100%;object-fit:contain}.screen:fullscreen .fullscreen-controls{display:flex;opacity:0}.screen:fullscreen.show-hud .fullscreen-controls,.screen:fullscreen .fullscreen-controls:focus-within{opacity:1}.screen:fullscreen:not(.show-hud){cursor:none}body.clean{background:#000;overflow:hidden}body.clean .app{padding:0;max-width:none}body.clean .masthead,body.clean .film-topline,body.clean .transport,body.clean .chapters,body.clean .film-note,body.clean footer,body.clean .screen-play,body.clean .fullscreen-controls{display:none}body.clean .player{border:0;border-radius:0}body.clean .screen{width:100vw;height:100dvh;aspect-ratio:auto;background:#000}body.clean .screen canvas{object-fit:contain}body.clean .toast{display:none}dialog{border:1px solid #494a43;background:#202221;color:var(--text);width:min(520px,calc(100vw - 30px));max-height:calc(100dvh - 40px);padding:24px 30px 29px;border-radius:9px;box-shadow:0 25px 100px #0007;overflow:auto}dialog::backdrop{background:#101111c9;backdrop-filter:blur(7px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.eyebrow{font-size:8px;letter-spacing:1.8px;color:var(--accent)}dialog h2{font:900 45px/1.1 var(--display);text-transform:uppercase;margin:14px 0}dialog h3{font-size:13px;margin:25px 0 8px}dialog p{font-size:12px;color:#b7bbae;line-height:1.8;margin:10px 0 19px}dialog code{color:#e8ba8e;background:#34372f;border-radius:3px;padding:2px 5px}dialog .wide{width:100%}.file-drop{display:flex;position:relative;flex-direction:column;align-items:center;gap:12px;border:1px dashed #777a6a;background:#2b2e28;padding:25px 16px;cursor:pointer;border-radius:5px}.file-drop:hover{border-color:var(--accent)}.file-drop>.icon{color:var(--accent);width:30px;height:30px}.file-drop strong{font-size:14px;max-width:100%;overflow-wrap:anywhere;text-align:center}.file-drop>span{font-size:9px;color:#969f8b;text-align:center}.file-drop input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.file-drop:focus-within{outline:2px solid var(--accent);outline-offset:4px}.audio-options{padding-top:22px}.audio-options>label{display:flex;justify-content:space-between;gap:10px;font-size:11px}.audio-options label span{font-size:9px;color:#999f8e}.offset-control{display:flex;gap:9px;align-items:center;margin-top:10px}.offset-control input{background:#161916;color:var(--text);width:86px;border:1px solid #4d5544;border-radius:3px;padding:8px}.offset-control>span{font-size:10px;color:#a1aa93}.offset-control>.text-button{margin-left:auto}.dialog-message{min-height:0}.error-message{font-size:12px;color:#ff957b;line-height:1.6;margin-bottom:12px}.export-specs{display:grid;grid-template-columns:1.2fr 1fr 1fr;border:1px solid #44483e;border-radius:4px;padding:18px 12px;gap:12px;margin:22px 0}.export-specs span{display:flex;flex-direction:column;gap:7px;align-items:center;font-size:7px;letter-spacing:1px;color:#989f8c}.export-specs strong{font-size:13px;letter-spacing:0;color:var(--text);font-weight:500}.export-specs span+span{border-left:1px solid #44483e}.field-label{display:block;font-size:8px;letter-spacing:1.5px;color:#9ea590;margin-bottom:8px}select{width:100%;border:1px solid #4a5041;background:#181c16;color:var(--text);padding:12px;border-radius:4px;font-size:12px}dialog .format-note{font-size:10px;color:#97a087;line-height:1.6;margin:8px 0 18px}.check-label{display:flex;align-items:center;gap:8px;font-size:11px;margin:16px 0 24px}.check-label input{accent-color:var(--accent);width:15px;height:15px}.export-actions{display:flex;gap:10px;align-items:center}.export-actions .wide{flex:1}dialog .export-footnote{font-size:9px;text-align:center;line-height:1.5;color:#929b83;margin:15px 0 0}.export-progress-wrap{margin:25px 0}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:10px}.progress-label strong{font-weight:500}.progress-label>span{color:var(--accent);font-variant-numeric:tabular-nums}progress{appearance:none;width:100%;height:5px;border:0;border-radius:3px;background:#454c3a;color:var(--accent)}progress::-webkit-progress-bar{background:#454c3a;border-radius:3px}progress::-webkit-progress-value{background:var(--accent);border-radius:3px}progress::-moz-progress-bar{background:var(--accent);border-radius:3px}dialog #export-detail{font-size:10px;color:#98a287;margin:8px 0 0}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;padding:12px 18px;border:1px solid #5f6652;background:#242a20;color:var(--text);box-shadow:0 6px 30px #0006;border-radius:5px;font-size:12px;z-index:100;transition:opacity .2s,transform .2s;max-width:calc(100vw - 30px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.noscript{position:fixed;bottom:20px;left:20px;right:20px;background:var(--accent);color:#111;padding:20px;text-align:center}
@media(min-width:1700px){.app{padding:0 45px}.masthead{padding:36px 0}.identity strong{font-size:31px}.film-note{padding:38px 0}}
@media(max-width:1100px){.app{padding:0 30px}.masthead{padding:26px 0}.note-copy{margin-left:5px;max-width:340px}.current-chapter{display:none}.chapter-name{font-size:10px}.chapter{padding:11px 7px}.chapter-number{right:7px}.film-note{gap:20px}.note-heading p{font-size:13px}.note-copy p{font-size:10px}}
@media(max-width:760px){.app{padding:0 20px}.masthead{padding:22px 0;gap:12px}.identity{gap:10px}.brand-mark{width:36px;height:36px}.identity strong{font-size:25px}.identity small{font-size:6px;letter-spacing:1.4px}.header-actions{gap:8px}.audio-button{padding:10px}.audio-button span{display:none}.button{min-height:39px;padding:10px 13px;font-size:10px}.film-topline{font-size:7px;letter-spacing:.7px;padding-bottom:9px}.film-topline b{padding:0 3px}.transport{padding:0 10px 2px}.transport-left,.transport-right{gap:4px}.timecode{font-size:10px;margin-left:3px}.time-divider{margin:0 6px}.audio-status{font-size:9px;margin-right:7px}.chapters{display:flex;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#565a4e transparent;gap:6px;padding-bottom:6px;margin-top:15px}.chapter{min-width:123px;padding:12px 9px}.chapter-name{font-size:11px}.chapter-number{right:9px}.film-note{flex-wrap:wrap;margin-top:18px;padding:24px 0;gap:18px}.note-heading{gap:12px}.note-heading p{font-size:14px}.note-copy{max-width:330px;flex:1;min-width:190px;margin-left:auto}.film-note>.text-button{margin-left:45px}.keyboard-help{display:none}footer{font-size:7px;letter-spacing:.7px;padding:17px 0 23px}.screen-play{font-size:9px;gap:8px;padding:7px 11px 7px 7px;border-width:1px;box-shadow:3px 3px 0 #222824}.screen-play small{font-size:8px;margin-left:5px}.screen-play .icon{height:22px;width:22px}}
@media(max-width:440px){.app{padding:0 12px}.masthead{padding:20px 0}.identity strong{font-size:22px}.identity small{font-size:5.5px;letter-spacing:1.05px}.identity{gap:8px}.brand-mark{height:31px;width:31px}.header-actions{gap:6px}.header-actions .button{padding:9px;gap:6px}.header-actions .button>.icon{height:16px;width:16px}.header-actions .primary span{font-size:9px}.film-topline{font-size:6px;letter-spacing:.45px}.film-topline>span:first-child{gap:5px}.film-topline b{padding:0 2px}.status-dot{height:4px;width:4px}.transport-row{gap:3px}.transport .icon-button{min-width:28px;min-height:32px;padding:5px}.transport .icon{width:18px;height:18px}.transport .play-button .icon{width:22px;height:22px}.transport .audio-status{display:none}.timecode{font-size:9px}.transport{padding:0 9px}.note-heading{flex:0 0 100%}.note-copy{margin-left:46px;min-width:0;flex:1 1 100%}.film-note>.text-button{margin-left:46px}.film-note{gap:13px}.screen-play{left:5%;bottom:8%;font-size:7px;letter-spacing:.65px}.screen-play small{display:none}.screen-play .icon{height:17px;width:17px}.screen-play{padding:5px 8px 5px 5px}dialog{padding:18px 22px 23px}dialog h2{font-size:38px}.export-specs{padding:15px 7px;gap:5px}.export-specs strong{font-size:11px}.export-specs span{font-size:6px;letter-spacing:.6px}.audio-options label{flex-direction:column;gap:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
