:root{color-scheme:dark;--navy:#071c3b;--blue:#005BBB;--yellow:#FFD500}*{box-sizing:border-box}body{margin:0;background:var(--navy);color:#f1f5ff;font-family:Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,.button{border:1px solid var(--yellow);border-radius:999px;padding:.8rem 1.15rem;background:var(--yellow);color:var(--navy);font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #fff;outline-offset:3px}a{color:var(--yellow)}input,select{background:var(--blue);border:1px solid #77b9ff;color:white;border-radius:12px;padding:.8rem;width:100%}h1{font-size:clamp(1.5rem,4vw,2.4rem);line-height:1.1}p{line-height:1.45}.shell{width:min(760px,100%);padding:16px;margin:auto}.brand{display:flex;align-items:center;gap:10px}.brand img{width:34px;height:48px}.brand strong{font-size:1.15rem}.top{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #315177;padding-bottom:14px;margin-bottom:24px}.muted{color:#b2c8e3}.error{color:#FFD500;min-height:1.4em}.offline{position:fixed;bottom:0;left:0;right:0;padding:12px;background:#5a1747;color:white;text-align:center;z-index:10}.mood-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 22px}.mood-option{border:2px solid #4f90d1;border-radius:15px;background:var(--blue);color:var(--yellow);padding:16px 8px;cursor:pointer;text-align:center}.mood-option:has(input:checked){border-color:var(--yellow);box-shadow:0 0 0 2px var(--yellow)}.mood-option input{position:absolute;opacity:0;width:1px}.mood-option:focus-within{outline:2px solid white;outline-offset:3px}.mood-option span{display:block;font-size:2rem;margin-bottom:8px}.mood-option b{font-size:1.1rem}.privacy{font-size:.85rem;color:#b2c8e3}.frame{display:block;width:100%;border:0;height:calc(100dvh - 102px);min-height:500px}.participant-training .shell{width:100%;max-width:none;padding-bottom:0}.participant-training .top{margin-bottom:8px}.participant-training #content{margin:0 -16px}.participant-training .extra-choice{margin:12px 16px}.extra-choice{display:flex;flex-wrap:wrap;gap:10px}.secondary{background:transparent;color:var(--yellow)}.screen-note{text-align:center;padding:clamp(18px,5vh,60px) 10px}.screen-note .big-icon{font-size:3.5rem}.screen-note h1{color:var(--yellow)}.mirror{width:100%;display:block;aspect-ratio:16/9;object-fit:contain;background:#000}.phone-mirror{margin:24px 0}.download-list{display:flex;gap:15px;flex-wrap:wrap}.downloads{border-top:1px solid #315177;margin-top:45px;padding-top:18px}.download-qr{width:180px;background:white}.teacher-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;position:sticky;bottom:0;background:var(--navy);padding:16px 0}.teacher-nav button{font-size:1.4rem;min-height:66px}.teacher-preview{width:100%;aspect-ratio:16/9;border:1px solid #315177;background:#000;overflow:hidden;position:relative}.teacher-preview .slide{position:absolute;inset:0;font-size:12px}.teacher-preview .slide h1{font-size:24px}.teacher-preview .slide p{font-size:14px}.teacher-preview .slide .big-icon{font-size:32px}.teacher-meta{display:flex;justify-content:space-between;gap:12px;margin:14px 0}.teacher-links{display:flex;flex-wrap:wrap;gap:15px;margin-top:24px}.projector{background:#000;overflow:hidden}.projector #app{height:100dvh;width:100vw;display:grid;place-items:center}.projection{width:min(100vw,177.7778dvh);height:min(100dvh,56.25vw);position:relative;overflow:hidden}.slide{width:100%;height:100%;background:linear-gradient(to bottom,#295d9e 50%,#ffe000 50%);color:#ffe000;display:flex;flex-direction:column;justify-content:center;position:relative}.slide>img.pdf{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.slide h1{font-size:clamp(28px,4.8vw,88px);margin:0;line-height:1.08}.slide p{font-size:clamp(18px,2.5vw,50px);margin:16px 0 0}.slide .upper,.slide .lower{height:50%;padding:5%;display:flex;flex-direction:column;justify-content:center}.slide .lower{color:#295d9e}.slide .big-icon{font-size:clamp(40px,7vw,120px)}.pie-slide{background:#071c3b;color:white;padding:4% 6%;justify-content:flex-start}.pie-slide h1{color:var(--yellow);font-size:clamp(26px,4vw,70px)}.pie-layout{flex:1;min-height:0;display:flex;align-items:center;gap:7%;margin-top:3%}.pie{width:37%;aspect-ratio:1;border-radius:50%;flex-shrink:0;background:#005BBB;box-shadow:0 0 0 3px #fff2}.pie-legend{display:grid;gap:18px;width:55%;font-size:clamp(18px,2.5vw,48px)}.pie-legend>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.pie-slide .total{font-size:clamp(14px,1.8vw,30px);color:#b2c8e3}.phone-chart .pie-slide{aspect-ratio:16/12;padding:25px 12px}.phone-chart .pie-legend{font-size:15px;gap:14px}.phone-chart .pie-slide h1{font-size:25px}.phone-chart .pie-layout{gap:5%}.phone-chart .total{font-size:14px}.teacher-preview .pie-slide{padding:3%}.teacher-preview .pie-legend{font-size:14px;gap:10px}.teacher-preview .pie-slide h1{font-size:24px}.teacher-preview .total{font-size:12px}.waiting-auth{max-width:520px;padding:25px}.projector .waiting-auth h1{font-size:26px}.projector .offline{font-size:18px}.qr-overlay{position:absolute;left:24.9%;top:0%;width:50.5%;height:100%;object-fit:contain;background:white}.qr-note{position:absolute;bottom:1%;left:0;right:0;text-align:center;font-size:1rem;color:#295d9e}@media(max-width:500px){.top{margin-bottom:18px}.mood-options{gap:8px}.shell{padding:12px}.participant-training #content{margin:0 -12px}.teacher-preview .slide h1{font-size:18px}.teacher-preview .slide p{font-size:11px}.teacher-preview .pie-legend{font-size:10px;gap:5px}.teacher-preview .pie-slide h1{font-size:18px}.teacher-preview .total{font-size:10px}}
#top-right{display:flex;align-items:center;gap:10px}.help-bell{width:44px;height:44px;padding:9px;display:grid;place-items:center;background:transparent;color:var(--yellow);border-radius:50%}.help-bell.requested{background:var(--yellow);color:var(--navy);opacity:1}.participant-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.help-request{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--blue);padding:12px;border-radius:14px;margin-bottom:10px}#help-requests{margin:25px 0}

body.teacher .shell{padding:12px;max-width:760px}body.teacher .teacher-preview{width:calc(100% + 24px);margin-left:-12px;border-left:0;border-right:0}body.teacher .teacher-nav{padding-top:12px;gap:12px}body.teacher .teacher-nav button{min-height:64px}

.emblem-easter-egg{display:block;background:none;border:0;border-radius:0;padding:0;line-height:0}

.pie{position:relative;container-type:inline-size}.pie-emoji{position:absolute;transform:translate(-50%,-50%);font-size:clamp(14px,16cqi,64px);line-height:1;filter:drop-shadow(0 1px 2px #071c3b66);pointer-events:none}

.controller-start{align-items:center;justify-content:center;gap:2%;text-align:center;background:#071c3b;padding:3%;color:#fff}
.controller-start h1{color:#FFD500;font-size:clamp(23px,4vw,74px)}
.controller-start>p{margin:0;font-size:clamp(14px,1.8vw,32px)}
.controller-start>.controller-kicker{font-size:clamp(12px,1.5vw,28px);color:#b2c8e3}
.controller-qr{height:55%;aspect-ratio:1;background:#fff;flex-shrink:1;min-height:0;line-height:0}
.controller-qr svg{display:block;width:100%;height:100%}
.controller-start>.controller-wait{color:#b2c8e3;font-size:clamp(12px,1.4vw,25px)}
.objective-slide .upper{height:35%}.objective-slide .lower{height:65%}.objective-slide{background:linear-gradient(to bottom,#295d9e 35%,#ffe000 35%)}.objective-slide .lower p{font-size:clamp(23px,4vw,76px);font-weight:700;line-height:1.25;margin:0;max-width:25em}.teacher-preview .objective-slide .lower p{font-size:clamp(15px,3vw,27px)}.phone-slide{aspect-ratio:16/10;margin:24px 0;overflow:hidden}.phone-slide .slide h1{font-size:clamp(26px,6vw,45px)}.phone-slide .objective-slide .lower p{font-size:clamp(18px,4vw,28px)}

.answer-time-setting{margin:24px 0;padding:16px 0;border-top:1px solid #315177;border-bottom:1px solid #315177}
.answer-time-setting label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700}
.answer-time-setting output{color:#FFD500;font-size:1.35rem;min-width:4ch;text-align:right}
.answer-time-setting input[type=range]{width:100%;min-height:44px;padding:0;margin:8px 0 0;border:0;background:transparent;accent-color:#FFD500;cursor:pointer;-webkit-appearance:none;appearance:none}
.answer-time-setting input::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:#005BBB}
.answer-time-setting input::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:#FFD500;margin-top:-9px}
.answer-time-setting input::-moz-range-track{height:8px;border-radius:999px;background:#005BBB}
.answer-time-setting input::-moz-range-thumb{width:26px;height:26px;border:0;border-radius:50%;background:#FFD500}
.answer-time-limits{display:flex;justify-content:space-between;color:#b2c8e3;font-size:.85rem}
.answer-time-setting p{font-size:.85rem;color:#b2c8e3;margin:12px 0 0}
