/* Focused home and a shared visual frame for the Audio and Video modes. */
body:not(.glanceMode) .thread{padding-top:clamp(20px,4vh,48px)}
body:not(.glanceMode) .welcome{max-width:700px;padding:clamp(20px,4vh,42px) 10px 18px}
body:not(.glanceMode) .welcome .symbol{display:none}
body:not(.glanceMode) .welcome .suggestions{display:none!important}
body:not(.glanceMode) .welcomeEyebrow{display:block;margin:0 auto 12px;color:#555;font-size:11px;font-weight:750;letter-spacing:.15em}
body:not(.glanceMode) .welcome h2{max-width:16ch;margin:0 auto;color:var(--bolo-ink);font-size:clamp(30px,4.5vw,42px);line-height:1.08;letter-spacing:-.045em;font-weight:680}
body:not(.glanceMode) .welcome p{max-width:38ch;margin:11px auto 0;color:var(--bolo-muted);font-size:15px;line-height:1.5}
body:not(.glanceMode) .composer{position:relative;padding:15px 16px 12px;border-radius:22px;background:#fff}
body:not(.glanceMode) .composerline{gap:14px}
body:not(.glanceMode) .recordPrompt{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:10px;min-width:0;flex:1}
body:not(.glanceMode) .recordPrompt .boloVoiceSticker{grid-column:1;grid-row:1/3;width:40px;height:40px;object-fit:contain;align-self:center;margin:0}
body:not(.glanceMode) .recordPrompt strong{grid-column:2;grid-row:1;font-size:15px;line-height:1.25}
body:not(.glanceMode) .recordPrompt span{grid-column:2;grid-row:2;margin-top:2px;font-size:12px;line-height:1.35}
body:not(.glanceMode) .composer .record{min-width:112px;min-height:54px;height:54px;border-radius:16px}
body:not(.glanceMode) .composertools{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:11px}
body:not(.glanceMode) .composertools .readerEntry{min-height:42px;padding:9px 12px;border-radius:11px}
body:not(.glanceMode) .audioMoreTools{position:relative;flex:0 0 auto}
body:not(.glanceMode) .audioMoreTools>summary{min-height:42px;padding:8px 12px;border:1px solid var(--bolo-line);border-radius:11px;background:#fff;color:#555b70;font-size:13px;cursor:pointer;list-style:none}
body:not(.glanceMode) .audioMoreTools>summary::-webkit-details-marker{display:none}
body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu{position:absolute;z-index:25;right:0;bottom:calc(100% + 9px);display:grid;grid-template-columns:1fr 1fr;gap:8px;width:min(350px,calc(100vw - 48px));max-height:min(48dvh,390px);overflow:auto;padding:12px;border:1px solid #e2e2e2;border-radius:16px;background:#fff;box-shadow:0 14px 36px #2020201e}
body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu label:first-child{grid-column:1/-1}
body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu label{display:grid;gap:5px;align-content:start;color:#626575;font-size:12px;line-height:1.35}
body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu select,
body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu input{width:100%;min-width:0;min-height:42px;padding:8px 10px;border:1px solid #dedee4;border-radius:10px;background:#fff;color:#25252a;font-size:14px}
body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu .tool{min-height:44px;border:1px solid var(--bolo-line);border-radius:10px;background:#fff;font-size:13px;text-align:center;white-space:normal}
body:not(.glanceMode) .caption{margin-top:7px;font-size:11px}
body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint:before{width:min(520px,calc(100vw - 32px));height:min(520px,calc(100dvh - 170px));border-radius:24px}
body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint{gap:10px;padding:24px 20px}
body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint #videoCameraDescription{max-width:34ch;font-size:14px!important;line-height:1.5}
body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoLimitNote{max-width:34ch;margin:0;font-size:12px;line-height:1.45;text-align:center}
body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint #videoEnable{min-height:52px;min-width:190px;padding:12px 22px;border-radius:15px;font-size:15px!important}
body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoSetupActions{margin-top:0}
html[data-theme=dark] body:not(.glanceMode) .composer{background:#222;border-color:#454545}
html[data-theme=dark] body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu{background:#242424;border-color:#555}
html[data-theme=dark] body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu select,
html[data-theme=dark] body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu input{background:#292929;color:#f0f0ed;border-color:#555}
html[data-theme=dark] body:not(.glanceMode) .audioMoreTools[open] .audioMoreMenu .tool{background:#292929;color:#f0f0ed;border-color:#555}
html[data-theme=dark] body:not(.glanceMode) .audioMoreTools>summary{background:#292929;border-color:#555;color:#f0f0ed}
@media(max-width:760px){
 body:not(.glanceMode) .thread{padding:8px 14px 260px!important}
 body:not(.glanceMode) .welcome{padding:22px 4px 14px!important}
 body:not(.glanceMode) .welcomeEyebrow{margin-bottom:9px;font-size:10px;letter-spacing:.14em}
 body:not(.glanceMode) .welcome h2{max-width:18ch;font-size:clamp(29px,8vw,36px);line-height:1.08}
 body:not(.glanceMode) .welcome p{max-width:34ch;margin-top:9px;font-size:14px;line-height:1.45}
 body:not(.glanceMode) .composerwrap{padding:12px 12px max(10px,env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--bolo-canvas) 18%)}
 body:not(.glanceMode) .composer{padding:13px 13px 10px;border-radius:20px}
 body:not(.glanceMode) .composerline{gap:10px}
 body:not(.glanceMode) .recordPrompt{grid-template-columns:36px minmax(0,1fr);column-gap:8px}
 body:not(.glanceMode) .recordPrompt .boloVoiceSticker{width:35px;height:36px}
 body:not(.glanceMode) .recordPrompt strong{font-size:14px}
 body:not(.glanceMode) .recordPrompt span{font-size:11px}
 body:not(.glanceMode) .composer .record{min-width:104px;min-height:50px;height:50px;padding:0 13px;border-radius:15px;font-size:14px}
 body:not(.glanceMode) .composertools{gap:7px;margin-top:9px}
 body:not(.glanceMode) .composertools .readerEntry,body:not(.glanceMode) .audioMoreTools>summary{min-height:42px;padding:8px 11px;font-size:12px}
 body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint:before{height:min(460px,calc(100dvh - 150px))}
 body.phoneUI:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint{position:absolute!important;inset:0!important;justify-content:center;gap:9px;padding:20px 16px}
 body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint strong{font-size:23px!important}
 body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint #videoCameraDescription{font-size:13px!important}
 body:not(.glanceMode) #videoDialog.reelStudio[data-phase=off][data-review=false] .videoCameraHint #videoEnable{min-width:180px;min-height:48px}
}
@media(max-width:360px){
 body:not(.glanceMode) .recordPrompt .boloVoiceSticker{display:none}
 body:not(.glanceMode) .recordPrompt{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
 body:not(.glanceMode) .composer .record{min-width:96px}
}
@media(prefers-reduced-motion:reduce){body:not(.glanceMode) .composer .record{transition:none}}

/* Keep first-use guidance inside BOLO's established monochrome design system. */
body:not(.glanceMode) .firstWelcome{border-color:var(--bolo-line);background:#fff;color:var(--bolo-ink);box-shadow:0 5px 18px #2020200d}
body:not(.glanceMode) .firstWelcome span{color:var(--bolo-accent);font-size:13px;font-weight:700}
body:not(.glanceMode) .firstWelcome small{color:var(--bolo-muted);font-size:12px;line-height:1.4}
body:not(.glanceMode) .firstWelcome button{background:var(--bolo-accent-soft);color:var(--bolo-ink)}
html[data-theme=dark] body:not(.glanceMode) .firstWelcome{background:#222;border-color:#454545;color:#f0f0ed}
html[data-theme=dark] body:not(.glanceMode) .firstWelcome span{color:#f0f0ed}
html[data-theme=dark] body:not(.glanceMode) .firstWelcome small{color:#c6c6c6}

/* Returning creators can pick up their last session without searching history. */
body:not(.glanceMode) .continueRecent{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:min(460px,100%);margin:14px auto 0;padding:12px 15px;border:1px solid var(--bolo-line);border-radius:14px;background:#fff;color:var(--bolo-ink);text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease}
body:not(.glanceMode) .continueRecent:hover{border-color:#c9c9c9;box-shadow:0 5px 16px #20202010}
body:not(.glanceMode) .continueRecent span{font-size:14px;font-weight:650}
body:not(.glanceMode) .continueRecent small{max-width:100%;overflow:hidden;color:var(--bolo-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
body:not(.glanceMode) .continueRecent:focus-visible{outline:2px solid var(--bolo-accent);outline-offset:3px}
html[data-theme=dark] body:not(.glanceMode) .continueRecent{background:#222;border-color:#454545;color:#f0f0ed}
html[data-theme=dark] body:not(.glanceMode) .continueRecent small{color:#c6c6c6}
