.video-scrubber{padding:20px}.upload-section{margin-bottom:20px}.file-input{background:#00d4ff1a;border:2px solid #00d4ff;color:#00d4ff;padding:12px;border-radius:6px;width:100%;cursor:pointer;font-family:Orbitron,monospace}.file-input::-webkit-file-upload-button{background:#00d4ff33;border:none;color:#00d4ff;padding:8px 16px;border-radius:4px;cursor:pointer}.status{color:#0f8;padding:10px;margin-top:10px;font-size:14px}.video-section{display:flex;flex-direction:column;gap:20px}.video-player{width:100%;max-width:800px;border:2px solid #00d4ff;border-radius:8px;box-shadow:0 0 20px #00d4ff4d}.controls{display:flex;gap:10px}.control-btn{background:#00d4ff33;border:2px solid #00d4ff;color:#00d4ff;padding:12px 24px;border-radius:6px;cursor:pointer;font-family:Orbitron,monospace;font-size:14px;transition:all .3s}.control-btn:hover{background:#00d4ff4d;box-shadow:0 0 15px #00d4ff66}.thumbnail-canvas{border:2px solid #00d4ff;border-radius:8px;max-width:100%;box-shadow:0 0 20px #00d4ff33}:root{--bg: #0a1628;--bg2: #0d1f35;--bg3: #1a2332;--bg4: #1e2d42;--cyan: #00e5ff;--green: #00ff88;--amber: #ffa500;--red: #ff4444;--text: #ffffff;--muted: #8899aa;--border: rgba(0,229,255,.15);--border-bright: rgba(0,229,255,.35);--glow-green: 0 0 8px rgba(0,255,136,.6);--glow-red: 0 0 8px rgba(255,68,68,.6);--glow-cyan: 0 0 12px rgba(0,229,255,.3)}body{margin:0;padding:0;background:var(--bg);font-family:Courier New,SF Mono,Menlo,monospace;color:var(--text);-webkit-text-size-adjust:100%}.master-control{min-height:100vh;min-height:100dvh;background:var(--bg);color:var(--text);padding:12px;max-width:100vw;overflow-x:hidden}.master-header{background:var(--bg2);border:1px solid var(--border-bright);border-radius:8px;padding:10px 14px;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.master-title{font-size:15px;font-weight:700;color:var(--cyan);text-transform:uppercase;letter-spacing:3px;line-height:1.2}.tab-nav{display:flex;gap:6px;margin-bottom:12px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 0}.tab-nav::-webkit-scrollbar{display:none}.tab-btn{background:var(--bg3);border:1px solid var(--border);color:var(--muted);padding:8px 14px;border-radius:6px;font-family:Courier New,SF Mono,monospace;font-size:11px;font-weight:700;cursor:pointer;transition:all .2s;white-space:nowrap;flex-shrink:0;text-transform:uppercase;letter-spacing:1px}.tab-btn:hover{background:var(--bg4);border-color:var(--border-bright);color:var(--cyan)}.tab-btn.active{background:#00e5ff1f;border-color:var(--cyan);color:var(--cyan);box-shadow:var(--glow-cyan)}.panel{background:var(--bg2);border:1px solid var(--border);border-radius:8px;overflow:hidden}.panel-title{font-size:13px;font-weight:700;color:var(--cyan);padding:12px 16px;border-bottom:1px solid var(--border);text-transform:uppercase;letter-spacing:2px}.btn-mining{border:1px solid var(--border);border-radius:4px;padding:5px 12px;font-family:Courier New,monospace;font-size:10px;cursor:pointer;transition:all .2s;color:var(--text);background:var(--bg3)}.btn-mining.btn-start{border-color:var(--green);color:var(--green);background:#00ff8814}.btn-mining.btn-start:hover{background:#0f83;box-shadow:var(--glow-green)}.btn-mining.btn-stop{border-color:var(--red);color:var(--red);background:#ff444414}.btn-mining.btn-stop:hover{background:#f443;box-shadow:var(--glow-red)}@media (max-width: 480px){.master-control{padding:8px}.master-header{padding:8px 10px}.master-title{font-size:13px;letter-spacing:2px}.tab-btn{padding:7px 11px;font-size:10px}.panel-title{font-size:12px;padding:10px 12px}}@media (max-width: 768px){.master-control [style*="gridTemplateColumns: 'repeat(4"]{grid-template-columns:repeat(2,1fr)!important}}/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.script-editor{flex:1;overflow-y:auto;padding:20px 40px;background-color:#f5f5f0;font-family:Courier Prime,Courier New,Courier,monospace;font-size:12pt;line-height:1;color:#000}.script-editor .ProseMirror{outline:none;min-height:100%;max-width:6.5in;margin:0 auto;padding:1in 0}.script-editor .ProseMirror p{margin:0;padding:0}.script-editor .screenplay-sceneHeading{text-transform:uppercase;font-weight:700;margin-top:24pt;margin-bottom:12pt}.script-editor .screenplay-action{margin-top:12pt;margin-bottom:12pt}.script-editor .screenplay-character{text-transform:uppercase;text-align:center;margin:12pt auto 0 2in;max-width:3.5in}.script-editor .screenplay-dialogue{margin:0 1.5in 0 1in}.script-editor .screenplay-parenthetical{margin:0 2in 0 1.5in;font-style:italic}.script-editor .screenplay-transition{text-transform:uppercase;text-align:right;margin-top:24pt;margin-bottom:12pt}.script-editor .screenplay-shot{text-transform:uppercase;margin-top:12pt;margin-bottom:12pt}.script-editor .screenplay-general{margin-top:12pt;margin-bottom:12pt}.script-editor strong{font-weight:700}.script-editor em{font-style:italic}.script-editor u{text-decoration:underline}.script-editor r{text-decoration:line-through}.script-editor [data-revision]{background-color:#ff03}.script-editor .ProseMirror-selectednode{outline:2px solid #0078d4}.script-editor .ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.script-editor .ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid black;animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}@media (prefers-color-scheme: dark){.script-editor{background-color:#2d2d30;color:#d4d4d4}.script-editor [data-revision]{background-color:#ffff001a}}.screenplay-toolbar{display:flex;align-items:center;gap:4px;padding:8px 12px;background-color:var(--bg-secondary);border-bottom:1px solid var(--border-color)}.screenplay-toolbar button{min-width:32px;height:28px;font-size:11px}.screenplay-toolbar .separator{width:1px;height:20px;background-color:var(--border-color);margin:0 4px}.type-selector{position:relative}.type-selector select{background-color:var(--bg-tertiary);border:1px solid var(--border-color);color:var(--text-primary);padding:4px 8px;border-radius:3px;font-size:11px;cursor:pointer;min-width:100px}
