.bowl-game{background:var(--bowl-sky);min-height:calc(100dvh - 40px);color:var(--bowl-ink);font-family:var(--font-display);flex-direction:column;gap:12px;padding:12px 20px 18px;display:flex;position:relative}.bowl-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.bowl-header h1{font-size:25px;font-weight:900}.bowl-stats{background:var(--bowl-paper);border:2px solid var(--bowl-gold);border-radius:8px;align-items:center;gap:14px;padding:7px 12px;font-weight:800;display:flex}.bowl-tools{gap:5px;display:flex}.bowl-tools button{width:35px;height:35px}.bowl-progress{width:100%;height:7px;accent-color:var(--bowl-green)}.bowl-question{text-align:center;background:var(--bowl-paper);border:3px solid var(--bowl-gold);zoom:var(--game-text-scale,1);border-radius:8px;justify-content:center;align-items:center;gap:12px;min-height:56px;padding:8px 14px;display:flex}.bowl-question h2{overflow-wrap:anywhere;font-size:24px;font-weight:900}.bowl-question img{object-fit:contain;width:65px;height:60px}.bowl-options{grid-template-columns:repeat(var(--bowl-option-count,3),minmax(0,1fr));gap:10px;width:min(100%,1000px);margin:auto;display:grid}.bowl-option{white-space:normal;border:3px solid var(--bowl-blue);background:var(--bowl-paper);min-height:84px;box-shadow:0 4px 0 var(--bowl-deep);color:var(--bowl-ink);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;padding:8px;font-size:20px;font-weight:900;line-height:1.2;display:flex;position:relative}.bowl-option[data-selected=true]{border-color:var(--bowl-coral);box-shadow:0 4px 0 var(--bowl-coral),0 0 0 2px var(--bowl-gold)}.bowl-option img{object-fit:contain;width:95px;height:75px}.bowl-option-text{zoom:var(--game-text-scale,1);overflow-wrap:anywhere}.bowl-option-number{font-size:11px;position:absolute;top:3px;left:5px}.bowl-option-listen{position:absolute;bottom:3px;right:3px}.bowl-stage{width:100%;height:clamp(300px,48dvh,650px);position:relative;overflow:hidden}.bowl-stage canvas{touch-action:pan-y}.bowl-footer{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;display:flex}.bowl-roll{background:var(--bowl-gold);color:var(--bowl-ink);border:2px solid var(--bowl-coral);box-shadow:0 4px 0 var(--bowl-coral);min-width:160px;height:46px;font-size:21px;font-weight:900}.bowl-message{text-align:center;min-height:28px;font-size:20px;font-weight:900}.bowl-message[data-correct=true]{color:var(--bowl-green)}.bowl-message[data-correct=false]{color:var(--bowl-coral)}.bowl-player[data-active=true]{outline:3px solid var(--bowl-gold);border-radius:6px}.bowl-player{padding:4px 8px}.bowl-result{text-align:center;border:4px solid var(--bowl-gold);background:var(--bowl-paper);border-radius:8px;max-width:750px;margin:25px auto;padding:25px;position:relative}.bowl-result img{object-fit:contain;width:180px;height:150px;margin:auto}.bowl-result h2{font-size:30px}.bowl-result p{margin:14px 0;font-size:19px}.bowl-result-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.bowl-confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.bowl-confetti i{background:var(--bowl-gold);width:8px;height:12px;animation:3s linear infinite bowl-fall;position:absolute;top:-15px}.bowl-confetti i:nth-child(2n){background:var(--bowl-coral)}.bowl-confetti i:nth-child(3n){background:var(--bowl-blue)}@keyframes bowl-fall{to{transform:translateY(90dvh)rotate(500deg)}}.bowl-editor-question{border-bottom:1px solid var(--border);padding:24px 0}.bowl-editor-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:15px;display:grid}.bowl-editor-option{border:1px solid var(--border);border-radius:8px;padding:14px}.bowl-preview{z-index:90;background:var(--background);position:fixed;inset:0;overflow:auto}.bowl-preview-close{z-index:100;position:fixed;bottom:10px;right:10px}@media (width<=640px){.bowl-game{gap:8px;padding:9px 10px}.bowl-header h1{font-size:18px}.bowl-stats{gap:8px;padding:5px;font-size:12px}.bowl-question h2{font-size:17px}.bowl-options{gap:7px}.bowl-option{border-width:2px;min-height:72px;padding:14px 5px 18px;font-size:14px}.bowl-option img{width:65px;height:55px}.bowl-stage{height:36dvh;min-height:225px}.bowl-roll{height:40px;font-size:18px}.bowl-message{font-size:16px}.bowl-editor-options{grid-template-columns:1fr}.bowl-question{min-height:50px}}@media (prefers-reduced-motion:reduce){.bowl-confetti i{animation:none}}.bowl-game{background-image:linear-gradient(color-mix(in oklch,var(--bowl-sky),transparent 18%),color-mix(in oklch,var(--bowl-paper),transparent 8%)),var(--bowl-scenery);background-position:50%;background-size:cover}.bowl-options{margin:0 auto}.bowl-stage{background:color-mix(in oklch,var(--bowl-paper),transparent 80%)}.bowl-mascot{object-fit:contain;width:60px;height:50px}.bowl-progress{appearance:none;background:var(--bowl-paper);border:0;border-radius:4px;overflow:hidden}.bowl-progress::-webkit-progress-bar{background:var(--bowl-paper)}.bowl-progress::-webkit-progress-value{background:var(--bowl-green)}.bowl-progress::-moz-progress-bar{background:var(--bowl-green)}.bowl-footer{background:var(--bowl-paper);z-index:3;padding:8px;position:sticky;bottom:0}.bowl-tools{margin-left:auto}.bowl-game[data-theme=sunshine]{--bowl-sky:var(--bowl-gold)}.bowl-game[data-theme=blossom]{--bowl-sky:var(--bowl-paper)}@media (width<=640px){.bowl-stage{height:300px}.bowl-stats{max-width:100%}.bowl-game{gap:6px}.bowl-options{margin-top:5px}.bowl-mascot{width:44px;height:38px}}.bowl-game{background-image:none;background-color:var(--bowl-deep);color:var(--bowl-paper);gap:8px;padding-bottom:8px}.bowl-question{color:var(--bowl-ink);border-color:var(--bowl-deep);width:min(680px,100%);margin:auto}.bowl-stage{background:var(--bowl-blue);isolation:isolate;height:clamp(430px,65dvh,900px)}.bowl-board-anchor{z-index:2!important}.bowl-board-anchor .bowl-option{border-width:4px;border-radius:8px;width:clamp(85px,17vw,225px);min-height:110px;font-size:20px;opacity:1!important}.bowl-board-anchor .bowl-option img{object-fit:contain;width:100%;height:90px}.bowl-board-anchor .bowl-option:disabled{opacity:1}.bowl-board-anchor:nth-of-type(2) .bowl-option{border-color:var(--bowl-green)}.bowl-ball-target{cursor:pointer;background:0 0;border-radius:50%;width:84px;height:84px}.bowl-ball-target[aria-pressed=true]{border:3px solid var(--bowl-gold);box-shadow:0 0 20px var(--bowl-gold)}.bowl-pin-target{cursor:pointer;background:0 0;border-radius:8px;width:80px;height:95px}.bowl-pin-target:not(:disabled):hover,.bowl-pin-target:focus-visible{outline:3px solid var(--bowl-gold);background:color-mix(in oklch,var(--bowl-gold),transparent 88%)}.bowl-footer{color:var(--bowl-ink);padding:5px;font-size:13px;position:static}.bowl-message{color:var(--bowl-paper)}.bowl-header h1{font-size:20px}.bowl-stats{color:var(--bowl-ink)}@media (width<=640px){.bowl-stage{height:390px;min-height:390px}.bowl-header h1{font-size:16px}.bowl-board-anchor .bowl-option{width:90px;min-height:90px;padding:12px 4px;font-size:14px}.bowl-board-anchor .bowl-option img{height:65px}.bowl-question h2{font-size:20px}.bowl-pin-target{width:72px;height:82px}}.bowl-overlay{pointer-events:none;position:absolute;inset:0}.bowl-overlay .bowl-option,.bowl-overlay .bowl-pin-target,.bowl-overlay .bowl-ball-target{pointer-events:auto;position:absolute;transform:translate(-50%,-50%)}.bowl-overlay .bowl-option{width:var(--bowl-board-width,90px);opacity:1;min-height:95px;box-shadow:0 4px 0 var(--bowl-deep);padding:12px 3px;font-size:17px}.bowl-overlay .bowl-option:disabled{opacity:1}.bowl-overlay .bowl-option img{width:100%;height:68px}.bowl-overlay .bowl-option:nth-child(2){border-color:var(--bowl-green)}.bowl-overlay .bowl-option:nth-child(3){border-color:var(--bowl-purple)}@media (width<=640px){.bowl-overlay .bowl-option{min-height:75px;font-size:13px}.bowl-overlay .bowl-option img{height:45px}.bowl-stage{height:330px;min-height:330px}.bowl-header{gap:5px}.bowl-question{min-height:46px}.bowl-game{padding:6px 10px}.bowl-stats{font-size:11px}}.bowl-overlay .bowl-option{box-shadow:none;width:calc(var(--bowl-board-width)*1.05);background:0 0;border:0;height:82px;min-height:82px;padding:0;color:#0000!important}.bowl-overlay .bowl-option img,.bowl-overlay .bowl-option-text,.bowl-overlay .bowl-option-number{opacity:0}.bowl-overlay .bowl-option:focus-visible{outline:3px solid var(--bowl-gold)}.bowl-overlay .bowl-option[data-selected=true]{outline:3px solid var(--bowl-gold);box-shadow:none}.bowl-ball-target{touch-action:none}.bowl-result{color:var(--bowl-ink)}.bowl-overlay .bowl-option{height:120px;min-height:120px}.bowl-footer strong{color:var(--bowl-green);font-size:20px}@media (width<=640px){.bowl-stage{height:360px;min-height:360px}.bowl-footer{flex-wrap:wrap}.bowl-overlay .bowl-option{height:115px;min-height:115px}}.bowl-strike-score{z-index:2;background:var(--bowl-gold);color:var(--bowl-ink);border:3px solid var(--bowl-paper);white-space:nowrap;pointer-events:none;border-radius:8px;padding:8px 14px;font-size:22px;font-weight:900;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.bowl-stage{height:clamp(520px,75dvh,980px)}@media (width<=640px){.bowl-stage{height:460px;min-height:460px}}.bowl-stage.bowl-stage-tropical{background-position:50% 30%;background-size:cover;background-color:var(--bowl-blue)}.bowl-stage-tropical canvas{z-index:1;position:relative}.bowl-turtle{z-index:2;pointer-events:none;width:clamp(110px,22%,260px);height:auto;filter:drop-shadow(0 10px 8px color-mix(in oklch,var(--bowl-ink),transparent 60%));position:absolute;bottom:2%;left:2%}@media (width<=640px){.bowl-stage.bowl-stage-tropical{background-position:top;background-repeat:no-repeat;background-size:auto 75%}.bowl-turtle{width:105px;bottom:0;left:0}}.bowl-stage .bowl-overlay{z-index:3}.bowl-overlay .bowl-option{background:var(--bowl-paper);border:4px solid var(--bowl-blue);box-shadow:0 5px 0 var(--bowl-deep);border-radius:10px;flex-direction:column;justify-content:space-between;padding:4px;display:flex;color:var(--bowl-ink)!important}.bowl-overlay .bowl-option img{opacity:1;object-fit:contain;image-rendering:auto;flex:1;width:100%;height:auto;min-height:0}.bowl-overlay .bowl-option-text{opacity:1;color:var(--bowl-ink);font-size:clamp(14px,2vw,24px);font-weight:900}.bowl-overlay .bowl-option-number{opacity:0}.bowl-strike-confetti{z-index:4}.bowl-strike-confetti i{animation-iteration-count:2}.bowl-strike-score{animation:.45s ease-out pop}.bowl-question-word{font:inherit;color:inherit;white-space:normal;overflow-wrap:anywhere;text-align:center;cursor:pointer;max-width:100%}.bowl-question-word:focus-visible{outline:3px solid var(--bowl-blue);outline-offset:3px}
