/* Explicit surfaces fix light cards inheriting the mobile dark text palette. */
.social-ghost .review-stage,.social-ghost .distribution,.social-ghost .story-content{background:var(--social-audio-bg)!important;color:var(--social-audio-ink)!important;border:1px solid var(--social-audio-line)!important}
.social-ghost .review-stage{padding:18px;border-radius:18px;min-width:0}
.social-ghost .review-stage .mini-label,.social-ghost .distribution h3,.social-ghost .distribution b,.social-ghost .story-content .author b,.social-ghost .preview-card .author b{color:var(--social-audio-ink)!important}
.social-ghost .distribution small,.social-ghost .preview-card .author small,.social-ghost .story-content .author small,.social-ghost .social-preview-note{color:var(--social-audio-muted)!important}
.social-ghost .distribution h3{font-size:15px}.social-ghost .route-item b{font-size:13px}.social-ghost .route-item small{font-size:12px;line-height:1.6}
.social-ghost .preview-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.social-ghost .preview-controls .mini-label{flex:1 0 100%;font-size:12px;letter-spacing:.8px}
.social-ghost .segmented{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:var(--social-audio-input);border:1px solid var(--social-audio-line);border-radius:12px}
.social-ghost .segmented button,.social-ghost #socialPreviewExpand,.social-ghost .social-preview-close{min-height:44px;padding:9px 14px;border:1px solid var(--social-audio-line);border-radius:9px;background:var(--social-audio-control)!important;color:var(--social-audio-ink)!important;font:600 13px/1.4 system-ui}
.social-ghost .segmented button[aria-pressed=true]{background:#6941c6!important;color:#fff!important;border-color:#6941c6;box-shadow:0 2px 8px #6941c633}
.social-ghost .social-preview-note{font:12px/1.6 system-ui;margin:0 0 16px}
.social-ghost .review-stage #preview2.device-phone{width:min(390px,100%);max-width:100%;border:4px solid var(--social-audio-line);border-radius:25px}
.social-ghost .post-actions,.social-ghost .post-meta{color:var(--social-audio-muted)!important}
.social-ghost .post-meta span,.social-ghost .poll-preview,.social-ghost .answer{background:var(--social-audio-control)!important;color:var(--social-audio-ink)!important;border-color:var(--social-audio-line)!important}
.social-ghost .post-copy img[role=button],.social-ghost .post-media img[role=button]{cursor:zoom-in}
.social-ghost #socialReviewDialog{box-sizing:border-box;width:min(1200px,calc(100vw - 20px));max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:auto;padding:12px;overflow:auto;background:var(--social-audio-bg);color:var(--social-audio-ink);border:1px solid var(--social-audio-line);border-radius:18px}
#socialReviewDialog::backdrop{background:#090614bf}.social-ghost .social-preview-close{position:sticky;top:0;display:block;margin:0 0 10px auto;z-index:2}.social-ghost #socialReviewDialog .review-stage{border:0!important;padding:4px}.social-ghost #socialReviewDialog .post-copy img,.social-ghost #socialReviewDialog .post-media img{max-height:70dvh!important}
.social-ghost .footer{justify-content:flex-start!important;min-width:0;background:var(--social-audio-bg)!important;border-color:var(--social-audio-line)!important}
.social-ghost .footer-left{width:100%;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.social-ghost .footer-right:empty{display:none}
.social-ghost .footer .footer-left>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:8px 12px!important;border:1px solid var(--social-audio-line)!important;border-radius:10px!important;background:var(--social-audio-control)!important;color:var(--social-audio-ink)!important;font:600 13px/1.4 system-ui!important;white-space:nowrap}
.social-ghost .footer #back{border-color:var(--social-audio-accent)!important;color:var(--social-audio-accent)!important}
.social-ghost .footer button:hover{filter:brightness(.96)}.social-ghost .footer button svg{width:17px;height:17px;color:inherit;stroke:currentColor}
.social-ghost .footer [hidden]{display:none!important}
@media(max-width:600px){.social-ghost .review-stage{padding:12px}.social-ghost #page2{padding-inline:10px!important}.social-ghost .preview-controls{gap:8px}.social-ghost .segmented button{padding-inline:10px;font-size:12px}.social-ghost .footer-left{gap:6px}.social-ghost .footer .footer-left>button{font-size:12px!important;padding-inline:9px!important}}

.social-ghost #preview2.device-phone{max-width:min(390px,100%)!important;border-color:var(--social-audio-line)!important}
.social-ghost #socialSession.social-session-recovery{position:fixed;z-index:200;left:12px;right:12px;bottom:72px;max-width:760px;margin:auto;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:16px;border:1px solid var(--social-audio-line);border-radius:14px;background:var(--social-audio-bg);color:var(--social-audio-ink);box-shadow:0 8px 40px #0003;font:13px/1.6 system-ui}
.social-ghost #socialSession.social-session-recovery>span,.social-ghost #socialSession.social-session-recovery>small{flex-basis:100%}
.social-session-recovery a,.social-session-recovery button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #a58ac8;border-radius:10px;padding:8px 12px;background:#6941c6;color:#fff!important;font:600 13px/1.4 system-ui;text-decoration:none}
