.dashboard{--dash-muted:#9f9f9f;background:#0b0b0b;color:#f2f2f2;font-family:Geist,Arial,sans-serif;min-height:100vh}.dashboard [hidden]{display:none!important}.dashboard button,.dashboard input,.dashboard select{font:inherit}.dashboard button{cursor:pointer}.sidebar{position:fixed;inset:0 auto 0 0;width:216px;padding:34px 22px;display:flex;flex-direction:column;background:#111111;border-right:1px solid #292929;z-index:5}.sidebar .brand{font-size:27px;gap:10px;margin-bottom:45px}.sidebar .brand img{width:28px;height:28px}.sidebar>.button{width:100%;justify-content:center;min-height:48px}.sidebar nav{margin-top:30px;display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;color:#aeaeae;padding:13px 14px;border-radius:9px;text-align:left}.nav-item.active{background:#292929;color:#f2f2f2}.nav-item>span:first-child{font-size:23px;line-height:20px}.nav-item>span:last-child:not(:first-child){margin-left:auto;font-size:13px;color:#b2b2b2}.sidebar-bottom{margin-top:auto;display:grid;gap:22px;color:#aeaeae;font-size:14px}.sidebar-bottom button{color:inherit;background:none;border:0;padding:0;text-align:left}.connection{display:flex;gap:8px;align-items:center;color:#cfcfcf;font-size:12px}.connection i{width:6px;height:6px;background:#e0e0e0;border-radius:50%}.connection.offline i{background:#e4a04c}.dashboard-main{margin-left:216px;padding:44px clamp(24px,4.5vw,86px) 90px;max-width:1720px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 32px}.page-heading h1{font-size:44px;font-weight:540;letter-spacing:-1.9px;line-height:1.18;max-width:800px;overflow-wrap:anywhere}.page-heading h1 span{color:#e6e6e6}.page-heading .eyebrow{font-size:11px;letter-spacing:1.8px;margin:0 0 11px;color:#9c9c9c}.top-label{color:#9a9a9a;font-size:13px;border:1px solid #323232;border-radius:99px;padding:8px 12px}.create-panel{display:grid;grid-template-columns:1.3fr 1fr;min-height:346px;border:1px solid #3c3c3c;border-radius:17px;background:linear-gradient(130deg,#1e1e1e,#151515);overflow:hidden;box-shadow:0 15px 70px #00000022}.create-input{padding:28px 32px}.create-panel h2{font-size:26px;letter-spacing:-.6px;margin:22px 0 20px;font-weight:500}.dashboard .task-switch{display:inline-flex;gap:3px;background:#0d0d0d;padding:4px;border:1px solid #373737;border-radius:8px;margin:0}.dashboard .task-switch button{border:0;padding:8px 15px;background:transparent;color:#b1b1b1;border-radius:5px;font-size:14px}.dashboard .task-switch button[aria-pressed=true]{background:#393939;color:#f7f7f7}.create-input form{display:flex;gap:8px;padding:6px 7px 6px 16px;border:1px solid #515151;border-radius:9px;background:#0d0d0d}.create-input form input{min-width:0;flex:1;border:0;outline:none;padding:8px 0;background:transparent;color:#ffffff;width:100%}.create-input form input::placeholder{color:#9e9e9e}.create-input form .button{min-width:43px;padding:10px;font-size:22px}.upload-actions{display:flex;gap:20px;align-items:center;margin-top:16px}.upload-actions .button{font-size:14px;padding:11px 15px}.upload-actions .text-button{font-size:14px;color:#d1d1d1}.input-limit{font-size:12px;color:#9c9c9c;margin-top:13px}.create-options{margin-top:17px;color:#b6b6b6;font-size:14px}.create-options summary{cursor:pointer;width:max-content}.create-options .two-fields{margin-top:18px}.dashboard label{font-size:14px;color:#d2d2d2;display:block}.dashboard select,.dashboard input[type=number],.dashboard input[type=text],.dashboard input[type=search]{width:100%;background:#141414;border:1px solid #3d3d3d;border-radius:7px;color:#f4f4f4;padding:11px;min-width:0}.dashboard label select,.dashboard label input{margin-top:8px}.create-options p{font-size:13px;line-height:1.5;margin-top:12px}.create-art{position:relative;overflow:hidden;min-height:365px;border:0;border-left:1px solid #3c3c3c;background:radial-gradient(ellipse at 50% 80%,#7f7f7f4c,transparent 70%),#1d1d1d;text-align:left;color:#f0f0f0;padding:25px 28px}.art-word{font-size:11px;letter-spacing:2px;line-height:1.7;color:#aeaeae;position:absolute;top:25px}.art-word em{font-style:normal;color:#e2e2e2}.art-cards{display:flex;position:absolute;inset:88px 25px 58px;align-items:center;justify-content:center}.art-cards img{height:205px;width:115px;object-fit:cover;border-radius:9px;border:3px solid #121212;box-shadow:0 12px 25px #00000099;transform:rotate(-12deg) translateY(6px);margin-right:-8px}.art-cards img:nth-child(2){transform:rotate(1deg) translateY(-4px);z-index:1}.art-cards img:nth-child(3){transform:rotate(13deg) translateY(10px)}.create-art:hover .art-cards img:nth-child(2){transform:rotate(0deg) translateY(-12px);transition:transform .3s}.art-bottom{position:absolute;bottom:22px;left:27px;right:27px;font-size:12px;display:flex;justify-content:space-between;color:#b7b7b7}.library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:42px}.library-toolbar h2{font-size:22px;font-weight:500;letter-spacing:-.5px}.library-toolbar h2 span{color:#8e8e8e;font-size:14px;margin-left:8px}.search-box{width:220px}.search-box input{font-size:13px!important;margin:0!important}.project-filters{display:flex;gap:20px;margin:24px 0 23px;border-bottom:1px solid #2e2e2e}.project-filters button{color:#9c9c9c;background:none;border:0;border-bottom:2px solid transparent;padding:0 0 14px;font-size:13px}.project-filters button[aria-pressed=true]{color:#eeeeee;border-color:#e6e6e6}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.project-card{min-width:0;text-align:left;background:#141414;border:1px solid #313131;border-radius:11px;padding:0;color:#f4f4f4;overflow:hidden;transition:transform .2s,border-color .2s}.project-card:hover{transform:translateY(-3px);border-color:#6f6f6f}.project-thumb{height:168px;position:relative;background:radial-gradient(ellipse,#303030,#141414);display:flex;justify-content:center;overflow:hidden}.project-thumb img{width:100%;height:100%;object-fit:cover;object-position:center 34%}.project-thumb:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#00000088)}.project-status{position:absolute;bottom:12px;left:12px;z-index:1;border:1px solid #62626288;background:#202020e8;border-radius:5px;padding:4px 7px;color:#eaeaea;font-size:11px}.project-status.failed{color:#ffc0a2;background:#3b1e15}.project-thumb .project-symbol{font-size:45px;color:#777777;align-self:center}.project-info{padding:16px 17px}.project-info h3{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.project-info p{font-size:12px;color:#9b9b9b;margin:9px 0 0}.empty-state{text-align:center;padding:45px;color:#b0b0b0}.empty-state>span{font-size:40px;color:#eaeaea}.empty-state h3{font-size:19px;margin-top:16px}.empty-state p{font-size:14px;margin-top:10px}.secondary{font-size:14px;color:#aeaeae;line-height:1.6}.dashboard .error:empty{display:none}.dashboard .error{margin:14px 0;line-height:1.5}.dashboard #back-projects{color:#b6b6b6;margin:2px 0 28px}.dashboard .clip-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin-top:28px}.dashboard .result-card{min-width:0;background:#151515;border-color:#373737;padding:15px;border-radius:13px}.dashboard .result-card video{width:100%;height:310px;object-fit:contain;background:#080808;border-radius:8px}.dashboard .result-card h3{font-size:17px;margin-top:15px;line-height:1.4}.dashboard .result-actions{gap:8px}.dashboard .result-actions .button{font-size:13px;padding:11px;justify-content:center;white-space:nowrap}.dashboard .result-card .reaction-action{font-size:13px;width:100%;padding:11px;border:1px solid #444444;background:transparent;color:#d9d9d9;border-radius:7px;margin-top:10px}.dashboard .subtitle-links{font-size:12px}.dashboard .processing{margin:50px auto}.preview-banner{border:1px solid #505050;background:#242424;color:#e1e1e1;border-radius:8px;padding:12px 15px;font-size:14px;margin-bottom:27px}.examples-workspace{display:grid;grid-template-columns:minmax(230px,.8fr) 1fr;gap:50px;padding:35px;border:1px solid #3d3d3d;border-radius:16px;background:#181818}.sample-player{min-width:0;display:flex;justify-content:center;background:#0b0b0b;border-radius:11px}.sample-player video{width:100%;height:510px;object-fit:contain}.sample-options{align-self:center;min-width:0}.sample-options h2{font-size:29px;letter-spacing:-.8px;line-height:1.2;margin:32px 0 18px}.sample-options .example-controls{margin:24px 0 28px}.sample-options .feature-tabs{flex-wrap:wrap}.example-credit{font-size:12px;color:#989898;line-height:1.6;margin-top:25px}.dashboard dialog{color:#f2f2f2;background:#171717;border:1px solid #5e5e5e}.dashboard .editor-dialog{max-width:1100px}.dashboard .editor-layout{gap:25px}.dashboard .caption-words input{background:#2c2c2c;color:#f6f6f6;border-color:#5d5d5d}.dashboard .editor-preview video{max-height:640px}.dashboard .dialog-top h2{font-size:23px}.dashboard .flip-setting input{width:auto}.dashboard .reaction-dialog{width:min(740px,calc(100vw - 28px));padding:27px;border-radius:15px}.reaction-setup{display:grid;grid-template-columns:200px 1fr;gap:28px;margin:24px 0}.reaction-diagram{aspect-ratio:9/16;background:#0b0b0b;border:1px solid #565656;border-radius:12px;overflow:hidden;align-self:start;display:flex;flex-direction:column}.diagram-user{height:31.64%;background:#e6e6e6;display:grid;place-items:center;position:relative;overflow:hidden;flex-shrink:0}.diagram-user span{position:absolute;top:9px;left:11px;color:#333333;font-size:10px;font-weight:700;letter-spacing:1px}.diagram-user svg{width:65%;height:100%;fill:#757575;transform:translateY(10%)}.diagram-clip{position:relative;min-height:0;flex:1;overflow:hidden}.diagram-clip img{width:100%;height:100%;object-fit:cover}.diagram-clip span{position:absolute;bottom:10px;left:10px;background:#151515dd;color:#eaeaea;font-size:10px;padding:5px;border-radius:4px}.reaction-diagram[data-layout=stack] .diagram-user{height:50%}.reaction-diagram[data-layout=two-squares]{padding-inline:5.56%}.reaction-diagram[data-layout=two-squares] .diagram-user{height:50%}.reaction-fields{display:grid;gap:17px}.reaction-fields input[type=file]{width:100%;max-width:100%;font-size:12px;line-height:2;color:#dddddd}.reaction-fields input::file-selector-button{background:#414141;border:0;border-radius:5px;color:#f5f5f5;padding:9px;margin-right:10px;cursor:pointer}.dashboard .info-dialog{max-width:530px;border-radius:14px;padding:27px}.dashboard #help-content p{line-height:1.65;color:#c4c4c4;margin:16px 0;font-size:15px}.dashboard :focus-visible{outline:2px solid #eaeaea;outline-offset:4px}.dashboard button:disabled{opacity:.45;cursor:not-allowed}.dashboard .editor-actions{position:sticky;bottom:0;background:#171717ee;padding-block:12px}.dashboard .caption-words{max-height:175px}
@media(min-width:1550px){.project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.create-panel{grid-template-columns:1.2fr 1fr}.art-cards img{height:215px;width:121px;margin-right:7px}.project-thumb{height:186px}}
@media(max-width:1100px){.sidebar{width:186px;padding-inline:15px}.dashboard-main{margin-left:186px;padding:35px 25px}.create-input{padding:25px}.create-panel{grid-template-columns:1.4fr 1fr}.art-cards img{height:155px;width:87px;margin-right:-21px}.art-cards{inset-inline:8px}.art-bottom{font-size:10px;left:18px;right:18px}.project-grid,.dashboard .clip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.create-input h2{font-size:23px}.examples-workspace{gap:25px;padding:24px}.sample-player video{height:430px}}
@media(max-width:760px){.sidebar{position:sticky;inset:0 0 auto;width:100%;height:68px;padding:12px 18px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid #363636;gap:14px}.sidebar .brand{font-size:23px;margin:0}.sidebar .brand img{width:23px;height:23px}.sidebar>.button{display:none}.sidebar nav{display:flex;gap:5px;margin:0 0 0 auto}.nav-item{font-size:13px;padding:9px 10px;gap:5px}.nav-item>span:first-child,.nav-item>span:last-child:not(:first-child){display:none}.sidebar-bottom{display:none}.dashboard-main{margin:0;padding:29px 18px 50px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:34px}.page-heading .eyebrow{font-size:9px}.top-label{font-size:10px;padding:6px 8px}.create-panel{grid-template-columns:1fr}.create-input{padding:21px}.create-art{display:none}.create-input h2{font-size:24px;margin:22px 0 18px}.create-input form input{font-size:14px}.upload-actions{gap:16px}.upload-actions .button,.upload-actions .text-button{font-size:13px}.library-toolbar{flex-wrap:wrap;gap:16px;margin-top:31px}.library-toolbar h2{font-size:21px}.search-box{width:100%}.search-box input{font-size:14px!important}.project-filters{gap:20px;margin-top:22px}.project-filters button{font-size:12px}.project-grid{gap:12px}.project-thumb{height:125px}.project-info{padding:12px}.project-info h3{font-size:13px}.project-info p{font-size:11px;line-height:1.5}.project-status{font-size:9px;bottom:8px;left:8px}.dashboard .clip-grid{grid-template-columns:1fr}.dashboard .result-card video{height:410px}.dashboard #project-view .page-heading{align-items:flex-start;flex-direction:column;gap:18px}.dashboard #project-view h1{font-size:29px}.preview-banner{font-size:12px;line-height:1.5;padding:10px 12px}.examples-workspace{grid-template-columns:1fr;padding:18px;gap:22px}.sample-player video{height:360px}.sample-options h2{font-size:25px;margin-top:23px}.sample-options .feature-tabs{gap:4px}.sample-options .feature-tabs button{padding:11px 14px}.reaction-setup{grid-template-columns:110px 1fr;gap:17px}.reaction-diagram{margin-top:5px}.diagram-user span{font-size:8px;left:7px;top:6px}.diagram-clip span{font-size:7px;left:5px;bottom:5px}.dashboard .reaction-dialog{padding:20px}.reaction-fields{gap:13px}.reaction-fields label{font-size:12px}.reaction-fields select{padding:10px 7px;font-size:12px}.reaction-fields .secondary{font-size:11px}.dashboard .editor-dialog{padding:20px;width:calc(100vw - 24px)}.dashboard .editor-preview video{max-height:300px}.dashboard .editor-layout{grid-template-columns:1fr}.dashboard .two-fields{grid-template-columns:1fr 1fr;gap:12px}.dashboard .two-fields label{font-size:12px}.dashboard .two-fields select{font-size:12px;padding:10px 7px}.dashboard .caption-edit-head{gap:12px}.dashboard .caption-edit-head label,.dashboard .caption-edit-head button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.dashboard *{animation:none!important;transition:none!important}}

.dashboard .clip-grid:has(>.result-card:only-child){grid-template-columns:minmax(0,440px)}.dashboard .clip-grid>.result-card:only-child video{height:470px}@media(max-width:760px){.dashboard .clip-grid>.result-card:only-child video{height:410px}}

.dashboard #selection-note{font-size:12px;line-height:1.5;color:#b0b0b0;margin-top:8px}
/* Simplicity pass: one intake, accessible controls, and thumb-reachable mobile navigation. */
.sidebar nav{margin-top:0}.sidebar .nav-create{margin-bottom:18px;min-height:48px;justify-content:center}.sidebar-bottom #help-button{min-height:44px;font-size:15px}.dashboard .page-heading h1{line-height:1.15}.dashboard .create-panel{grid-template-columns:1fr;max-width:940px}.create-input{padding:28px}.create-input form{margin-top:22px}.create-input form input{font-size:16px}.upload-actions{flex-wrap:wrap}.upload-actions .button,.upload-actions .text-button{min-height:44px;font-size:15px}.dashboard .create-options summary{min-height:44px;line-height:44px}.dashboard #selection-note{font-size:13px;line-height:1.5}.dashboard .input-limit{font-size:13px}.dashboard .project-filters button{min-height:44px;font-size:14px;padding:12px 0}.dashboard .project-info h3{font-size:16px}.dashboard .project-info p{font-size:13px}.dashboard .project-status{font-size:12px}.dashboard .result-actions .button,.dashboard .result-card .reaction-action{min-height:44px;font-size:15px}.dashboard .subtitle-downloads{font-size:14px;color:#c8c8c8;margin-top:8px}.subtitle-downloads summary{cursor:pointer;min-height:44px;line-height:44px}.subtitle-downloads a{display:inline-flex;min-height:44px;align-items:center;margin-right:24px;text-decoration:underline}.dashboard .field-label,.dashboard label,.dashboard .two-fields label{font-size:15px}.dashboard input,.dashboard select{font-size:16px!important}.dashboard :is(button,a,input,select,summary):focus-visible{outline:2px solid var(--lime);outline-offset:4px}.dashboard .project-card:focus-visible{outline-offset:2px}.dashboard .sample-options .secondary:empty{display:none}.dashboard .feature-tabs button{min-height:44px}.dashboard .editor-actions{position:sticky;bottom:0;background:#171717;padding:14px 0 4px;z-index:2}.dashboard .editor-actions button{min-height:48px}.dashboard .reaction-fields input[type=file]{font-size:14px!important;line-height:1.5}.dashboard .reaction-fields .secondary{font-size:14px;line-height:1.5}.dashboard .reaction-fields input::file-selector-button{min-height:44px}.dashboard .frame-preset{min-height:44px}.dashboard .flip-setting{min-height:44px}.dashboard .flip-setting input{min-height:0}.dashboard #save-template{min-height:44px}.dashboard .examples-workspace{align-items:start}
@media(max-width:760px){.sidebar{height:64px;padding:10px 18px}.sidebar nav{position:fixed;left:0;right:0;bottom:0;margin:0;display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:center;gap:8px;background:#151515ed;border-top:1px solid #424242;padding:10px 16px calc(10px + env(safe-area-inset-bottom));backdrop-filter:blur(15px);z-index:6}.sidebar .nav-create{display:flex;order:2;margin:0;min-height:46px;font-size:14px;padding:10px;white-space:nowrap}.sidebar #nav-projects{order:1}.sidebar #nav-samples{order:3}.sidebar .nav-item{font-size:14px;justify-content:center;min-height:46px;padding:10px 6px}.sidebar-bottom{display:flex;margin:0 0 0 auto;gap:0}.sidebar-bottom .connection{display:none}.sidebar-bottom #help-button{font-size:14px;padding:10px 12px}.dashboard-main{padding:24px 16px calc(110px + env(safe-area-inset-bottom))}.dashboard .page-heading{margin-bottom:20px}.dashboard .page-heading h1{font-size:32px}.dashboard .create-input{padding:18px}.dashboard .create-input form{margin-top:18px}.dashboard .task-switch{display:flex;width:100%}.dashboard .task-switch button{flex:1;padding:11px 8px;min-height:44px;font-size:14px}.dashboard .upload-actions{gap:12px;margin-top:14px}.dashboard .upload-actions .button,.dashboard .upload-actions .text-button{font-size:14px}.dashboard .input-limit{font-size:12px}.dashboard .library-toolbar{margin-top:26px;gap:14px}.dashboard .project-filters{gap:0;justify-content:space-between;margin:10px 0 18px}.dashboard .project-filters button{font-size:12px;min-height:44px}.dashboard .project-grid{grid-template-columns:1fr 1fr;gap:12px}.dashboard .project-info{padding:12px}.dashboard .project-info h3{font-size:14px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.35}.dashboard .project-info p{font-size:12px}.dashboard .project-status{font-size:11px}.dashboard .examples-workspace{display:flex;flex-direction:column;padding:16px;gap:20px}.dashboard .sample-options{display:contents}.dashboard .sample-options .feature-tabs{order:-3;width:100%;justify-content:space-between;gap:0}.dashboard .sample-options .feature-tabs button{padding:10px;min-height:44px;font-size:14px}.dashboard .sample-options h2{order:-2;font-size:24px;margin:0}.dashboard .sample-options .secondary{order:-1;margin:0}.dashboard .sample-player{width:100%}.dashboard .sample-player video{height:350px;max-height:48svh}.dashboard #example-options{margin:0}.dashboard #example-download{width:100%;justify-content:center;min-height:46px}.dashboard .example-credit{margin:0;font-size:12px}.dashboard .editor-dialog{padding:18px;width:calc(100vw - 16px);max-height:calc(100dvh - 20px);overflow-y:auto}.dashboard .editor-preview video{max-height:220px}.dashboard .editor-layout{gap:20px}.dashboard .two-fields{gap:12px}.dashboard .two-fields label{font-size:14px}.dashboard .two-fields select{padding:10px 8px;min-height:46px}.dashboard .caption-words input{min-height:44px}.dashboard .caption-edit-head{align-items:center;flex-wrap:wrap}.dashboard .caption-edit-head label,.dashboard .caption-edit-head button{font-size:14px}.dashboard .editor-actions{bottom:-18px;margin-inline:-2px;padding-bottom:18px}.dashboard .editor-actions .button{flex:1;justify-content:center;font-size:14px}.dashboard .reaction-dialog{padding:18px;width:calc(100vw - 16px);max-height:calc(100dvh - 20px);overflow-y:auto}.dashboard .reaction-setup{display:flex;flex-direction:column;gap:20px}.dashboard .reaction-diagram{width:100px;align-self:center;margin:0}.dashboard .reaction-fields{width:100%;gap:15px}.dashboard .reaction-fields label{font-size:14px}.dashboard .reaction-fields select{min-height:46px}.dashboard .reaction-fields .secondary{font-size:13px}.dashboard #reaction-submit{width:100%;justify-content:center;min-height:48px}.dashboard .frame-shortcuts{align-items:flex-start;flex-wrap:wrap;gap:10px}.dashboard .flip-setting{font-size:14px!important}.dashboard .project-view{min-width:0}}
@media(max-width:360px){.dashboard .project-grid{grid-template-columns:1fr}.dashboard .project-thumb{height:155px}.dashboard .create-input{padding:15px}.dashboard .upload-actions{gap:8px}.dashboard .upload-actions .button,.dashboard .upload-actions .text-button{font-size:13px}.dashboard .page-heading h1{font-size:30px}.dashboard .two-fields{grid-template-columns:1fr}.dashboard .sample-options .feature-tabs button{padding-inline:8px;font-size:13px}}

#example-detail:empty { display: none; }
/* Focused clip editor. Optional controls stay closed until needed. */
.dashboard .simple-editor{width:min(780px,calc(100vw - 24px));padding:0;max-height:94dvh;overflow-y:auto;border-radius:20px}.simple-editor .dialog-top{padding:18px 24px;position:sticky;top:0;background:#171717f5;z-index:4}.dashboard .simple-editor .dialog-top h2{font-size:21px}.simple-editor .edit-stage{height:330px;position:relative;background:#0a0a0a;display:flex;align-items:center;justify-content:center;padding:12px;overflow:hidden}.edit-canvas{position:relative;width:1px;height:1px;flex:none;max-width:100%;background:#171717;overflow:hidden;container-type:inline-size}.edit-canvas video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-height:none!important;max-width:none!important}.edit-canvas[data-fit=fit] video,.edit-canvas[data-fit=auto] video,.edit-canvas[data-fit=follow] video{object-fit:contain}.edit-canvas[data-fit=square-fit] video{height:auto;aspect-ratio:1;top:50%;translate:0 -50%;object-fit:cover}.edit-canvas[data-fit=landscape] video{height:auto;aspect-ratio:16/9;top:50%;translate:0 -50%;object-fit:contain}.preview-play{position:absolute;left:20px;bottom:18px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff40;border-radius:50%;background:#131313d9;color:white;font-size:19px}.edit-workspace{padding:20px 24px 0}.trim-control{padding:3px 15px 18px}.trim-rail{height:56px;position:relative;border-radius:8px;background:#3c3c3c;touch-action:none}.trim-rail canvas{width:100%;height:100%;object-fit:cover;opacity:.62;border-radius:8px}.trim-selection{position:absolute;inset:0 auto 0 0;border-block:3px solid #ededed;box-shadow:0 0 0 1px #0c0c0c;pointer-events:none}.trim-handle{position:absolute;top:-2px;bottom:-2px;width:32px;margin-left:-16px;border:0;padding:0;background:transparent;z-index:3;touch-action:none;cursor:ew-resize}.trim-handle:before{content:'';position:absolute;inset:0 9px;border-radius:5px;background:#ededed;box-shadow:0 1px 5px #00000066}.trim-handle span{position:absolute;inset:19px 14px;background:#3e3e3e;border-radius:4px;pointer-events:none}.trim-labels{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#b7b7b7;margin-top:10px;font-variant-numeric:tabular-nums}.trim-labels span{color:#e6e6e6}#trim-playhead{position:absolute;top:3px;bottom:3px;width:2px;background:#ffffff99;pointer-events:none;z-index:1}.edit-drawer{border-top:1px solid #3d3d3d}.edit-drawer>summary{display:flex;align-items:center;min-height:58px;gap:10px;list-style:none;cursor:pointer;font-size:16px;font-weight:500}.edit-drawer>summary::-webkit-details-marker{display:none}.edit-drawer>summary:after{content:'+';font-size:22px;font-weight:400;color:#bdbdbd;margin-left:4px}.edit-drawer[open]>summary:after{content:'−'}.edit-drawer>summary>span{font-size:14px;color:#9d9d9d;margin-left:auto;font-weight:400;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-content{padding:0 0 18px}.drawer-content .two-fields{margin:12px 0}.dashboard .simple-editor .two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dashboard #caption-paragraph{font:16px/1.65 Geist,Arial,sans-serif;color:#ededed;width:100%;min-height:128px;max-height:260px;resize:vertical;padding:14px;background:#101010;border:1px solid #4b4b4b;border-radius:9px;white-space:pre-wrap}.simple-editor .editor-actions{display:flex;justify-content:flex-end;gap:12px;position:sticky;bottom:0;margin:0;background:#171717f7;padding:14px 0 18px;z-index:4;border-top:1px solid #3d3d3d}.simple-editor .editor-actions .button{min-width:112px;justify-content:center;flex:none;font-size:16px}.simple-editor .secondary{margin:10px 0 0;font-size:13px}.simple-editor input[type=range],.reaction-dialog input[type=range]{accent-color:#ebebeb;width:100%;min-height:40px;padding:0;border:0;background:transparent}.simple-editor .flip-setting{display:flex;align-items:center;gap:10px;margin:10px 0 0}.simple-editor .flip-setting input{width:20px;height:20px;accent-color:#ebebeb}.music-row{display:flex;border-radius:8px;margin:4px 0;border:1px solid #3f3f3f;overflow:hidden}.music-row button{border:0;background:#1c1c1c;color:#e8e8e8;font-size:15px;min-height:48px}.track-select{flex:1;text-align:left;padding:10px 14px;min-width:0}.track-select[aria-pressed=true]{background:#414141;color:#f1f1f1}.track-preview{width:48px;border-left:1px solid #3f3f3f!important}.music-credit{font-size:13px;line-height:1.6;color:#c3c3c3;margin-top:14px}.music-credit summary{cursor:pointer;min-height:40px;padding:10px 0}.music-credit a,.music-credit button{display:inline-flex;min-height:44px;align-items:center;margin-right:16px;font-size:14px}.music-credit p{user-select:all}.music-credit p,#music-attribution{overflow-wrap:anywhere}#music-level{float:right;color:#bfbfbf}#caption-preview{position:absolute;top:61%;left:8%;right:8%;display:flex;justify-content:center;flex-wrap:wrap;gap:3px;pointer-events:none;font-weight:800;font-family:Arial,sans-serif;font-size:7.5cqw;line-height:1.3;text-transform:uppercase;text-align:center;text-shadow:0 1px 2px #000,1px 0 2px #000}.edit-canvas:has(video[style*="scaleX"]) #caption-preview{transform:none}#caption-preview span{padding:1px 3px}#caption-preview[data-style=yellow] .active{background:#ddff78;color:#11160e;text-shadow:none;border-radius:3px}#caption-preview[data-style=mint] .active{color:#76f9c1}#caption-preview[data-style=pop] .active{color:#ff8cef}#caption-preview[data-style=clean]{text-transform:none}#caption-preview[data-style=clean] span{background:#000a;border-radius:3px}
.dashboard .reaction-dialog{width:min(540px,calc(100vw - 24px));padding:0;max-height:94dvh;overflow-y:auto}.reaction-dialog .dialog-top{padding:18px 22px}.reaction-dialog form{padding:0 22px 22px}.reaction-upload{margin-bottom:18px}.reaction-upload input{display:block;width:100%;margin-top:8px;font-size:14px!important}.reaction-upload input::file-selector-button{background:#3d3d3d;color:#ededed;border:0;border-radius:6px;padding:12px;margin-right:10px}.reaction-crop-preview{aspect-ratio:9/16;width:190px;max-width:100%;margin:auto;background:#131313;overflow:hidden;display:flex;flex-direction:column;border-radius:10px}.crop-panel{position:relative;width:100%;overflow:hidden;cursor:grab;touch-action:none;flex-shrink:0;outline:none;background:#0b0b0b}.crop-panel:active{cursor:grabbing}.crop-panel.selected{box-shadow:inset 0 0 0 2px #ebebeb}.crop-panel.selected:after{content:'';position:absolute;inset:0;border:2px solid #ebebeb;pointer-events:none;z-index:2}.crop-panel video{position:absolute;max-width:none;max-height:none;object-fit:fill;pointer-events:none}.crop-panel>span{position:absolute;inset:0;display:grid;place-items:center;color:#c3c3c3;font-size:15px}.reaction-crop-preview #crop-top{height:31.640625%}.reaction-crop-preview #crop-bottom{height:68.359375%}.reaction-crop-preview[data-layout=stack] .crop-panel{height:50%!important}.reaction-crop-preview[data-layout=two-squares]{align-items:center}.reaction-crop-preview[data-layout=two-squares] .crop-panel{width:88.888889%;height:50%!important}.crop-hint{text-align:center;font-size:13px;color:#b4b4b4;margin:12px 0 18px}.reaction-dialog .two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reaction-dialog .edit-drawer{margin-top:18px}.reaction-dialog .reaction-limit{font-size:13px;margin:12px 0}.reaction-dialog #reaction-submit{width:100%;min-height:48px;justify-content:center;font-size:16px}.dashboard .simple-editor .error{font-size:15px;line-height:1.5}
@media(max-width:760px){.dashboard .simple-editor{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:16px;padding:0}.simple-editor .dialog-top{padding:10px 16px}.simple-editor .edit-stage{height:255px;padding:8px}.simple-editor .edit-workspace{padding:18px 16px 0}.simple-editor .trim-control{padding-inline:12px}.simple-editor .editor-actions{bottom:0;margin:0;padding:12px 0 max(14px,env(safe-area-inset-bottom))}.simple-editor .editor-actions .button{flex:1;min-width:0}.simple-editor .edit-drawer>summary{min-height:56px}.dashboard .simple-editor label{font-size:14px}.dashboard .simple-editor .two-fields{grid-template-columns:1fr 1fr}.dashboard .reaction-dialog{width:calc(100vw - 12px);padding:0;max-height:calc(100dvh - 12px)}.reaction-dialog form{padding:0 16px 18px}.reaction-dialog .dialog-top{padding:12px 16px}.reaction-crop-preview{width:160px}.reaction-dialog .two-fields{grid-template-columns:1fr 1fr}.reaction-dialog .two-fields label{font-size:14px}.reaction-dialog .two-fields select{font-size:14px!important;min-height:46px;padding-inline:8px}.reaction-dialog .crop-hint{font-size:12px}}

.reaction-crop-preview{position:relative}.reaction-crop-preview>.preview-play{left:10px;bottom:10px;z-index:3}

/* Neutral studio chrome. Caption colors belong to the video, not the interface. */
.dashboard{--bg:#111214;--panel:#1b1c20;--text:#f5f5f7;--muted:#a5a7b0;--dash-muted:#a5a7b0;--line:#35363d;--lime:#83c5ff;--accent:#83c5ff;background:var(--bg);color:var(--text)}
.dashboard .sidebar{background:#18191c;border-color:#303136}.dashboard .sidebar .brand img{filter:grayscale(1) brightness(1.2)}
.dashboard .button{border-radius:9px;gap:12px}.dashboard .button:hover{transform:none}
.dashboard .button.lime{background:#f4f4f5;color:#17181b;border:1px solid #f4f4f5}.dashboard .button.lime:hover{background:#dddde1}
.dashboard .button.light{background:#292a30;color:#f4f4f5;border:1px solid #3b3c43}.dashboard .button.outline{background:transparent;color:#dddde3;border:1px solid #484951}
.dashboard .nav-item.active,.dashboard .task-switch button[aria-pressed=true]{background:#303137;color:#fff}
.dashboard .create-panel{background:#1b1c20;border-color:#35363d;box-shadow:none}.dashboard .create-input form{background:#111214;border-color:#44454e}
.dashboard :is(select,input[type=number],input[type=text],input[type=search]),.dashboard #caption-paragraph{background:#131417;border-color:#3a3b43;color:#f5f5f7}
.dashboard dialog{background:#1b1c20;border-color:#3d3e46;box-shadow:0 24px 90px #0009}.dashboard dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}
.dashboard .dialog-top,.dashboard .simple-editor .dialog-top,.dashboard .simple-editor .editor-actions{background:#1b1c20;border-color:#35363d}
.dashboard .icon-button{background:#2b2c32;border-radius:8px;color:#dddde3}.dashboard .simple-editor{border-radius:14px}
.dashboard .edit-stage{background:#0c0d0f}.dashboard .edit-canvas{background:#08090b}.dashboard .preview-play{background:#292a30e6}
.dashboard .trim-rail{background:#25262c}.dashboard .trim-selection{border-color:#f0f0f3}.dashboard .trim-handle:before{background:#f0f0f3}.dashboard .trim-handle span{background:#34353b}
.dashboard .edit-drawer{border-color:#35363d}.dashboard .edit-drawer>summary{color:#f2f2f5}.dashboard .edit-drawer>summary>span,.dashboard .edit-drawer>summary:after{color:#a5a7b0}
.dashboard .music-row{border-color:#37383f}.dashboard .music-row button{background:#222329;color:#dddde3}.dashboard .track-select[aria-pressed=true]{background:#32343b;color:#fff}.dashboard .track-preview{border-color:#37383f!important}
.dashboard :is(input[type=range],input[type=checkbox]){accent-color:var(--accent)}.dashboard .crop-panel.selected{box-shadow:none}.dashboard .crop-panel.selected:after{border-color:var(--accent)}
.dashboard .reaction-upload input::file-selector-button{background:#313239;color:#f4f4f5}
.dashboard .feature-tabs{border-color:var(--line)}.dashboard .feature-tabs button{color:var(--muted)}.dashboard .feature-tabs button[aria-selected=true]{color:#fff;border-color:#fff}
.dashboard .example-controls button{background:#23242a;border-color:#44454d;color:#d7d8df}.dashboard .example-controls button[aria-pressed=true]{background:#34353d;color:#fff;border-color:#858791}
.dashboard .result-card .clip-meta,.dashboard #help-content p,.dashboard .text-button,.dashboard .subtitle-downloads{color:#adb0ba}
.dashboard .result-card{background:#1b1c20;border-color:#35363d}.dashboard .result-card video{background:#0c0d0f}
.dashboard .processing-orbit span{background:#303138;border-color:#81838f}
.dashboard .edit-canvas[data-loading=true] video,.dashboard .edit-canvas[data-loading=true] #caption-preview{visibility:hidden}
.editor-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.6}
.preview-status{position:absolute;inset:0;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;background:#0c0d0f77;z-index:2;color:#f4f4f5;font-size:14px;text-align:center;padding:24px}
.preview-status p{margin:0;max-width:280px}.preview-status button{border:1px solid #62646e;border-radius:7px;background:#292a30;color:white;padding:10px 20px;min-height:44px}
@media(max-width:760px){.dashboard .sidebar nav{background:#18191cf5;border-color:#35363d}.dashboard .simple-editor{border-radius:12px}}
