@charset "UTF-8";
:root{font-family:"Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:#342b49;background:#f6f4fb;font-synthesis:none;--purple:#7956d8;--deep:#6140bd;--muted:#81788f;--border:#ebe6f2;--pale:#f1ecfa;--mint:#e6f3ed;--peach:#fff0e3}
*{box-sizing:border-box}body{margin:0;font-size:14px;letter-spacing:-.035em;line-height:1.6}button,input,textarea,select{font:inherit;color:inherit}button{border:0;cursor:pointer;font-weight:700;letter-spacing:inherit}button:disabled{opacity:.42;cursor:default}button:hover:not(:disabled){filter:brightness(.97)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #a88be8;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{word-break:keep-all}button,i{display:inline-flex;align-items:center;justify-content:center;gap:8px}i{font-style:normal;flex-shrink:0}i svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}.app-shell{width:95%;max-width:1800px;margin:auto;padding:23px 14px 0}.site-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:850;letter-spacing:-1.2px;white-space:nowrap}.brand-mark{position:relative;display:grid;place-items:center;background:var(--purple);color:white;font:bold italic 35px Georgia;width:36px;height:36px;border-radius:12px;padding-right:5px;padding-bottom:6px}.brand-mark span{position:absolute;right:4px;top:6px;font:11px sans-serif}.brand-light{font-weight:500}.brand-caption{font-size:11px;font-weight:500;letter-spacing:-.3px;color:#958b9f;border-left:1px solid #dcd5e6;padding-left:15px;margin-left:5px}.header-actions{display:flex;gap:7px}.quiet{background:transparent;color:#746b81;padding:10px 12px;border-radius:10px;font-size:12px;white-space:nowrap}.quiet i{color:#9184a6}.intro{display:flex;justify-content:space-between;align-items:center;margin:32px 0 27px}.eyebrow{color:var(--purple);font-size:11px;font-weight:800;letter-spacing:.03em;display:flex;align-items:center;gap:7px}.dot{height:6px;width:6px;background:var(--purple);border-radius:50%}h1{font-size:44px;font-weight:850;letter-spacing:-2.5px;line-height:1.3;margin:5px 0 8px}h1>span{color:var(--purple)}h1 .title-spark{font-size:34px;margin-left:11px;vertical-align:top;color:#ac94db}.intro p{color:var(--muted);font-size:13px}.intro-note{margin-right:58px;position:relative;text-align:center;transform:rotate(7deg);border:1px solid #ded3ed;border-radius:50%;padding:13px 25px;color:#8b77aa}.intro-note:before{content:"";position:absolute;inset:-4px 6px;border:1px solid #e5daef;border-radius:50%;transform:rotate(-20deg)}.intro-note span,.intro-note strong{display:block;font-size:11px}.intro-note strong{font-size:15px}.intro-note i{position:absolute;right:-9px;top:-10px;font-size:23px;color:#b7a0d5}
.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.play-area{min-width:0}.board,.settings-panel,.control-bar{background:white;border:1px solid var(--border);border-radius:22px;box-shadow:0 5px 23px #42306403}.board{padding:22px 26px 0;overflow:hidden}.board-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.round-label{display:flex;align-items:center;gap:7px;letter-spacing:1.2px;font-size:10px;font-weight:800;color:#8c809d}.round-label strong{background:var(--pale);border-radius:6px;padding:2px 7px;color:var(--purple);font-size:14px;letter-spacing:.5px}.round-label>span{font-size:11px;color:#9c94a8;letter-spacing:.5px}.phase-tag{border:1px solid #e9e3f0;border-radius:20px;font-size:10px;color:#8c8199;padding:2px 9px}.board-top-right{display:flex;align-items:center;gap:10px;margin-left:auto}.timer-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#968a9e}.timer-badge i svg{width:14px;height:14px}.category-badge{color:#7c699e;background:#f4f0fa;border-radius:6px;padding:2px 9px;font-size:11px}.stage{min-height:445px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:25px 15px 20px;gap:8px}.word-area{text-align:center;min-width:0;width:100%;z-index:1}.question-prompt{font-size:15px;font-weight:600;color:#8c7a9d;margin-bottom:4px}.initials{font-size:clamp(100px,12vw,174px);font-weight:850;line-height:1.35;letter-spacing:.05em;color:#6547a9;overflow-wrap:anywhere;word-break:break-all;max-width:100%;text-wrap:balance}.initial-caption{display:flex;align-items:center;justify-content:center;gap:10px;color:#a396b4;font-size:11px;margin-top:2px}.initial-caption span{height:1px;width:22px;background:#ded3eb}.welcome-art{display:grid;grid-template-columns:repeat(2,53px);gap:7px;position:relative;margin-top:22px;transform:rotate(-8deg)}.art-tile{width:53px;height:53px;border-radius:13px;display:grid;place-items:center;font-size:29px;font-family:Georgia,serif;color:#b5a0ce;font-weight:bold}.art-tile svg{width:48px;height:48px}.mint{background:var(--mint)}.lavender{background:#ede7f8;transform:rotate(9deg)}.peach{background:var(--peach);transform:rotate(3deg)}.cream{background:#f5f1e7;color:#cbb78b}.art-star{position:absolute;right:-37px;bottom:8px;font-size:29px;color:#c2afd8}.board-bottom{border-top:1px dashed #e8e2ef;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;font-size:11px;color:#9a8fa6}.board-bottom>span:first-child{display:flex;align-items:center;gap:7px}.board-bottom i svg{height:15px;width:15px}.board-bottom>span:last-child{font-size:10px;white-space:nowrap}.control-bar{margin-top:16px;display:flex;align-items:center;justify-content:space-between;padding:16px 19px;gap:14px}.ready-note{display:flex;align-items:center;gap:12px}.mini-play{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#f2edfa;font-size:10px;color:var(--purple);padding-left:2px}.ready-note strong,.ready-note div>span{display:block;font-size:12px}.ready-note div>span{font-size:10px;color:#9b90a7;margin-top:2px}.primary,.soft{border-radius:11px;min-height:44px;padding:11px 20px;font-size:13px;white-space:nowrap}.primary{background:var(--purple);color:white;box-shadow:0 4px 9px #7956d81a}.soft{background:var(--pale);color:#7958b5}.start-button{min-width:163px;justify-content:space-between}.play-caption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;color:#a096ab;font-size:10px;padding:13px 4px}.play-caption>span:last-child{display:flex;align-items:center;gap:5px}.play-caption i svg{height:12px;width:12px}.text-button{padding:0;color:var(--purple);background:none;font-size:12px;border-radius:3px}.danger{color:#b05e70}.settings-panel{padding:21px 23px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.panel-heading h2{display:flex;align-items:center;gap:8px;font-size:15px}.panel-heading h2 i{color:#9b8aac}.panel-heading>span{font-size:10px;background:var(--pale);color:#a08ab9;padding:3px 8px;border-radius:5px}.setting-block{border:0;margin:0 0 23px;padding:0;min-width:0}.setting-block legend{font-size:12px;font-weight:750;margin-bottom:13px;width:100%;padding:0}.setting-block legend b{color:#b5a4cd;font-size:10px;margin-right:8px;font-weight:650}.source-options{display:flex;flex-direction:column;gap:10px;margin-bottom:13px}.source-options label{display:flex;align-items:center;gap:7px;font-size:12px;color:#7f738d;cursor:pointer}.source-options label span{font-size:10px;background:#f6f3fa;padding:1px 6px;border-radius:4px;margin-left:auto;color:#a293b3}input[type=checkbox]{accent-color:var(--purple);width:14px;height:14px;cursor:pointer}.category-options{display:flex;flex-wrap:wrap;gap:6px}.category-options button{padding:5px 10px;font-size:11px;border:1px solid #eee8f4;border-radius:7px;background:white;color:#93859e}.category-options button[aria-pressed=true]{color:#8060b8;background:#f2edf9;border-color:#e2d7f3}.count-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:12px;color:#8b7f99}.stepper{display:flex;align-items:center;border:1px solid #e8e0ef;border-radius:8px;height:35px;overflow:hidden}.stepper button{background:#faf8fd;padding:5px 8px;color:#9683b1;height:100%}.stepper input{width:40px;border:0;padding:0;text-align:center;font-size:14px;font-weight:800;color:var(--purple);appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{appearance:none}.stepper span{font-size:10px;margin-right:8px;color:#a596b3}.segmented{display:flex;background:#f5f2fa;border-radius:9px;padding:3px;gap:3px}.segmented button{flex:1;font-size:11px;padding:7px 5px;background:transparent;border-radius:6px;color:#a091af}.segmented button[aria-pressed=true]{background:white;color:var(--purple);box-shadow:0 2px 5px #4b325810}.segmented i svg{width:14px;height:14px}.pool-info{font-size:10px;color:#9e90ab;margin-top:9px;line-height:1.6}.pool-info.warning{color:#a66a44}.with-toggle{display:flex;justify-content:space-between;align-items:center}.switch{display:inline-flex;cursor:pointer}.switch input{position:absolute;opacity:0}.switch span{width:30px;height:17px;background:#e8e0f0;border-radius:20px;position:relative}.switch span:before{content:"";position:absolute;left:3px;top:3px;background:white;height:11px;width:11px;border-radius:50%;transition:transform .15s}.switch input:checked+span{background:var(--purple)}.switch input:checked+span:before{transform:translateX(13px)}.switch input:focus-visible+span{outline:3px solid #ab8ce6;outline-offset:3px}.field-hint{font-size:11px;color:#9b8ea7;line-height:1.7}.timer-presets{margin-top:10px}.inline-field{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8b7b9a;margin-top:10px}.inline-field input{width:65px;padding:4px 5px;border:1px solid var(--border);border-radius:7px;text-align:center}.library-button{display:flex;gap:11px;width:100%;background:#faf8fd;border:1px solid var(--border);border-radius:13px;padding:13px 12px;text-align:left;justify-content:flex-start}.library-icon{background:#ede6f8;color:#9a7ec3;padding:8px;border-radius:10px;display:grid;place-items:center}.library-button strong,.library-button small{display:block;font-size:11px;color:#756786}.library-button small{font-weight:400;font-size:9px;color:#a99bb6;margin-top:3px}.library-button>i{margin-left:auto;color:#baabc8}.settings-footnote{text-align:center;font-size:9px;color:#b0a3bb;margin-top:13px}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e9e3f0;padding:20px 0;margin-top:21px;color:#b3a8be;font-size:10px}footer b{font-weight:500;font-size:8px;letter-spacing:1px;margin-left:7px}
.playing .intro{margin:19px 0 18px}.playing .intro .eyebrow,.playing .intro p,.playing .intro-note{display:none}.playing h1{font-size:30px;margin:0;letter-spacing:-1.6px}.playing .title-spark{font-size:25px}.playing .game-layout{grid-template-columns:1fr}.playing .settings-panel{display:none}.playing .stage{min-height:clamp(360px,54vh,680px)}.playing .initials{font-size:var(--initial-size,176px)}.playing .question-prompt{font-size:20px;margin-bottom:15px}.playing .board{padding-inline:32px}.playing-controls{flex-wrap:wrap}.hint-controls,.advance-controls{display:flex;align-items:center;gap:9px}.hint-controls .soft{background:#f5f0fc}.hint-controls button>span{font-size:11px;color:#b09cc7}.advance-controls{margin-left:auto}.has-picture .stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.85fr);gap:35px;align-items:center}.picture-area{width:min(100%,440px);justify-self:center;min-width:0}.picture-grid{width:100%;aspect-ratio:1;background:#f9f7fd;border:6px solid #f6f0fd;border-radius:24px;overflow:hidden;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);box-shadow:0 7px 22px #5b35750a;position:relative}.picture-cell{display:grid;place-items:center;background-color:#ece4f6;border:1px solid #f8f5fd;color:#bba9d0;font-size:17px;font-family:Georgia,serif;font-weight:bold;aspect-ratio:1;user-select:none}.picture-cell.open{background-repeat:no-repeat;background-size:400% 400%;border-color:transparent}.picture-caption{margin-top:10px;text-align:center;color:#a18bad;font-size:12px}.picture-grid>img{width:100%;height:100%;object-fit:contain;grid-column:1/-1;grid-row:1/-1}.answer-line{margin-top:0}.answer-arrow{font-size:25px;color:#c2afd9}.answer-line h2{font-size:clamp(40px,5.3vw,84px);line-height:1.3;color:#4f936e;overflow-wrap:anywhere;word-break:break-all;text-wrap:balance;animation:answer-in .3s ease-out}.revealed .initials{color:#9d88be;font-size:calc(var(--initial-size,176px)*.7)}.revealed .question-prompt{color:#759c87}.revealed .picture-grid{border-color:#e6f1ea}.text-hint{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 20px;width:fit-content;max-width:100%;padding:13px 24px;border-radius:12px;background:#fff5df;color:#9b7c45;font-size:clamp(16px,1.6vw,24px);overflow-wrap:anywhere}.time-message,.paused-message{text-align:center;font-size:18px;font-weight:700;color:#b27a48;background:#fff3e5;border-radius:10px;margin:0 0 15px;padding:10px}.paused-message{background:#f3eefb;color:#9376b0}.complete-area{text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;padding:30px 0}.complete-symbol{color:var(--purple);background:#f2ecfb;border-radius:24px;font-size:58px;width:98px;height:98px;display:grid;place-items:center;transform:rotate(-8deg);margin-bottom:15px}.complete-area h2{font-size:38px;letter-spacing:-1.5px}.complete-area p{font-size:15px;color:#9c8ba9}.completion-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:15px}.expanded-view .app-shell{width:98%;max-width:none}.expanded-view .brand-caption{display:none}.expanded-view .intro{margin-top:12px}.expanded-view footer{display:none}.complete .stage{display:flex;min-height:470px}
dialog{width:min(92vw,730px);max-height:88vh;border:1px solid var(--border);border-radius:23px;padding:28px;color:#43344f;box-shadow:0 20px 80px #26143a28;background:white;overflow:auto}dialog::backdrop{background:#30223d66;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.dialog-heading h2{font-size:24px;letter-spacing:-1px}.dialog-heading .eyebrow{margin-bottom:4px}.close{background:#f4effa;color:#9c86b4;width:32px;height:32px;border-radius:10px;font-size:23px;flex-shrink:0}.help-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.help-steps article{padding:20px 15px;background:#f7f3fb;border-radius:14px}.help-steps b{color:#b59bd6;font-size:20px}.help-steps h3{font-size:15px;margin:10px 0 7px}.help-steps p{font-size:12px;color:#8f7d9d}.dialog-note{font-size:12px;background:#f6f2fa;padding:13px 16px;border-radius:10px;color:#9682a5;margin:15px 0 20px}.full{width:100%}.small-dialog{max-width:430px}.sound-setting{border-top:1px solid var(--border);padding:20px 0;display:flex;flex-direction:column;gap:10px}.sound-setting label{display:flex;align-items:center;gap:8px}.sound-setting label+label{justify-content:space-between;color:#8c7a99;font-size:12px}.sound-setting small{color:#ae9abd}.sound-setting input[type=range]{accent-color:var(--purple);width:70%}.small-dialog>.field-hint{margin-bottom:20px}.confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}.editor-dialog{width:min(94vw,1000px)}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.editor-toolbar{display:flex;gap:8px;margin-bottom:12px}.editor-toolbar input{min-width:0;width:100%}.editor-toolbar .soft{padding:8px 13px}.question-list{display:flex;flex-direction:column;gap:6px;max-height:540px;overflow:auto;margin-bottom:15px}.question-row{background:#faf8fd;padding:12px;border-radius:11px;display:flex;align-items:center;text-align:left;justify-content:flex-start;gap:12px}.question-row:hover{background:#f0e9f9}.question-row img{width:45px;height:45px;border-radius:8px;object-fit:contain;background:white}.question-row strong,.question-row small{display:block}.question-row strong{font-size:14px}.question-row small{font-size:10px;font-weight:400;color:#a18cae}.question-row em{margin-left:auto;font-size:10px;font-style:normal;color:#a18cae}.question-row.disabled{opacity:.55}input:not([type=checkbox],[type=range],[type=file]),textarea{border:1px solid #e6ddee;border-radius:8px;padding:9px 10px;background:#fdfcfe;min-width:0}#questionForm{display:flex;flex-direction:column;gap:12px}#questionForm h3{font-size:17px;margin-bottom:3px}#questionForm>label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;font-size:12px;font-weight:700;color:#8a739b}#questionForm>label>input:not([type=checkbox]){width:100%;font-weight:400}.upload-box{background:#faf8fd;border:1px dashed #dcd0e8;border-radius:12px;text-align:center;padding:15px}.upload-label{display:inline-flex;flex-direction:column;gap:8px;font-size:12px;color:#9777b3;cursor:pointer;font-weight:700}.upload-label input{font-size:10px;max-width:100%;width:230px}#imagePreview:empty{display:none}#imagePreview img{width:90px;height:90px;object-fit:contain;border-radius:12px;margin-bottom:8px}.upload-box .field-hint{margin-top:10px;font-size:10px}.upload-box .text-button{display:block;margin:10px auto 0}#questionForm>.checkbox-label{justify-content:flex-start}.form-actions{display:flex;align-items:center;gap:20px}.error{color:#b56869;font-size:12px}.bulk-box{border-top:1px solid var(--border);padding-top:16px;margin-top:20px}.bulk-box summary{font-weight:700;color:#9376ab;font-size:12px;cursor:pointer}.bulk-box textarea{width:100%;margin:8px 0}.bulk-box p{margin-top:8px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#51405f;color:white;padding:12px 23px;border-radius:12px;font-size:13px;box-shadow:0 6px 20px #37213f25;z-index:30}.empty-list{padding:20px;text-align:center;font-size:12px;color:#a28caf}
@keyframes answer-in{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.stage{min-height:510px}.game-layout{grid-template-columns:minmax(0,1fr) 355px}.settings-panel{padding:25px 28px}.setting-block{margin-bottom:28px}.playing .game-layout{grid-template-columns:1fr}}
@media(max-width:1050px){.app-shell{padding-inline:3px}.game-layout{gap:18px;grid-template-columns:minmax(0,1fr) 292px}.settings-panel{padding:20px}.brand-caption{display:none}.board{padding:20px 20px 0}.board-top{gap:8px}.phase-tag{display:none}.ready-note div>span{display:none}.ready-note strong{font-size:11px}.ready-note{gap:7px}.start-button{min-width:135px}.has-picture .stage{gap:20px;grid-template-columns:minmax(0,1fr) minmax(220px,.8fr)}.hint-controls .soft,.advance-controls .primary{padding:10px 14px}.playing .initials{font-size:min(var(--initial-size,160px),15vw)}.revealed .initials{font-size:min(calc(var(--initial-size,160px)*.7),10vw)}}
@media(max-width:760px){.app-shell{width:94%;padding:16px 0 0}.site-header{gap:10px}.brand{font-size:20px}.brand-mark{width:31px;height:31px;font-size:30px;border-radius:10px}.header-actions{gap:0}.header-actions .quiet{padding:8px}.header-actions .quiet span{display:none}.intro{margin:25px 0 22px}.intro h1{font-size:35px;letter-spacing:-2px}.intro .eyebrow{font-size:10px}.intro p{font-size:12px}.intro-note{margin-right:10px;padding:10px 15px}.intro-note strong{font-size:12px}.intro-note span{font-size:9px}.game-layout{display:flex;flex-direction:column;gap:20px}.play-area,.settings-panel{width:100%}.stage{min-height:350px;padding-inline:0}.initials{font-size:120px}.welcome-art{grid-template-columns:repeat(2,42px);gap:5px;margin-top:14px}.art-tile{width:42px;height:42px;border-radius:10px;font-size:23px}.art-tile svg{width:38px;height:38px}.board{padding:18px 18px 0;border-radius:18px}.question-prompt{font-size:13px}.board-bottom{font-size:10px;gap:5px;padding:13px 0}.board-bottom>span:last-child{display:none}.board-top-right{gap:5px}.timer-badge{font-size:10px}.control-bar{padding:13px;border-radius:15px;gap:10px}.start-button{min-width:140px}.settings-panel{padding:22px}.source-options{flex-direction:row;gap:15px}.source-options label{gap:4px;flex:1}.source-options label span{margin-left:2px}.category-options button{padding:6px 15px}.panel-heading{margin-bottom:22px}.setting-block{margin-bottom:24px}.setting-block legend{font-size:13px}.library-button strong{font-size:12px}.library-button small{font-size:10px}.settings-footnote{font-size:10px}.play-caption{font-size:9px;padding-inline:1px}.playing .board{padding:16px 16px 0}.playing .intro{margin:18px 0 15px}.playing .intro h1{font-size:25px}.playing .stage{min-height:330px}.playing .initials{font-size:min(var(--initial-size,140px),23vw)}.playing .question-prompt{font-size:15px;margin-bottom:10px}.has-picture .stage{display:flex;flex-direction:column;gap:14px;padding:22px 0 16px}.has-picture .initials{font-size:clamp(46px,16vw,100px);line-height:1.2}.has-picture .picture-area{width:min(68vw,310px)}.picture-grid{border-radius:20px;border-width:4px}.picture-caption{font-size:10px;margin-top:6px}.picture-cell{font-size:13px}.answer-line{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:7px}.answer-arrow{font-size:20px}.answer-line h2{font-size:clamp(27px,8vw,44px)}.revealed .initials{font-size:clamp(36px,12vw,74px)}.playing-controls{flex-direction:column;align-items:stretch;gap:10px}.hint-controls,.advance-controls{margin:0;display:flex;gap:6px}.hint-controls>*{flex:1;min-width:0;padding:10px 7px!important;font-size:11px!important}.hint-controls .soft>span{font-size:9px}.hint-controls i svg{width:16px;height:16px}.advance-controls .primary{flex:1}.advance-controls .quiet{padding:8px 12px}.text-hint{font-size:15px;padding:10px 15px;margin-bottom:15px}.time-message,.paused-message{font-size:13px}.complete-area h2{font-size:28px}.complete-area p{font-size:12px}.complete .stage{min-height:430px}.completion-actions{flex-direction:column;width:100%}.complete-area{width:100%}.play-caption #saveStatus{display:none}footer{font-size:9px;margin-top:18px;padding:18px 0}footer>span:nth-child(2){display:none}footer b{font-size:7px;margin-left:3px}.editor-layout{grid-template-columns:1fr}.question-list{max-height:220px}.help-steps{grid-template-columns:1fr;gap:8px}.help-steps article{padding:13px}.help-steps h3{margin:0 0 5px}.help-steps b{float:left;margin-right:13px;font-size:26px}.help-steps p{font-size:11px}.dialog-heading h2{font-size:21px}dialog{padding:22px;max-height:90vh}.editor-dialog{padding:20px}.complete-symbol{width:78px;height:78px;font-size:48px}}
@media(max-width:360px){.intro-note{display:none}.ready-note strong{font-size:10px}.mini-play{display:none}.hint-controls{flex-wrap:wrap}.hint-controls .quiet{flex-basis:100%}.category-badge{font-size:9px}.brand{gap:6px}.header-actions .quiet{padding:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.switch{position:relative;min-height:30px;align-items:center}.switch input{inset:0;margin:0;width:100%;height:100%;z-index:1}
@media(min-width:761px) and (max-height:850px){.playing .app-shell{padding-top:12px}.playing .intro{margin:12px 0}.playing .board{padding-top:16px}.playing .stage{min-height:min(350px,46vh);padding:12px 8px}.playing .question-prompt{font-size:17px;margin-bottom:8px}.playing.has-picture .picture-area{width:min(100%,36vh)}.playing .picture-caption{margin-top:5px;font-size:11px}.playing .text-hint{font-size:18px;padding:8px 18px;margin-bottom:12px}.playing .board-bottom{padding-block:11px}.playing .control-bar{margin-top:12px;padding:12px 18px}.playing.revealed .initials{font-size:calc(var(--initial-size,176px)*.62)}.playing .answer-arrow{font-size:21px}.playing .answer-line h2{font-size:clamp(40px,5vw,70px)}}

/* Compact classroom layout: the board uses the space between one toolbar and its controls. */
.app-shell,.playing .app-shell{width:97%;max-width:none;min-height:100svh;padding:10px 0;display:flex;flex-direction:column;gap:12px}
.site-header{min-height:42px;flex:none;padding:0 4px;gap:16px}
.header-identity{display:flex;align-items:center;gap:18px;min-width:0}
.site-header .brand{font-size:20px;gap:8px}
.site-header .brand-mark{width:32px;height:32px;font-size:31px;border-radius:10px}
.site-header .game-title,.playing .site-header .game-title{font-size:26px;line-height:1.25;margin:0;padding-left:18px;border-left:1px solid #ded5eb;letter-spacing:-1.2px;white-space:nowrap}
.game-layout,.playing .game-layout{flex:1;gap:18px;align-items:stretch;min-height:0}
.play-area{display:flex;flex-direction:column;min-height:0}
.board,.playing .board{display:flex;flex-direction:column;flex:1;padding:18px 22px 0}
.stage,.playing .stage{flex:1;min-height:320px;padding:16px 12px;gap:14px}
.initials,.playing .initials{font-size:var(--initial-size,210px)}
.playing.revealed .initials{font-size:calc(var(--initial-size,210px)*.7)}
.playing .answer-line h2{font-size:clamp(48px,6vw,96px)}
.playing .question-prompt{font-size:21px;margin-bottom:10px}
.picture-area,.playing.has-picture .picture-area{width:min(100%,max(240px,calc(100svh - 380px - var(--timer-space,0px))),600px)}
.playing .picture-caption{font-size:12px;margin-top:7px}
.playing .text-hint{font-size:22px;padding:10px 20px;margin-bottom:12px}
.board-bottom,.playing .board-bottom{flex:none;padding:10px 0}
.control-bar,.playing .control-bar{flex:none;margin-top:12px;padding:12px 18px}
.settings-panel{align-self:start}
.complete .stage{min-height:400px}
@media(min-width:761px) and (max-height:800px){
  .stage,.playing .stage{min-height:280px;padding:10px 8px}
  .playing.revealed .initials{font-size:calc(var(--initial-size,210px)*.62)}
  .playing .answer-line h2{font-size:clamp(46px,5.5vw,78px)}
  .playing .question-prompt{font-size:18px;margin-bottom:6px}
  .playing .text-hint{font-size:19px;padding:8px 18px;margin-bottom:10px}
  .settings-panel{padding:17px 20px}.panel-heading{margin-bottom:16px}.setting-block{margin-bottom:18px}
  .welcome-art{grid-template-columns:repeat(2,38px);gap:5px;margin-top:8px}.art-tile{width:38px;height:38px;font-size:22px}.art-tile svg{width:34px;height:34px}
}
@media(max-width:1050px){.site-header .brand-name{display:none}.header-identity{gap:10px}.site-header .game-title{padding-left:12px}}
@media(max-width:760px){
  .app-shell,.playing .app-shell{width:95%;padding:8px 0;gap:8px}
  .site-header{min-height:38px;padding:0;gap:6px}
  .header-identity{gap:8px}.site-header .brand{gap:0}.site-header .brand-mark{width:27px;height:27px;font-size:27px}
  .site-header .game-title,.playing .site-header .game-title{font-size:19px;padding-left:0;border:0;letter-spacing:-1px}
  .header-actions .quiet{padding:7px}.header-actions{gap:0}.header-actions i svg{width:18px;height:18px}
  .game-layout,.playing .game-layout{gap:16px}
  .board,.playing .board{padding:15px 14px 0}
  .stage,.playing .stage{min-height:300px;padding:20px 0;gap:12px}
  .initials,.playing .initials{font-size:min(var(--initial-size,210px),26vw)}
  .has-picture .initials{font-size:clamp(46px,17vw,110px)}
  .playing.revealed .initials{font-size:clamp(36px,13vw,82px)}
  .playing .question-prompt{font-size:15px;margin-bottom:8px}
  .playing .answer-line h2{font-size:clamp(30px,9vw,48px)}
  .picture-area,.playing.has-picture .picture-area{width:min(74vw,350px)}
  .playing .text-hint{font-size:16px;padding:9px 13px;margin-bottom:12px}
  .control-bar,.playing .control-bar{padding:12px;margin-top:10px}
  .advance-controls{flex-wrap:wrap}.advance-controls .quiet{padding:8px;font-size:11px}.advance-controls .primary{padding:10px 12px}
  .settings-panel{padding:21px}.complete .stage{min-height:400px}
}
@media(max-width:360px){.site-header .game-title,.playing .site-header .game-title{font-size:17px}.header-actions .quiet{padding:6px}.site-header .brand-mark{display:none}}

/* Keep the countdown centered on the board, independent of side labels. */
.board-top{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;flex:none}
.board-top-left{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.board-top-right{justify-self:end;min-width:0;margin-left:0}
.timer-badge{justify-self:center;justify-content:center;font-size:14px;white-space:nowrap;line-height:1.15;gap:8px;color:#806a9e}
.timer-badge.is-timed{padding:5px 20px;border:1px solid #e6dcf6;border-radius:18px;background:#f4effc;color:#6547a9;font-size:52px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.timer-badge.is-timed i svg{width:26px;height:26px}
.board:has(.timer-badge.is-timed){--timer-space:60px}
@media(min-width:761px) and (max-height:800px){
  .playing.has-picture:not(.revealed) .board:has(.timer-badge.is-timed) .initials{font-size:min(var(--initial-size,210px),13vw,24svh)}
  .board:has(.timer-badge.is-timed):has(.paused-message:not([hidden]),.time-message:not([hidden])){--timer-space:100px}
}
@media(max-width:760px){
  .board-top{gap:6px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
  .board-top-left .round-label{flex-wrap:wrap;gap:3px;font-size:8px;letter-spacing:0}
  .board-top-left .round-label strong{font-size:12px;padding:2px 5px}
  .board-top-left .round-label>span{font-size:9px}
  .timer-badge{font-size:12px;gap:5px}
  .timer-badge.is-timed{font-size:36px;padding:6px 10px;border-radius:14px}
  .timer-badge.is-timed i svg{width:20px;height:20px}
  .category-badge{font-size:10px;padding:3px 6px;overflow-wrap:anywhere}
}
