:root{font-family:"Pretendard","Noto Sans KR","Malgun Gothic",system-ui,sans-serif;color:#342d48;background:#f7f5fc;font-synthesis:none;--purple:#7855d9;--line:#e7e1f0;--muted:#81768e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation;border:0}button:disabled{opacity:.45;cursor:not-allowed}button,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a18adf;outline-offset:3px}input,select{min-width:0}input[type=text],select{border:1px solid #dfd7eb;border-radius:10px;background:white;padding:9px 12px;min-height:40px;font-size:14px;font-weight:650}input[type=checkbox]{width:19px;height:19px;accent-color:var(--purple);flex:none}input[type=range]{accent-color:var(--purple)}h1,h2,p{margin:0}[hidden]{display:none!important}.app-shell{width:95%;max-width:1900px;margin:auto;min-height:100dvh;display:flex;flex-direction:column;padding-bottom:14px}.site-header{display:flex;align-items:center;justify-content:space-between;padding:20px 0;gap:16px}.identity{display:flex;align-items:center;gap:13px}.brand-mark{width:49px;height:53px;display:grid;place-items:center;background:var(--purple);color:#fff;font:900 40px Georgia,serif;border-radius:16px;transform:rotate(-5deg);position:relative}.brand-mark>span{font-size:18px;color:#ffe09b;position:absolute;right:2px;top:0}.brand{font-size:12px;font-weight:800;color:#81708f}.brand>span{font-size:10px;font-weight:500;margin-left:8px;color:#978ca4}h1{font-size:27px;letter-spacing:-1.2px;margin-top:3px;line-height:1.25}h1>span{color:var(--purple)}.tools{display:flex;gap:8px}.utility{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:12px;background:#fffc;padding:10px 14px;font-weight:750;font-size:18px;min-height:42px;color:#756784}.utility span{font-size:12px}.utility:hover,.secondary:hover{background:#ede6fa}.settings{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 5px 20px #58358008;padding:17px 22px}.settings-top{display:grid;grid-template-columns:1fr 1.2fr 1.4fr 1.9fr;gap:25px;align-items:center}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:750;color:#8c7e9c;min-width:0}.field>select{width:100%}.input-unit{display:flex;align-items:center;gap:3px;border:1px solid #dfd7eb;border-radius:10px;color:#8e7ba0;font-size:12px;min-width:0;background:#fff}.input-unit>input{border:0;width:100%;background:none;font-size:17px;font-weight:800;min-height:38px}.input-unit>span{padding-right:12px}.inline{display:flex;gap:7px;min-width:0}.inline>select{flex:1;width:100px}.inline>.input-unit{width:87px}.inline>.input-unit input{width:50px;padding:8px}.fit-option{display:flex;align-items:center;gap:9px;padding-left:20px;border-left:1px solid var(--line);cursor:pointer}.fit-option span{display:flex;flex-direction:column;gap:6px}.fit-option strong{font-size:13px;color:#65517d}.fit-option small{font-size:10px;color:#9b8da9}.settings-bottom{display:grid;grid-template-columns:1.7fr 1fr 1.5fr;gap:25px;align-items:center;border-top:1px solid #f0eaf5;margin-top:14px;padding-top:13px}.candidate-config{min-width:0}.field-title{display:flex;align-items:center;gap:15px;font-size:11px;font-weight:750;color:#8c7e9c;margin-bottom:8px}.segmented{display:flex;border-radius:7px;background:#f5f1fa;padding:2px}.segmented button{padding:4px 8px;border-radius:5px;background:transparent;color:#9b8da8;font-size:10px;font-weight:700}.segmented button[aria-pressed=true]{background:white;color:#7855c5;box-shadow:0 1px 4px #66517a14}.range-controls{display:flex;align-items:center;gap:10px;color:#a394b0;font-size:12px}.range-controls select{width:77px;padding:7px 10px;min-height:35px}.number-options{display:flex;gap:5px;flex-wrap:wrap}.number-options button{height:34px;min-width:33px;border:1px solid #e7dff0;border-radius:9px;background:white;font-weight:800;font-size:13px;color:#ac9bb8}.number-options button[aria-pressed=true]{background:#eee6fd;border-color:#c9b5ef;color:#734cc1}.candidate-preview{border-left:1px solid var(--line);padding-left:25px;display:flex;flex-direction:column;gap:4px;min-width:0}.candidate-preview>span{font-size:10px;color:#9d8ea9}.candidate-preview strong{color:#7855c5;font-size:18px;font-weight:850;letter-spacing:1px;overflow-wrap:anywhere}.candidate-preview small{font-size:10px;color:#9a8ba5;line-height:1.5}.validation{color:#ac5c74;font-size:11px;line-height:1.5;margin-top:8px;min-height:0}.validation:empty{display:none}.game{display:flex;flex-direction:column;flex:1;min-height:0}.game-top{display:flex;align-items:center;justify-content:space-between;padding:16px 3px 12px;gap:12px}.round-info{display:flex;align-items:center;gap:11px}.round-pill{border-radius:8px;background:#eae3f7;color:#7855c5;font-size:11px;padding:6px 10px;font-weight:850}.round-info>span:last-child{font-size:11px;color:#9d8cab}.active-summary{font-size:12px;color:#9785a5}.stage{position:relative;isolation:isolate;flex:1;min-height:280px;border-radius:27px;overflow:hidden;background:#f0edf9;border:1px solid #e9e2f5;display:flex;align-items:center;justify-content:center}.stage:before,.stage:after{content:"";position:absolute;z-index:-1;border:1px solid #e3dcf1;border-radius:50%;width:630px;height:630px;left:50%;top:50%;transform:translate(-50%,-50%)}.stage:after{width:830px;height:830px}.stage-grain{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 15% 70%,#e5f2eb 0,transparent 45%),radial-gradient(ellipse at 85% 30%,#fff3dc 0,transparent 43%);opacity:.9}.welcome{text-align:center;padding:28px 20px 22px;width:100%}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1px;color:#9b88ad}.welcome h2{font-size:clamp(23px,2.5vw,44px);letter-spacing:-1.5px;margin-top:10px;word-break:keep-all}.welcome p{font-size:13px;color:#a08ca9}.welcome-people{display:flex;justify-content:center;gap:4px;margin:15px auto 12px;width:min(420px,70%)}.welcome-people svg{height:95px;width:74px;transform:rotate(-8deg)}.welcome-people svg:nth-child(2n){transform:translateY(-7px) rotate(8deg)}.live-stage{width:100%;text-align:center;padding:20px 200px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}.status-text{font-size:clamp(20px,2.1vw,35px);font-weight:800;letter-spacing:-1px;line-height:1.3}.target-block{display:flex;flex-direction:column;align-items:center}.target-number{font-size:clamp(200px,31dvh,360px);font-weight:950;line-height:.95;letter-spacing:-.06em;color:#7855d9;font-variant-numeric:tabular-nums;text-shadow:0 8px 0 #dfd1f5;padding-right:.05em}.target-caption{font-size:clamp(29px,3.3vw,54px);font-weight:850;letter-spacing:-1.8px;line-height:1.15;margin-top:10px}.people{display:flex;align-items:center;justify-content:center;gap:3px;max-width:720px;width:100%;min-height:60px;margin-top:6px}.person{width:clamp(40px,4.3vw,72px);height:clamp(58px,9dvh,100px);flex:0 1 72px;min-width:0;filter:drop-shadow(0 4px 0 #9e88b00b)}.stage-hint{font-size:13px;color:#9b85a7;margin-top:3px;min-height:19px;line-height:1.4}.timer-box{position:absolute;right:28px;top:27px;min-width:126px;text-align:center;background:#fffd;border:1px solid #e8def2;border-radius:19px;padding:12px 18px;color:#8b6eae}.timer-box>span{font-size:11px;font-weight:750}.timer-box>div{display:flex;align-items:baseline;gap:5px;justify-content:center}.timer-box strong{font-size:clamp(48px,5vw,80px);font-weight:900;font-variant-numeric:tabular-nums;line-height:1.2}.timer-box>div>span{font-size:16px;font-weight:700}.timer-box.urgent{color:#be637a;background:#fff0f3}.progress-wrap{position:absolute;bottom:0;left:0;right:0;height:12px;background:#e5dcf1}.progress-bar{height:100%;width:100%;background:#9c7ade;border-radius:0 8px 8px 0;transform-origin:left}.progress-bar.urgent{background:#cf8096}.pause-banner{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);background:#fffef5;border:1px solid #e6d6a3;box-shadow:0 5px 15px #52436912;border-radius:14px;padding:12px 22px;display:flex;align-items:center;gap:14px;max-width:95%;width:max-content;color:#9b7943}.pause-banner strong{font-size:16px}.pause-banner>span{font-size:12px}.check-panel{display:flex;align-items:center;gap:14px;padding:13px 20px;background:#fff;border:1px solid var(--line);border-radius:15px;margin-top:12px}.check-icon{display:grid;place-items:center;background:#e9f3ec;color:#75a285;border-radius:50%;width:34px;height:34px;font-size:19px;flex:none}.check-panel strong{font-size:15px;font-weight:850;color:#75638c}.check-panel p{font-size:11px;color:#a08baa;margin-top:5px;line-height:1.5}.everyone-note{margin-left:auto;font-size:12px;color:#8e77a5;white-space:nowrap}.game-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 2px 15px}.game-controls>p{font-size:12px;line-height:1.5;color:#9b87a8;max-width:44%}.action-buttons{display:flex;align-items:center;gap:10px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:13px;min-height:50px;padding:13px 25px;font-size:16px;font-weight:800;white-space:nowrap}.primary{background:var(--purple);color:#fff;box-shadow:0 4px 0 #5c3db6}.primary:hover:not(:disabled){background:#6b46cc}.primary:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #5c3db6}.secondary{background:#fff;border:1px solid #dfd4ec;color:#806891}.text-button{background:transparent;padding:12px 14px;color:#9b85a9;font-size:12px;text-decoration:underline;text-underline-offset:4px;min-height:44px}.bottom-note{display:flex;justify-content:space-between;gap:10px;color:#aaa0b6;font-size:10px;padding:0 3px}.bottom-note>span:last-child{font-size:9px;letter-spacing:1px}.notice{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);max-width:90vw;background:#4e3c64;color:#fff;border-radius:13px;padding:14px 22px;font-size:13px;z-index:50;box-shadow:0 6px 25px #41335130}dialog{border:1px solid var(--line);border-radius:24px;padding:26px;width:510px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;background:#fcfaff;color:#493958;box-shadow:0 25px 80px #32203d40}dialog::backdrop{background:#35234066;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.dialog-heading h2{font-size:26px;margin-top:4px}.icon-button{width:38px;height:38px;border-radius:50%;background:#eee7f6;color:#8b729f;font-size:26px}.sound-row{padding:19px 0;border-top:1px solid var(--line)}.sound-row>label:first-child{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:800}.sound-row p{font-size:11px;color:#9b86aa;margin:7px 0 16px;line-height:1.5}.volume{display:flex;align-items:center;gap:12px;font-size:12px;color:#8b749e}.volume input{flex:1;min-width:0}.volume output{width:35px}.dialog-note{font-size:11px;color:#9a84aa;line-height:1.6}dialog>.primary{width:100%;margin-top:19px}.expanded-view .app-shell{width:98%}.expanded-view .brand,.expanded-view .bottom-note{display:none}.expanded-view .site-header{padding:10px 0}:fullscreen{background:#f7f5fc}body[data-phase=preparing] .target-caption{font-size:24px;color:#a28bb3}body[data-phase=preparing] .people{display:none}body[data-phase=preparing] .target-number{color:#8d6dba}body[data-phase=verify] .stage{background:#edf3ef}body[data-phase=verify] .target-number{font-size:clamp(200px,27dvh,310px)}body[data-phase=verify] .live-stage{padding-top:18px;padding-bottom:18px}body[data-phase=verify] .stage-hint{display:none}body.paused .live-stage{opacity:.52}
@media(min-width:1600px){.site-header{padding:25px 0}.settings{padding:22px 30px}.settings-top,.settings-bottom{gap:35px}.field,.field-title{font-size:13px}.fit-option strong{font-size:15px}.fit-option small,.candidate-preview small{font-size:12px}.game-top{padding:20px 3px 15px}.round-pill,.round-info>span:last-child,.active-summary{font-size:14px}.welcome-people svg{height:140px;width:110px}.welcome-people{width:550px;margin:25px auto}.welcome p{font-size:17px}.primary,.secondary{font-size:20px;min-height:60px;padding:16px 29px}.game-controls{padding:20px 0}.game-controls>p{font-size:15px}.bottom-note{font-size:12px}.stage-hint{font-size:17px}.check-panel strong{font-size:19px}.check-panel p{font-size:13px}.everyone-note{font-size:15px}}
@media(max-height:800px) and (min-width:901px){.site-header{padding:13px 0}.settings{padding:12px 19px}.settings-top{gap:20px}.settings-bottom{padding-top:10px;margin-top:10px}.game-top{padding:12px 3px 9px}.welcome{padding:19px}.welcome-people{margin:13px auto 10px}.welcome-people svg{height:86px}.stage{min-height:250px}.game-controls{padding:13px 0}.primary,.secondary{min-height:46px;padding:11px 22px}.live-stage{padding:16px 175px 23px;gap:6px}.target-number{font-size:clamp(200px,30dvh,240px)}.people{min-height:55px;margin-top:1px}.person{height:61px}.stage-hint{font-size:12px;min-height:17px}.timer-box{top:22px;right:24px;padding:10px 14px;min-width:112px}.timer-box strong{font-size:57px}.check-panel{margin-top:10px;padding:10px 17px}body[data-phase=verify] .live-stage{gap:5px}body[data-phase=verify] .target-number{font-size:210px}.target-caption{font-size:37px}}
@media(max-width:1100px){.settings-top{grid-template-columns:1fr 1.2fr 1.3fr;gap:14px}.fit-option{grid-column:1/-1;border:0;padding:0}.fit-option span{flex-direction:row;align-items:center}.settings-bottom{grid-template-columns:1.5fr 1fr;gap:16px}.candidate-preview{grid-column:1/-1;border-left:0;padding-left:0;flex-direction:row;align-items:center;gap:12px}.candidate-preview strong{font-size:15px}.live-stage{padding-left:140px;padding-right:140px}.timer-box{right:20px;min-width:100px;padding:10px}.timer-box strong{font-size:48px}.everyone-note{display:none}.game-controls>p{max-width:34%}}
@media(max-width:700px){.app-shell{width:94%;padding-bottom:16px}.site-header{padding:17px 0;flex-wrap:wrap;gap:12px}.brand-mark{width:42px;height:45px;border-radius:13px;font-size:34px}.brand{font-size:11px}.brand>span{font-size:9px;margin-left:5px}h1{font-size:24px}.identity{gap:10px}.tools{margin-left:auto}.utility{min-height:38px;padding:7px 12px;font-size:18px}.utility span{font-size:11px}.settings{padding:15px;border-radius:17px}.settings-top{grid-template-columns:1fr 1fr;gap:13px}.settings-top>.field:nth-child(3){grid-column:1/-1}.fit-option{gap:7px}.fit-option span{flex-direction:column;align-items:flex-start;gap:4px}.fit-option strong{font-size:12px}.fit-option small{font-size:10px}.settings-bottom{grid-template-columns:1fr;gap:15px;padding-top:14px;margin-top:14px}.field-title{gap:10px;justify-content:space-between}.segmented button{padding:5px 7px}.range-controls select{width:90px}.number-options{gap:6px}.number-options button{width:calc((100% - 24px)/5);height:37px}.candidate-preview{grid-column:auto;flex-wrap:wrap;gap:6px 10px}.candidate-preview small{width:100%}.inline>.input-unit{width:75px}.inline>select{padding:9px 7px}.validation{font-size:11px}.game-top{padding:15px 2px 10px;flex-wrap:wrap;gap:7px}.round-info{gap:8px}.round-info>span:last-child{font-size:10px}.active-summary{font-size:10px}.stage{border-radius:22px;min-height:300px}.welcome{padding:25px 15px}.welcome h2{font-size:25px;letter-spacing:-1px;line-height:1.4}.welcome-people{width:95%;margin:22px auto}.welcome-people svg{width:65px;height:90px}.welcome p{font-size:11px;line-height:1.5}.live-stage{padding:85px 12px 35px;gap:10px}.status-text{font-size:22px;letter-spacing:-.7px;word-break:keep-all}.target-number{font-size:clamp(170px,48vw,250px)}.target-caption{font-size:34px;margin-top:9px}.people{max-width:450px;gap:2px;flex-wrap:wrap;width:100%;margin-top:5px}.person{flex:0 1 calc(20% - 4px);max-width:55px;height:65px;width:55px}.stage-hint{font-size:12px}.timer-box{top:12px;right:12px;min-width:84px;padding:6px 9px;border-radius:13px}.timer-box>span{font-size:9px}.timer-box strong{font-size:34px;line-height:1.05}.timer-box>div>span{font-size:12px}.pause-banner{bottom:22px;flex-direction:column;gap:4px;width:90%;padding:12px;text-align:center}.pause-banner strong{font-size:15px}.pause-banner span{font-size:11px;line-height:1.4}.check-panel{padding:12px;gap:10px}.check-panel strong{font-size:13px}.check-panel p{font-size:10px}.check-icon{width:28px;height:28px}.game-controls{flex-direction:column;align-items:stretch;padding:16px 0;gap:13px}.game-controls>p{max-width:none;text-align:center;font-size:11px;order:2}.action-buttons{flex-wrap:wrap;justify-content:center;gap:9px}.primary,.secondary{flex:1;min-height:49px;padding:12px 15px;font-size:14px}.text-button{order:3;flex-basis:100%;padding:6px;min-height:36px}.bottom-note{justify-content:center;font-size:9px}.bottom-note>span:last-child{display:none}body[data-phase=verify] .live-stage{padding:78px 12px 25px}body[data-phase=verify] .target-number{font-size:190px}body[data-phase=preparing] .live-stage{padding:50px 12px}.expanded-view .site-header{padding:10px 0}.expanded-view .identity{gap:6px}.expanded-view h1{font-size:21px}.expanded-view .brand-mark{display:none}}
@media(max-width:360px){.settings{padding:12px}.field-title{flex-wrap:wrap}.number-options button{width:calc((100% - 24px)/5)}.live-stage{padding-left:10px;padding-right:10px}.status-text{font-size:21px}.check-panel{align-items:flex-start}.check-icon{display:none}}
@media(max-width:700px){.custom-time .settings-top>.field:nth-child(2){grid-column:1/-1}body.paused .stage{padding-bottom:82px}}
.field,.field-title,.candidate-preview>span,.candidate-preview small,.fit-option small,.welcome p,.stage-hint,.game-controls>p,.check-panel p,.active-summary,.round-info>span:last-child,.sound-row p,.dialog-note{color:#796987}.brand>span,.eyebrow,.bottom-note{color:#857490}.text-button{color:#7d668d}.segmented button{color:#7d6b8d}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the teacher controls together above the enlarged classroom stage. */
.app-shell{width:97%;max-width:none;padding-bottom:10px}
.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:18px;padding:10px 0}
.identity{gap:10px;min-width:0}
.brand-mark{width:42px;height:45px;font-size:34px;border-radius:13px;flex:none}
.brand{font-size:11px}.brand>span{font-size:9px}
h1{font-size:24px;margin-top:2px}
.tools{justify-self:end}
.game-controls{padding:0;display:flex;align-items:center;justify-content:center;gap:0}
.action-buttons{justify-content:center;gap:8px}
.game-controls .primary,.game-controls .secondary{min-height:44px;padding:10px 20px;font-size:15px;border-radius:11px}
.game-controls .text-button{min-height:40px;padding:9px 12px;font-size:12px;order:0;flex:none}
.game-top{padding:6px 3px 9px;min-height:39px}
.round-pill,.round-info>span:last-child,.active-summary{font-size:11px}
.check-panel{margin-top:8px;padding:10px 17px;gap:12px}
.check-panel strong{font-size:15px}.check-panel p{font-size:11px;margin-top:3px}.everyone-note{font-size:12px}
@media(min-width:901px){
  .target-number,body[data-phase=verify] .target-number{font-size:clamp(220px,33dvh,360px)}
  .live-stage,body[data-phase=verify] .live-stage{padding-top:20px;padding-bottom:25px;gap:9px}
}
@media(min-width:1600px){
  .site-header{padding:11px 0}
  .game-controls .primary,.game-controls .secondary{min-height:48px;font-size:17px;padding:11px 23px}
  .round-pill,.round-info>span:last-child,.active-summary{font-size:12px}
  .game-top{padding-top:5px;padding-bottom:9px}
}
@media(max-width:900px){
  .site-header{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}
  .game-controls{grid-column:1/-1;grid-row:2;justify-self:center}
  .tools{grid-column:2;grid-row:1;margin-left:0}
  .game-controls .action-buttons{flex-wrap:nowrap}
  .game-controls .primary,.game-controls .secondary{flex:none}
  .active-summary{font-size:10px}
}
@media(max-width:700px){
  .app-shell{width:95%;padding-bottom:8px}
  .site-header{padding:9px 0 7px;gap:10px}
  .brand>span{display:none}.brand-mark{width:34px;height:37px;font-size:28px;border-radius:11px}.brand-mark>span{font-size:14px}
  .identity{gap:8px}h1{font-size:21px}.brand{font-size:10px}
  .tools{gap:5px}.utility{width:36px;min-height:36px;padding:6px;justify-content:center}
  .utility span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .game-controls .action-buttons{gap:6px}
  .game-controls .primary,.game-controls .secondary{min-height:42px;font-size:13px;padding:10px 13px}
  .game-controls .text-button{min-height:40px;font-size:11px;padding:8px 7px}
  .game-top{padding:6px 2px 8px;gap:5px;min-height:0}
  .round-pill{font-size:10px;padding:5px 8px}.round-info>span:last-child{font-size:10px}
  .check-panel{padding:11px 12px}.check-panel strong{font-size:13px}.check-panel p{font-size:10px}
}

/* Two classroom modes share the same stage and top controls. */
.mode-picker{display:flex;align-items:center;gap:12px;padding-bottom:13px;margin-bottom:13px;border-bottom:1px solid #eee7f5}
.mode-heading{font-size:12px;font-weight:800;color:#81708e;margin-right:5px;white-space:nowrap}
.mode-option{display:flex;align-items:center;gap:11px;padding:10px 18px;border:1px solid #e4dced;border-radius:12px;background:#faf8fd;text-align:left;min-width:0}
.mode-option[aria-pressed=true]{border-color:#b9a0e6;background:#efe8fc;box-shadow:inset 0 0 0 1px #b9a0e6}
.mode-option:disabled{opacity:.8}.mode-option strong{font-size:14px;color:#6f5297}.mode-option small{display:block;font-size:10px;color:#85728f;margin-top:3px}
.mode-icon{font-size:25px;color:#9876c4}.mode-option[aria-pressed=true] .mode-icon{color:#7855d9}
.settings:not(.winner-mode) .settings-top{grid-template-columns:1fr 1.2fr 2fr}
.settings.winner-mode .settings-top{grid-template-columns:1fr 1fr 1.2fr 1.7fr}
#minWinnersField{position:relative}
.survivor-controls{display:grid;grid-template-columns:1fr 116px;align-items:center;gap:3px 8px;min-width:0;width:250px;flex:none}
.survivor-controls>label{font-size:12px;font-weight:800;color:#765c91}.survivor-controls input{font-size:17px;padding:7px 10px}
.survivor-controls>p{grid-column:1/-1;text-align:center;font-size:10px;margin:0;line-height:1.4;color:#856a9a;word-break:keep-all;overflow-wrap:anywhere}
.survivor-controls>p.invalid{color:#af526b}.group-guide{min-width:0}.group-guide p{max-width:580px;word-break:keep-all}
.winner-result{display:flex;align-items:baseline;justify-content:center;gap:14px;margin:20px auto 25px;color:#7855d9}
.winner-result>span:first-child{font-size:25px;font-weight:850}.winner-result strong{font-size:clamp(100px,19vw,240px);line-height:1;font-weight:950;letter-spacing:-.06em;padding-right:.04em;text-shadow:0 6px 0 #e0d1f5}
.winner-result>span:last-child{font-size:42px;font-weight:850}
@media(max-width:1100px){.settings:not(.winner-mode) .settings-top,.settings.winner-mode .settings-top{grid-template-columns:1fr 1fr 1.2fr}.fit-option{grid-column:1/-1}.survivor-controls>label{font-size:11px}.group-guide p{max-width:400px}}
@media(min-width:901px) and (max-width:1100px){body[data-mode=winner][data-phase=verify] .site-header{grid-template-columns:minmax(0,1fr) auto}body[data-mode=winner][data-phase=verify] .game-controls{grid-column:1/-1;grid-row:2}body[data-mode=winner][data-phase=verify] .tools{grid-column:2;grid-row:1}}
@media(max-width:900px){body[data-mode=winner][data-phase=verify] .game-controls{width:100%;min-width:0}body[data-mode=winner][data-phase=verify] .action-buttons{flex-wrap:wrap;width:100%;max-width:600px}}
@media(max-width:700px){
  .mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;padding-bottom:12px}.mode-heading{grid-column:1/-1;font-size:11px}
  .mode-option{padding:10px 8px;gap:6px;justify-content:center}.mode-option strong{font-size:12px}.mode-option small{display:none}.mode-icon{font-size:21px}
  .settings:not(.winner-mode) .settings-top,.settings.winner-mode .settings-top{grid-template-columns:1fr 1fr}
  .settings-top>.field:nth-child(3){grid-column:auto}.custom-time .settings-top>.field:nth-child(2){grid-column:auto}
  .settings.winner-mode .time-setting,.settings.custom-time .time-setting{grid-column:1/-1}
  .live-stage{padding-top:94px}
  body[data-phase=verify] .live-stage{padding-top:90px}
  .check-panel{flex-wrap:wrap}.survivor-controls{width:220px;grid-template-columns:1fr 106px}.survivor-controls input{font-size:16px;padding:7px 8px}.survivor-controls .input-unit>span{padding-right:8px}
  .group-guide{flex:1}.group-guide p{max-width:none}.winner-result{flex-wrap:wrap;gap:8px;margin:22px auto}.winner-result>span:first-child{flex-basis:100%;font-size:22px}.winner-result strong{font-size:clamp(84px,27vw,140px)}.winner-result>span:last-child{font-size:31px}
}
