:root{--paper:#faf8f3;--ink:#303b42;--muted:#5c656b;--purple:#7552a7;--purple-dark:#5c3c8c;--mint:#e3f1e8;--mint-ink:#285b47;--lilac:#ede7f6;--line:#dddcd4;--peach:#fcebdd;--radius:24px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #93692f;outline-offset:5px}[hidden]{display:none!important}.skip{position:fixed;left:12px;top:-80px;z-index:3000;background:white;padding:15px}.skip:focus{top:10px}.site-header{height:76px;max-width:1200px;margin:auto;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.brand{font-size:17px;font-weight:800;display:flex;align-items:center;gap:10px;min-height:44px}.brand-mark{font-size:20px;display:grid;place-items:center;background:var(--ink);color:#fff;border-radius:10px;width:30px;height:30px}.brand-divider{font-weight:400;color:#8c9290;margin:0 4px}.service-name{font-size:15px;font-weight:650}.header-link{font-size:14px;min-height:44px;display:flex;align-items:center;color:var(--muted)}.page{max-width:1120px;margin:auto;padding:40px 36px 64px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,4.5vw,54px);line-height:1.25;letter-spacing:-.055em;font-weight:850;margin-bottom:20px;word-break:keep-all}h2{font-size:26px;line-height:1.4;letter-spacing:-.035em;font-weight:800}h3{font-size:18px;line-height:1.5}p{line-height:1.65}em{font-style:normal;color:var(--purple)}.eyebrow{font-size:13px;font-weight:750;letter-spacing:.04em;color:var(--muted);margin-bottom:18px}.button{display:flex;align-items:center;justify-content:center;gap:20px;min-height:56px;border:1px solid transparent;border-radius:14px;padding:14px 24px;font-size:17px;font-weight:750;line-height:1.5;transition:transform .16s,background .16s;white-space:normal;text-align:center}.button:hover:not(:disabled){transform:translateY(-2px)}.primary{background:var(--purple);color:#fff;box-shadow:0 4px 0 var(--purple-dark)}.primary:hover:not(:disabled){background:var(--purple-dark)}.secondary{background:#fffaf5;border-color:#d5cddc;color:#4f3a66;box-shadow:0 3px 0 #d9cfdf}.text-button,.quiet-link,.icon-button{background:none;border:0;color:var(--muted);font-weight:650;font-size:14px;min-height:44px;padding:10px 12px;display:inline-flex;align-items:center;justify-content:center}.quiet-link{padding-left:0;text-decoration:underline;text-underline-offset:4px}.home-intro{display:flex;align-items:center;justify-content:space-between;max-width:820px;margin:0 auto 30px;padding:0 20px}.home-intro h1{font-size:clamp(40px,6vw,66px);margin-bottom:12px}.intro-caption{font-size:17px;color:var(--muted);margin-bottom:0}.intro-mascot{width:220px;height:240px;object-fit:contain;filter:drop-shadow(0 12px 10px #6c594d12)}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mode-card{position:relative;border:1px solid #d6e0d5;border-radius:var(--radius);padding:30px 32px;box-shadow:0 8px 0 #d6dfd332;overflow:hidden}.solo-card{background:var(--mint)}.class-card{background:var(--lilac);border-color:#dfd7e9}.mode-number{display:block;font-size:13px;letter-spacing:.06em;font-weight:750;margin-bottom:20px;color:var(--muted)}.mode-card h2{font-size:30px;margin-bottom:8px}.mode-card p{font-size:16px;color:var(--muted);margin-bottom:24px}.mode-card label{font-size:13px;display:block;font-weight:800;margin-bottom:8px}.mode-card select{background:#ffffffd9;border-color:#ccd6cb;min-height:52px;margin-bottom:18px}.mode-card .button{width:100%}.card-note{display:block;text-align:center;font-size:13px;font-weight:600;color:var(--muted);margin-top:22px}.code-preview{display:flex;gap:7px;padding:0 0 19px;justify-content:center}.code-preview span{display:grid;place-items:center;font-size:26px;font-weight:750;width:41px;height:52px;border-radius:9px;background:#ffffffc7;border:1px solid #ddd5e5;color:#675a78}.teacher-link,.resume-link{display:block;text-align:center;padding-top:17px;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px}.home-footer{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px;padding:24px 8px 0;gap:18px}.entry-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px;max-width:940px;margin:30px auto}.entry-copy h1{font-size:clamp(32px,4vw,45px)}.entry-mascot{object-fit:contain;display:block;margin:20px auto 0;max-width:100%}.form-card{padding:32px;border:1px solid var(--line);border-radius:var(--radius);background:#fffefb;box-shadow:0 12px 35px #6e5c4410}.form-card h2{margin-bottom:26px}.field{margin-bottom:22px}.field label,.field-pair label{display:block;font-size:14px;font-weight:800;margin-bottom:10px}input:not([type=checkbox]):not([type=hidden]),select{width:100%;min-width:0;min-height:54px;border:1px solid #c9ccc6;border-radius:12px;background:#fff;padding:12px 14px;color:var(--ink);font-size:18px;font-weight:450;line-height:1.4}input::placeholder{color:#687179;opacity:1}.join-form #id_code{font-size:30px;font-weight:550;letter-spacing:.16em;text-align:center;font-variant-numeric:tabular-nums}.join-form .button,.room-form .button{width:100%}.form-card>.quiet-link{display:flex;margin-top:20px}.errorlist{list-style:none;padding:12px 14px;border-radius:10px;background:#ffebe3;color:#893d2b;font-size:14px;font-weight:600;line-height:1.5;margin:12px 0}.teacher-heading{margin:8px 0 34px}.teacher-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:52px;max-width:960px}.teacher-notes{padding:20px 0}.teacher-notes h2{font-size:21px}.teacher-notes ol{padding-left:22px;font-size:16px;line-height:1.9}.teacher-notes li{padding-left:8px;margin-bottom:10px}.scoring-note{background:#e9eee6;padding:18px 22px;border-radius:15px;font-size:14px;line-height:1.8;margin-top:26px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.extra-settings{border-top:1px solid var(--line);padding:16px 0 22px;margin-bottom:6px}.extra-settings summary{font-size:14px;font-weight:700;cursor:pointer;min-height:44px;padding:8px 0}.check-label{display:flex;gap:12px;align-items:center;font-size:15px;font-weight:500;min-height:48px}.check-label input{width:22px;height:22px;accent-color:var(--purple);flex-shrink:0}.recent-rooms{list-style:none;padding:0}.recent-rooms a{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:15px 0;font-size:14px}.play-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-20px 0 22px;min-height:48px}.play-toolbar>div{display:flex;gap:4px}.play-toolbar a{font-size:14px;text-decoration:none}.game-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px;font-size:14px;font-weight:750;color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:8px;background:#eeebe4;border:1px solid #dfdcd3;border-radius:30px;padding:8px 14px;font-size:13px;font-weight:750}.pill.mint{color:var(--mint-ink);background:var(--mint);border-color:#cbded2}.question-card{background:#fffefb;border:1px solid var(--line);border-radius:28px;padding:42px 46px 36px;box-shadow:0 12px 40px #6e5c440b}.question-instruction{font-size:14px;font-weight:650;color:var(--muted);margin-bottom:22px}.sentence{font-size:clamp(26px,3.6vw,42px);font-weight:750;line-height:1.85;letter-spacing:-.035em;word-break:keep-all;overflow-wrap:anywhere;margin:0 0 36px}.blank{display:inline-block;min-width:96px;border-bottom:3px dashed #b6a7c8;color:var(--purple);text-align:center;line-height:1.35;padding:0 8px}.blank.filled{background:var(--mint);border:0;border-radius:8px;color:var(--mint-ink);animation:stamp .35s ease both}.choices{display:grid;grid-template-columns:1fr 1fr;gap:20px}.choice{display:flex;align-items:center;gap:18px;text-align:left;min-height:104px;padding:18px 24px;border:2px solid #d1d9ce;border-radius:18px;background:#eff5ec;box-shadow:0 5px 0 #d8e3d3;font-size:clamp(24px,3vw,32px);font-weight:750;color:var(--ink);transition:transform .16s,background .16s,box-shadow .16s;word-break:keep-all;overflow-wrap:anywhere}.choice:nth-child(2){background:#f3edf8;border-color:#ded3e9;box-shadow:0 5px 0 #dfd2ea}.choice:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 9px 0 #d8e3d3}.choice:nth-child(2):hover:not(:disabled){box-shadow:0 9px 0 #dfd2ea}.choice-index{display:grid;place-items:center;border:1px solid #c5cec3;background:#ffffffb0;border-radius:50%;height:30px;width:30px;flex-shrink:0;font-size:13px;font-weight:800}.choice.selected{border-color:var(--purple);outline:2px solid var(--purple);outline-offset:2px;transform:translateY(-2px)}.choice:disabled{opacity:1}.choice.correct-answer{background:#dff0e5;border-color:#558768;box-shadow:0 4px 0 #b1ccb9}.choice.wrong-answer{background:#fcebdd;border-color:#a86c42;box-shadow:0 4px 0 #dec8b3}.choice-tag{margin-left:auto;font-size:13px;white-space:nowrap}.question-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin-top:26px}.progress-track{height:5px;background:#e8e4db;border-radius:10px;overflow:hidden;margin-top:28px}.progress-fill{height:100%;background:#8cae92;transition:width .4s ease}.feedback-card{margin-top:24px;padding:28px 32px;border:1px solid #c8dccd;background:#e8f3e9;border-radius:22px;animation:arrive .36s ease both}.feedback-card.try-again{background:#fff0e2;border-color:#e6d4bf}.feedback-heading{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:800;margin-bottom:14px}.feedback-heading span{background:#fffaf0;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;animation:stamp .4s ease}.feedback-card p{font-size:18px;line-height:1.65;margin-bottom:12px}.source-link{display:inline-flex;min-height:44px;align-items:center;font-size:12px;color:#445749;text-decoration:underline;text-underline-offset:4px}.feedback-card .button{margin-top:15px;margin-left:auto;min-width:180px;width:fit-content}.waiting-message{padding:16px 20px;background:var(--lilac);border:1px solid #d9cfdf;border-radius:14px;margin-top:24px;line-height:1.6;font-size:16px;text-align:center}.waiting-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--purple);margin-right:8px;animation:breathe 1.5s infinite}.timer{font-variant-numeric:tabular-nums;color:var(--purple);font-size:18px;font-weight:800}.timer.low{color:#943c2b}.timer-track{height:5px;border-radius:9px;overflow:hidden;background:#e9e1f0;margin-bottom:26px}.timer-fill{height:100%;background:#8b72ad;transition:width .25s linear}.timer-fill.low{background:#a65a42}.lobby{display:grid;grid-template-columns:1fr 1.1fr;gap:28px}.lobby-intro{background:#eee8f6;border:1px solid #dcd2e7;border-radius:24px;padding:30px;text-align:center}.lobby-intro h1{font-size:32px}.room-code{font-size:clamp(38px,6vw,64px);font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.13em;margin:8px 0 20px;color:#553e70}.qr-code{display:block;width:152px;height:152px;padding:8px;border-radius:12px;background:#fff;margin:20px auto}.lobby-intro .button{margin-top:16px}.link-copy{font-size:14px;border:0;background:#fff9;border-radius:10px;min-height:44px;padding:10px 20px;font-weight:700;color:var(--ink)}.roster{border:1px solid var(--line);border-radius:24px;background:#fffefb;padding:30px}.roster h2{font-size:24px}.player-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:400px;overflow:auto;padding:2px}.player-chip{background:#f0ede5;border-radius:12px;padding:13px 8px;text-align:center;font-size:14px;font-weight:700;animation:arrive .25s ease both}.player-chip.answered{background:var(--mint);color:var(--mint-ink)}.empty-roster{font-size:16px;color:var(--muted);line-height:1.8;padding:35px 0}.host-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:22px 0}.host-controls .button{min-width:190px}.participant-status{font-size:14px;color:var(--muted);font-weight:650}.student-lobby{max-width:650px;margin:auto;text-align:center;background:#fffefb;border:1px solid var(--line);border-radius:28px;padding:36px}.student-lobby img{width:180px;height:200px;object-fit:contain;animation:breathe 3s infinite}.student-lobby h1{font-size:34px}.student-lobby .pill{margin-bottom:16px}.leaderboard{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.leaderboard h2{font-size:22px}.ranking-list{list-style:none;padding:0;display:grid;gap:9px;margin:0}.ranking-row{display:flex;gap:16px;align-items:center;padding:14px 18px;border:1px solid #dedfd4;background:#fffdf7;border-radius:13px;font-size:16px}.rank-number{font-size:18px;font-weight:800;color:var(--purple);min-width:36px}.rank-score{margin-left:auto;font-weight:800;font-variant-numeric:tabular-nums}.ranking-row.my-rank{background:#e4eee2;border-color:#95b29a}.result-card{background:#edf3e8;border:1px solid #cedccb;border-radius:24px;text-align:center;padding:30px;position:relative;animation:arrive .4s ease both}.result-card img{width:150px;height:165px;object-fit:contain;animation:reward .65s ease both}.result-card h1{font-size:34px;margin:8px 0 12px}.result-score{font-size:52px;font-weight:850;letter-spacing:-.05em;margin:16px 0 4px;color:#345442}.result-score small{font-size:21px;color:var(--muted);font-weight:650;letter-spacing:normal}.result-caption{font-size:17px;color:var(--muted)}.result-actions{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:26px}.result-actions .button{min-width:180px}.review-list{list-style:none;padding:0;margin:0;display:grid;gap:16px}.review-item{padding:24px;background:#fffdf7;border:1px solid var(--line);border-radius:18px}.review-item h3{font-size:20px;margin-bottom:14px}.review-item p{font-size:16px;margin-bottom:8px}.review-item .chosen-label{font-size:14px;color:var(--muted)}.connection-error{position:sticky;top:12px;z-index:10;border:1px solid #cd957b;background:#fff0e4;padding:15px 20px;line-height:1.6;border-radius:14px;margin-bottom:18px;font-size:15px}.guide-dialog{width:min(560px,calc(100% - 32px));border:1px solid #e1d9d0;border-radius:24px;background:#fffaf5;color:var(--ink);padding:28px;box-shadow:0 25px 90px #42324c3b;max-height:90svh;overflow:auto}.guide-dialog::backdrop{background:#38304075}.guide-top{display:flex;align-items:center;justify-content:space-between}.guide-top .eyebrow{margin:0}.guide-dialog h2{font-size:26px}.guide-steps{list-style:none;padding:0;display:grid;gap:16px}.guide-steps b{display:block;font-size:17px;margin-bottom:5px}.guide-steps span{font-size:15px;color:var(--muted)}.guide-practice{padding:18px;background:var(--mint);border-radius:14px;margin:20px 0}.guide-practice p{font-size:16px}.mini-choice{border:1px solid #b7c9b7;background:#fffdf7;border-radius:10px;padding:12px 18px;font-size:19px;font-weight:700;min-height:48px;margin:0 8px 8px 0}.mini-choice.chosen{outline:3px solid var(--purple)}#demo-feedback{font-size:14px;margin:8px 0 0;min-height:44px}.dialog-actions{display:flex;gap:14px;flex-wrap:wrap}.dialog-actions .button{flex:1}.closed-card{max-width:650px;margin:60px auto}.closed-card h1{font-size:30px}.closed-card .button{margin-top:30px}.form-error{color:#893d2b;background:#ffebe3;border-radius:10px;padding:12px;font-size:14px}
@keyframes arrive{from{transform:translateY(8px)}to{transform:translateY(0)}}@keyframes stamp{0%{transform:scale(.8)}65%{transform:scale(1.07)}100%{transform:scale(1)}}@keyframes reward{0%{transform:translateY(20px) rotate(-7deg);opacity:0}65%{transform:translateY(-7px) rotate(3deg);opacity:1}100%{transform:translateY(0) rotate(0);opacity:1}}@keyframes breathe{50%{transform:translateY(-4px)}}
@media(min-width:1200px){.page:has([data-mode=host]){max-width:1220px}.page:has([data-mode=host]) .sentence{font-size:46px}.page:has([data-mode=host]) .choice{font-size:36px}}
@media(max-width:800px){.page{padding:28px 24px 48px}.site-header{padding:0 24px;height:66px}.home-intro{padding:0}.intro-mascot{width:170px;height:200px}.mode-card{padding:26px 24px}.entry-layout{gap:28px}.teacher-layout{gap:28px}.question-card{padding:30px 28px}.choice{padding:18px;gap:12px}.lobby{gap:18px}.lobby-intro,.roster{padding:24px}.player-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.site-header{padding:0 18px;height:60px}.brand{gap:7px;font-size:15px}.brand-mark{width:26px;height:26px;font-size:17px}.brand-divider{margin:0 1px}.service-name{font-size:13px}.header-link{font-size:13px}.page{padding:24px 18px 40px}.home-intro{position:relative;min-height:185px;margin-bottom:22px}.home-intro h1{font-size:42px}.home-intro .eyebrow{font-size:12px;margin-bottom:12px}.intro-caption{font-size:14px;max-width:190px}.intro-mascot{width:130px;height:160px;position:absolute;right:-6px;bottom:5px}.mode-grid{grid-template-columns:1fr;gap:20px}.mode-card{padding:24px}.mode-card h2{font-size:27px}.mode-number{margin-bottom:14px}.mode-card p{margin-bottom:20px;font-size:15px}.home-footer{align-items:flex-start;font-size:12px;padding-top:22px}.home-footer span{max-width:185px;line-height:1.7}.entry-layout,.teacher-layout{grid-template-columns:1fr;gap:24px;margin:0}.entry-copy{position:relative;min-height:145px}.entry-copy h1{font-size:30px;margin-bottom:0}.entry-copy .eyebrow{font-size:12px;max-width:180px}.entry-mascot{position:absolute;right:0;bottom:0;width:100px;height:115px;margin:0}.form-card{padding:26px 24px;border-radius:22px}.form-card h2{font-size:24px}.teacher-heading{margin:6px 0 25px}.teacher-heading h1{font-size:32px}.teacher-notes{padding:6px}.field-pair{gap:14px}.play-toolbar{margin:-12px 0 14px}.play-toolbar .text-button{padding:10px 8px;font-size:13px}.game-meta{font-size:13px;gap:6px;margin-bottom:12px}.pill{padding:7px 11px;font-size:12px}.question-card{padding:24px 20px 22px;border-radius:22px}.question-instruction{font-size:13px;margin-bottom:18px}.sentence{font-size:27px;line-height:1.85;margin-bottom:26px}.blank{min-width:65px;padding:0 5px}.choices{grid-template-columns:1fr;gap:16px}.choice{min-height:78px;padding:16px 18px;font-size:26px;gap:15px}.choice-index{height:28px;width:28px}.question-footer{align-items:flex-start;font-size:12px;margin-top:22px;gap:8px}.question-footer>span{max-width:65%}.progress-track{margin-top:20px}.feedback-card{padding:23px 22px;margin-top:18px;border-radius:20px}.feedback-card p{font-size:17px}.feedback-card .button{width:100%;min-width:0;margin-top:14px}.feedback-heading{font-size:19px}.waiting-message{font-size:15px}.lobby{grid-template-columns:1fr}.lobby-intro,.roster{padding:24px}.lobby-intro h1{font-size:28px}.room-code{font-size:44px}.qr-code{width:128px;height:128px}.player-grid{grid-template-columns:repeat(3,1fr)}.host-controls{gap:12px;flex-wrap:wrap}.host-controls .button{width:100%}.student-lobby{padding:28px 22px}.student-lobby h1{font-size:27px}.student-lobby img{width:150px;height:170px}.result-card{padding:24px 20px}.result-card h1{font-size:27px}.result-card img{width:130px;height:145px}.result-score{font-size:44px}.result-actions{gap:14px}.result-actions .button{width:100%;min-width:0}.ranking-row{font-size:14px;gap:10px;padding:14px}.rank-number{font-size:16px;min-width:30px}.review-item{padding:20px}.review-item h3{font-size:18px}.guide-dialog{padding:22px}.guide-dialog h2{font-size:24px}}
@media(max-width:350px){.page{padding-left:14px;padding-right:14px}.service-name{display:none}.brand-divider{display:none}.home-intro h1{font-size:38px}.intro-mascot{width:105px;height:135px;bottom:14px}.intro-caption{max-width:160px}.mode-card{padding:22px}.question-card{padding:22px 17px}.sentence{font-size:25px}.entry-copy h1{font-size:26px}.entry-mascot{width:82px;height:100px}.pill{font-size:12px}.form-card{padding:24px 20px}.choice-tag{font-size:12px}.room-code{font-size:39px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#pg-guide[data-game="spelling_quiz"] .pg-stage{position:relative}#pg-guide[data-game="spelling_quiz"] .sq-guide-scene{position:absolute;inset:24px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center}#pg-guide[data-game="spelling_quiz"] .sq-guide-question{font-size:clamp(20px,3vw,29px);font-weight:800;line-height:1.5;margin:0;color:#433b52}#pg-guide[data-game="spelling_quiz"] .sq-guide-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:100%}#pg-guide[data-game="spelling_quiz"] .sq-guide-options span{border:2px solid #cbd8ca;border-radius:14px;padding:18px 22px;background:#e6efdf;font-size:20px;font-weight:750;color:#433b52;white-space:nowrap}#pg-guide[data-game="spelling_quiz"] .sq-guide-options span:nth-child(2){background:#eee6f8;border-color:#d6c6e6}#pg-guide[data-game="spelling_quiz"] .sq-guide-options .is-correct{outline:3px solid #5b855d;outline-offset:3px;animation:stamp .4s ease}#pg-guide[data-game="spelling_quiz"] .sq-guide-scene img{width:110px;height:120px;object-fit:contain}#pg-guide[data-game="spelling_quiz"] .sq-guide-note{font-size:15px;line-height:1.6;margin:0;color:#675a78}@media(max-width:580px){.room-form>.extra-settings{margin-top:26px;margin-bottom:0;padding-bottom:0}.entry-copy{min-height:120px}.join-form .field{margin-bottom:18px}.join-form .form-card{padding-top:22px}#pg-guide[data-game="spelling_quiz"] .sq-guide-scene{gap:15px;inset:14px 10px}#pg-guide[data-game="spelling_quiz"] .sq-guide-options{gap:10px}#pg-guide[data-game="spelling_quiz"] .sq-guide-options span{font-size:17px;padding:14px 12px}#pg-guide[data-game="spelling_quiz"] .sq-guide-scene img{width:80px;height:90px}#pg-guide[data-game="spelling_quiz"] .sq-guide-note{font-size:14px}}

section[data-classroom-game-cover="spelling_quiz"] [data-opening-part="art"]{object-fit:contain}section[data-classroom-game-cover="spelling_quiz"] [data-opening-part="title"]{font-size:clamp(32px,4vw,38px)}

#pg-guide[data-game="spelling_quiz"] #pg-board{min-height:0;align-self:stretch;height:100%;z-index:0}#pg-guide[data-game="spelling_quiz"] .sq-guide-scene{pointer-events:none}#pg-guide[data-game="spelling_quiz"] #pg-input{position:relative;z-index:1}@media(max-width:580px){#pg-guide[data-game="spelling_quiz"] .sq-guide-scene{inset:8px;gap:10px}#pg-guide[data-game="spelling_quiz"] .sq-guide-question{font-size:18px}#pg-guide[data-game="spelling_quiz"] .sq-guide-scene img{width:52px;height:58px}#pg-guide[data-game="spelling_quiz"] .sq-guide-note{display:none}#pg-guide[data-game="spelling_quiz"] .sq-guide-options span{padding:10px;font-size:16px}}

.mode-number,.card-note,.home-footer,.game-meta,.pill,.choice-index,.choice-tag,.question-instruction,.question-footer,.source-link,.play-toolbar .text-button{font-size:14px}.intro-caption{word-break:keep-all}.sentence:focus,.feedback-heading:focus,.result-card h1:focus{outline:none}#pg-guide[data-game="spelling_quiz"] .pg-progress,#pg-guide[data-game="spelling_quiz"] .pg-tools button,#pg-guide[data-game="spelling_quiz"] .pg-dots button,#cg-rules:has([data-game="spelling_quiz"]) .pg-details summary{font-size:14px}#cg-rules:has([data-game="spelling_quiz"]) .pg-full-rules li{font-size:14px!important}

.feedback-card{scroll-margin-block:20px}.home-footer,.feedback-card p,.review-item p{word-break:keep-all}

/* This game's artwork has no embedded title. Keep its real heading visible. */
.classroom-game-cover[data-classroom-game-cover="spelling_quiz"][data-game-opening-style] {
  --cover-width: min(100%, 1100px, calc((100svh - 290px) * 1.77778));
}
.classroom-game-cover[data-classroom-game-cover="spelling_quiz"] [data-opening-part="title"] {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 16px 12px !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  font: 850 clamp(32px, 3vw, 38px)/1.2 system-ui, sans-serif;
  color: #40305e;
}
.classroom-game-cover[data-classroom-game-cover="spelling_quiz"] [data-opening-part="actions"] {
  position: static;
  padding: 0 16px 18px;
}
@media (max-width: 600px) {
  .classroom-game-cover[data-classroom-game-cover="spelling_quiz"][data-game-opening-style] { --cover-width: 100%; }
}
