
/* Classroom portal: the reveal and delivery are separate, explicit actions. */
.tv-event-control header{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.tv-event-control header>div{flex:1;min-width:200px}.tv-event-control header p{margin:5px 0;color:#626778}
.tv-event-tool-grid{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:24px;margin-top:22px}.tv-event-configuration{display:flex;align-items:stretch;flex-direction:column;gap:12px}.tv-event-configuration label{font-weight:800}.tv-event-configuration select{width:100%;font:inherit;padding:13px;border:1px solid #ded4c3;border-radius:12px;background:white}.tv-event-configuration p{line-height:1.6;margin:0}.tv-event-control button{min-height:44px}
.tv-event-reveal{background:radial-gradient(ellipse at top,#394a50 0,#182128 55%,#14191e);border:1px solid #656044;border-radius:20px;color:#fff8e9;text-align:center;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:310px;overflow:hidden;position:relative}
.tv-event-reveal h2{font:800 clamp(26px,3vw,44px)/1.1 system-ui,sans-serif;margin:16px 0;color:#ffe095;text-wrap:balance}.tv-event-reveal p{color:#ece8dd;line-height:1.5;max-width:65ch}.tv-event-sigil{font-size:62px;color:#ffd575}.tv-event-story{font-size:clamp(18px,1.6vw,24px);text-wrap:pretty}.tv-event-audience{border:1px solid #ffffff30;border-radius:30px;padding:9px 18px;font-size:16px;color:#b9e4e4;max-width:100%;overflow-wrap:anywhere}.tv-event-impact{display:block;margin:18px 0;font-size:22px;color:#ffe095}.tv-event-stage-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.tv-event-stage-actions button{font:700 16px/1.2 system-ui,sans-serif;padding:15px 24px;border-radius:12px;border:1px solid #ffffff50;background:#ffffff12;color:#fff;cursor:pointer}.tv-event-stage-actions button.primary,.tv-event-screen-copy>button.primary{background:#ffd363;color:#171d23;border-color:#ffd363}.tv-event-decision-copy{font-size:16px}
.tv-event-projector{position:fixed;inset:0;max-width:none;max-height:none;width:100vw;height:100dvh;margin:0;border:0;padding:0;background:#111820;color:#fff;z-index:100000;overflow:auto}.tv-event-projector::backdrop{background:#10171f}
.tv-event-screen,.tv-event-screen:fullscreen{box-sizing:border-box;min-height:100dvh;width:100%;background:radial-gradient(ellipse at 50% 35%,#304b56 0,#182731 42%,#10171f 80%);display:flex;flex-direction:column;padding:clamp(20px,3vw,52px);color:#fff;overflow:auto}
.tv-event-screen>header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;letter-spacing:.1em;font:700 13px system-ui;color:#b9d5dc}.tv-event-screen>header button{background:#ffffff0d;border:1px solid #ffffff35;border-radius:10px;color:#fff;padding:12px 18px;font:600 15px system-ui;cursor:pointer}.tv-event-screen-copy{margin:auto;width:min(1250px,100%);text-align:center;display:flex;flex-direction:column;align-items:center;padding:45px 0;position:relative}
.tv-event-screen-copy .eyebrow{font:800 clamp(13px,1.3vw,19px) system-ui;color:#ffd575;letter-spacing:.18em}.tv-event-screen-copy h2{font:850 clamp(38px,6.5vw,100px)/1.06 system-ui,sans-serif;letter-spacing:-.035em;color:#ffdf91;margin:24px 0;text-wrap:balance;animation:tvPortalReveal .6s both}
.tv-event-screen-copy .tv-event-story{font:500 clamp(22px,2.65vw,40px)/1.4 system-ui;margin:8px 0 26px;max-width:55ch}.tv-event-screen-copy .tv-event-audience{font-size:clamp(16px,1.5vw,23px)}.tv-event-screen-copy .tv-event-impact{font-size:clamp(24px,2.6vw,38px);margin:22px 0 6px}.tv-event-screen-copy .tv-event-decision-copy{font:500 clamp(16px,1.4vw,22px)/1.4 system-ui;color:#c6d7de;max-width:70ch}.tv-event-screen-copy button{padding:18px 30px;font-size:clamp(17px,1.5vw,23px);border-radius:14px;cursor:pointer}.tv-event-screen>footer{text-align:center;color:#95aab6;font:14px/1.5 system-ui;letter-spacing:.03em}
.tv-event-screen-copy .tv-event-countdown{font-size:clamp(90px,14vw,180px);z-index:1}.tv-portal-orbits{position:absolute;width:220px;height:220px;top:10%;left:calc(50% - 110px);opacity:.65;pointer-events:none}.tv-portal-orbits i{position:absolute;inset:0;border:2px solid #f7ca6b;border-radius:50%;animation:tvPortalOrbit 2.4s linear infinite;box-shadow:0 0 35px #61d1df40}.tv-portal-orbits i:nth-child(2){inset:20px;animation-direction:reverse;transform:rotateX(60deg)}.tv-portal-orbits i:nth-child(3){inset:-20px;border-style:dashed;animation-duration:5s}.tv-portal-orbits b{font-size:90px;position:absolute;inset:45px;color:#b8f7ff}.tv-event-rolling>p{margin-top:25px}
@keyframes tvPortalOrbit{to{transform:rotate(360deg) rotateY(45deg)}}@keyframes tvPortalReveal{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}
/* Student question language and guided help. */
.tv-question-language{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#17272c;border:1px solid #47616a;border-radius:16px;padding:14px 18px;margin:20px 0;color:#eaf4f5;font:15px/1.4 system-ui}.tv-question-language>div{display:flex;align-items:center;gap:12px}.tv-question-language>div>span{font-size:30px;color:#ffd06e}.tv-question-language label{display:flex;align-items:center;gap:12px;font-weight:700;flex-wrap:wrap}.tv-question-language select{font:600 16px system-ui;color:#fff;background:#233b42;border:1px solid #68848e;border-radius:9px;padding:10px 32px 10px 12px;min-width:170px;max-width:100%}.tv-question-language option{background:#233b42;color:white}.tv-question-language p{margin:0;flex:1;min-width:180px;color:#bed3d9;font:14px/1.5 system-ui}.tv-language-retry{background:#ffd06e;color:#172128;border:0;border-radius:8px;padding:10px 16px;font-weight:700}.tv-language-retry[hidden]{display:none}
.tv-oracle-help-options{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.tv-oracle-help-options button{background:#24373b;color:#def4ef;border:1px solid #52756e;border-radius:30px;padding:11px 15px;font:600 14px/1.2 system-ui;cursor:pointer}.tv-oracle-help-options button:hover{background:#355149}.tv-oracle-help-options button:disabled{opacity:.55}.tv-oracle-live p[role=status]{font:500 17px/1.65 system-ui;white-space:pre-wrap;color:#e5f1ef}.tv-oracle-input input{font-size:16px!important;min-width:0}.tv-oracle-live[aria-busy=true]{border-color:#ddb661}
/* Focused four-step boss builder. */
#workspace.tv-boss-simplified{font-size:16px}.tv-boss-simplified .tv-boss-wizard-shell{max-width:1360px;margin:0 auto}.tv-boss-simplified .tv-boss-wizard-nav{gap:10px;margin-bottom:22px}.tv-boss-simplified .tv-boss-wizard-nav button{min-height:78px;padding:14px 20px;gap:12px;border-radius:14px}.tv-boss-simplified .tv-boss-wizard-nav b{font:750 17px system-ui}.tv-boss-simplified .tv-boss-wizard-nav small{font-size:13px;margin-top:4px}.tv-boss-simplified .tv-boss-wizard-stage{padding:0;border:1px solid #e1d8c9;border-radius:22px;overflow:hidden;background:#fffdf9;box-shadow:0 12px 35px #31251108}
.tv-boss-simplified .tv-boss-stage-head{padding:28px 30px;background:#fff8e9;border-bottom:1px solid #e7ddca;margin:0;align-items:center}.tv-boss-simplified .tv-boss-stage-title{align-items:center;gap:16px}.tv-boss-simplified .tv-boss-stage-title h2{font:750 clamp(25px,2.3vw,34px)/1.18 system-ui;color:#25242a;letter-spacing:-.025em}.tv-boss-simplified .tv-boss-stage-title p{font:15px/1.6 system-ui;max-width:74ch;margin:8px 0 0;color:#5b5e69}.tv-boss-simplified .tv-boss-stage-body{padding:26px 30px}.tv-boss-simplified label{font-size:14px!important;line-height:1.5}.tv-boss-simplified input,.tv-boss-simplified textarea,.tv-boss-simplified select{font:16px/1.5 system-ui!important;padding:12px 14px!important;border:1px solid #d9d0c2;border-radius:10px;max-width:100%;box-sizing:border-box;color:#24252b;background:white}.tv-boss-simplified textarea{min-height:105px;resize:vertical}.tv-boss-simplified button{font-size:14px!important;min-height:42px}.tv-boss-simplified .tv-stage-actions{margin:0;padding:20px 30px;background:#faf7ef;border-top:1px solid #e4dccd}
.tv-boss-editor-fold,.tv-boss-identity-options{border:1px solid #e0d7c8;background:#fff;border-radius:14px;margin:0 0 14px;overflow:hidden}.tv-boss-editor-fold>summary,.tv-boss-identity-options>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:19px 20px;cursor:pointer;font:700 17px/1.35 system-ui;list-style:none;color:#24252d}.tv-boss-editor-fold>summary::-webkit-details-marker,.tv-boss-identity-options>summary::-webkit-details-marker{display:none}.tv-boss-editor-fold>summary>b,.tv-boss-identity-options>summary>span{font:600 13px system-ui;color:#6b614d;white-space:nowrap}.tv-boss-editor-fold[open]>summary{background:#fff8e7;border-bottom:1px solid #e6ddc9}.tv-boss-editor-fold>.tv-rubric-objective{border:0!important;margin:0!important;padding:22px!important;box-shadow:none}.tv-boss-simplified .tv-rubric-approval{display:block}.tv-boss-simplified .tv-rubric-levels{gap:12px;margin-top:18px}.tv-boss-simplified .tv-rubric-levels textarea{min-height:155px}.tv-boss-simplified .tv-tier-strip{padding:20px;gap:14px}.tv-boss-editor-fold>p{padding:0 20px;font-size:14px}.tv-boss-simplified .tv-ai-purpose span{font:15px/1.6 system-ui}.tv-boss-simplified .tv-rubric-save-status{font-size:14px}
.tv-boss-simplified .tv-boss-design-grid{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(360px,1fr)!important;gap:28px;align-items:start!important}.tv-boss-simplified .boss-card{min-height:0!important;height:auto!important;display:flex!important;flex-direction:column;background:linear-gradient(155deg,#202e34,#15171e)!important;border:1px solid #d8c492;border-radius:18px;overflow:hidden;padding:0!important;position:relative;color:#fff!important}.tv-boss-simplified .tv-boss-preview-caption{padding:20px 22px 0;order:-2}.tv-boss-simplified .tv-boss-preview-caption p{font:14px system-ui;color:#b8cbd0;margin:7px 0 0}.tv-boss-simplified #tvBossVisual{position:relative!important;inset:auto!important;width:100%!important;aspect-ratio:1!important;height:auto!important;flex:none;order:-1;border:0!important;border-radius:0!important;min-height:0!important}.tv-boss-simplified .boss-card:after{display:none!important}.tv-boss-simplified .boss-card .boss-overlay{position:relative!important;inset:auto!important;padding:24px!important;background:none!important;color:#fff!important}.tv-boss-simplified #bossName{font:750 30px/1.2 system-ui!important;color:#ffe098!important}.tv-boss-simplified .boss-card p{font-size:15px!important;line-height:1.6}.tv-boss-simplified .boss-setup{padding:24px!important;min-width:0;border-radius:18px;border:1px solid #ded5c5!important;background:white;box-shadow:none!important}.tv-boss-simplified .tv-boss-name-field{display:flex;flex-direction:column;gap:8px;font-weight:750;margin-bottom:20px}.tv-boss-simplified .tv-boss-name-field input{font-size:20px!important;font-weight:700!important}
.tv-boss-identity-options{padding:0 16px;background:#faf8f2;margin-bottom:22px}.tv-boss-identity-options>summary{padding:16px 0;font-size:15px}.tv-boss-identity-options>p{font-size:14px;line-height:1.5;color:#676878}.tv-boss-identity-options label{display:block;margin:12px 0}.tv-boss-identity-options input,.tv-boss-identity-options select,.tv-boss-identity-options textarea{width:100%}.tv-boss-identity-options #generateBoss{width:100%;margin:12px 0 18px}.tv-boss-simplified .tv-boss-visual-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.tv-boss-simplified .tv-boss-visual-grid button{padding:8px!important;border-radius:12px;font-size:12px!important;min-width:0!important;height:auto!important}.tv-boss-simplified .tv-boss-visual-grid button span{font-size:12px!important;overflow:hidden;text-overflow:ellipsis}.tv-boss-simplified .tv-boss-visual-grid img{width:100%!important;height:auto!important;aspect-ratio:1;object-fit:cover;border-radius:8px}.tv-boss-simplified .boss-settings{gap:14px}.tv-boss-simplified .boss-settings label{padding:12px!important}.tv-boss-simplified .tv-boss-final-publish{padding:15px 25px!important;font-weight:800;font-size:16px!important}
@media(min-width:1000px){.tv-boss-simplified .tv-rubric-levels{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.tv-event-tool-grid{grid-template-columns:1fr}.tv-boss-simplified .tv-boss-design-grid{grid-template-columns:minmax(0,1fr)!important}.tv-boss-simplified .tv-boss-stage-head,.tv-boss-simplified .tv-boss-stage-body,.tv-boss-simplified .tv-stage-actions{padding:20px}.tv-boss-simplified .tv-boss-wizard-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-boss-simplified .tv-boss-stage-head{gap:15px}.tv-question-language{padding:14px}.tv-event-screen-copy{padding:40px 0}}
@media(max-width:480px){.tv-boss-simplified .tv-boss-wizard-nav button{padding:12px;min-width:0}.tv-boss-simplified .tv-boss-wizard-nav small{display:none}.tv-boss-simplified .tv-rubric-levels,.tv-boss-simplified .tv-tier-strip{grid-template-columns:1fr}.tv-boss-simplified .tv-boss-stage-title>i{display:none}.tv-boss-simplified .tv-boss-stage-title{grid-template-columns:1fr}.tv-question-language>div,.tv-question-language label{width:100%}.tv-question-language select{flex:1;min-width:0}.tv-event-screen-copy h2{font-size:38px}.tv-event-screen-copy .tv-event-story{font-size:22px}.tv-event-screen>header b{font-size:10px}.tv-event-stage-actions{width:100%}.tv-event-stage-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.tv-portal-orbits i,.tv-event-screen-copy h2{animation:none!important}}

@media(max-width:720px){#workspace.tv-boss-simplified{width:100vw!important;max-width:100vw!important;box-sizing:border-box;padding:18px!important}.tv-boss-simplified .tv-boss-wizard-shell,.tv-boss-simplified .work-head{width:100%;min-width:0;box-sizing:border-box}.tv-boss-simplified .tv-boss-wizard-nav>*{min-width:0}.tv-boss-simplified .tv-boss-design-grid>*{min-width:0;max-width:100%}}

@media(max-width:720px){#teacherConsole .console:has(>#workspace.tv-boss-simplified){grid-template-columns:minmax(0,1fr)!important;width:100vw;max-width:100vw}#workspace.tv-boss-simplified{grid-column:1!important;margin:0!important;justify-self:stretch}}

.tv-quest-battle-head>p,.boss-answer-card>p:not([id]){font:500 18px/1.6 system-ui,sans-serif!important;color:#edf2f1!important}.tv-boss-simplified .boss-card{position:sticky;top:20px}.tv-boss-simplified .tv-boss-wizard-nav b{font-size:17px!important}.tv-boss-simplified .tv-boss-wizard-nav small{font-size:12px!important}.tv-boss-simplified .tv-boss-stage-title p{font-size:15px!important;line-height:1.6!important}
