.video-back,.video-project-top{margin-left:max(0px,calc((100% - 1120px)/2))}.video-upload-card{max-width:720px;margin:0 auto;padding:24px}.video-drop-zone{min-height:260px;border:1.5px dashed #aebdb6;border-radius:20px;background:linear-gradient(145deg,#f6fbf8,#f8fafb);display:grid;place-content:center;justify-items:center;text-align:center;gap:10px;padding:28px;color:var(--muted);cursor:pointer}.video-drop-zone.dragging{border-color:var(--mint-strong);background:var(--mint)}.video-drop-zone svg{width:34px;height:34px;fill:none;stroke:var(--mint-strong);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.video-drop-zone strong{font-size:18px;color:var(--ink)}.video-drop-zone span{font-size:13px;max-width:480px}.video-drop-zone input{position:absolute;width:1px;height:1px;opacity:0}.video-upload-card video{width:100%;max-height:390px;border-radius:17px;background:#101312}.video-project-top{max-width:780px;display:grid;grid-template-columns:42px minmax(0,680px);gap:12px;margin-bottom:18px}.video-project-top .back-link{margin:0}.video-layout{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start}.video-player-card,.video-subtitle-card{padding:20px;min-width:0}.video-player-card>video,.video-result video{display:block;width:100%;max-height:580px;border-radius:17px;background:#101312}.video-meta{display:flex;gap:12px;padding:11px 2px 0;color:var(--muted);font-size:13px}.video-state{min-height:92px;display:flex;align-items:center;justify-content:center;gap:10px;color:#50635b}.video-state>span:last-child{display:grid;gap:4px}.video-state small{color:var(--muted);font-size:13px;font-weight:400}.video-state-spinner{width:18px;height:18px;border:2px solid #c9d8d0;border-top-color:#527267;border-radius:50%;animation:video-spin .8s linear infinite}.video-error{margin-top:14px;padding:13px 15px;border-radius:14px;background:#f7e6e7;color:#824b53}.video-result{display:grid;gap:11px;margin-top:18px}.subtitle-list{display:grid;gap:9px;max-height:530px;overflow:auto;padding-right:5px}.subtitle-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px;align-items:start}.subtitle-row>span{padding-top:11px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.subtitle-row textarea{min-width:0;resize:vertical;line-height:1.4;padding:9px 11px}.video-secondary-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.video-secondary-actions form{margin:0}.video-render-form{display:grid;gap:11px;margin-top:18px;padding-top:17px;border-top:1px solid var(--line)}.video-style-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.video-style-options label{cursor:pointer}.video-style-options input{position:absolute;opacity:0;pointer-events:none}.video-style-options span{display:block;padding:12px;text-align:center;border:1px solid var(--line);border-radius:13px;background:#f7f9f7}.video-style-options input:checked+span{background:#dfeee6;border-color:#91b3a2;color:#304a3f;font-weight:700}.work-kind.video-kind{background:#deeee6;color:#4f7563}@keyframes video-spin{to{transform:rotate(360deg)}}@media(max-width:850px){.video-layout{grid-template-columns:1fr}.video-project-top{margin-left:0}.subtitle-list{max-height:none}}@media(max-width:560px){.video-upload-card,.video-player-card,.video-subtitle-card{padding:17px}.video-drop-zone{min-height:210px;padding:20px}.subtitle-row{grid-template-columns:1fr;gap:3px}.subtitle-row>span{padding-top:0}.video-secondary-actions{display:grid}.video-secondary-actions>*{width:100%}.video-secondary-actions button,.video-secondary-actions a{width:100%}.video-style-options{grid-template-columns:1fr}}
