:root{color:#f4f8ff;background:#071426;font-family:Verdana,Segoe UI,sans-serif;font-size:18px;line-height:1.4}*{box-sizing:border-box}html,body,#root{height:100dvh;max-height:100dvh;margin:0;overflow:hidden}body{background:#071426;overflow:hidden}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:16px;min-height:52px;padding:12px 18px}button:disabled{opacity:.45;cursor:default}.screen{height:100%;min-height:0;max-height:100%;padding:calc(12px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));text-align:center;flex-direction:column;align-items:center;gap:clamp(8px,1.4dvh,14px);display:flex;overflow:auto}.start-screen,.summary-screen{justify-content:center}.start-screen{padding:calc(8px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));justify-content:center;position:relative;overflow:hidden}.start-parade{z-index:1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.start-beam{pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.start-monster{pointer-events:auto;touch-action:manipulation;background:0 0;border:0;border-radius:0;width:88px;height:88px;min-height:0;margin:-44px 0 0 -44px;padding:0;position:absolute;top:0;left:0}.start-monster img{object-fit:contain;pointer-events:none;filter:drop-shadow(0 8px 8px #00000059);width:100%;height:100%}.start-monster.is-hit{pointer-events:none}.start-monster.is-hit img{opacity:0;transition:transform .14s ease-out,opacity .14s ease-out;transform:scale(1.4)}.start-stack{z-index:2;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:clamp(4px,1.1dvh,12px);width:min(100%,680px);min-height:0;max-height:100%;display:flex;position:relative}.start-stack :is(button,input,.name-field,.notice){pointer-events:auto}.parent-screen{text-align:left;align-items:stretch;max-height:100dvh;overflow:auto}h1,h2,p{margin:0}h1{font-size:2rem}.logo-title{flex:0 auto;justify-content:center;align-items:center;width:100%;min-height:0;max-height:min(16dvh,132px);line-height:0;display:flex}.logo{object-fit:contain;width:auto;max-width:min(92vw,640px);height:auto;max-height:100%}h2{margin-top:8px;font-size:1.2rem}.tagline{font-size:1.15rem}.start-screen .start-version{color:#7ea3c4;font-size:.85rem;line-height:1.2}.greeting,.summary-screen h1{overflow-wrap:anywhere;min-width:0;max-width:100%}.greeting{font-size:1.35rem;font-weight:700}.name-form{width:min(100%,420px);max-width:100%;margin:0}.name-field{width:100%;min-width:0;max-width:100%}.name-field input{width:100%;min-height:52px;color:inherit;background:#10243b;border:3px solid #8fd3ff;border-radius:16px;padding:10px 14px}.start-screen .name-field{text-align:center;align-items:center}.start-screen .name-field input{text-align:center}.name-field input::placeholder{color:#9eb4cc}.fine{color:#b7c7da;font-size:.95rem}.notice{color:#ffe3b0;background:#3a2a12;border-radius:12px;padding:12px}.primary,.secondary,.text-button,.hud-button{width:min(100%,420px)}.primary{color:#1b120c;background:#ff7a2f;font-weight:700}.primary.xl{flex:none;min-height:clamp(56px,8dvh,72px);font-size:clamp(1.25rem,4vw,1.6rem)}.secondary{color:#f4f8ff;background:#1a3558}.text-button{color:#9fd4ff;background:0 0;min-height:48px}.boy-slot{flex:auto;justify-content:center;align-items:center;width:min(100%,280px);min-height:0;max-height:min(28dvh,240px);display:flex}.boy-art{object-fit:contain;background:0 0;width:auto;max-width:min(220px,58vw);height:auto;max-height:min(24dvh,220px)}.start-screen .boy-art{max-width:100%;max-height:100%}.summary-screen .boy-art{flex:none;max-width:min(180px,40vw);max-height:min(18dvh,160px)}@media (width>=700px) and (height>=760px){.logo-title{max-height:min(20dvh,180px)}.boy-slot{width:min(100%,360px);max-height:min(34dvh,320px)}.boy-art{max-width:min(340px,32vw);max-height:min(32dvh,300px)}}@media (height<=640px){.start-screen .fine{display:none}.logo-title,.boy-slot{max-height:16dvh}}.chips,.stats{flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none;display:flex}.parent-screen .chips,.parent-screen .stats{justify-content:flex-start}.chips li{background:#12324f;border:3px solid #8fd3ff;border-radius:14px;padding:8px 12px;font-size:1.3rem}.stats{flex-direction:column}.stats li{background:#10243b;border-radius:12px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.field,.check{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.check{flex-direction:row;align-items:center}.card{background:#10243f;border-radius:20px;flex-direction:column;gap:12px;width:min(100%,440px);max-height:100%;padding:clamp(14px,3vw,22px);display:flex;overflow:auto}.card.inset{width:100%}.play{height:100%;min-height:0;max-height:100%;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);-webkit-user-select:none;user-select:none;flex-direction:column;display:flex;position:relative;overflow:hidden}.play-bar{background:#071426;flex-direction:column;flex:none;gap:1px;min-width:0;padding:2px 8px 4px;display:flex;box-shadow:inset 0 1px #9ec9ef47}.hud{justify-content:space-between;align-items:center;gap:6px;min-width:0;padding:0;display:flex}.hud-button{color:#e7f6ff;background:#e8f4ff1f;border:1px solid #d6eaff80;border-radius:999px;flex:none;width:auto;min-width:44px;height:44px;min-height:44px;padding:0 12px;font-size:.85rem;font-weight:700;line-height:1}.dots{flex-wrap:nowrap;flex:1;justify-content:center;align-items:center;gap:3px;min-width:0;display:flex;overflow:hidden}.dot{background:#35506f;border-radius:99px;flex:5px;width:5px;min-width:3px;max-width:6px;height:5px}.dot.done{background:#8fd3ff}.dot.current{outline:2px solid #f7fbff}.dot.boss{border-radius:2px;transform:rotate(45deg)}.play-caption{text-align:center;text-overflow:ellipsis;white-space:nowrap;color:#d5e6f8;min-width:0;max-width:100%;height:16px;margin:0;padding:0 2px;font-size:.75rem;line-height:16px;overflow:hidden}.hint{min-height:0;color:inherit;font-size:inherit;line-height:inherit;margin:0;padding:0}.stage{flex:1;min-height:0;position:relative}.stage canvas{touch-action:none;display:block;position:absolute;inset:0;width:100%!important;height:100%!important}.scrim{z-index:2;background:#040a148c;place-items:center;padding:20px;display:grid;position:absolute;inset:0}.scrim.solid{background:#071426}.stage-name{font-size:inherit;line-height:inherit;letter-spacing:.03em;color:#9ec9ef;margin:0}.combo-mark{color:#ffd98a;font-weight:700}.game-park{pointer-events:none;width:360px;height:640px;position:fixed;top:0;left:-4000px;overflow:hidden}.phaser-shell{z-index:0;width:100%;height:100%;position:absolute;inset:0}.teach-overlay{z-index:1;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:12px;display:flex;position:absolute;inset:0 0 28%}.teach-overlay button,.teach-overlay .compare-row{pointer-events:auto}.energy-cell{overflow-wrap:anywhere;color:#041018;background:radial-gradient(circle at 50% 40%,#b8fff4,#1ec8c0 72%);border-radius:28px;min-width:min(280px,86vw);max-width:min(92vw,520px);min-height:clamp(72px,12dvh,96px);padding:clamp(12px,2dvh,18px) clamp(16px,4vw,28px);font-size:clamp(1.6rem,8vw,2.4rem);box-shadow:0 0 24px #39f3ff66}.play[data-presentation=rolig] .energy-cell{box-shadow:none}.compare-row{justify-content:center;gap:12px;width:min(100%,520px);display:flex}.compare-word{text-align:center;letter-spacing:.06em;background:#12324f;border-radius:18px;flex:1;min-width:0;min-height:72px;margin:0;padding:16px 8px;font-size:clamp(1.6rem,8vw,2.4rem)}.compare-word .differ{color:#ffd166;text-underline-offset:.18em;text-decoration:underline}.practised-line{font-size:1.35rem}.read-word{margin:12px 0;font-size:clamp(2.4rem,12vw,4rem)}.example-sentence{max-width:36rem}.choice-row{gap:8px;display:flex}.choice-row.wrap{flex-wrap:wrap}.choice-row.wrap button{flex:6.5rem}.choice-row button{color:#f4f8ff;background:#163455;flex:1}.choice-row button[aria-pressed=true]{background:#1d6a8a}@media (height<=520px){.play-bar{gap:0;padding:1px 6px 2px}.hud-button{height:44px;min-height:44px;padding:0 10px}.play-caption{height:14px;font-size:.7rem;line-height:14px}.teach-overlay{gap:8px;bottom:18%}}@media (prefers-reduced-motion:reduce){.boy-art{animation:none}.energy-cell{box-shadow:none}}
