#ice-root{--game-bg: #e0f2fe;--platform-color: #93c5fd;--platform-unbreakable: #9ca3af;--platform-border: #1e3a8a;--player-color: #f472b6;--enemy-color: #f87171;--enemy-green: #34d399;--text-color: #1e3a8a;--dark-bg: #0f172a;position:relative;width:100%;flex:1;height:auto;min-height:0;background-color:var(--dark-bg);color:#fff;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px}#ice-root *,#ice-root *:before,#ice-root *:after{box-sizing:border-box;margin:0;padding:0}#ice-root,#ice-root button,#ice-root h1,#ice-root #modal-content,#ice-root #quiz-content,#ice-root #life-content{font-family:"Press Start 2P",Courier New,monospace}#ice-root h1{color:var(--game-bg);margin-bottom:12px;font-size:1.5rem;text-align:center}#ice-root #game-container{display:flex;flex-direction:column;align-items:center;width:100%;max-width:400px;margin:0 auto}#ice-root canvas{background-color:var(--game-bg);border-radius:8px;border:4px solid var(--platform-border);width:100%;aspect-ratio:2 / 3;max-height:80vh;image-rendering:pixelated}#ice-root #controls{display:none;justify-content:space-between;width:100%;margin-top:16px}#ice-root #controls button{font-size:1.2rem;width:80px;height:80px;border:4px solid var(--platform-border);background-color:var(--platform-color);color:var(--text-color);border-radius:50%;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation;box-shadow:0 4px var(--platform-border)}#ice-root #controls button:active{transform:translateY(4px);box-shadow:0 0 var(--platform-border)}#ice-root #controls div{display:flex;gap:20px}#ice-root #modal{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:#000000b3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;z-index:10}#ice-root #modal-content{background-color:var(--dark-bg);padding:30px;border-radius:8px;border:4px solid var(--platform-color)}#ice-root #modal h2{font-size:1.5rem;margin-bottom:10px}#ice-root #modal p{font-size:.9rem;margin-bottom:20px;line-height:2.1}#ice-root #modal button{font-size:1rem;padding:15px 30px;background-color:var(--player-color);color:var(--dark-bg);border:none;border-radius:8px;cursor:pointer;box-shadow:0 4px #b0417b}#ice-root #modal button:active{transform:translateY(4px);box-shadow:0 0 #b0417b}#ice-root #quizModal{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:#000000b3;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;z-index:20}#ice-root #quiz-content{background-color:var(--dark-bg);padding:25px;border-radius:8px;border:4px solid var(--platform-color);width:90%;max-width:360px}#ice-root #quiz-content h2{font-size:1.2rem;margin-bottom:10px}#ice-root #quiz-kanji{font-size:21px;color:#fff;line-height:26px}#ice-root #quiz-kana{font-size:1rem;color:#dbeafe;margin-top:8px}#ice-root #quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}#ice-root #quiz-options button{font-size:21px;padding:12px;background-color:var(--platform-color);color:var(--text-color);border:4px solid var(--platform-border);border-radius:8px;cursor:pointer;box-shadow:0 4px var(--platform-border)}#ice-root #quiz-options button:active{transform:translateY(4px);box-shadow:0 0 var(--platform-border)}#ice-root .toggle{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px;margin-bottom:17px}#ice-root .toggle-title{color:#fff;font-size:.9rem}#ice-root .toggle input{display:none}#ice-root .toggle .toggle-track{position:relative;width:72px;height:32px;background-color:#ef4444;border:4px solid #b91c1c;border-radius:18px;box-shadow:0 4px #b91c1c}#ice-root .toggle .toggle-track:before{content:"";position:absolute;top:2px;left:2px;width:28px;height:24px;background-color:#fff;border-radius:12px;transition:transform .15s ease-in-out}#ice-root .toggle .toggle-track:after{content:"Off";position:absolute;top:50%;right:8px;transform:translateY(-43%);color:#fff;font-size:7px}#ice-root .toggle input:checked+.toggle-track{background-color:#22c55e;border-color:#166534;box-shadow:0 4px #166534}#ice-root .toggle input:checked+.toggle-track:before{transform:translate(36px)}#ice-root .toggle input:checked+.toggle-track:after{content:"On";color:#fff}#ice-root #lifeModal{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:#000000b3;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;z-index:22}#ice-root #life-content{background-color:var(--dark-bg);padding:24px;border-radius:8px;border:4px solid var(--platform-color);width:90%;max-width:360px}#ice-root #life-content h2{font-size:1.4rem;margin-bottom:10px}#ice-root #life-content p{margin-bottom:12px;font-size:.95rem}#ice-root #life-answer{color:#4cc45a;line-height:33px;margin:16px}#ice-root #life-continue{font-size:1rem;padding:12px 24px;background-color:var(--player-color);color:var(--dark-bg);border:none;border-radius:8px;cursor:pointer;box-shadow:0 4px #b0417b}#ice-root #life-continue:active{transform:translateY(4px);box-shadow:0 0 #b0417b}#ice-root #modal-answer{display:none;color:#4cc45a}#ice-root #modal-wrong,#ice-root #life-wrong{color:#ef4444!important;font-size:23px}#ice-root #modal-wrong-label,#ice-root #life-wrong-label{color:#ef4444!important}#ice-root .opt-kana{font-size:11px}#ice-root #life-correct,#ice-root #modal-correct{font-size:23px}@media (hover: none) and (pointer: coarse){#ice-root #controls{display:flex}#ice-root span.wasd-hint{display:none}}
