.social-ghost .social-timing-panel{flex:none;max-height:30dvh;overflow:auto;margin:4px 76px;padding:8px 12px;border:1px solid var(--social-audio-line);border-radius:12px;background:var(--social-audio-bg);color:var(--social-audio-ink);font:12px/1.5 system-ui}
.social-timing-top,.social-timing-presets,.social-timing-fields{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.social-timing-top{justify-content:space-between}.social-timing-panel button{min-height:40px;padding:6px 10px;border:1px solid var(--social-audio-line);border-radius:9px;color:var(--social-audio-ink)!important;background:var(--social-audio-control)!important;font:600 12px/1.4 system-ui;cursor:pointer}.social-timing-panel button[aria-pressed=true]{background:#6941c6!important;color:white!important;border-color:#6941c6}.social-timing-panel label{color:inherit!important;display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:5px 0}.social-timing-panel input[type=number]{width:90px;min-width:0;min-height:36px;border:1px solid var(--social-audio-line);border-radius:8px;background:var(--social-audio-input);color:var(--social-audio-ink);padding:6px}.social-timing-panel input[type=checkbox]{width:18px;height:18px;accent-color:#8f58df}.social-timing-panel summary{cursor:pointer;padding:7px 0}.social-timing-panel p{margin:5px 0;overflow-wrap:anywhere}.social-timing-error{color:var(--social-audio-accent)!important;font-weight:650}.social-timing-panel button:disabled{opacity:.5;cursor:default}.social-ghost .social-timing-dialog{box-sizing:border-box;width:min(700px,calc(100vw - 20px));max-height:calc(100dvh - 20px);margin:auto;padding:12px}.social-timing-dialog>button{min-height:44px;border:1px solid #9977b7;background:#efe6fb;color:#43235f;padding:8px 16px;border-radius:10px}.social-timing-dialog::backdrop{background:#0c0618b0}.social-ghost .social-timing-panel[hidden]{display:none!important}
@media(max-width:600px){.social-ghost .social-timing-panel{margin-inline:10px;max-height:24dvh}.social-timing-top>strong{font-size:11px}.social-timing-panel button{min-height:44px}.social-timing-presets{gap:4px}}
@media(min-width:900px){.social-ghost .social-timing-panel{margin-inline:120px 110px}}
/* Step 2 explanations share the same readable surface as audio settings. */
.social-ghost #storySettings,.social-ghost #storySettings .studio-separation,.social-ghost #studioInfoDialog{background:var(--social-audio-bg)!important;color:var(--social-audio-ink)!important;border:1px solid var(--social-audio-line)!important;border-radius:12px;padding:14px}
.social-ghost #storySettings .block-title,.social-ghost #storySettings b,.social-ghost #studioInfoDialog h2{color:var(--social-audio-ink)!important}
.social-ghost #storySettings p,.social-ghost #studioInfoDialog p,.social-ghost #studioInfoDialog li{color:var(--social-audio-muted)!important;font-size:13px;line-height:1.6}
.social-ghost #storyStudioInfo,.social-ghost #closeStudioInfo{color:var(--social-audio-accent)!important;background:var(--social-audio-control)!important;border:1px solid var(--social-audio-line);border-radius:9px;min-height:44px;padding:8px 12px}
.social-ghost #storySettings svg{color:var(--social-audio-accent);stroke:currentColor}
.social-ghost .social-tag-hint{display:block;color:var(--social-audio-muted);font:12px/1.6 system-ui;margin-top:6px}.social-tag-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px;min-width:0}.social-tag-chips span{color:var(--social-audio-ink);background:var(--social-audio-control);border:1px solid var(--social-audio-line);padding:4px 9px;border-radius:20px;font:12px/1.5 system-ui;overflow-wrap:anywhere;max-width:100%}.social-ghost #tags[aria-invalid=true]{border-color:#b02950!important}

.social-ghost #sgTools{top:calc(var(--sg-top,0px) + 155px + var(--social-timing-height,0px));max-height:calc(var(--sg-height,100dvh) - 230px - var(--social-timing-height,0px))}
.social-ghost #sgStyle{top:calc(var(--sg-top,0px) + 155px + var(--social-timing-height,0px));max-height:calc(var(--sg-height,100dvh) - 230px - var(--social-timing-height,0px))}
@media(max-height:500px){.social-ghost #sgTools,.social-ghost #sgStyle{top:calc(var(--sg-top,0px) + 100px + var(--social-timing-height,0px));max-height:calc(var(--sg-height,100dvh) - 170px - var(--social-timing-height,0px))}}
