.upload-shell .right-rail{display:none}.upload-shell #main.upload-page{margin-right:0;max-width:none;padding:36px clamp(20px,4vw,72px) 60px}.upload-heading,.upload-layout{max-width:1250px;margin:auto}.upload-heading{margin-bottom:26px}.upload-heading h1{font-size:clamp(28px,3vw,42px);letter-spacing:-1.4px;margin:8px 0}.upload-kicker{font-size:11px;letter-spacing:2px;color:var(--accent)}.upload-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.9fr);gap:24px;align-items:start}.editor-panel,.editor-details{background:#161a1c;border:1px solid #ffffff16;border-radius:20px;padding:24px;min-width:0}.editor-panel{position:sticky;top:24px}.editor-details{display:flex;flex-direction:column;gap:20px}.panel-heading{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:18px}.panel-heading h2{font-size:13px;color:var(--accent);white-space:nowrap}.panel-heading h2 span{color:#f0f3ec;font-size:17px;margin-left:8px}#source-name{font-size:11px;color:var(--muted);max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-drop{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:290px;gap:12px;padding:25px;border:1px dashed #c6fc5550;border-radius:14px;background:radial-gradient(ellipse at top,#c6fc5512,transparent 70%),#101416;text-align:center;cursor:pointer}.editor-drop>svg{width:40px;height:40px;color:var(--accent)}.editor-drop>span{font-size:13px;color:var(--muted)}.editor-drop small{font-size:11px;color:var(--muted)}.editor-drop input{max-width:100%;font-size:12px}.editor-drop.has-video{min-height:0;padding:12px;margin-bottom:16px}.editor-drop.has-video>svg,.editor-drop.has-video>strong,.editor-drop.has-video>span,.editor-drop.has-video>small{display:none}#editor-stage{background:#080a09;border-radius:12px;overflow:hidden}#editor-video{display:block;width:100%;height:360px;object-fit:contain}.editor-transport{display:flex;align-items:center;gap:12px;padding:8px;background:#0d1011}.editor-transport button{min-height:38px;font-size:11px;padding:8px}.editor-transport #editor-position{font-variant-numeric:tabular-nums;font-size:12px;margin-right:auto}.timeline-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px}.timeline-heading h3{font-size:14px}.timeline-heading strong{color:var(--accent);font-size:13px}.editor-timeline{position:relative;height:65px;border-radius:6px;overflow:hidden;background:repeating-linear-gradient(90deg,#252d28 0 32px,#18201a 32px 34px)}#timeline-frames{display:flex;width:100%;height:100%;opacity:.65}#timeline-frames img{width:12.5%;height:100%;object-fit:cover}#timeline-selection{position:absolute;inset:0 auto 0 0;border:3px solid var(--accent);border-radius:4px;box-shadow:-700px 0 0 700px #0005,700px 0 0 700px #0005;pointer-events:none}.trim-sliders{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:14px 0}.trim-sliders label{font-size:11px;color:var(--muted)}.trim-sliders input{padding:0;min-height:30px;accent-color:var(--accent);cursor:ew-resize}.trim-values{display:flex;gap:12px;align-items:end}.trim-values label{font-size:11px;flex:1;min-width:0}.trim-values input{padding:9px;min-height:40px;font-variant-numeric:tabular-nums}.trim-values button{font-size:11px}.editor-status{font-size:12px;color:var(--muted);line-height:1.6;margin-top:20px}.editor-status progress{display:block;width:100%;margin-top:10px;accent-color:var(--accent)}.editor-extras{border-block:1px solid #ffffff14;padding:15px 0}.editor-extras summary{font-size:13px;font-weight:650;cursor:pointer}.editor-extras summary span{color:var(--muted);font-size:11px;margin-left:10px}.editor-extras label{margin-top:16px}.editor-extras small,.editor-limit{font-size:11px;line-height:1.5;color:var(--muted)}.editor-options{display:flex;flex-direction:column;gap:12px}.editor-options h3{font-size:15px}.editor-switch{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #ffffff0b}.editor-switch strong{display:block;font-size:13px}.editor-switch small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:4px}.editor-switch input{width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:var(--accent)}.ai-option{display:flex!important;align-items:center;gap:5px}.ai-option img{object-fit:contain}.editor-publish{justify-content:space-between;width:100%}.editor-details .check-label{font-size:12px}.ai-content-label{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:20px;border:1px solid #c6fc5540;background:#0c130cdc;color:#e8ffc9;font-size:10px;vertical-align:middle;max-width:160px;margin:0 0 8px}.ai-content-label img{width:23px;height:23px;object-fit:contain;animation:ai-shimmer 3s ease-in-out infinite}@keyframes ai-shimmer{0%,100%{transform:rotate(-12deg) scale(.9);filter:brightness(.9)}50%{transform:rotate(12deg) scale(1.12);filter:brightness(1.3)}}.guest-wall{position:absolute;inset:0;z-index:30;background:#10150ff2;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;gap:14px;text-align:center}.guest-wall h2{font-size:28px}.guest-wall p{color:#adb9a5}.guest-wall .primary,.guest-wall .secondary{width:min(280px,100%)}
@media(max-width:1100px){.upload-layout{grid-template-columns:1fr;max-width:680px}.editor-panel{position:static}.upload-heading{max-width:680px}}@media(max-width:760px){.upload-shell #main.upload-page{padding:22px 14px calc(90px + env(safe-area-inset-bottom))}.editor-panel,.editor-details{padding:18px;border-radius:15px}.upload-layout{gap:16px}.editor-drop{min-height:220px}#editor-video{height:290px}.editor-transport{gap:6px}.editor-transport button{padding:7px}.trim-values{gap:8px}.trim-values button{max-width:85px}.panel-heading h2 span{font-size:15px}}@media(prefers-reduced-motion:reduce){.ai-content-label img{animation:none}}
.trim-handle{position:absolute;top:-3px;bottom:-3px;width:14px;background:var(--accent);pointer-events:auto;touch-action:none;cursor:ew-resize;border-radius:3px}.trim-handle::after{content:"";position:absolute;left:6px;top:22px;height:20px;border-left:2px solid #243410}.trim-handle-start{left:-3px}.trim-handle-end{right:-3px}.trim-handle:focus-visible{outline:2px solid white;outline-offset:-3px}
