fastframes-voice / assets /studio.css
fffiloni's picture
Keep Hugging Face sign-in in the current tab, including embedded sessions
236388e verified
Raw History Blame Contribute Delete
23.7 kB
@font-face{font-family:Barlow;src:url('./gradio_api/file=assets/Barlow-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:Barlow;src:url('./gradio_api/file=assets/Barlow-SemiBold.ttf') format('truetype');font-weight:600 900;font-display:swap}
@font-face{font-family:"Barlow Controls";src:url('./gradio_api/file=assets/Barlow-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
:root,body,gradio-app,.gradio-container{color-scheme:dark;background:#111414!important;--body-background-fill:#111414;--body-background-fill-dark:#111414;--studio-ink:#f1f0eb;--studio-dim:#aab2b1;--studio-warm:#ffb354}
.gradio-container{max-width:none!important;padding:0!important;min-height:100dvh!important;color:var(--studio-ink)!important}
#studio{font-family:Barlow,Arial,sans-serif;width:min(1320px,calc(100% - clamp(24px,7vw,100px)),calc((100svh - 258px)*1.7334));min-width:min(100% - 24px,680px);margin:0 auto;gap:0!important;padding:0 0 12px}
#studio button,#studio a{font:inherit}#studio button{touch-action:manipulation;cursor:pointer}
#studio button:focus-visible,#studio a:focus-visible{outline:2px solid var(--studio-warm);outline-offset:3px}
#studio-header,#cover,#voice-desk,#studio-credits{padding:0!important;border:0!important;background:transparent!important;line-height:1.3}
.mast,.mast-actions,.langs,.mast h1,.credit-line,.credit-line>div,.control-cell,.mic-key,.status-row,.stage-status,.stop{display:flex;align-items:center}
.mast{justify-content:space-between;min-height:68px;border-bottom:1px solid #49504e;margin-bottom:16px;gap:8px}
.mast h1{font:650 clamp(23px,2.3vw,35px)/1 Barlow,Arial,sans-serif!important;letter-spacing:-.035em;color:#f3f3ee;gap:12px;margin:0!important}
.mast h1 svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.mast-actions{gap:17px}.langs{color:#6d7775;gap:2px;font-size:13px}.langs button{border:0;background:none;padding:8px 4px;min-height:42px;color:var(--studio-dim)}
.langs button[aria-pressed=true]{color:var(--studio-warm);text-decoration:underline;text-underline-offset:6px}
.stop,.mic-key{color:#f2f2ee;background:#151818;border:1px solid #59605f;border-radius:6px;gap:8px;min-height:42px;padding:0 13px}
.stop:disabled{opacity:.5;cursor:default!important}.stop-icon{width:10px;height:10px;border-radius:2px;background:currentColor}
#monitor{isolation:isolate;position:relative!important;display:grid!important;overflow:hidden;aspect-ratio:832/480;width:100%;background:#080909;border:1px solid #373c3b;border-radius:6px;gap:0!important}
#monitor>#cover,#monitor #live-feed,#monitor #last-take,#monitor #cover{position:absolute!important;inset:0;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;border:0!important}
#live-feed,#last-take{visibility:hidden;opacity:0;pointer-events:none;background:#080909!important}
#monitor[data-mode=saved] #last-take{visibility:visible;opacity:1;pointer-events:auto;z-index:2}
#monitor[data-mode=saved] #cover{visibility:hidden}
#monitor video{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;display:block;background:#080909}
#cover .viewfinder,#cover .still{height:100%;width:100%;position:absolute;inset:0;object-fit:contain}
.viewfinder:after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78));pointer-events:none}
.cover-copy{position:absolute;z-index:1;left:clamp(16px,3vw,40px);bottom:clamp(16px,2.6vw,34px);display:grid;gap:5px;color:#f6f6f0}
.cover-copy strong{font-size:clamp(21px,3vw,38px);line-height:1.05;letter-spacing:-.035em}
.cover-copy>span:last-child{font-size:14px;line-height:1.2}.label{color:var(--studio-dim);font-size:13px}.cover-copy .label{color:#e8e7de}
.console{margin-top:8px;background:#212422;border:1px solid #3b423e;border-radius:6px}
.console-body{display:grid;grid-template-columns:minmax(155px,.85fr) minmax(0,1fr) minmax(0,1.1fr);align-items:stretch;padding:13px 0}
#voice-control{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:center;justify-items:start;gap:6px 8px}
#voice-hint{grid-column:1/-1;color:#c0c8c2;font:400 13px/1.35 Barlow,Arial,sans-serif}
#studio #dictate-next{grid-column:1/-1;min-height:44px;padding:0 10px;border:1px solid #68776d;border-radius:5px;background:#303a34;color:#f2f3ee;font:600 14px/1.2 Barlow,Arial,sans-serif}
#voice-queued{grid-column:1/-1;color:#d1d7d3;font:600 13px/1.35 Barlow,Arial,sans-serif}
#voice-draft-actions{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:4px}
#studio #voice-draft-actions button{min-height:44px;padding:0 10px;border:1px solid transparent;border-radius:5px;background:transparent;color:#ced5d0;font:600 14px/1.2 Barlow,Arial,sans-serif}
#studio #voice-draft-actions #send-voice{background:#303a34;border-color:#68776d;color:#f2f3ee}
#studio #voice-draft-actions button:disabled{opacity:.6;cursor:default}
#voice-control canvas{max-width:100%}
.control-cell,.readout{padding:0 clamp(12px,1.6vw,24px)}.control-cell{gap:9px}.readout{min-width:0;border-left:1px solid #47504d}.readout p{margin:4px 0 0!important;font:500 clamp(15px,1.4vw,20px)/1.25 Barlow,Arial,sans-serif;overflow-wrap:anywhere;color:#f6f5ef}
.mic-key{border-radius:24px;padding:0 15px;font-weight:600!important;white-space:nowrap}.mic-key[data-mic-state=listening]{border-color:#c59153}.mic-key[aria-disabled=true]{opacity:.6}.mic-key svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.control-cell canvas{width:54px;height:25px}
/* The status sits at the monitor edge, above the spoken and interpreted directions. */
#inference-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-height:38px;padding:7px clamp(12px,1.6vw,24px);border-bottom:1px solid #3b4340;border-radius:5px 5px 0 0;background:#272d29;color:#ced5d0}
#inference-status .stage-status{flex:1 1 11rem;gap:10px;margin:0!important;min-width:0;line-height:1.25;color:inherit;font-size:15px}
#stage-text{color:inherit;font-weight:600;overflow-wrap:anywhere}
#inference-status[data-state=working]{background:#302b23;color:#ffdaa7;border-bottom-color:#5e5140}
#inference-status[data-state=error]{background:#382b28;color:#ffccbd;border-bottom-color:#685048}
#status-dot{flex:none;width:9px;height:9px;border:1px solid currentColor;border-radius:50%}
#inference-status[data-state=working] #status-dot{width:24px;height:13px;padding:2px;border-radius:2px;overflow:hidden}
#inference-status[data-state=working] #status-dot::before{content:"";display:block;height:100%;background:repeating-linear-gradient(90deg,currentColor 0 4px,transparent 4px 7px);animation:ff-transport 1s linear infinite}
#inference-status[data-state=error] #status-dot{border-radius:2px;transform:rotate(45deg);background:currentColor}
#frame-count{font:600 14px/1.2 Barlow,Arial,sans-serif;font-variant-numeric:tabular-nums;color:inherit}
#frame-progress{display:block;flex:1 0 100%;width:100%;height:4px;margin:0;appearance:none;border:0;border-radius:2px;overflow:hidden;background:#51493d;color:#f4b769;accent-color:#f4b769}
#frame-progress::-webkit-progress-bar{background:#51493d}
#frame-progress::-webkit-progress-value{background:#f4b769}
#frame-progress::-moz-progress-bar{background:#f4b769}
@keyframes ff-transport{to{background-position:7px 0}}
@media(prefers-reduced-motion:reduce){#inference-status #status-dot::before{animation:none!important}}
.take-limit{white-space:nowrap}.credit-line{border-top:1px solid #444c49;padding-top:12px;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;color:var(--studio-dim);font-size:13px}.credit-line>div{flex-wrap:wrap;gap:8px 15px}.credit-line a{color:inherit!important;text-decoration:none!important}.credit-line a:hover{text-decoration:underline!important}
#cpu-signal,#gpu-signal,#control-signal{display:none!important}
@media(max-width:720px){#studio{width:calc(100% - 24px);min-width:0}.mast{min-height:58px;margin-bottom:10px}.mast h1{gap:7px}.mast h1 svg{width:20px}.mast-actions{gap:6px}.stop{padding:0 8px;font-size:13px!important}.console-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0}.control-cell{grid-column:1/-1;padding:10px 12px;border-bottom:1px solid #434a47}.readout{padding:10px 12px}.readout:nth-child(2){border-left:0}.credit-line{font-size:12px}.cover-copy{gap:2px}.cover-copy>span:last-child{max-width:30ch;font-size:12px}.langs button{min-width:27px}}
@media(max-width:370px){.mast h1{font-size:20px!important}.mast h1 svg{display:none}.mast-actions{gap:2px}}
#studio-header,#voice-desk,#cover,#studio-credits{--block-padding:0;--body-text-color:#f1f0eb;--body-text-color-subdued:#aab2b1;color:#f1f0eb}
#studio .cover-copy strong,#studio .cover-copy>span:last-child,#studio .mic-key,#studio .mic-key span,#studio .mic-key svg,#studio .mast h1 svg,#studio .stop,#studio .stop span{color:#f4f4f0!important}
#studio .take-limit,#studio .credit-line,#studio .credit-line a,#studio .credit-line a span{color:#b5bdb9!important}
#studio .mic-key,#studio .stop{margin:0;line-height:1.1}.mast-actions{flex-shrink:0}
@media(max-width:720px){#studio{width:100%;min-width:0}.mast h1{white-space:nowrap;font-size:clamp(18px,5vw,25px)!important}.mast .stop{white-space:nowrap}#studio-header,#voice-desk,#studio-credits{--block-padding:0}}
@media(max-width:720px){
body div:has(> div > main #studio){padding:8px 12px!important;box-sizing:border-box;width:100%!important}
#studio .mast{gap:4px}#studio .mast-actions{gap:4px}#studio .langs{gap:0}
#studio .langs button{min-width:24px;padding:8px 2px}#studio .stop{padding:0 8px}
}
@media(max-width:365px){#studio .mast h1{font-size:18px!important}#studio .mast h1 svg{display:none}}
#mic-key .mic-slash {display:none}
#mic-key[data-mic-state=muted] .mic-slash {display:block;stroke-width:2.6}
#studio #retry-cue {min-height:44px;margin-left:auto;padding:0 12px;border:1px solid #666e6b;border-radius:5px;background:#222726;color:#f4f4f0}
#studio #retry-cue[hidden] {display:none!important}
#held-frame{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#080909}
#monitor[data-mode=hold] #held-frame{display:block}
#monitor[data-mode=hold] .viewfinder{display:none}
#cue-screen{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#080909}
#monitor[data-mode=live] #cue-screen{display:block}
#monitor[data-mode=live] .viewfinder{display:none}
#voice-desk [hidden]{display:none!important}
.cue-tools,.input-switch,.duration,.composer{display:flex;align-items:center}
.cue-tools{justify-content:space-between;gap:10px;margin-top:12px}
.input-switch{display:inline-flex;gap:2px;justify-self:start;flex:none;border:1px solid #515b55;border-radius:6px;padding:2px;background:#151918}
#studio .input-switch button{background:transparent;color:#b8bfbc;border:0;border-radius:4px;min-height:44px;padding:0 12px}
#studio .input-switch button[aria-pressed=true]{background:#3b4440;color:#fff;font-weight:600;box-shadow:none;text-decoration:none}
.duration{font-size:14px;color:#c4ccc7;gap:8px}
#cue-seconds,#video-model,#cue-text{color:#f4f4ef;background:#191d1b;border:1px solid #666f67;border-radius:5px;font:inherit}
#text-control{margin-top:10px}#text-control label{display:block;margin-bottom:4px}
.composer{align-items:stretch;gap:8px}.composer textarea{flex:1;min-width:0;padding:9px 12px;resize:vertical}
#studio #send-text{padding:6px 14px;border-radius:5px;border:1px solid #a17a42;background:#f4b769;color:#211911;min-height:44px;font-weight:600}
#studio #send-text:disabled{background:#323932;color:#aeb7ad;border-color:#51584f;cursor:default}
#studio :is(select,textarea):focus-visible{outline:2px solid var(--studio-warm);outline-offset:2px}
#voice-desk[data-input=text] .console-body{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
#voice-desk[data-input=text] .readout:nth-child(2){border-left:0}
#interpreter{color:#b4beb7;font-size:12px}
@media(max-width:540px){.duration{gap:5px}.composer{flex-direction:column}.composer button{align-self:flex-end}.composer textarea{font-size:16px!important;width:100%}.cue-tools{margin-top:8px}.credit-line{line-height:1.4}}
/* The standalone HF page inserts its own fixed, 42 px account bar at top:12px. */
body:has(#huggingface-space-header) #studio{margin-top:54px}
html:has(#huggingface-space-header){scroll-padding-top:60px}
#redo-control{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-left:auto;padding:0 4px;font-size:14px;cursor:pointer}
#redo-control input{width:19px;height:19px;appearance:auto;accent-color:#ffb354;flex:none;margin:0}
#redo-control:has(input:disabled){color:#aab2b1;cursor:default}
#redo-control input:focus-visible{outline:2px solid #ffb354;outline-offset:3px}
.cue-tools{flex-wrap:wrap}
.cue-choice,.cue-choice>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cue-choice{margin-top:8px;justify-content:space-between}
#studio .cue-choice button{min-height:44px;padding:0 12px;background:#262d29;color:#f2f2ec;border:1px solid #657069;border-radius:5px}
#studio .cue-choice button[aria-pressed=true],#studio #use-variant{border-color:#e3aa63}
@media(max-width:570px){#redo-control{order:2;flex-basis:100%;margin:0}.cue-tools{row-gap:0}.cue-choice>div{gap:5px}#studio .cue-choice button{padding:0 9px}}
/* The monitor and the three-part sound desk share a single column. */
#work-area{display:flex!important;flex-direction:column!important;align-items:stretch;gap:0!important}
#work-area>*{width:100%;min-width:0!important}
.mast nav button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 6px;background:none;border:0;color:#c6ccc6}
.mast nav button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6}
.mast .langs{border-right:1px solid #46504a;padding-right:12px}
#studio:not([data-view=gallery]) #nav-studio,#studio[data-view=gallery] #nav-gallery{display:none}
#studio[data-view=gallery] #end-take{display:none}
#voice-desk .mic-key{background:#0b0d0c;border-color:#343a36;min-height:44px}
#voice-desk .control-cell canvas{width:65px}
#voice-desk .readout p{font-size:clamp(15px,1.45vw,19px)}
#interpreter:empty{display:none}
.desk-rail{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;margin-top:12px}
.desk-rail .cue-tools{margin-top:0;gap:6px 14px}
#studio .input-switch button:focus-visible{outline:2px solid #e3e7e4;outline-offset:1px}
.desk-rail .duration,#redo-control{font-size:15px;font-weight:600;color:#d1d9d3}
#studio .desk-rail select{
appearance:none;-webkit-appearance:none;box-sizing:border-box;max-width:100%;
height:48px;min-width:4.5rem;padding:0 34px 0 13px;border:1px solid #758078;border-radius:6px;
font:700 17px/1.2 "Barlow Controls",Barlow,Arial,sans-serif;background-color:#2a312d;color:#f4f4ef;
background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
background-position:right 16px center,right 11px center;background-size:5px 5px;background-repeat:no-repeat
}
#studio .desk-rail select:disabled{color:#bac3bc;-webkit-text-fill-color:#bac3bc;opacity:1;border-color:#4e5952}
@media(forced-colors:active){#studio .desk-rail select{appearance:auto;background-image:none;padding-right:8px}}
#voice-desk[data-has-clip=false] #redo-control{display:none}
#voice-desk[data-review=true] .cue-tools,#voice-desk[data-review=true] #text-control{display:none!important}
.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
#studio .collection-heading h2{font:600 23px/1.15 Barlow,Arial,sans-serif;margin:0;color:#f3f2e9}
#collection,#gallery-signal{display:none!important}
#studio[data-view=gallery] #work-area{display:none!important}
#studio[data-view=gallery] #collection{display:flex!important;min-height:240px;gap:12px}
#collection[data-watch=false] #gallery-video{display:none!important}
#gallery-video{width:min(880px,100%);align-self:center}
#gallery-video video{width:100%;object-fit:contain;max-height:65vh}
#collection .sessions{padding:4px 0 18px}
.collection-heading{display:flex;align-items:baseline;border-bottom:1px solid #424b44;padding:0 0 13px}
#gallery-scope,#collection-status,#saved-grid p{color:#b3beb6;font-size:14px}
#collection-status{margin:16px 0}#collection [hidden]{display:none!important}
#saved-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:20px;padding:16px 0 4px}
#saved-grid article{min-width:0}#saved-grid img{width:100%;aspect-ratio:832/480;object-fit:contain;background:#0c100e;border-radius:5px}
#studio #saved-grid h3{margin:8px 0 2px;font:600 17px/1.18 Barlow,Arial,sans-serif;overflow-wrap:anywhere}
#saved-grid p{margin:3px 0 8px}
#collection button{min-height:44px;color:#eeeae2;background:#283029;border:1px solid #59645b;border-radius:5px;padding:0 12px}
#collection button:disabled{opacity:.5;cursor:default}#gallery-more{margin-top:12px}
@media(max-width:720px){
#studio .mast-actions{gap:4px}.mast .langs{padding-right:4px}
#studio .mast nav button{padding:0 4px}
.desk-rail{display:flex;align-items:center;gap:10px 18px}
.desk-rail .cue-tools{flex:1 1 auto;justify-content:flex-start;gap:8px 18px}
#redo-control{flex-basis:auto;order:0;margin-left:0}
.collection-heading{flex-wrap:wrap}
}
@media(max-width:540px){
#studio .mast nav button{width:38px;justify-content:center}
#nav-gallery span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#studio .mast #nav-studio{width:auto}
#voice-desk .control-cell{padding:9px 12px}
#voice-desk .readout p{font-size:15px}
}
#studio #provider-account{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:0 0 12px}
#studio #provider-help{min-width:0;padding:0;color:#b5bdb9;font:400 14px/1.3 Barlow,Arial,sans-serif}
#studio #provider-login{min-width:0;justify-self:start;background:#222a25!important;color:#f2f2eb!important;border:1px solid #59665c;border-radius:5px;min-height:44px;padding:0 12px}
#studio .langs button{min-width:32px;min-height:44px}
#gallery-panel{padding:0!important;border:0!important;background:transparent!important;--block-padding:0}
@media(max-width:580px){
#saved-grid{grid-template-columns:1fr;gap:0}
#saved-grid article{display:grid;grid-template-columns:minmax(82px,28%) minmax(0,1fr);column-gap:12px;padding:14px 0;border-bottom:1px solid #38423b;align-content:start}
#saved-grid article img{grid-column:1;grid-row:1/4}
#studio #saved-grid h3,#saved-grid article>p,#saved-grid article>div{grid-column:2}
#studio #saved-grid h3{margin:0;font-size:16px}
#saved-grid article>p{font-size:13px;margin:4px 0 7px}
}
@media(max-width:540px){
#studio .mast{flex-wrap:wrap;row-gap:4px;padding:4px 0 8px}
#studio .mast-actions{margin-left:auto}
#studio #provider-account{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:16px}
#studio #provider-help{--block-padding:0;font-size:13px}
}
#studio #loop-preview{position:absolute;bottom:10px;right:10px;z-index:3;min-height:44px;padding:0 12px;border-radius:5px;border:1px solid #818883;background:#151918ed;color:#fff;font-size:13px}
#studio #loop-preview[aria-pressed=true]{border-color:#dcaf77}
#studio #loop-preview[hidden]{display:none}
/* Keep the first action in reach while the monitor retains its native proportions. */
@media(min-width:721px){
#studio{width:min(1240px,calc(100% - 64px),max(544px,calc((100svh - 372px)*1.7333)));min-width:min(544px,100% - 32px)}
}
@media(max-width:720px){
body div:has(> div > main #studio){padding:0!important}
#studio .mast #nav-gallery{width:auto}
#nav-gallery span{position:static;width:auto;height:auto;clip-path:none}
#studio .mast h1{font-size:clamp(18px,5vw,22px)!important}
}
#voice-desk[data-review=true] .input-switch{display:none}
#clip-notice,#timeline header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#clip-notice{margin-top:5px;color:#f0c58e;font-size:14px}
#studio #back-to-shot{background:transparent;color:#f3f1eb;border:1px solid #667069;border-radius:5px;min-height:44px;padding:0 12px}
#monitor #clip-player,#monitor #last-take{display:none;position:absolute;inset:0}
#monitor[data-mode=saved] #cover{visibility:visible}
#monitor[data-mode=saved] .viewfinder{display:none}
#monitor[data-mode=saved] #last-take,#monitor[data-inspect=true] #clip-player{display:block;visibility:visible;opacity:1;pointer-events:auto;z-index:4}
#monitor[data-inspect=true] #clip-player{z-index:6}
#monitor[data-inspect=true] #loop-preview{display:none}
.movie-player video{display:block;width:100%;object-fit:contain;background:#080909}
#studio .movie-player a{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;color:#fff;background:#202722;border:1px solid #667069;border-radius:5px;text-decoration:none}
#studio .movie-player a:not([href]){display:none}
#monitor .movie-player a{position:absolute;top:8px;right:8px}
#gallery-video a{margin-top:8px}
#timeline{border-top:1px solid #444c49;margin:16px 0 0;padding-top:12px;min-width:0}
#studio[data-view=studio] #studio-credits{margin-top:16px}
#timeline header{margin-bottom:6px}
#studio #timeline h2{margin:0;font:600 15px/1.2 Barlow,Arial,sans-serif;color:#f0f0e9}
#timeline-length,.clip-time{color:#b5bdb9;font-variant-numeric:tabular-nums;font-size:12px}
#clip-list{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 3px 7px;scrollbar-width:thin}
#studio #clip-list button{display:grid;grid-template-columns:1fr;gap:3px;text-align:left;flex:0 0 132px;min-width:0;padding:4px;border:1px solid #49534d;border-radius:4px;background:#1d2320;color:#e8ebe6}
#clip-list img{display:block;width:100%;height:auto;aspect-ratio:832/480;object-fit:contain;background:#111}
.clip-title{font-size:13px;font-weight:600}#studio #clip-list button[aria-pressed=true]{border-color:#ffb354}
#studio #clip-list button:disabled{cursor:default}
#studio-title:focus-visible,#gallery-title:focus-visible{outline:2px solid #ffb354;outline-offset:3px}
#studio #provider-login{padding:0;background:none!important;border:0;min-height:0}
#studio #provider-login a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;background:#222a25;border:1px solid #59665c;border-radius:5px;color:#f2f2eb;text-decoration:none}
#account-leave,#account-storage{margin-top:6px;color:#eceeea}
#provider-help [hidden]{display:none!important}
#provider-help button,#provider-help input{font:inherit;color:inherit;border:1px solid #657268;background:#232b26;border-radius:5px;padding:5px 10px;min-height:44px}
#provider-help input{width:min(100%,34em);margin-top:4px}
#account-leave button{margin:4px 6px 0 0}
#studio:not([lang=fr]) #provider-login [lang=fr],#studio[lang=fr] #provider-login [lang=en]{display:none!important}
@media(max-width:720px){
#studio{
--studio-gutter:clamp(12px,4vw,20px);
position:relative;left:50%;transform:translateX(-50%);
width:calc(100vw - var(--studio-gutter) - var(--studio-gutter))!important;
max-width:none!important;min-width:0!important;align-self:flex-start;
margin-left:0!important;margin-right:0!important
}
.desk-rail #redo-control{flex-basis:100%}
}
@media(max-width:480px){
.desk-rail .cue-tools{flex-basis:100%;max-width:22.5rem;display:grid;grid-template-columns:minmax(0,1fr) minmax(4.5rem,29%);align-items:end;gap:8px 12px}
.desk-rail .duration{flex-direction:column;align-items:stretch;gap:4px;min-width:0}
.desk-rail #redo-control{grid-column:1/-1}
.desk-rail #fixed-length{align-self:end;justify-content:center;min-height:48px}
}