.box-game{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 50% 0%,var(--sun),var(--coral) 120%);flex-direction:column;gap:12px;padding:14px;display:flex}.box-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.box-header h1{font-family:var(--font-display);color:var(--ink);text-transform:uppercase;letter-spacing:.5px;margin:0;font-size:clamp(24px,5vw,40px)}.box-stats{flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;font-weight:800;display:flex}.box-stats svg{color:var(--sun-deep)}.box-controls{gap:6px;display:flex}.box-inner{flex-direction:column;flex:1;gap:14px;display:flex}.box-notice{font-family:var(--font-display);text-align:center;margin:0;font-size:clamp(15px,3.4vw,22px);font-weight:800}.box-grid{gap:12px;width:100%;max-width:900px;margin-inline:auto;display:grid}.box-item{aspect-ratio:1;background:var(--turquoise);border:4px solid var(--ink);border-radius:14px;place-items:center;transition:transform .18s;display:grid;position:relative;overflow:hidden;box-shadow:0 6px #0003}.box-item:hover:not(:disabled){transform:translateY(-4px)}.box-item:disabled{opacity:.55}.box-item[data-opened=true]{background:var(--cream)}.box-item[data-solved=true]{background:var(--grass)}.box-lid{background:var(--coral);border-bottom:4px solid var(--ink);height:34%;position:absolute;top:0;left:0;right:0}.box-item[data-opened=true] .box-lid{opacity:0;transition:transform .35s,opacity .35s;transform:translateY(-120%)}.box-body{background:var(--sun);border-left:3px solid var(--ink);border-right:3px solid var(--ink);position:absolute;inset:0 44%}.box-item[data-opened=true] .box-body{opacity:.45}.box-face{z-index:2;font-family:var(--font-display);color:var(--cream);text-shadow:0 2px #00000059;font-size:clamp(18px,4.6vw,30px);font-weight:800;position:relative}.box-item[data-opened=true] .box-face{color:var(--ink);text-shadow:none}.box-question{background:var(--cream);border:4px solid var(--ink);border-radius:18px;flex-direction:column;gap:10px;width:min(94vw,600px);margin-inline:auto;padding:16px;display:flex;box-shadow:0 8px #00000029}.box-question-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.box-question-head h2{font-family:var(--font-display);color:var(--grass-dark);margin:0;font-size:clamp(19px,4.4vw,28px)}.box-question-head img{object-fit:contain;border:3px solid var(--ink);border-radius:12px;width:74px;height:74px}.box-choice{background:var(--grape);color:var(--cream);font-family:var(--font-display);border-radius:12px;height:48px;font-size:18px;font-weight:800}.box-choice:hover{background:var(--grape);filter:brightness(1.12)}.box-typing{gap:8px;display:flex}.box-complete{z-index:30;background:#0c2a18b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.box-complete h2{font-family:var(--font-display);color:var(--sun);text-align:center;grid-area:1/1;place-self:center;margin:0;font-size:clamp(22px,5.4vw,36px);transform:translateY(-70px)}.box-complete p{color:var(--cream);text-align:center;grid-area:1/1;place-self:center;font-weight:800;transform:translateY(-14px)}.box-complete>div:nth-child(4){flex-wrap:wrap;grid-area:1/1;justify-content:center;place-self:center;gap:8px;display:flex;transform:translateY(46px)}.box-stars{color:var(--sun);grid-area:1/1;place-self:center;gap:6px;display:flex;transform:translateY(-120px)}.box-confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.box-confetti i{top:-12px;left:calc(var(--confetti-i)*4.2%);background:var(--sun);width:9px;height:16px;animation:2.2s linear infinite box-fall;animation-delay:calc(var(--confetti-i)*70ms);border-radius:3px;position:absolute}.box-confetti i:nth-child(3n){background:var(--coral)}.box-confetti i:nth-child(3n+1){background:var(--turquoise)}@keyframes box-fall{0%{transform:translateY(-20px)rotate(0)}to{transform:translateY(105vh)rotate(540deg)}}@media (width<=640px){.box-game{padding:10px}.box-grid{gap:8px}}.box-zoom-card[data-state]{z-index:60;transform-origin:0 0;background:var(--cream);border:4px solid var(--ink);text-align:center;width:100%;max-width:none;height:100dvh;max-height:none;box-shadow:none;border-radius:0;flex-direction:column;align-items:stretch;gap:0;padding:0;animation:.42s cubic-bezier(.2,.7,.2,1) box-zoom-in;display:flex;position:fixed;inset:0;overflow:hidden;transform:none}.box-zoom-card[data-zooming-out=true]{pointer-events:none}.box-zoom-content{overscroll-behavior:contain;flex-direction:column;flex:1;justify-content:safe center;align-items:center;gap:22px;min-height:0;padding:28px max(24px,50% - 500px);display:flex;overflow-y:auto}.box-zoom-card img{object-fit:contain;border-radius:8px;flex-shrink:0;width:100%;min-height:0;max-height:42dvh}.box-zoom-card .box-zoom-title{font-family:var(--font-display);overflow-wrap:anywhere;flex-shrink:0;width:100%;margin:0;font-size:32px;font-weight:800;line-height:1.2}.box-zoom-number{background:var(--coral);border-bottom:4px solid var(--ink);font-family:var(--font-display);color:var(--ink);flex-shrink:0;padding:58px 52px 18px;font-size:22px;font-weight:800;display:block}.box-zoom-card>button{top:56px}.box-zoom-choices{flex-shrink:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;display:grid}.box-zoom-choices .box-choice{white-space:normal;overflow-wrap:anywhere;border-radius:8px;height:auto;min-height:60px;padding:12px;font-size:22px;line-height:1.3}.box-zoom-actions{flex-wrap:wrap;flex-shrink:0;justify-content:center;gap:10px;display:flex}.box-feedback{font-family:var(--font-display);color:var(--coral-deep);margin:0;font-weight:800}.box-zoom-card .box-typing{flex-wrap:wrap;flex-shrink:0;width:100%}.box-zoom-card .box-typing input{flex:1;min-width:160px}@keyframes box-zoom-in{0%{transform:translate(var(--box-origin-x,0px),var(--box-origin-y,0px)) scale(var(--box-origin-scale-x,.3),var(--box-origin-scale-y,.3))}to{transform:translate(0)scale(1)}}@media (width<=480px){.box-zoom-content{gap:14px;padding:18px 14px}.box-zoom-card .box-zoom-title{font-size:26px}.box-zoom-choices{grid-template-columns:1fr}.box-zoom-choices .box-choice{min-height:52px;font-size:20px}}@media (prefers-reduced-motion:reduce){.box-zoom-card[data-state]{animation:none}}.wheel-game{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 50% 0%,var(--sky-bottom),var(--sky-top) 62%);flex-direction:column;gap:12px;padding:14px;display:flex}.wheel-workspace{background:var(--sky-bottom);color:var(--ink);min-height:100vh}.wheel-workspace-tools{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:12px;display:flex}.wheel-count,.wheel-editor-tabs{flex-wrap:wrap;gap:6px;display:flex}.wheel-grid{grid-template-columns:minmax(0,1fr);display:grid}.wheel-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.wheel-grid[data-count="2"] .wheel-game{min-width:0;min-height:0;padding:8px}.wheel-grid[data-count="2"] .wheel-frame{width:min(100%,430px)}.wheel-grid[data-count="2"] .wheel-header h1{letter-spacing:0;overflow-wrap:anywhere;font-size:20px}.wheel-grid[data-count="2"] .wheel-stats{gap:4px;font-size:12px}.wheel-grid[data-count="2"] .wheel-controls{flex-wrap:wrap}.wheel-grid[data-count="2"] .wheel-controls button,.wheel-grid[data-count="2"] .wheel-controls a{width:30px;height:30px}.wheel-grid[data-count="2"] .wheel-question{border-width:2px;border-radius:8px;width:100%;min-width:0;padding:8px}.wheel-grid[data-count="2"] .wheel-spin{letter-spacing:0;max-width:100%;height:44px;padding-inline:10px;font-size:13px}.wheel-grid[data-count="2"] .wheel-spin svg{width:14px}.wheel-grid[data-count="2"] .wheel-selected-content{gap:6px;inset:8px}.wheel-grid[data-count="2"] .wheel-selected-content h2{font-size:28px}.wheel-grid[data-count="2"] .wheel-typing{flex-direction:column}.wheel-grid[data-count="2"] .wheel-question button{white-space:normal;height:auto;min-height:36px;padding:6px;font-size:12px}.wheel-game[data-twin=true] .wheel-complete{background:var(--cream);color:var(--ink);z-index:5;flex-direction:column;gap:12px;width:100%;padding:12px;display:flex;position:relative;inset:auto}.wheel-game[data-twin=true] .wheel-complete>*{color:var(--ink);position:static;transform:none!important}.wheel-game[data-twin=true] .wheel-complete h2{font-size:20px}.wheel-game[data-twin=true] .wheel-confetti{display:none}.wheel-editor label{flex-direction:column;gap:6px;display:flex}.wheel-editor label[aria-label]{flex-direction:row;align-items:center}.wheel-editor-basics{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:16px;margin:20px 0;display:grid}.wheel-quick-entry{flex-direction:column;gap:10px;margin:20px 0;display:flex}.wheel-quick-entry button{align-self:flex-start}.wheel-editor-item{border-top:1px solid var(--border);flex-direction:column;gap:12px;padding-block:18px;display:flex}.wheel-editor-item-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.wheel-editor-item-top h2{font-family:var(--font-display);margin:0;font-size:20px}.wheel-editor-answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.wheel-editor-more{border-block:1px solid var(--border);margin:24px 0;padding:16px 0}.wheel-editor-more summary{cursor:pointer;font-weight:800}.wheel-editor-more label.flex{flex-direction:row}@media (width<=640px){.wheel-editor-basics{grid-template-columns:minmax(0,1fr)}.wheel-grid[data-count="2"] .wheel-selected-content h2{font-size:20px}.wheel-grid[data-count="2"] .wheel-selected{border-width:4px}.wheel-grid[data-count="2"] .wheel-stage{gap:10px}.wheel-grid[data-count="2"] .wheel-notice{font-size:12px}.wheel-grid[data-count="2"] .wheel-slot-text{font-size:10px}.wheel-grid[data-count="2"] .wheel-slot-picture{width:25px;height:25px}}.wheel-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.wheel-header h1{font-family:var(--font-display);color:var(--grass-dark);text-transform:uppercase;letter-spacing:.5px;margin:0;font-size:clamp(24px,5vw,40px)}.wheel-stats{flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;font-weight:800;display:flex}.wheel-stats svg{color:var(--sun-deep)}.wheel-controls{gap:6px;display:flex}.wheel-stage{flex-direction:column;flex:1;align-items:center;gap:16px;display:flex}.wheel-frame{aspect-ratio:1;isolation:isolate;overflow-clip-margin:12px;width:min(80vw,430px);scroll-margin-top:80px;position:relative;overflow:clip}.wheel-zoom-world{transform-origin:50% 12%;transition:transform .65s cubic-bezier(.2,.8,.2,1),opacity .45s;position:absolute;inset:0}.wheel-frame[data-focused=true] .wheel-zoom-world{opacity:0;transform:scale(2.4)}.wheel-frame[data-focused=true] .wheel-pointer{opacity:0}.wheel-selected{z-index:4;border:7px solid var(--ink);background:var(--wheel-selected-color,var(--sun));transform-origin:50% 10%;border-radius:8px;place-items:center;animation:.65s cubic-bezier(.2,.8,.2,1) wheel-section-zoom;display:grid;position:absolute;inset:0}.wheel-selected-content{flex-direction:column;justify-content:safe center;align-items:center;gap:12px;display:flex;position:absolute;inset:14px;overflow:auto}.wheel-selected-content img{object-fit:contain;flex:1;width:100%;min-height:0;max-height:72%}.wheel-selected-content h2{font-family:var(--font-display);letter-spacing:0;text-align:center;overflow-wrap:anywhere;flex-shrink:0;max-width:100%;margin:0;font-size:40px;line-height:1.15}.wheel-selected-content h2:empty{display:none}.wheel-slot-picture{object-fit:contain;width:44px;height:44px;margin:auto;display:block}.wheel-landing-sparkles{pointer-events:none;position:absolute;inset:0}.wheel-landing-sparkles svg{width:24px;height:24px;color:var(--cream);fill:var(--cream);opacity:0;animation:wheel-landing-sparkle .95s ease-out var(--sparkle-delay) both;position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}@keyframes wheel-section-zoom{0%{opacity:0;transform:translateY(-32%)scale(.2)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes wheel-landing-sparkle{0%{opacity:0;transform:rotate(var(--sparkle-angle)) translateY(-25px) scale(.2)}20%{opacity:1}to{opacity:0;transform:rotate(var(--sparkle-angle)) translateY(-160px) scale(1.3)}}@media (prefers-reduced-motion:reduce){.wheel-zoom-world,.wheel-disc{transition:none!important}.wheel-selected,.wheel-landing-sparkles svg{animation:none}.wheel-frame[data-focused=true] .wheel-zoom-world{transform:none}}.wheel-pointer{border-left:17px solid #0000;border-right:17px solid #0000;border-top:28px solid var(--ink);z-index:3;width:0;height:0;position:absolute;top:-10px;left:50%;transform:translate(-50%)}.wheel-disc{border:11px solid var(--ink);box-shadow:0 12px 0 #0000002e,inset 0 0 0 9px var(--cream);transition:transform var(--wheel-spin,3s) cubic-bezier(.17,.67,.2,1);border-radius:50%;position:absolute;inset:0}.wheel-slot{pointer-events:none;position:absolute;inset:0}.wheel-slot-text{text-align:center;width:74%;font-family:var(--font-display);color:var(--ink);text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 1px #ffffff8c;font-size:clamp(10px,2.6vw,17px);font-weight:800;position:absolute;top:5%;left:50%;overflow:hidden;transform:translate(-50%)}.wheel-slot-text[data-used=true]{opacity:.32;text-decoration:line-through}.wheel-hub{aspect-ratio:1;background:var(--cream);border:7px solid var(--ink);width:24%;font-family:var(--font-display);z-index:2;border-radius:50%;place-items:center;font-size:clamp(18px,4vw,28px);font-weight:800;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.wheel-spin{background:var(--grass-dark);color:var(--cream);height:54px;font-family:var(--font-display);box-shadow:0 5px 0 var(--ink);border-radius:999px;padding-inline:30px;font-size:19px;font-weight:800}.wheel-spin:hover{background:var(--grass-dark);filter:brightness(1.12)}.wheel-spin:disabled{opacity:.5}.wheel-notice{font-family:var(--font-display);text-align:center;color:var(--ink);margin:0;font-size:clamp(15px,3.4vw,22px);font-weight:800}.wheel-question{background:var(--cream);border:4px solid var(--ink);border-radius:18px;flex-direction:column;gap:10px;width:min(94vw,560px);padding:16px;display:flex;box-shadow:0 8px #00000029}.wheel-question-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.wheel-question-head h2{font-family:var(--font-display);color:var(--grass-dark);margin:0;font-size:clamp(19px,4.4vw,28px)}.wheel-question-head img{object-fit:contain;border:3px solid var(--ink);border-radius:12px;width:74px;height:74px}.wheel-choice{background:var(--turquoise);color:var(--cream);font-family:var(--font-display);border-radius:12px;height:48px;font-size:18px;font-weight:800}.wheel-choice:hover{background:var(--turquoise);filter:brightness(1.1)}.wheel-typing{gap:8px;display:flex}.wheel-wrong{color:var(--coral);margin:0;font-weight:800}.wheel-complete{z-index:30;background:#0c2a18b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.wheel-complete>div:first-child,.wheel-complete h2,.wheel-complete p,.wheel-complete>div:nth-child(4){text-align:center;grid-area:1/1;place-self:center}.wheel-complete h2{font-family:var(--font-display);color:var(--sun);margin:0;font-size:clamp(22px,5.4vw,36px);transform:translateY(-70px)}.wheel-complete p{color:var(--cream);font-weight:800;transform:translateY(-14px)}.wheel-complete>div:nth-child(4){flex-wrap:wrap;justify-content:center;gap:8px;display:flex;transform:translateY(46px)}.wheel-stars{color:var(--sun);gap:6px;display:flex;transform:translateY(-120px)}.wheel-confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.wheel-confetti i{top:-12px;left:calc(var(--confetti-i)*4.2%);background:var(--sun);width:9px;height:16px;animation:2.2s linear infinite wheel-fall;animation-delay:calc(var(--confetti-i)*70ms);border-radius:3px;position:absolute}.wheel-confetti i:nth-child(3n){background:var(--coral)}.wheel-confetti i:nth-child(3n+1){background:var(--turquoise)}@keyframes wheel-fall{0%{transform:translateY(-20px)rotate(0)}to{transform:translateY(105vh)rotate(540deg)}}@media (width<=640px){.wheel-game{padding:10px}.wheel-frame{width:min(86vw,340px)}.wheel-spin{height:48px;padding-inline:22px;font-size:17px}}
