.games-main{padding-top:2.8rem;padding-bottom:3rem;max-width:1080px}.games-intro{max-width:740px;margin:0 auto 2.5rem}.game-list{grid-template-columns:repeat(3,minmax(0,1fr))}.game-list .card h2{font-size:1.35rem}.game-list .card img{margin:0 auto 1rem;width:64px;height:64px;object-fit:contain}.game-list .eyebrow{font-size:.65rem}.teacher-note{margin:2.5rem auto 0;max-width:780px;background:var(--white);padding:1.5rem;border-radius:24px;border:1px dashed var(--sky)}.teacher-note li{margin-bottom:.6rem}.games-footer{text-align:center;padding:1.5rem}.game-setup{max-width:760px;margin:auto}.game-setup h1{margin:.4rem 0 1rem}.setup-grid{display:grid;grid-template-columns:2fr 1.5fr 1fr;gap:1rem;margin:1.5rem 0}.game-field{display:flex;flex-direction:column;gap:.5rem}.game-field label{font-weight:800;font-size:.9rem}.game-field input,.game-field select,.game-field textarea{font:inherit;color:var(--ink);width:100%;padding:.8rem;border:1.5px solid var(--sky);background:white;border-radius:12px;min-height:48px}.game-field textarea{resize:vertical}.game-field :focus-visible{outline:3px solid var(--ink);outline-offset:3px}.hint,.game-help,.keyboard-help{font-size:.85rem;color:var(--ink-soft)}.game-help{margin-top:1.5rem}.game-error{color:#9d263c;min-height:1.4em}.play-shell{background:var(--paper);border:2px dashed var(--sky);border-radius:28px;padding:1.5rem;text-align:center;max-width:1000px;margin:auto}.play-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:2rem;font-weight:700}.draw-prompt{font-family:var(--font-body);font-size:clamp(2.4rem,7vw,6rem);line-height:1.2;overflow-wrap:anywhere;min-height:1.3em;margin:1rem 0;color:var(--ink)}.timer{font-size:clamp(3.5rem,9vw,7rem);font-weight:900;line-height:1.2;font-variant-numeric:tabular-nums}.time-track{max-width:520px;height:8px;background:var(--sky-soft);border-radius:20px;margin:1.5rem auto;overflow:hidden}#time-fill{height:100%;background:var(--ink);transform-origin:left center}.play-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.7rem;margin:1.4rem 0}.play-shell:fullscreen{width:100%;max-width:none;min-height:100%;border:0;border-radius:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(1rem,4vw,3rem);overflow:auto}.play-shell:fullscreen .play-top{margin-bottom:1rem}.result-words{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}.result-words li{padding:.5rem 1rem;background:white;border:1px dashed var(--sky);border-radius:12px}.game-results{max-width:800px;margin:auto}[hidden]{display:none!important}@media(max-width:720px){.game-list,.setup-grid{grid-template-columns:1fr}.games-main{padding-top:1.8rem}.play-shell{padding:1rem}.play-top{font-size:.85rem}.play-actions .btn{width:100%}.draw-prompt{font-size:clamp(2rem,10vw,3rem)}.keyboard-help{display:none}}
.memory-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;max-width:680px;margin:1.5rem auto}.visual-board figure{margin:0;background:white;border:1px dashed var(--sky);border-radius:20px;padding:1rem}.visual-board svg{width:100%;max-width:150px;aspect-ratio:1;margin:auto}.visual-board figcaption{font-size:.9rem;margin-top:.5rem;font-weight:700}.seed-board{max-width:280px;margin:1.5rem auto}.seed-board svg{max-width:230px}#visual-heading{font-size:clamp(1.4rem,4vw,2.5rem)}#visual-clock{font-size:clamp(2.5rem,5vw,4rem)}@media(max-width:600px){.memory-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.visual-board figure{padding:.7rem}.visual-board svg{max-width:90px}}
/* Giao diện chung: thẻ minh hoạ, thiết lập gọn, màn chơi tập trung. */
.games-main{max-width:1180px;padding-top:1.8rem}.games-intro{margin-bottom:1.5rem}.games-intro .display{font-size:clamp(2.1rem,4vw,3.5rem);margin:.4rem 0 .8rem}.games-intro .lead{font-size:1rem}.game-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}.game-card{background:#ffffff;border:1px solid #89ADB2;border-radius:22px;overflow:hidden;box-shadow:0 4px 15px rgba(14,90,102,.035);display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}.game-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(14,90,102,.09)}.game-card-art{display:block;background:#E8F2F3;padding:.5rem 1rem;border-bottom:1px solid #89ADB2}.game-card-art img{width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}.game-card-body{padding:1.2rem;display:flex;flex-direction:column;flex:1}.game-tag{align-self:flex-start;font-size:.67rem;letter-spacing:.05em;font-weight:800;padding:.25rem .65rem;background:var(--sky-soft);border-radius:20px}.game-card h2{font-size:1.18rem;line-height:1.35;margin:.6rem 0}.game-card p{font-size:.9rem;margin-bottom:1rem;color:var(--ink-soft);flex:1}.game-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.game-card-bottom>span{font-size:.72rem;color:var(--ink-soft)}.game-card-bottom .btn{font-size:.73rem;padding:.65rem .85rem}.game-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:1.2rem 0 1.8rem}.game-filters button{font:700 .8rem var(--font-body);border:1px solid var(--sky);border-radius:30px;padding:.55rem 1rem;color:var(--ink);background:transparent;cursor:pointer}.game-filters [aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.game-setup{background:#fffdfa;border:1px solid var(--line);border-radius:24px;padding:1.5rem;max-width:900px}.setup-heading{display:grid;grid-template-columns:1.5fr 1fr;gap:1.5rem;align-items:center;margin-bottom:1.2rem}.setup-heading .display{font-size:clamp(2rem,4vw,3rem);margin:.4rem 0 .6rem}.setup-heading p{font-size:.95rem;margin-bottom:0}.setup-heading>img{width:100%;max-width:300px;background:#f5f0e8;border-radius:20px}.setup-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin:1rem 0;gap:.8rem}.game-field input,.game-field select,.game-field textarea{padding:.65rem;min-height:44px;font-size:.9rem}.game-field label{font-size:.8rem}.game-help{margin-top:.9rem}.game-guide{border-top:1px dashed var(--sky);padding-top:1rem;margin-top:1.1rem;font-size:.87rem}.game-guide summary{font-weight:800;cursor:pointer}.game-guide p{margin-top:.7rem}.back-link{font-size:.85rem;margin-bottom:1rem}.play-shell{border-style:solid;border-color:var(--line);background:#fffdfa;padding:1.2rem;max-width:940px}.play-top{margin-bottom:1rem;font-size:.85rem}.play-shell .eyebrow{font-size:.7rem;margin:.5rem 0}.draw-prompt{font-size:clamp(2.4rem,7vw,5rem);margin:.7rem 0}.play-shell .timer{font-size:clamp(2.5rem,6vw,4rem);color:var(--ink-soft)}.time-track{margin:1rem auto;height:5px}.play-actions{gap:.6rem;margin:1rem 0}.play-actions .btn{font-size:.78rem;padding:.7rem 1rem}.play-shell p{font-size:.9rem}.memory-board{gap:.8rem;margin:1rem auto;max-width:560px}.visual-board figure{border-style:solid;border-color:var(--line);background:#fbf7f0;border-radius:15px}.visual-board svg{max-width:120px}.seed-board{max-width:230px}.seed-board svg{max-width:190px}.class-prompt{font-size:clamp(1.5rem,4vw,2.6rem);line-height:1.25;margin:1rem 0}.class-board{margin:1rem auto}.bingo-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:560px;gap:.5rem}.bingo-tile{padding:1.1rem .5rem;border:1px dashed var(--sky);border-radius:12px;background:#faf5ec;font-weight:700;font-size:.9rem;overflow-wrap:anywhere}.bingo-tile.called{background:var(--sky-soft);border-style:solid}.pair-board{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:center;max-width:650px}.pair-word{border:1px dashed var(--sky);padding:1.2rem;border-radius:22px;background:#f9f2e7;min-height:150px;display:flex;flex-direction:column;justify-content:center}.pair-word:nth-child(3){background:#eaf0e7}.pair-word h3{font-size:clamp(1.3rem,4vw,2.2rem);overflow-wrap:anywhere}.pair-word svg{width:90px;margin:auto}.pair-plus{font-size:2.4rem;color:var(--ink-soft)}.spot-board{display:grid;grid-template-columns:repeat(var(--spot-cols,3),minmax(0,1fr));gap:.6rem;max-width:560px}.spot-tile{border:1px solid var(--line);border-radius:15px;padding:.6rem;background:#fbf7f0;cursor:pointer;position:relative;color:var(--ink);font:700 .8rem var(--font-body)}.spot-tile svg{width:100%;max-width:125px;margin:auto}.spot-tile>span{display:block}.spot-tile.tried{opacity:.45}.spot-tile.spot-correct{outline:3px solid var(--ink);background:#dceadf;opacity:1}.spot-tile:focus-visible,.game-filters button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.play-shell :disabled{cursor:default}#class-called{font-size:.75rem;color:var(--ink-soft)}.teacher-note{margin-top:1.8rem;padding:1.2rem;font-size:.9rem}.teacher-note h2{font-size:1.2rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:900px){.game-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.game-list{grid-template-columns:1fr}.game-card{display:grid;grid-template-columns:120px minmax(0,1fr)}.game-card-art{padding:.3rem;display:flex;align-items:center}.game-card-art img{aspect-ratio:4/5}.game-card-body{padding:1rem .9rem}.game-card h2{font-size:1.05rem}.game-card p{font-size:.82rem;margin-bottom:.7rem}.game-card-bottom{align-items:flex-start;flex-direction:column}.game-card-bottom .btn{padding:.55rem .75rem}.games-main{padding-top:1.2rem}.game-filters{gap:.35rem;margin-bottom:1.2rem}.game-filters button{padding:.45rem .65rem;font-size:.72rem}.setup-heading{grid-template-columns:1fr 105px;gap:.6rem}.setup-heading>img{border-radius:14px}.setup-heading .display{font-size:1.9rem}.setup-heading p{font-size:.85rem}.game-setup{padding:1rem}.setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-grid .game-field:first-child:last-child{grid-column:1/-1}.play-actions{display:flex}.play-actions .btn{width:auto;flex:1 1 auto;font-size:.73rem;padding:.65rem .8rem}.play-shell{padding:.9rem}.pair-board{gap:.5rem}.pair-word{padding:.9rem .5rem;min-height:120px}.pair-word h3{font-size:1.3rem}.pair-plus{font-size:1.7rem}.bingo-tile{padding:.8rem .25rem;font-size:.78rem}.spot-tile{padding:.4rem}.spot-tile svg{max-width:100px}.memory-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.visual-board figure{padding:.5rem}.visual-board svg{max-width:85px}}
@media print{body *{visibility:hidden}.bingo-board,.bingo-board *{visibility:visible}.bingo-board{display:grid!important;position:absolute;inset:2cm 1cm auto;max-width:none;gap:0}.bingo-tile{border:1px solid #333;border-radius:0;min-height:4cm;background:white!important;font-size:14pt;padding:.5cm}.bingo-tile::after{content:"";display:block;height:2.5cm}.site-header{display:none}}
.game-error:empty,#visual-error:empty,#class-error:empty{display:none}.game-setup .hint{margin:.7rem 0}.game-setup form>.btn{margin-top:.4rem}@media(max-width:600px){.setup-heading{display:block;position:relative}.setup-heading>img{position:absolute;top:0;right:0;width:85px}.setup-heading .display,.setup-heading .eyebrow{padding-right:95px}.setup-heading p:not(.eyebrow){padding-top:.3rem;line-height:1.6}.setup-heading .display{font-size:1.85rem}}
.wheel-setup{max-width:1000px}.wheel-setup>.display{font-size:clamp(2rem,4vw,3rem)}.wheel-layout{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:1.5rem}.wheel-wrap{position:relative;max-width:430px;margin:1rem auto;width:100%;padding:.5rem}.wheel-wrap svg{width:100%;overflow:visible}.wheel-pointer{position:absolute;top:3px;left:50%;transform:translateX(-50%);border-left:12px solid transparent;border-right:12px solid transparent;border-top:26px solid var(--ink);z-index:1}#wheel-disc{transform-origin:200px 200px}.wheel-result{text-align:center}.wheel-result h2{font-size:clamp(1.6rem,4vw,3rem);overflow-wrap:anywhere}.wheel-result .timer{font-size:3rem}.wheel-result p{font-size:.9rem}.wheel-setup :disabled{opacity:.55;cursor:default}.pair-word{min-height:130px}.pair-word h3{margin:0}@media(max-width:650px){.wheel-layout{grid-template-columns:1fr;gap:.5rem}.wheel-wrap{max-width:300px;margin:.7rem auto}.wheel-result h2{margin:.4rem 0}.wheel-result .play-actions{margin:.7rem 0}}
.training-frames{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:1.5rem 0}.training-frames span{background:var(--sky-soft);border:1px solid var(--sky);border-radius:12px;padding:.6rem .8rem;font-size:.8rem}.training-frames [aria-current=step]{background:var(--ink);color:white}.play-shell .training-task{font-size:clamp(1.1rem,2.5vw,1.4rem);line-height:1.7;max-width:720px;margin:1rem auto}.training-facilitator{background:#f5f0e8;border-radius:12px;padding:1rem;max-width:720px;margin:1rem auto}#training-step:focus{outline:none}@media(max-width:600px){.training-frames{gap:.3rem}.training-frames span{font-size:.72rem;padding:.5rem}}
/* Thiết lập ngắn gọn; bốn thẻ mỗi hàng trên desktop. */
@media(min-width:1050px){.game-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.game-card-body{padding:1rem}.game-card h2{font-size:1.05rem}.game-card-bottom{flex-wrap:wrap}.game-card-bottom .btn{margin-left:auto}}
.game-setup{max-width:800px;padding:1.2rem}.setup-heading{grid-template-columns:1fr 140px;gap:1rem;margin-bottom:.8rem}.setup-heading>img{max-width:140px}.setup-heading .display{font-size:clamp(1.8rem,3.5vw,2.5rem);margin:0 0 .4rem}.setup-heading p{font-size:.9rem}.setup-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:.8rem 0}.game-field label{font-size:.78rem}.game-field input,.game-field select,.game-field textarea{font-size:.85rem;padding:.55rem .65rem;min-height:42px}.game-guide{margin-top:.8rem;padding-top:.8rem}.game-card p{margin-bottom:.7rem}.games-intro{margin-bottom:1rem}.games-intro .lead{margin-bottom:0}
@media(max-width:600px){.game-setup{padding:1rem}.setup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-heading>img{width:72px}.setup-heading .display{padding-right:80px}.setup-heading p:not(.eyebrow){padding-top:0}.game-field label{font-size:.75rem}}
.game-tuning{font-size:.82rem;margin:.6rem 0}.game-tuning summary{cursor:pointer;font-weight:700}.game-tuning>.game-field{margin-top:.6rem}.game-tuning .setup-grid{margin:.5rem 0}.game-field select{min-width:0}.game-card-bottom>span{font-size:.68rem}
/* Hai hàng bằng chiều ngang: đối tượng/chủ đề, rồi các lựa chọn còn lại. */
.setup-grid.grouped-settings{display:flex;flex-direction:column;gap:.75rem}.setup-row{display:grid;gap:.7rem;min-width:0}.setup-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-secondary{grid-template-columns:repeat(var(--fields,3),minmax(0,1fr))}.setup-row>.game-field{min-width:0}.grouped-settings+.game-error:empty{display:none}
@media(max-width:380px){.setup-secondary{gap:.4rem}.setup-row select,.setup-row input{font-size:.75rem;padding:.5rem .35rem}}
/* Ô nhập bổ sung và nút bắt đầu có khoảng thở rõ ràng. */
.game-setup textarea{padding:1rem;line-height:1.7}.game-setup form>button[type=submit]{margin-top:1.15rem;padding:.9rem 1.5rem}.word-additions{margin:.9rem 0}.word-additions>.game-field{margin-top:.7rem}#custom-field{margin-top:1rem;margin-bottom:.5rem}.game-setup form>.game-error:empty{display:none}
.lucky-wheel{max-width:1050px}.wheel-dial{display:block;width:100%;background:none;border:0;padding:0;cursor:pointer;color:var(--ink)}.wheel-dial .wheel-wrap{display:block}.wheel-dial:focus-visible{outline:3px solid var(--ink);outline-offset:4px;border-radius:24px}.wheel-list-tools{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}.wheel-list-tools>span{margin-right:auto;font-size:.85rem}.wheel-winner{background:#E8F2F3;border:1px solid var(--sky);border-radius:18px;padding:1rem;text-align:center;margin:1rem 0}.wheel-winner>p{margin:0}.wheel-winner h2{font-size:clamp(1.7rem,4vw,2.5rem);overflow-wrap:anywhere;margin:.5rem 0}.wheel-winner .btn{font-size:.75rem}.wheel-editor textarea{min-height:230px}.lucky-wheel .setup-secondary{align-items:end}.lucky-wheel #wheel-phase{text-align:center}.wheel-winner :focus{outline:none}
.proverb-art{max-width:550px;margin:1rem auto}.proverb-art svg{display:block;width:100%;height:auto}#proverb-guess-form{max-width:650px;margin:1rem auto;text-align:left}#proverb-guess{font:inherit;padding:.8rem;border:1px solid var(--sky);border-radius:12px;width:100%}#proverb-hint{background:#FAE6C2;padding:.8rem;border-radius:12px}#proverb-answer{color:var(--ink)}
.emoji-clue{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(.5rem,2vw,1.2rem);min-height:200px;padding:1.5rem 1rem;background:#E8F2F3;border-radius:22px;font-size:clamp(2.5rem,7vw,4.5rem);line-height:1.4;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}.emoji-clue>span{display:inline-block}.word-additions[hidden]{display:none}
.drawn-clue{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.6rem;padding:1.2rem;background:#E8F2F3;border-radius:22px;min-height:180px}.clue-drawing{width:clamp(62px,17vw,100px);height:auto;flex:0 0 auto}.clue-operator{font:800 clamp(1.5rem,5vw,2.4rem) var(--font-body);color:var(--ink);padding:0 .15rem}.proverb-art{max-width:650px}
.proverb-art .clue-drawing{width:clamp(62px,17vw,100px);max-width:100px;height:auto;display:block}
/* Cùng khoảng cách ở hai phía đường phân cách dưới nút bắt đầu. */
.game-setup>form{margin-bottom:0;display:flow-root}.game-setup>form>button[type=submit]{margin-bottom:0}.game-setup>.game-guide{margin-top:1.25rem;padding-top:1.25rem}.game-setup>.game-guide>summary{margin:0}
.emoji-clue{font-size:clamp(3rem,8vw,4.5rem)}.proverb-art .emoji-clue>.clue-drawing{width:clamp(55px,12vw,80px);max-width:80px;height:auto}
/* Nhịp khoảng cách riêng cho màn đoán câu. */
#proverb-play{padding:1.25rem}#proverb-play>h2{margin:.25rem 0 1rem}#proverb-art{margin:0 auto}#proverb-art .emoji-clue{min-height:155px;padding:1rem}#proverb-clock{margin:.75rem 0;line-height:1.15}#proverb-guess-form{margin:1rem auto .75rem}#proverb-guess-form .play-actions{margin:.75rem 0 0;gap:.6rem}#proverb-feedback{margin:.75rem 0}#proverb-hint{margin:.75rem 0}#proverb-feedback:empty,#proverb-hint:empty,#proverb-meaning:empty{display:none}#proverb-answer{margin:1rem 0 .5rem;font-size:clamp(1.35rem,4vw,2rem)}#proverb-meaning{margin:0 auto 1rem;max-width:650px}#proverb-next{margin:0 0 .25rem}#proverb-art .fish-large{font-size:2em;transform:scaleX(-1);line-height:1}#proverb-art .fish-small{font-size:.8em;line-height:1}
#proverb-answer{white-space:pre-line;line-height:1.6}.clue-lines{background:#E8F2F3;border-radius:22px;padding:.75rem}#proverb-art .clue-lines>.emoji-clue{min-height:0;background:none;padding:.75rem .25rem;border-radius:0;font-size:clamp(1.9rem,5.5vw,3rem);gap:.45rem}.clue-lines>.emoji-clue+.emoji-clue{border-top:1px dashed #B7CED0}.proverb-art .clue-lines .clue-drawing{width:clamp(40px,9vw,64px);max-width:64px}
#proverb-answer{font-size:clamp(1.1rem,3vw,1.65rem);line-height:1.8}
/* Vòng quay: không giữ cột trống khi dùng bộ từ có sẵn. */
.lucky-wheel{max-width:900px;padding:1.5rem}.lucky-wheel>.display{margin:0 0 .35rem}.lucky-wheel>p{margin:0 0 1rem}.lucky-wheel .wheel-layout{display:block;margin:1rem 0 0}.lucky-wheel .wheel-layout.has-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1fr);align-items:start;gap:1.5rem}.lucky-wheel .wheel-stage{max-width:360px;margin:0 auto;text-align:center}.lucky-wheel .wheel-wrap{max-width:340px;margin:0 auto;padding:.25rem}.lucky-wheel .wheel-stage>.play-actions{margin:.45rem 0 0}.lucky-wheel .wheel-stage>.play-actions .btn{min-width:170px}.lucky-wheel #wheel-phase{margin:.65rem 0;font-size:.85rem;line-height:1.5}.lucky-wheel .wheel-editor{padding-top:1rem}.lucky-wheel .wheel-editor textarea{min-height:240px;max-height:340px}.lucky-wheel .wheel-winner{max-width:550px;margin:.75rem auto 1rem;padding:.9rem 1rem}.lucky-wheel .wheel-winner .play-actions{margin:.75rem 0 0}.lucky-wheel .wheel-bottom{border-top:1px dashed var(--sky);padding-top:1rem;margin-top:1rem}.lucky-wheel .wheel-list-tools{justify-content:center;gap:.6rem;margin:0}.wheel-stats{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin-right:auto;font-size:.85rem}.wheel-stats:has(#wheel-progress:not(:empty)) #wheel-count::after{content:" ·";margin-left:.6rem}.lucky-wheel #wheel-history-panel{margin:.85rem 0 0}.lucky-wheel #wheel-history{margin:.5rem 0 0;line-height:1.6}.lucky-wheel .game-error:empty{display:none}
@media(max-width:650px){.lucky-wheel{padding:1rem}.lucky-wheel .wheel-layout.has-editor{grid-template-columns:1fr;gap:1rem}.lucky-wheel .wheel-stage{max-width:300px}.lucky-wheel .wheel-wrap{max-width:280px}.lucky-wheel .wheel-editor{padding-top:0}.lucky-wheel .wheel-editor textarea{min-height:170px}.lucky-wheel .wheel-list-tools .btn{padding:.55rem .7rem;font-size:.7rem}.wheel-stats{flex:1 1 100%;justify-content:center;margin:0 0 .25rem}.lucky-wheel #wheel-phase{font-size:.8rem}}
.training-example{margin:1rem 0;padding:.85rem 1rem;background:#E8F2F3;border-radius:14px;font-size:.85rem}.training-example>summary{font-weight:800;cursor:pointer}.training-example-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin-top:.8rem}.training-example-grid>div{border:1px solid var(--sky);border-radius:12px;background:#fffaf1;padding:.6rem;text-align:center}.training-example-grid span{font-size:1.8rem}.training-example-grid p{font-size:.75rem;line-height:1.5;margin:.4rem 0 0}.training-prompt-field{margin-top:.9rem}.training-level-note{margin:.8rem 0 0!important}@media(max-width:600px){.training-example-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:600px){
  .games-intro{margin-bottom:1rem}.games-intro .display{font-size:1.9rem}.games-intro .lead{font-size:.9rem;margin-bottom:0}
  .game-filters{margin-bottom:1rem}.game-list{gap:.75rem}
  .game-card{grid-template-columns:88px minmax(0,1fr);border-radius:18px}
  .game-card-art{padding:.2rem}.game-card-art img{aspect-ratio:1;object-fit:contain}
  .game-card-body{padding:.8rem}.game-card h2{font-size:1rem;margin-bottom:.3rem}
  .game-card p{font-size:.8rem;line-height:1.5;margin-bottom:.5rem}
  .game-card-bottom{gap:.45rem}.game-card-bottom>span{font-size:.7rem}
  .game-card-bottom .btn{min-height:40px;padding:.5rem .75rem;font-size:.65rem;letter-spacing:.06em}
  .games-main{padding-bottom:1.5rem}
}


.visual-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}[data-visual-game="doodle"] .play-top{align-items:flex-start}@media(max-width:600px){[data-visual-game="doodle"] .play-top{flex-wrap:wrap}[data-visual-game="doodle"] .visual-tools{width:100%;justify-content:space-between}.visual-tools .btn{font-size:.65rem;padding:.6rem .7rem}}

.story-paper-guide{margin:1rem 0 1.5rem}.story-paper-guide>p{font-size:.9rem;margin-bottom:.75rem}.story-paper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;max-width:380px;width:100%;margin:1rem auto;border:2px solid var(--sky);border-radius:12px;overflow:hidden;background:#fff}.story-paper>span{display:flex;align-items:center;justify-content:center;min-height:76px;margin:0;padding:.75rem;border:0;border-radius:0;background:white;font-size:.85rem;font-weight:800;color:var(--ink-soft)}.story-paper>span:nth-child(odd){border-right:1px solid var(--sky)}.story-paper>span:nth-child(-n+2){border-bottom:1px solid var(--sky)}.story-paper>[aria-current=step]{background:var(--ink);color:white;box-shadow:inset 0 0 0 3px var(--ink)}@media(max-width:600px){.story-paper>span{min-height:64px;font-size:.8rem}}
