.home-menu{max-width:1000px;margin:clamp(12px,5vh,48px) auto}.home-menu h1{text-align:center;font-size:clamp(1.8rem,4.3vw,3.15rem);margin-bottom:clamp(24px,5vh,44px)}.menu-loading{margin:-12px 0 12px;text-align:center;color:var(--muted)}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px)}.menu-grid-pictures{grid-template-columns:repeat(4,minmax(0,1fr))}.menu-card{--paper: var(--tile-bg, #e5f0db);--edge: var(--tile-border, #c4d6b6);--print: var(--tile-ink, #334d3c);color:var(--print);display:grid;grid-template-rows:1fr auto;background:#fffdf9;border:2px solid var(--edge);border-radius:26px;box-shadow:0 5px 0 var(--edge);padding:8px;min-width:0}.category-dinosaurs{--tile-bg: #e3f1d6;--tile-border: #c9deb8;--tile-ink: #304e29}.category-vehicles{--tile-bg: #e1edff;--tile-border: #c9dcf3;--tile-ink: #284767}.category-animals{--tile-bg: #ffe8d5;--tile-border: #eed4bd;--tile-ink: #67402f}.category-food{--tile-bg: #f2e4ff;--tile-border: #e2cef1;--tile-ink: #563773}.menu-letters,.menu-trace{--paper: #fff0c8;--edge: #e9d7a6;--print: #6d4c23}.menu-dots{--paper: #fce4df;--edge: #e7c3bb;--print: #754137}.menu-order{--paper: #dff1ef;--edge: #bedad6;--print: #24565a}.menu-mix{--paper: #ece6fa;--edge: #d8ccec;--print: #594273}.menu-card:hover:enabled{border-color:var(--print)}.menu-card:active:enabled{transform:translateY(3px);box-shadow:0 2px 0 var(--edge)}.menu-card:disabled{opacity:.65}.menu-art{display:grid;place-items:center;container-type:inline-size;min-height:0;aspect-ratio:1.2;background:var(--paper);border-radius:18px;--art-size: 80%}.menu-caption{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:16px 8px 10px;font-size:clamp(1.05rem,2.55vw,1.75rem)}.menu-caption>span{display:grid;place-items:center;border-radius:50%;background:var(--paper);width:1.6em;height:1.6em;font-size:.85em;flex-shrink:0}.picture-sheet,.dot-paper,.letter-paper,.letter-pair i,.letter-stack i{background-color:#fffdf7;border-radius:8%;box-shadow:0 3px #45362328,0 9px 15px #45362318}.picture-sheet{width:70%;aspect-ratio:1.16;display:grid;grid-template:repeat(2,minmax(0,1fr)) / repeat(2,minmax(0,1fr));place-items:center;transform:rotate(-6deg);padding:3%}.picture-sheet .card-art{width:auto;height:100%;max-width:100%}.letter-paper,.dot-paper{position:relative;width:60%;aspect-ratio:1}.letter-paper{display:grid;place-items:center;font-size:43cqw;font-weight:700;line-height:1;color:#9a582e;background-image:linear-gradient(90deg,transparent 49.5%,#eddcc5 50%,transparent 50.5%),linear-gradient(transparent 49.5%,#eddcc5 50%,transparent 50.5%);transform:rotate(5deg)}.trace-hand{position:absolute;font-size:17cqw;bottom:-8%;right:-12%;transform:rotate(-24deg)}.dot-paper{transform:rotate(-6deg)}.dot-paper i{position:absolute;width:21%;aspect-ratio:1;background:#cf4850;border-radius:50%}.dot-paper i:nth-child(1){top:17%;left:39.5%}.dot-paper i:nth-child(2){bottom:21%;left:17%}.dot-paper i:nth-child(3){bottom:21%;right:17%}.letter-pair,.letter-stack{width:84%;display:flex;align-items:center;justify-content:center;gap:3%}.letter-pair i,.letter-stack i{display:grid;place-items:center;font:inherit;font-size:22cqw;width:44%;aspect-ratio:1}.letter-pair i:first-child{transform:rotate(-8deg)}.letter-pair i:last-child{transform:rotate(5deg)}.letter-stack{position:relative;height:100%}.letter-stack i{position:absolute;top:26%}.letter-stack i:first-child{left:3%;transform:rotate(-16deg);background:#e0eee8}.letter-stack i:nth-child(2){right:3%;transform:rotate(16deg);background:#ffebc3}.letter-stack i:last-child{top:39%}@media(max-width:760px){.menu-grid-pictures{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-grid-pictures .menu-art{aspect-ratio:1.85;--art-size: 48%}}@media(max-width:600px){.home-menu{margin-block:6px}.menu-grid:not(.menu-grid-pictures){grid-template-columns:1fr}.menu-grid:not(.menu-grid-pictures) .menu-card{grid-template:auto / 34% 1fr;align-items:center}.menu-card{border-radius:19px;padding:6px}.menu-art{border-radius:13px}.menu-caption{padding:9px 6px}.menu-grid:not(.menu-grid-pictures) .menu-caption{padding-inline:16px 7px}}:root{font:17px/1.55 Hiragino Maru Gothic ProN,Hiragino Sans,Yu Gothic,sans-serif;color:#30214d;background:#f8f6ff;--ink: #30214d;--muted: #625777;--purple: #603ccc;--line: #e7dff4;--shadow: #33235315}*{box-sizing:border-box}body{margin:0;min-width:320px}button,a{touch-action:manipulation}button{color:inherit;font:inherit;font-weight:750;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #4d2ca4;outline-offset:4px}h1{margin:0;line-height:1.2}h1:focus{outline:none}p{margin:0}.site-header{background:#fffdfd;border-bottom:1px solid var(--line)}.header-inner,.app{width:min(100% - 48px,1080px);margin-inline:auto}.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:inline-flex;align-items:center;gap:10px;padding:0;border:0;background:transparent;text-align:left;min-height:48px}.brand-mark{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:15px;background:#e9dfff;color:#602ecc;font-size:1.5rem}.quiet{min-height:48px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px 14px;color:#554568}.quiet:hover{border-color:#9e84db}.app{padding-block:30px 45px}.primary{display:inline-flex;min-height:56px;align-items:center;justify-content:center;gap:16px;padding:11px 24px;color:#fff;border:0;border-radius:16px;background:var(--purple);box-shadow:0 4px #42258f}.primary:hover{background:#512fba}.primary:active{transform:translateY(2px);box-shadow:0 2px #42258f}.practice{max-width:840px;margin-inline:auto}.steps{list-style:none;margin:0 auto 16px;padding:0;display:flex;justify-content:center;gap:28px}.steps li{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.9rem;font-weight:750}.steps span{display:grid;place-items:center;border-radius:50%;width:28px;height:28px;background:#ede6fa}.steps [aria-current]{color:#512fba}.steps [aria-current] span{background:var(--purple);color:#fff}.stage{position:relative;padding:clamp(18px,4vw,34px);text-align:center;background:#fff;border:1px solid var(--line);border-radius:29px;box-shadow:0 8px 20px var(--shadow)}.stage h1{font-size:clamp(1.5rem,4.4vw,2.5rem);margin-bottom:14px}.position{display:flex;justify-content:center;gap:7px;margin:0 0 14px}.position span{width:11px;height:11px;border-radius:50%;background:#ded3ee}.position .filled{background:var(--purple)}.picture-card{display:grid;justify-items:center;align-content:center;gap:10px;margin-inline:auto;width:min(100%,345px);min-height:205px;padding:16px;border-radius:22px;font-size:clamp(1.15rem,4.4vw,1.65rem)}.card-art{display:inline-grid;place-items:center;width:var(--art-size, 1.35em);aspect-ratio:1;vertical-align:middle}.card-art img{display:block;width:100%;height:100%;object-fit:contain}.picture{display:block;--art-size: 1em;font-size:clamp(5rem,13vw,8rem);line-height:1.15}.apple{--card-bg: #ffedf0}.banana{--card-bg: #fff4d3}.grape{--card-bg: #f0e7ff}:is(.picture-card,.choice,.material-sample){background:var(--card-bg, #f5f0fc)}.next{min-width:min(100%,225px);min-height:62px;font-size:1.15rem}.game-tag{margin-bottom:6px;color:#645280;font-size:.92rem;font-weight:750}.memory-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,290px);margin:0 auto 14px}.memory-card{display:grid;place-items:center;--art-size: clamp(56px, 12vw, 92px);min-height:clamp(77px,15vw,112px);border:2px solid #f0d7bb;border-radius:18px;background:#fff3e6;font-size:2.8rem}.memory-card.concealed{border-color:#966fbc;border-style:dashed;background:#eee3fb;color:#633b91;font-weight:850}.prompt-heading{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 auto 14px}.stage .prompt-heading h1{margin:0}.prompt-audio{flex:0 0 44px;height:44px;display:inline-grid;place-items:center;padding:0;border:1px solid #dcccf1;border-radius:50%;background:#f5effb;font-size:1.05rem}.prompt-audio:hover,.prompt-audio:active{background:#ece0fa;border-color:#ab8ed8}.sound-picture{position:relative;border:2px solid #cdbbdf}.sound-picture:hover{border-color:#7c58ba}.picture-audio{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:#50307f;background:#fff;font-size:.8rem}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(7px,2vw,16px);width:min(100%,510px);margin:8px auto 0}.choices.two-choices{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,320px)}.choice{position:relative;display:grid;place-content:center;min-width:0;min-height:clamp(82px,13vw,116px);padding:0 4px;border:2px solid #cdbbdf;border-radius:22px;box-shadow:0 4px #e1d4ee;font-size:clamp(2rem,7vw,3.65rem);line-height:1.05}.choice .card-art{--art-size: clamp(50px, 9vw, 94px)}.choice.kana-choice{min-height:clamp(100px,17vw,142px);font-size:clamp(3.2rem,11vw,5.35rem);font-weight:650;line-height:1.2}.kana-choice .card-art{width:auto;aspect-ratio:auto}.word-picture{display:grid;place-items:center;width:126px;min-height:108px;margin:0 auto 14px;padding:4px;border:2px solid #f0d7bb;border-radius:18px;background:#fff3e6;--art-size: 94px}.word-slots,.word-tray{display:flex;justify-content:center;gap:clamp(7px,2vw,13px)}.word-tray{margin-top:14px}.word-slot,.word-tile{position:relative;display:grid;place-items:center;width:clamp(66px,13vw,91px);aspect-ratio:1;padding:0;border:2px solid #cdbbdf;border-radius:18px;font-size:clamp(2.35rem,8vw,3.35rem);font-weight:650;line-height:1}.word-slot{border-style:dashed;background:#faf8fd}.word-slot:enabled{border-style:solid;background:#f3ebfd}.word-slot[data-next=true]{border-color:#7954bf;background:#f5edff}.word-slot[data-misplaced=true]{border-color:#ba7131;background:#fff0db}.word-slot[data-finished=true]{border-style:solid;border-color:#71a18a;background:#eef8ed}.word-slot-mark{position:absolute;top:4px;right:4px;color:#8d4c20;font-size:.9rem}.word-tile{background:#f1e7ff;box-shadow:0 4px #e1d4ee}.word-tile:hover:enabled{border-color:#7c58ba}.word-tile:active:enabled{transform:translateY(2px);box-shadow:0 2px #e1d4ee}.word-tile[data-used=true]{border-style:dashed;background:#f9f6fd;color:transparent;box-shadow:none}.trace-pad{width:min(100%,350px);width:min(100%,350px,43svh);margin-inline:auto;border:2px solid #d9c8f0;border-radius:20px;background:#fbf8ff;overflow:hidden}.trace-pad canvas{display:block;width:100%;aspect-ratio:1;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:crosshair}.choice:hover:enabled{border-color:#7c58ba}.choice:active:enabled{transform:translateY(3px);box-shadow:0 1px #e1d4ee}.choice:disabled:not([data-answer=true]){opacity:.64}.choice.number{gap:4px;background:#f2eafb}.choice.number strong{font-size:.83em}.choice.number span{color:#6d44af;font-size:.26em}.choice[data-attempt=true]{border-color:#a86b25}.choice[data-answer=true]{border-color:#268867;background:#e9faef;box-shadow:0 4px #c5e5d0}.choice[data-answer=true]:after{content:"✓";position:absolute;top:4px;right:4px;display:grid;place-items:center;width:1.55rem;height:1.55rem;border-radius:50%;background:#257257;color:#fff;font-size:1rem}.count-pictures{display:flex;justify-content:center;gap:8px;margin:5px 0 12px}.count-item{position:relative;display:grid;place-content:center;--art-size: clamp(44px, 9vw, 68px);width:clamp(62px,15vw,101px);min-height:75px;font-size:clamp(2.4rem,7vw,3.8rem);line-height:1;background:#fff0e5;border:1px solid #f9dfcf;border-radius:16px;padding:8px}.count-item b{position:absolute;bottom:3px;right:4px;color:#573778;font-size:1rem;border-radius:50%;padding:4px 7px;background:#fff}.feedback{min-height:1.5em;margin:12px 0 0;color:#51406b;font-weight:750}.action-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:16px}.action-row .quiet{min-height:52px}.game-navigation span{display:inline-block;min-width:1.15em;color:var(--purple)}.reveal-button{border:2px solid #eed9a4;background:#fff8e5}.reveal-button:disabled{opacity:.58}.sound-status{color:#713b27;margin-top:12px}.finish,.parents{max-width:740px;margin-inline:auto}.finish-star{width:94px;height:94px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;background:#fff0b9;color:#9d6900;font-size:3.2rem}.finished-cards{padding:0;list-style:none;display:flex;justify-content:center;flex-wrap:wrap;gap:18px;font-size:2.8rem}.finished-words li{display:grid;justify-items:center}.finished-words strong{font-size:1rem}.parents{text-align:left}.parents h2{margin-bottom:4px}.history-entry{margin-top:10px;padding:10px 14px;border:1px solid var(--line);border-radius:12px}.history-entry summary{cursor:pointer;min-height:34px;align-content:center;font-weight:750}.history-entry ul{margin-bottom:4px}.history-category{display:inline-block;margin-inline:6px 8px;padding:1px 8px;border-radius:999px;background:#f3eafd;color:#55416f;font-size:.77rem;font-weight:750;white-space:nowrap}.history-actions{margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}.history-actions p{margin-top:6px}.clear-history{color:#8e263e;border-color:#e9c5cf}.clear-history:hover{border-color:#bd6478;background:#fff7f8}.confirm-dialog{width:min(calc(100% - 32px),430px);padding:24px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:18px}.confirm-dialog::backdrop{background:#30214d66}.confirm-dialog h2{margin:0 0 10px}.confirm-dialog form{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.clear-dialog form{justify-content:flex-end}.leave-dialog{text-align:center}.leave-dialog form{flex-direction:column;gap:16px}.leave-dialog .primary{min-height:68px;font-size:1.3rem}.leave-dialog .quiet{align-self:center}.parents a{display:inline-flex;align-items:center;min-height:48px;margin-top:12px;color:#512fba}.dots-stage{max-width:740px;margin-inline:auto}.dots-card{display:block;position:relative;width:min(100%,500px);width:min(100%,500px,66svh);aspect-ratio:4 / 3;margin-inline:auto;padding:0;border:2px solid #edcfca;border-radius:clamp(18px,3vw,27px);background:#fffdfc;box-shadow:0 5px #f3e1df}button.dots-card:hover{border-color:#cf9b96}button.dots-card:active{transform:translateY(2px);box-shadow:0 3px #f3e1df}.red-dot{position:absolute;width:11.5%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:#d73747;pointer-events:none}.dots-progress{display:block;width:min(65%,165px);height:8px;margin:20px auto 0;border:0;border-radius:99px;overflow:hidden;accent-color:var(--purple)}.dots-progress::-webkit-progress-bar{background:#f0ebf8}.dots-progress::-webkit-progress-value{background:var(--purple);border-radius:99px}.dots-auto span{margin-inline-end:3px;color:var(--purple)}.dots-quiz-answer{display:flex;justify-content:center;align-items:center;gap:10px;min-height:54px;margin:14px auto 0}.dots-answer-number{color:#4e3085;font-size:clamp(1.65rem,5vw,2.65rem);font-weight:800;line-height:1.15}.dots-quiz-instruction{color:var(--muted);font-size:.9rem}.material-samples{margin-top:20px;padding:10px 14px;border:1px solid var(--line);border-radius:12px}.material-samples summary{cursor:pointer;min-height:34px;align-content:center;font-weight:750}.material-sample-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:10px;margin:12px 0}.material-sample{display:grid;justify-items:center;gap:7px;padding:10px;border-radius:12px}.material-sample .card-art{--art-size: 75px;font-size:3rem}.material-sample .quiet{width:100%;padding-inline:8px;font-size:.9rem}.material-credit{font-size:.85rem;color:var(--muted)}.material-credit a{margin:0 10px 0 0}@media(max-width:700px){.header-inner,.app{width:calc(100% - 28px)}.app{padding-block:18px 28px}.site-header button{font-size:.76rem}}
