@import "https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap";@layer components;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.block{display:block}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#5d4037;--cream:#fff7ea;--sky:#b3e5fc;--shadow:0 8px 0 #0000001f;--radius:28px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;min-height:100dvh;margin:0}body{color:var(--ink);overscroll-behavior:none;-webkit-user-select:none;user-select:none;background:#8ecae6;font-family:"M PLUS Rounded 1c",Hiragino Maru Gothic ProN,sans-serif}button{cursor:pointer;touch-action:manipulation;border:none;font-family:inherit}img{max-width:100%;display:block}.app-shell{max-width:920px;min-height:100dvh;margin:0 auto;position:relative}.screen{flex-direction:column;gap:12px;min-height:100dvh;padding:12px 16px 24px;display:flex}.pastel{background:radial-gradient(circle at 10% 10%,#fff3c4 0 18%,#0000 19%),radial-gradient(circle at 90% 8%,#ffd6e8 0 14%,#0000 15%),linear-gradient(#c8efff 0%,#fff4d6 48%,#d9f5c8 100%)}.gate-screen,.home-screen{text-align:center;justify-content:center;align-items:center;gap:18px}.home-screen{background-position:50%;background-size:cover;position:relative;overflow:hidden}.home-sky{pointer-events:none;position:absolute;inset:0}.cloud{opacity:.75;filter:blur(.2px);background:#fff;border-radius:40px;position:absolute}.cloud:before,.cloud:after{content:"";background:#fff;border-radius:50%;position:absolute}.c1{width:120px;height:40px;animation:18s linear infinite drift;top:8%;left:8%}.c1:before{width:50px;height:50px;top:-24px;left:18px}.c1:after{width:36px;height:36px;top:-16px;right:18px}.c2{width:90px;height:30px;animation:22s linear infinite reverse drift;top:16%;right:10%}.c2:before{width:38px;height:38px;top:-18px;left:14px}.c3{width:70px;height:24px;animation:26s linear infinite drift;top:28%;left:40%}@keyframes drift{0%{transform:translate(0)}to{transform:translate(40px)}}.home-card{box-shadow:var(--shadow);z-index:1;background:#fff7eaeb;border-radius:36px;flex-direction:column;align-items:center;padding:16px 20px 18px;display:flex}.home-kicker{color:#ef6c00;margin:4px 0 0;font-size:15px;font-weight:700}.home-title{color:#e65100;text-shadow:0 3px #ffe082;margin:0;font-size:clamp(32px,7vw,52px);font-weight:800;line-height:1.15}.home-stats{gap:14px;margin-top:8px;font-size:18px;font-weight:800;display:flex}.home-actions,.result-actions{z-index:1;flex-direction:column;gap:12px;width:min(520px,100%);display:flex}.home-actions-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.kid-btn{--btn:#ff8a65;background:var(--btn);color:#fff;box-shadow:0 7px #5d403759;box-shadow:0 7px 0 var(--btn);border-radius:22px;position:relative}@supports (color:color-mix(in lab, red, red)){.kid-btn{box-shadow:0 7px 0 color-mix(in srgb, var(--btn) 70%, #5d4037)}}.kid-btn{letter-spacing:.04em;font-weight:800;transition:transform 80ms}.kid-btn:active:not(:disabled){box-shadow:0 3px 0 var(--btn);transform:translateY(4px)}@supports (color:color-mix(in lab, red, red)){.kid-btn:active:not(:disabled){box-shadow:0 3px 0 color-mix(in srgb, var(--btn) 70%, #5d4037)}}.kid-btn:disabled{opacity:.45}.kid-btn-lg{min-height:74px;padding:12px 18px;font-size:28px}.kid-btn-md{min-height:62px;padding:10px 14px;font-size:20px}.kid-btn-sm{min-height:48px;font-size:16px}.mascot-frame{background:#fff8e7;border-radius:50%;flex:none;overflow:hidden;box-shadow:0 8px #00000014}.mascot-frame img{object-fit:cover;width:100%;height:100%}.float-y{animation:2.6s ease-in-out infinite floaty}@keyframes floaty{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.topbar{grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:4px 0 8px;display:grid}.topbar-left,.topbar-right{align-items:center;gap:6px;display:flex}.topbar-right{justify-content:flex-end}.topbar-title{margin:0;font-size:clamp(18px,4vw,24px);font-weight:800}.icon-btn{background:#fff;border-radius:16px;width:48px;height:48px;font-size:22px;box-shadow:0 4px #0000001a}.icon-btn.ghost{visibility:hidden}.star-chip{white-space:nowrap;background:#fff;border-radius:999px;padding:8px 12px;font-weight:800;box-shadow:0 4px #00000014}.screen-lead{text-align:center;margin:0;font-size:18px;font-weight:700}.screen-lead.tight{margin-top:8px}.row-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;padding-bottom:16px;display:grid}.row-card{--row:#ff8a65;min-height:120px;box-shadow:0 6px 0 var(--row);background:#fff;border-radius:24px;padding:12px}@supports (color:color-mix(in lab, red, red)){.row-card{box-shadow:0 6px 0 color-mix(in srgb, var(--row) 55%, #8d6e63)}}.row-card{color:var(--ink);flex-direction:column;align-items:center;gap:4px;display:flex}.row-card.locked{opacity:.7}.row-label{color:var(--row);font-size:13px;font-weight:800}@supports (color:color-mix(in lab, red, red)){.row-label{color:color-mix(in srgb, var(--row) 80%, #5d4037)}}.row-title{font-size:22px;font-weight:800}.row-meta{flex-direction:column;align-items:center;gap:2px;font-size:12px;display:flex}.lock{font-size:12px;font-weight:700}.learn-layout{flex-direction:column;flex:1;align-items:center;gap:10px;display:flex}.kana-hero{min-width:min(72vw,280px);min-height:min(38vh,240px);box-shadow:var(--shadow);color:#ff7043;background:#fff;border-radius:36px;place-items:center;font-size:clamp(96px,28vw,180px);font-weight:800;line-height:1;display:grid}.kana-hero.compact{min-width:160px;min-height:140px;font-size:clamp(72px,18vw,120px)}.word-card{background:#fff;border-radius:24px;flex-direction:column;align-items:center;min-width:200px;padding:10px 18px 12px;display:flex;box-shadow:0 5px #00000014}.word-emoji{font-size:48px}.word-text{font-size:28px;font-weight:800}.hear-hint{color:#fb8c00;font-size:14px;font-weight:700}.dots{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.dot{background:#ffffffb3;border-radius:14px;width:42px;height:42px;font-size:18px;font-weight:800}.dot.on{background:#fff;transform:scale(1.08);box-shadow:0 4px #ffcc80}.learn-nav{grid-template-columns:1fr 1.4fr;gap:10px;display:grid}.chart{flex-direction:column;gap:8px;padding-bottom:12px;display:flex;overflow:auto}.chart-row{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.chart-row.dim{opacity:.55}.chart-cell{--row:#90caf9;width:72px;height:84px;box-shadow:0 4px 0 var(--row);background:#fff;border-radius:18px}@supports (color:color-mix(in lab, red, red)){.chart-cell{box-shadow:0 4px 0 color-mix(in srgb, var(--row) 50%, #8d6e63)}}.chart-cell{flex-direction:column;justify-content:center;align-items:center;display:flex}.chart-kana{font-size:32px;font-weight:800;line-height:1}.chart-emoji{font-size:16px}.chart-count{text-align:center;margin:0;font-weight:700}.games-hero{flex-direction:column;align-items:center;display:flex}.game-modes{flex-direction:column;gap:10px;display:flex}.mode-card{--mode:#4fc3f7;text-align:left;box-shadow:0 6px 0 var(--mode);background:#fff;border-radius:24px;align-items:center;gap:12px;padding:12px 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.mode-card{box-shadow:0 6px 0 color-mix(in srgb, var(--mode) 50%, #6d4c41)}}.mode-card strong,.mode-card small{display:block}.mode-card strong{font-size:22px}.mode-card small{opacity:.75;font-size:13px;font-weight:700}.mode-emoji{text-align:center;width:56px;font-size:36px}.row-chips{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.chip{color:var(--ink);background:#ffe082;border-radius:999px;min-height:44px;padding:10px 14px;font-weight:800}.chip.on{color:#fff;background:#ff8a65}.tiny-hint{text-align:center;opacity:.7;margin:0;font-size:13px;font-weight:700}.quiz-status{background:#ffffffb3;border-radius:16px;justify-content:space-between;padding:8px 12px;font-weight:800;display:flex}.combo{color:#e65100;animation:.3s pop}@keyframes pop{0%{transform:scale(.7)}to{transform:scale(1)}}.quiz-prompt{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.speaker-btn{min-width:180px;min-height:120px;box-shadow:var(--shadow);color:#0288d1;background:#fff;border-radius:28px;font-size:28px;font-weight:800;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.5}}.word-hero{min-height:110px;box-shadow:var(--shadow);letter-spacing:.08em;background:#fff;border-radius:28px;place-items:center;padding:8px 22px;font-size:clamp(36px,10vw,64px);font-weight:800;display:grid}.choice-grid{flex:1;grid-template-columns:1fr 1fr;gap:12px;display:grid}.choice{background:#fff;border-radius:24px;min-height:110px;font-weight:800;box-shadow:0 6px #e0c3a0}.kana-choice{font-size:clamp(42px,12vw,72px)}.pic-choice{flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.pic-emoji{font-size:42px}.pic-emoji.big{font-size:64px}.pic-word{font-size:18px}.choice.shake{background:#ffe0e0;animation:.4s shake}.choice.yes{background:#dcedc8;transform:scale(1.04);box-shadow:0 6px #7cb342}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}.stars-row{justify-content:center;gap:6px;font-size:28px;display:flex}.star{opacity:.35}.star.on{opacity:1}.speak-layout{text-align:center;flex-direction:column;flex:1;align-items:center;gap:12px;display:flex}.speak-word{letter-spacing:.12em;min-width:min(80vw,360px)}.mic-btn{color:#fff;background:#ff8a65;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:140px;height:140px;font-size:48px;font-weight:800;display:flex;box-shadow:0 8px #c96a4e}.mic-btn span{font-size:18px}.mic-btn:active:not(:disabled){transform:translateY(4px);box-shadow:0 4px #c96a4e}.mic-btn:disabled{opacity:.45}.heard-line{min-height:28px;font-size:16px;font-weight:800}.heard-line.hot{color:#e53935;animation:1s ease-in-out infinite pulse}.speak-actions{flex-direction:column;align-items:center;gap:10px;width:min(420px,100%);display:flex}.tap-switch{color:#7b1fa2;background:#ffffffd9;border-radius:999px;padding:10px 18px;font-size:15px;font-weight:800;box-shadow:0 4px #00000014}.speech-help{text-align:left;background:#ffffffeb;border-radius:24px;max-width:520px;padding:14px 16px;box-shadow:0 6px #00000014}.speech-help-title{color:#e65100;margin:0 0 6px;font-size:20px;font-weight:800}.speech-help-lead{margin:0 0 10px;font-weight:700;line-height:1.5}.speech-help-steps{margin:0 0 10px;padding-left:1.2rem;font-weight:700;line-height:1.55}.speech-help-steps li{margin-bottom:6px}.speech-help-actions{flex-direction:column;gap:8px;display:flex}.tap-compose{flex-direction:column;align-items:center;gap:10px;width:min(520px,100%);display:flex}.tap-slots{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.tap-slot{background:#fff;border-radius:16px;place-items:center;width:52px;height:58px;font-size:32px;font-weight:800;display:grid;box-shadow:0 4px #e0c3a0}.tap-slot.on{background:#dcedc8;box-shadow:0 4px #7cb342}.tap-keys{flex-wrap:wrap;justify-content:center;gap:8px;max-width:360px;display:flex}.tap-key{background:#fff;border-radius:16px;width:58px;height:58px;font-size:28px;font-weight:800;box-shadow:0 4px #e0c3a0}.tap-key.shake{background:#ffe0e0;animation:.4s shake}.result-screen{text-align:center;align-items:center}.result-title{color:#ef6c00;margin:0;font-size:32px;font-weight:800}.result-stats{grid-template-columns:1fr 1fr;gap:10px;width:min(420px,100%);display:grid}.result-stats div{background:#fff;border-radius:20px;padding:10px;box-shadow:0 4px #00000014}.result-stats strong{font-size:28px;display:block}.new-stickers img{object-fit:cover;border-radius:50%;width:88px;height:88px}.sticker-row{justify-content:center;gap:8px;display:flex}.sticker-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;display:grid}.sticker-slot{background:#fff;border-radius:24px;flex-direction:column;align-items:center;gap:4px;min-height:170px;padding:10px;font-weight:800;display:flex;box-shadow:0 5px #00000014}.sticker-slot img{object-fit:cover;border-radius:50%;width:96px;height:96px}.sticker-slot small{opacity:.7;font-size:11px;font-weight:700}.sticker-mystery{background:#eceff1;border-radius:50%;place-items:center;width:96px;height:96px;font-size:36px;display:grid}.sticker-slot.got{box-shadow:0 5px #ffd54f}.confetti{pointer-events:none;z-index:20;position:fixed;inset:0;overflow:hidden}.confetti span{border-radius:2px;animation-name:fall;animation-timing-function:ease-in;animation-fill-mode:forwards;position:absolute;top:-12px}@keyframes fall{to{opacity:.2;transform:translateY(110dvh)rotate(280deg)}}.float-score{color:#ef6c00;text-shadow:0 3px #fff;z-index:21;pointer-events:none;font-size:42px;font-weight:800;animation:1s forwards upfade;position:fixed;top:28%;left:50%;transform:translate(-50%)}@keyframes upfade{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-40px)}}.settings-dot{z-index:5;background:#fffc;border-radius:50%;width:44px;height:44px;font-size:20px;position:absolute;top:10px;right:10px}.modal-back{z-index:30;background:#3e272359;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--cream);text-align:center;width:min(360px,100%);box-shadow:var(--shadow);border-radius:28px;flex-direction:column;gap:10px;padding:20px;display:flex}.modal h2{margin:0}@media (width>=800px){.choice-grid{grid-template-columns:repeat(4,1fr)}.learn-layout{flex-direction:row;justify-content:center}}@media (height<=700px){.kana-hero{min-height:150px;font-size:96px}.kid-btn-lg{min-height:60px;font-size:24px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
