@font-face{font-family:'Patrick Hand';src:url('../fonts/PatrickHand-Regular.ttf') format('truetype');font-display:block}
@font-face{font-family:'Lilita One';src:url('../fonts/LilitaOne-Regular.ttf') format('truetype');font-display:block}
@font-face{font-family:'Caveat';src:url('../fonts/Caveat.ttf') format('truetype');font-weight:400 700;font-display:block}
@font-face{font-family:'ZCOOL KuaiLe';src:url('../fonts/ZCOOLKuaiLe-Regular.ttf') format('truetype');font-display:block}
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#e5e9f6;background:#111b36;font-synthesis:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;min-width:300px;min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 18% 12%,#6f54872b,transparent 55%),radial-gradient(ellipse at 85% 80%,#45849d1c,transparent 50%),#111b36}
.player{width:min(1500px,94vw);margin:26px auto 20px}.heading{display:flex;align-items:center;gap:28px;margin:0 4px 19px}.wordmark{color:inherit;text-decoration:none;font-family:'Caveat',cursive;font-weight:700;font-size:36px;letter-spacing:-1px;white-space:nowrap}.wordmark span{color:#f2ce78}.wordmark .brand-star{display:inline-block;margin-left:12px;font-family:system-ui,sans-serif;font-size:20px;vertical-align:4px}.edition,.spec{font-size:10px;letter-spacing:2.1px;color:#a7b3d1}.spec{margin-left:auto;letter-spacing:1.6px;white-space:nowrap}
.stage{position:relative;aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:10px;box-shadow:0 16px 60px #060d253b,0 1px 0 #c2d4ff12;border:1px solid #bacaff26;background:#111b36}canvas{display:block;width:100%;height:100%}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#111b36;font-size:15px;color:#a4deee}#loading[hidden]{display:none}
.controls{display:flex;align-items:center;gap:14px;padding:18px 3px 13px}button{font:inherit;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#c2cde6;background:transparent;border-radius:8px;height:36px;padding:0 11px;flex-shrink:0}button:hover{background:#c2d4ff12}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #a4deee;outline-offset:4px}button:disabled{opacity:.4;cursor:wait}button svg{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#play{background:#f2ce78;color:#202b4c;font-size:12px;min-width:83px}#play:hover{background:#ffe2a1}#play svg{fill:currentColor;stroke-width:0}.icon-button{width:36px;padding:8px}#time{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#aab8d6}#seek{width:100%;height:20px;min-width:30px;appearance:none;background:transparent;cursor:pointer;--progress:0%}#seek::-webkit-slider-runnable-track{height:4px;border-radius:3px;background:linear-gradient(to right,#a4deee var(--progress),#344366 var(--progress))}#seek::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#f2ce78;margin-top:-4px;border:2px solid #111b36}#seek::-moz-range-track{height:4px;border-radius:3px;background:#344366}#seek::-moz-range-progress{height:4px;background:#a4deee}#seek::-moz-range-thumb{width:9px;height:9px;border:2px solid #111b36;border-radius:50%;background:#f2ce78}footer{display:flex;justify-content:space-between;border-top:1px solid #b1c1ed24;padding:15px 4px 0;color:#91a0c3;font-size:10px;letter-spacing:.8px}#error{color:#ffafbf;font-size:13px}
.render-mode,.render-mode body{margin:0!important;padding:0!important;background:#111b36;width:var(--render-width,1920px);height:var(--render-height,1080px);overflow:hidden;display:block}.render-mode .player{margin:0;width:var(--render-width,1920px)}.render-mode .heading,.render-mode .controls,.render-mode footer,.render-mode #loading{display:none}.render-mode .stage{width:var(--render-width,1920px);height:var(--render-height,1080px);border:0;border-radius:0;box-shadow:none}
.player:fullscreen{background:#111b36;width:100%;margin:0;display:flex;flex-direction:column;justify-content:center;padding:16px}.player:fullscreen footer{display:none}.player:fullscreen .heading{flex-shrink:0}.player:fullscreen .stage{flex-shrink:0;height:min(calc(100dvh - 154px),calc((100vw - 32px) * 9 / 16));width:auto;max-width:100%;align-self:center}.player:fullscreen .controls{flex-shrink:0}
@media(max-width:650px){.player{width:96vw;margin:20px auto}.heading{gap:10px;margin-bottom:13px}.wordmark{font-size:30px}.edition{display:none}.spec{font-size:9px}.controls{gap:5px;padding:12px 0}#play{min-width:36px;width:36px;padding:8px}#play span{display:none}#time{font-size:10px}.icon-button{width:31px}footer{font-size:9px;letter-spacing:.2px}footer span:last-child{display:none}.stage{border-radius:5px}}
.export-entry,.export-primary{background:#a4deee;color:#202b4c;font-size:12px;font-weight:600}.export-entry:hover:not(:disabled),.export-primary:hover:not(:disabled){background:#c1f0fa}.export-entry{padding:0 14px}.export-entry:disabled{cursor:not-allowed}
.export-open{overflow:hidden}.export-dialog{width:min(800px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #b1c1ed30;border-radius:16px;color:#e5e9f6;background:#17213a;box-shadow:0 28px 90px #060d2599;overflow:hidden}.export-dialog[open]{display:flex;flex-direction:column}.export-dialog::backdrop{background:#060d25b8;backdrop-filter:blur(6px)}.export-dialog [hidden]{display:none}.export-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;border-bottom:1px solid #b1c1ed1c;flex-shrink:0}.export-header h2{margin:0;font-size:20px;font-weight:600;letter-spacing:.3px}.export-header p{margin:7px 0 0;font-size:12px;color:#91a0c3}.export-header .icon-button{color:#aab8d6}
.export-body{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;padding:26px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.export-preview-panel{margin:0;min-width:0}.export-preview{position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid #b1c1ed24;border-radius:8px;background:#111b36}.export-preview canvas{height:100%;width:100%}#export-preview-time{position:absolute;bottom:10px;right:10px;padding:4px 7px;border-radius:4px;background:#060d25b3;font-size:10px;font-variant-numeric:tabular-nums;color:#e5e9f6}.export-preview-panel figcaption{display:flex;justify-content:space-between;gap:8px;margin-top:11px;font-size:11px;color:#91a0c3}#export-preview-frame{font-variant-numeric:tabular-nums}.export-settings{min-width:0}.export-settings dl{margin:0}.export-settings dt,.export-quality-label{font-size:11px;color:#91a0c3}.export-settings dd{margin:7px 0 0;font-size:13px;font-variant-numeric:tabular-nums}#export-filename{line-height:1.6;overflow-wrap:anywhere}.export-settings .export-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0;padding-bottom:20px;border-bottom:1px solid #b1c1ed1c}.export-quality-label{margin:0 0 9px}.resolution-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.resolution-option{position:relative;min-width:0;height:56px;flex-direction:column;align-items:flex-start;gap:4px;padding:0 12px;border:1px solid #b1c1ed38;border-radius:8px;background:#1e2c49;color:#c2cde6;font-size:13px;font-weight:600}.resolution-option:hover:not(:disabled){border-color:#a4deee80;background:#253755}.resolution-option[aria-pressed=true]{border-color:#a4deee;background:#a4deee14;color:#a4deee}.resolution-option .resolution-note{font-size:10px;font-weight:400;line-height:1.2;color:#91a0c3}.resolution-option[aria-pressed=true] .resolution-note{color:#a4deeead}.resolution-option svg{position:absolute;top:10px;right:10px;width:14px;height:14px;stroke-width:2;opacity:0}.resolution-option[aria-pressed=true] svg{opacity:1}.resolution-option:disabled{opacity:.45;cursor:not-allowed}#export-dimensions{margin:10px 0 0;font-size:11px;color:#91a0c3}
.export-feedback{margin-top:20px}.export-status-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}#export-status{margin:0;font-size:11px;line-height:1.7;color:#aab8d6;overflow-wrap:anywhere}#export-percent{font-size:13px;font-variant-numeric:tabular-nums;color:#a4deee}#export-progress-panel{margin-top:10px}#export-progress{display:block;width:100%;height:6px;accent-color:#a4deee;border:0;border-radius:4px;overflow:hidden;background:#344366}#export-progress::-webkit-progress-bar{background:#344366}#export-progress::-webkit-progress-value{background:#a4deee}#export-progress::-moz-progress-bar{background:#a4deee}#export-error{margin:9px 0 0;font-size:12px;line-height:1.6;color:#ffafbf;overflow-wrap:anywhere}.export-result{display:flex;align-items:center;gap:12px;margin-top:20px;padding:15px;border:1px solid #a4deee24;border-radius:8px;background:#a4deee08}.export-result svg{width:30px;height:30px;padding:6px;border-radius:50%;color:#a4deee;background:#a4deee18;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.export-result p{margin:0 0 5px;font-size:13px}.export-result span{font-size:12px;color:#aab8d6;font-variant-numeric:tabular-nums}
.export-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 26px;border-top:1px solid #b1c1ed1c;flex-shrink:0}#export-footer-note{margin:0;font-size:11px;color:#91a0c3}.export-actions{display:flex;align-items:center;gap:10px}.export-actions button{height:40px;padding:0 16px;font-size:12px}.export-actions button:disabled{cursor:not-allowed}.export-secondary{border:1px solid #b1c1ed30}#export-cancel{color:#ffafbf}.render-mode .export-dialog{display:none}
@media(max-width:650px){.heading .spec{display:none}.export-entry{margin-left:auto;padding:0 12px}.export-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:12px}.export-header{padding:18px}.export-header h2{font-size:18px}.export-body{grid-template-columns:1fr;gap:22px;padding:18px}.export-footer{padding:14px 18px}.export-actions{width:100%;gap:8px}.export-actions .export-primary,.export-actions #export-cancel{flex:1}#export-footer-note{display:none}}
.export-quality .fps-label{margin-top:18px}
