/* Question phases only. Text is live data; the atmospheric art hook is text-free. */
.tv-mode .tv-scene.cinematic-question{background-color:#062e3a;background-image:linear-gradient(#052c3726,#031d2a44),var(--tv-quizshow-art,url('/assets/tv-quiz-show-stage-v2.webp'));background-position:center;background-size:cover}
.tv-mode .cinematic-question .tv-question-tools{color:#fff8e6}
.tv-mode .cinematic-question .tv-phase-clock{display:flex;align-items:center;gap:12px;padding:0 10px;border:0;border-radius:16px;background:#062c39b8;box-shadow:inset 0 0 0 1px #82b7b255,inset 0 1px 0 #ffffff17}
.tv-mode .cinematic-question .tv-phase-label{font-size:18px;line-height:1.3;max-width:12ch;color:#e3f7f2}
.tv-mode .cinematic-question .tv-phase-timer{background:transparent;color:#ffe49b;padding-inline:0;border-radius:0}
.tv-mode .cinematic-question .tv-question-tools button{border-color:#bda265;background:linear-gradient(#fffdf5,#f8edcf);box-shadow:inset 0 1px 0 white,0 3px 0 #021e2b66;color:#123d48}
.tv-mode .cinematic-question .tv-question-tools button:focus-visible{outline:3px solid #f5c451;outline-offset:4px}
.tv-mode .cinematic-question .tv-question-size bdi{color:#fff2c5}
.tv-mode .tv-quizshow-stage{flex:1 1 0;min-height:0;min-width:0;width:100%;position:relative;isolation:isolate;border:1px solid #dfbd79;border-radius:24px;background:linear-gradient(145deg,#fffdf5,#fff8e9 75%);box-shadow:inset 0 2px 0 #fff,0 12px 28px #011b2766;overflow:hidden}
.tv-mode .tv-quizshow-stage::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,#fff5cb,transparent);pointer-events:none}
.tv-mode .tv-quizshow-stage .tv-fit-layout{position:relative;background:transparent}
.tv-mode .tv-quizshow-stage .exp-tv-question-main{background:transparent}
.tv-mode .tv-quizshow-stage .question-card{background:transparent;border:0;border-radius:0;box-shadow:none;color:#123d48}
.tv-mode .tv-quizshow-stage .round-audience{background:transparent;border:0;padding-block:0;margin-block:0 3px;gap:4px 12px}
.tv-mode .tv-quizshow-stage .round-category{background:#fff0c5;border:1px solid #dfbd79;color:#705216;box-shadow:inset 0 1px 0 #fff9de;padding-block:1px}
.tv-mode .tv-quizshow-stage .round-target-members li{background:#fff8e6;border-color:#d7c9a3}
.tv-mode .tv-quizshow-stage .question-card>.eyebrow,.tv-mode .tv-quizshow-stage .question-card>h2{color:#47716d}
.tv-mode .tv-quizshow-stage .question-prompt{text-align:center;color:#123d48;font-weight:700}
.tv-mode .tv-quizshow-stage .canonical-source{background:transparent;border:0;color:#123d48;text-align:center;box-shadow:none}
.tv-mode .tv-quizshow-stage .canonical-source cite{color:#4b6565;text-align:center}
.tv-mode .tv-quizshow-stage .answers .answer.read-only{--choice:#d35c4a;--answer-fill:#ffd1c2;--answer-highlight:#fff0e5;--answer-shade:#f5a990;background:linear-gradient(155deg,var(--answer-highlight),var(--answer-fill) 28%,var(--answer-fill) 74%,var(--answer-shade));border-color:var(--choice);border-inline-start-width:6px;border-radius:16px;box-shadow:inset 0 2px 0 #ffffffed,inset 0 -3px 0 #123d4822,0 4px 0 var(--choice),0 5px 9px #123d481a;color:#123d48;cursor:default}
.tv-mode .tv-quizshow-stage .answers .answer:nth-child(1){--choice:#d35c4a;--answer-fill:#ffd1c2;--answer-highlight:#fff0e5;--answer-shade:#f5a990}
.tv-mode .tv-quizshow-stage .answers .answer:nth-child(2){--choice:#087c83;--answer-fill:#b8ede2;--answer-highlight:#eafff8;--answer-shade:#86d5c5}
.tv-mode .tv-quizshow-stage .answers .answer:nth-child(3){--choice:#4774d8;--answer-fill:#bad9ff;--answer-highlight:#e9f4ff;--answer-shade:#8fbdf2}
.tv-mode .tv-quizshow-stage .answers .answer:nth-child(4){--choice:#b68c1d;--answer-fill:#ffe09b;--answer-highlight:#fff4ce;--answer-shade:#f3c66a}
.tv-mode .tv-quizshow-stage .exp-answer-cue{filter:drop-shadow(0 2px 0 #123d4833)}
.tv-mode .tv-quizshow-stage .exp-answer-cue>img{width:100%;height:100%}
.tv-mode .tv-quizshow-stage .exp-answer-cue>span{font-size:20px;line-height:32px;text-shadow:0 1px 0 #ffffff66}
.tv-mode .tv-quizshow-stage .exp-answer-copy{font-weight:800;text-align:center;justify-content:center;line-height:1.4}
.tv-mode .tv-quizshow-stage .tv-answer-members{border-top-color:#123d4826;color:#244e57}
.tv-mode .tv-quizshow-stage .tv-answer-name-grid>span{background:#ffffffb3;border:1px solid #123d4810;border-radius:999px}
.tv-mode .tv-quizshow-stage .tv-answer-members-label button{background:#ffffffbd;border-color:#47716d66;color:#123d48}
.tv-mode .tv-quizshow-stage .answer.revealed{border-color:#c99723;box-shadow:inset 0 2px 0 #fff,0 4px 0 #9470203d,0 0 0 2px #f5c45166}
.tv-mode .tv-quizshow-stage .answer.revealed::after{content:none}
.tv-mode .tv-quizshow-stage .answer.revealed .exp-answer-cue::after{content:"✓";position:absolute;inset-inline-end:-4px;inset-block-end:-4px;display:grid;place-items:center;width:14px;height:14px;background:#f5c451;border:1px solid #fff9e7;border-radius:50%;color:#087c83;font:900 12px/1 Arial,sans-serif}
.tv-mode .tv-quizshow-stage .reveal-card{max-width:none;border:0;border-top:1px solid #d7bd80;background:transparent;border-radius:0;box-shadow:none;text-align:center;color:#123d48}
.tv-mode .cinematic-question>.tv-navigation-bar{background:linear-gradient(120deg,#083d4b,#062b39);border:1px solid #c6a46099;color:#fff8e6;box-shadow:inset 0 1px 0 #fff4ce33,0 6px 16px #011e2b55}
.tv-mode .cinematic-question .tv-bottom-brand{color:#fff2c5}
.tv-mode .cinematic-question .tv-bottom-caption>span{color:#bce4dd}
.tv-mode .cinematic-question .tv-bottom-caption>strong{color:#fff8e6}
.tv-mode .cinematic-question .tv-bottom-progress{color:#e8f5e8}
.tv-mode .cinematic-question .tv-bottom-actions button{background:#fff8e8;border-color:#9bbcb7;color:#123d48}
.tv-mode .cinematic-question .tv-bottom-actions>button.tv-bottom-menu{background:linear-gradient(#ffda74,#f5c451);border-color:#f5d785;color:#123d48}
.tv-mode .cinematic-question .tv-bottom-actions button:focus-visible{outline-color:#f5c451}
@media(prefers-reduced-motion:reduce){.tv-mode .tv-quizshow-stage,.tv-mode .tv-quizshow-stage *{animation:none!important;transition:none!important}}
.reduce-motion .tv-quizshow-stage,.reduce-motion .tv-quizshow-stage *{animation:none!important;transition:none!important}

.tv-mode .tv-quizshow-stage .canonical-source[data-source-kind=hadith]{font-size:max(calc(56px * var(--tv-text-pref,1) * var(--tv-unit,1)),calc(35px * var(--tv-unit,1)))}
.tv-mode .cinematic-question .tv-bottom-progress>span{color:#e8f5e8}

.tv-mode .tv-quizshow-stage:not(:has(.canonical-source)) .question-prompt{font-size:calc(var(--tv-plain-size,44px) * var(--tv-text-pref,1) * var(--tv-unit,1))}

/* Forty-pixel badges reuse horizontal padding, preserving the existing text lane. */
.tv-mode .tv-quizshow-stage .answers .answer.read-only{grid-template-columns:calc(40px * var(--tv-unit,1)) minmax(0,1fr);padding-inline:calc(2px * var(--tv-unit,1))}
.tv-mode .tv-quizshow-stage .answer .exp-answer-top,.tv-mode .tv-quizshow-stage .exp-answer-cue{width:calc(40px * var(--tv-unit,1))}
.tv-mode .tv-quizshow-stage .exp-answer-cue{height:calc(40px * var(--tv-unit,1))}
.tv-mode .tv-quizshow-stage .exp-answer-cue>span{font-size:calc(24px * var(--tv-unit,1));line-height:calc(40px * var(--tv-unit,1))}
.tv-mode .tv-quizshow-stage .round-target-members li.tv-participants-more{padding:0;border:0;background:transparent}
.tv-mode .tv-quizshow-stage .tv-participants-more button{min-height:32px;padding:1px 10px;border:1px solid #ba9554;border-radius:12px;background:#fff1c8;color:#123d48;font:inherit;font-weight:700;white-space:nowrap}
.tv-mode .tv-quizshow-stage .tv-participants-more button:focus-visible{outline:3px solid #087c83;outline-offset:2px}

/* Scrollable reader enlarges the actual fitted text while keeping scripture largest. */
.tv-question-reader{max-width:min(92vw,1500px)}
.tv-mode .tv-question-reader .canonical-source{font-size:max(44px,var(--tv-reader-source-size,44px))}
.tv-mode .tv-question-reader .canonical-source[data-source-kind=quran]{font-size:max(52px,var(--tv-reader-source-size,52px))}
.tv-question-reader .reader-prompt{font-size:max(36px,var(--tv-reader-prompt-size,36px))}
.tv-question-reader h3{font-size:max(28px,var(--tv-reader-choice-size,28px))}

.tv-question-size .tv-text-size-label{display:grid;align-content:center;justify-items:center;min-height:44px;line-height:1.2}
.tv-text-size-label small{font-size:12px;line-height:1.1;color:#ffe49b;white-space:nowrap}
.tv-mode .cinematic-question .tv-question-tools button[aria-disabled=true]{background:#d7dfd9;color:#62736f;border-color:#8caaa3;cursor:not-allowed;box-shadow:none}
