@font-face{font-family:Nunito;font-weight:700;font-display:swap;src:url(./nunito-latin-700-normal-Dort48En.woff2)format("woff2")}@font-face{font-family:Nunito;font-weight:800;font-display:swap;src:url(./nunito-latin-800-normal-Dz8SOQK_.woff2)format("woff2")}@font-face{font-family:Nunito;font-weight:900;font-display:swap;src:url(./nunito-latin-900-normal-BVB1fGs6.woff2)format("woff2")}@font-face{font-family:Klee One Subtitle;font-weight:600;font-display:swap;src:url(./klee-one-600-subtitle-BsysbSj4.woff2)format("woff2")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--canvas:#fff8e8;--surface:#fffdf0;--ink:#1c1917;--outline:#4b3026;--muted:#7d6654;--brand:#146449;--brand-edge:#0b4532;--tan:#c9a175;--tan-light:#d9b58e;--tan-outline:#654731;--tan-edge:#7e5a3b;--card-edge:#b9936f;--peach:#ffad78;--peach-edge:#c66b28;--cyan:#28a8c2;--cyan-edge:#126a83;--cyan-ink:#083e64;--gold:#f3a713;--gold-edge:#a45f0e;--muted-star:#d6d1cc;--muted-star-edge:#a8a29e;--focus:#7d66df;--orange-100:#ffedd5;--title-blue:#0891b2;--step-blue:#bae6fd;--step-blue-soft:#e3f4fd;--cast:#432b1c21;--text:var(--ink);--card:var(--surface);--accent:var(--peach);--accent-dark:var(--peach-edge);--green:var(--brand);--line:#e9d3b4;--radius:23px;--tap:64px;--lift:6px;--font:"Nunito", ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Segoe UI", system-ui, sans-serif;--safe-t:env(safe-area-inset-top,0px);--safe-b:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body{height:100%;color:var(--ink);font-family:var(--font);overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;touch-action:manipulation;margin:0;font-weight:700}body{background:radial-gradient(circle at 50% 12%, #fff6, transparent 45%), url(./sand-Bnjmp4Ps.webp) center top / 900px 900px repeat, var(--canvas);background-attachment:fixed}#app{z-index:1;position:relative}button{font:inherit;color:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none}button:focus-visible{outline:4px solid var(--focus);outline-offset:4px}input:focus-visible{outline:4px solid var(--focus);outline-offset:4px}[hidden]{display:none!important}#boot{z-index:2;place-items:center;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}#boot img{width:160px;height:auto;animation:1.4s ease-in-out infinite bob}.screen{min-height:100dvh;padding:calc(12px + var(--safe-t)) 16px calc(16px + var(--safe-b));flex-direction:column;display:flex}.icon-btn,.pill-btn,.big-btn,.shelf-card,.shelf-play,.chart-tab,.chart-cell:not(.empty),.tile,.chip,.start-btn,.mic-btn,.strip-tile,.my-letter-wrap,.weak-kana,.card,.tip-icon,.modal,.home-big{border:3px solid var(--outline);box-shadow:0 var(--lift) 0 var(--edge,var(--card-edge)), 0 calc(var(--lift) + 4px) 0 var(--cast);transition:transform .1s,filter .1s,box-shadow .1s}.is-pressed{--lift:2px;filter:brightness(.9);transform:translateY(4px)}.shelf-card:has(.shelf-main.is-pressed){--lift:2px;filter:brightness(.9);transform:translateY(4px)}.shelf-card:has(.shelf-main.is-pressed) .shelf-main{filter:none}.kana{fill:none;stroke:currentColor;stroke-width:6.5px;stroke-linecap:round;stroke-linejoin:round}.topbar{min-height:var(--tap);align-items:center;gap:16px;padding-bottom:6px;display:flex;position:relative}.topbar h2{color:var(--brand);margin:0;font-size:1.35rem;font-weight:900}.topbar .right{gap:16px;margin-left:auto;display:flex}.icon-btn{--edge:var(--tan-edge);width:var(--tap);height:var(--tap);border-color:var(--tan-outline);background:var(--tan);color:#3d2619;border-radius:50%;flex:none;place-items:center;padding:14px;display:grid}.icon-btn svg{width:100%;height:100%}.icon-btn.small{--lift:4px;width:48px;height:48px;padding:10px}.icon-btn.soft{color:#5a3c2a}.icon-btn.big-round{width:84px;height:84px;padding:20px}.hold-btn{width:61px;height:61px;padding:13px;position:relative}.hold-btn svg{transform:translateY(-1px)}.home-head .hold-btn{background:var(--orange-100)}.home-head .hold-btn svg circle{fill:var(--orange-100)}.hold-btn:after{content:"";background:conic-gradient(var(--brand) var(--p,0%), transparent 0);opacity:0;border-radius:50%;position:absolute;top:-8px;bottom:-8px;left:-8px;right:-8px;-webkit-mask:radial-gradient(circle,#0000 62%,#000 63%);mask:radial-gradient(circle,#0000 62%,#000 63%)}.hold-btn.holding:after{opacity:1;animation:hold-fill var(--hold-ms) linear forwards}@property --p{syntax:"<percentage>";inherits:false;initial-value:0%}@keyframes hold-fill{to{--p:100%}}.pill-btn{--lift:5px;--edge:var(--peach-edge);background:var(--peach);min-height:54px;color:var(--ink);border-radius:999px;align-items:center;gap:8px;padding:10px 22px;font-size:1.05rem;font-weight:900;display:inline-flex}.pill-btn span{width:24px;height:24px;display:inline-grid}.pill-btn.soft{--edge:var(--card-edge);background:var(--surface)}.link-btn{color:var(--peach-edge);background:0 0;border:none;padding:0;font-weight:900;text-decoration:underline}.stars{justify-content:center;gap:3px;display:flex}.star{width:28px;height:28px;display:inline-grid}.star svg{width:100%;height:100%}.star svg path{stroke-width:2.5px}.star.on{color:var(--gold)}.star.on svg path{stroke:var(--gold-edge)}.star.off{color:var(--muted-star)}.star.off svg path{stroke:var(--muted-star-edge)}.stars.small .star{width:21px;height:21px}.stars.big .star{width:clamp(64px,18vw,110px);height:clamp(64px,18vw,110px)}.stars.big .star svg path{stroke-width:2px}.stars.big .star.on{animation:.6s cubic-bezier(.3,1.6,.5,1) backwards star-in;animation-delay:calc(.35s + var(--i) * .35s)}.modal-back{z-index:50;background:#1c191766;place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.modal{--edge:var(--card-edge);background:var(--canvas);border-radius:28px;width:100%;max-width:560px;max-height:calc(100dvh - 32px);padding:16px;overflow:auto}.modal-head{margin-bottom:12px;display:flex}.mascot{filter:drop-shadow(0 3px #7e5a352e);-webkit-user-drag:none;flex:none;width:72px;height:auto}.mascot.bob{animation:2.6s ease-in-out infinite bob}.dance{aspect-ratio:225/251;width:clamp(130px,34vw,190px);height:auto}.home{align-items:center;gap:22px}.home-head{justify-content:space-between;align-items:center;gap:10px;width:100%;max-width:920px;min-height:100px;display:flex}.brand-lockup{align-items:center;gap:8px;min-width:0;display:flex}.home-head .title{min-width:0}.home-head{--title-size:clamp(27px, 8vw, 32px)}.home-head h1{color:var(--title-blue);font-size:var(--title-size);letter-spacing:-.025em;text-shadow:0 2px #ffffffbf;margin:0;font-weight:900;line-height:.98}.home-head h1 span{display:block}.subtitle{color:var(--muted);font-family:"Klee One Subtitle", var(--font);font-size:calc(var(--title-size) / 2);white-space:nowrap;margin:7px 0 0;font-weight:600}.big-choices{grid-template-columns:1fr 1fr;gap:14px;width:100%;max-width:920px;display:grid}.big-btn{--lift:8px;border-color:var(--ink);min-height:178px;color:var(--ink);white-space:nowrap;border-radius:25px;flex-direction:column;justify-content:space-between;align-items:center;gap:10px;padding:18px 8px 16px;font-size:clamp(17px,5.3vw,21px);font-weight:900;line-height:1.1;display:flex;position:relative}.big-btn:before{content:"";pointer-events:none;background:linear-gradient(#ffffff40,#0000);border-radius:17px 17px 50% 50%;height:34%;position:absolute;top:8px;bottom:auto;left:10px;right:10px}.big-btn.word{--edge:var(--peach-edge);background:var(--peach)}.big-btn.letter{--edge:var(--cyan-edge);background:var(--cyan);color:var(--cyan-ink)}.big-icon{place-items:center;width:92px;height:92px;display:grid;position:relative}.big-icon svg{width:100%;height:100%}.big-btn.word .big-icon svg{color:#4b2017}.big-btn.word .big-icon svg path:first-child{fill:#fffaf0}.big-btn.word .big-icon svg path:nth-child(2){fill:#4b2017}.big-icon.tile{background:var(--surface);border:6px solid var(--ink);width:80px;height:80px;color:var(--cyan-ink);border-radius:22px;margin-top:4px;padding:9px;box-shadow:0 5px #084e6859,0 8px 12px #083f542e}.big-label{position:relative}.shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px;width:100%;max-width:920px;margin-top:16px;padding-bottom:12px;display:grid}.shelf-card{--lift:7px;border-color:var(--outline);background:var(--surface);border-radius:var(--radius);flex-direction:column;align-items:center;padding-bottom:14px;display:flex}.shelf-main{width:100%;min-height:var(--tap);border-radius:var(--radius) var(--radius) 0 0;background:0 0;border:none;flex-direction:column;align-items:center;gap:4px;padding:12px 8px 4px;display:flex}.shelf-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:16px;font-weight:900;line-height:1.35;overflow:hidden}.shelf-play{--lift:5px;--edge:#9c7552;background:var(--tan-light);color:#765136;border-width:2px;border-color:#9b764f;border-radius:15px;place-items:center;width:66px;height:46px;margin-top:6px;padding:0;display:grid}.shelf-play-icon{width:28px;height:28px;display:inline-grid}.shelf-kana{flex-wrap:wrap;justify-content:center;align-items:center;gap:2px;min-height:42px;display:flex}.shelf-kana .kana{stroke-width:7px;width:38px;height:38px}.chart-screen{align-items:center;gap:12px}.chart-screen .topbar{width:100%}.chart{flex-direction:column;gap:16px;width:100%;max-width:560px;display:flex}.chart-tabs{justify-content:center;gap:14px;display:flex}.chart-tab{--lift:5px;background:var(--surface);border-radius:20px;width:76px;height:66px;padding:8px}.chart-tab.on{--edge:var(--brand-edge);background:var(--brand);color:#fff}.chart-tab .kana{width:100%;height:100%}.chart-grid{grid-template-columns:repeat(5,1fr);gap:10px;display:grid}.chart-cell{--lift:5px;aspect-ratio:1;background:var(--surface);border-radius:18px;min-height:56px;padding:9%}.chart-cell .kana{stroke-width:7px;width:100%;height:100%}.chart-cell.empty{box-shadow:none;background:0 0;border:none}.entry-body{flex-direction:column;gap:14px;width:100%;max-width:680px;margin:0 auto;padding-top:8px;display:flex}.entry-title{color:var(--brand);margin:0;font-size:1.35rem;font-weight:900}.for-grownups{color:var(--muted);margin:0}.input-row{align-items:center;gap:12px;display:flex}.input-row .word-input{flex:1;min-width:0}.mic-btn{--edge:var(--tan-edge);width:var(--tap);height:var(--tap);border-color:var(--tan-outline);background:var(--tan);color:#3d2619;touch-action:none;-webkit-touch-callout:none;border-radius:50%;flex:none;padding:14px;position:relative}.mic-btn svg{width:100%;height:100%}.mic-btn[data-state=preparing],.mic-btn[data-state=starting],.mic-btn[data-state=working]{opacity:.6}.mic-btn.listening{--edge:var(--peach-edge);background:var(--peach);color:var(--ink)}.mic-btn.listening:after{content:"";border:4px solid var(--peach);border-radius:50%;animation:1.1s ease-out infinite mic-pulse;position:absolute;top:-9px;bottom:-9px;left:-9px;right:-9px}@keyframes mic-pulse{0%{opacity:.9;transform:scale(.95)}to{opacity:0;transform:scale(1.3)}}.word-input{font:inherit;border:3px solid var(--outline);background:var(--surface);color:var(--ink);border-radius:20px;width:100%;padding:12px 18px;font-size:1.6rem;font-weight:800;box-shadow:inset 0 4px #b9936f40}.word-input::placeholder{color:#b09a88}.hint{min-height:1.4em;color:var(--muted);margin:0}.choices{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.choices:empty{display:none}.choices-label{font-weight:900}.chip{--lift:4px;background:var(--surface);border-radius:999px;min-height:50px;padding:8px 16px}.chip.on{--edge:var(--peach-edge);background:var(--peach)}.tile-row{flex-wrap:wrap;gap:12px;min-height:88px;padding-bottom:6px;display:flex}.tile{--lift:5px;background:var(--surface);touch-action:none;border-radius:20px;width:76px;height:76px;padding:10px}.tile .kana{pointer-events:none;stroke-width:7px;width:100%;height:100%}.tile.selected{--edge:var(--peach-edge);outline:4px solid var(--peach);outline-offset:3px;background:#ffe4cf}.tile.dragging{z-index:5;transition:none;position:relative;box-shadow:0 12px 24px #1c191740}.tile.add{color:var(--muted);box-shadow:none;background:0 0;border-style:dashed;border-color:#b9936f;padding:20px}.tile-tools{flex-wrap:wrap;gap:12px;display:flex}.mora-count{color:var(--muted);margin:0}.start-btn{--lift:7px;--edge:var(--brand-edge);border-color:var(--ink);background:var(--brand);color:#fff;border-radius:999px;align-self:center;align-items:center;gap:12px;min-height:78px;margin-top:8px;padding:12px 40px 12px 28px;font-size:1.5rem;font-weight:900;display:inline-flex}.start-btn span{width:40px;height:40px;display:inline-grid}.start-btn:disabled{--edge:#a9bdb2;color:#f4fbf7;cursor:default;background:#cfe0d6;border-color:#8aa597}body[data-screen=write]{overflow:hidden}.write{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:6px;height:100dvh;min-height:0;display:grid}.write .topbar .right .icon-btn{background:var(--orange-100)}.pips{--pip:58px;--step-gap:26px;align-items:center;gap:var(--step-gap);display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pips:before{content:"";left:calc(var(--pip) / 2);right:calc(var(--pip) / 2);background:var(--outline);border-radius:2px;height:4px;margin-top:-2px;position:absolute;top:50%}.pip{width:var(--pip);height:var(--pip);padding:calc(var(--pip) * .2);color:var(--outline);background:var(--step-blue);border:3px solid var(--outline);border-radius:50%;place-items:center;transition:transform .2s;display:grid;position:relative}.pip svg{width:100%;height:100%}.pip-mascot{width:calc(var(--pip) * 1.15);filter:drop-shadow(0 2px #7e5a352e);pointer-events:none;-webkit-user-drag:none;height:auto;position:absolute;top:50%;right:calc(100% + 10px);transform:translateY(-52%)}.pip:not(.now):not(.done){background:var(--step-blue-soft);color:#4b302673;border-color:#4b30268c}.pip.now{border-width:4px;transform:scale(1.15)}.pip.done{background:var(--title-blue);color:#fff}.stage-wrap{min-height:0;position:relative}.stage{touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;top:0;bottom:0;left:0;right:0}.stage .layer,.stage .stone-frame{pointer-events:none;position:absolute;top:0;left:0}.stage .stone-frame{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.stage .layer{will-change:transform}.stage.cheer{animation:.6s cubic-bezier(.3,1.6,.5,1) cheer-pop}.strip{--tile:54px;z-index:2;justify-content:center;align-items:flex-end;gap:8px;padding-bottom:6px;display:flex;position:absolute;overflow:visible}.strip-tile{--lift:4px;width:var(--tile);height:var(--tile);border-radius:calc(var(--tile) * .28);background:var(--surface);padding:calc(var(--tile) * .13);color:#b9a796;border-width:2.5px;border-color:#c9b29a;flex:none;transition:transform .2s;position:relative}.strip-tile .kana{width:100%;height:100%}.strip-tile.current{--edge:var(--peach-edge);color:var(--outline);border-color:var(--outline);transform-origin:bottom;background:#ffe4cf;border-width:3px;transform:scale(1.1)}.strip-tile.done{color:var(--outline);border-color:var(--outline)}.sticker{width:24px;height:24px;color:var(--gold);animation:.5s cubic-bezier(.3,1.6,.5,1) star-in;position:absolute;top:-8px;right:-8px}.sticker svg path{stroke:var(--gold-edge);stroke-width:3px}.palette-area{z-index:2;justify-content:center;align-items:center;display:flex;position:absolute}.stage-wrap[data-layout=wide] .palette-area .swatches{flex-direction:column}.swatches{gap:14px;padding:8px;display:flex}.swatch{border:3px solid var(--outline);background:var(--c);border-radius:50%;width:48px;height:48px;transition:transform .15s;box-shadow:inset 0 4px #ffffff4d,0 4px #1c191759}.swatch.on{outline:4px solid var(--c);outline-offset:3px;transform:scale(1.14)}@media (max-width:480px){.topbar{gap:10px}.topbar .right{gap:8px}.write .icon-btn{--lift:4px;width:50px;height:50px;padding:11px}.pips{--pip:38px;--step-gap:12px}.pip{border-width:2.5px}.pip-mascot{width:48px;right:calc(100% + 6px)}.pip.now{border-width:3px}.swatches{gap:9px}.swatch{width:42px;height:42px}}.done-body{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;display:flex}.my-word{flex-wrap:wrap;justify-content:center;gap:14px;max-width:900px;display:flex}.my-letter-wrap{background:var(--surface);animation:.5s cubic-bezier(.3,1.5,.5,1) backwards letter-in;animation-delay:calc(var(--i) * .12s);border-radius:22px;padding:0;overflow:hidden}.my-letter{width:clamp(72px,22vw,150px);height:clamp(72px,22vw,150px);display:block}.done-corners{opacity:0;pointer-events:none;transition:opacity .4s}.done-corners.show{opacity:1;pointer-events:auto}.page-burst{z-index:40;pointer-events:none;width:100vw;height:100vh;position:fixed;top:0;bottom:0;left:0;right:0}.done-actions{gap:20px;display:flex}.home-big{--lift:7px;--edge:var(--cyan-edge);border-color:var(--ink);background:var(--cyan);min-height:78px;color:var(--cyan-ink);border-radius:999px;align-items:center;gap:12px;margin-top:6px;padding:12px 40px 12px 30px;font-size:1.5rem;font-weight:900;display:inline-flex;position:relative}.home-big:before{content:"";pointer-events:none;background:linear-gradient(#ffffff40,#0000);border-radius:999px;height:40%;position:absolute;top:6px;bottom:auto;left:18px;right:18px}.home-big span{width:40px;height:40px;display:inline-grid;position:relative}.parent-body{flex-direction:column;gap:20px;width:100%;max-width:760px;margin:0 auto;padding:8px 0 12px;display:flex}.card{--lift:6px;background:var(--surface);border-radius:var(--radius);padding:16px 18px}.card h3{color:var(--brand);margin:0 0 10px;font-weight:900}.card p{margin:6px 0}.setting{border-top:2px dashed #ead6bb;align-items:flex-start;gap:14px;padding:10px 0;display:flex}.setting:first-of-type{border-top:none}.setting input{width:28px;height:28px;accent-color:var(--brand);flex:none}.setting span{flex-direction:column;display:flex}.setting small,.voice-status{color:var(--muted)}.history{margin:0;padding:0;list-style:none}.history li{border-top:2px dashed #ead6bb;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 0;display:flex}.h-kana{min-width:80px;display:flex}.h-kana .kana{width:30px;height:30px}.h-info{flex-direction:column;flex:1;min-width:140px;display:flex}.h-info small{color:var(--muted)}.h-draw{gap:4px;display:flex}.mini-letter{background:var(--surface);border:2px solid var(--line);border-radius:9px;width:40px;height:40px}.spark{width:120px;height:32px;margin-top:4px}.spark polyline{fill:none;stroke:var(--peach-edge);stroke-width:2.5px;stroke-linejoin:round}.spark circle{fill:var(--peach-edge)}.spark-goal{stroke:#9cc7b3;stroke-dasharray:3 3}.weak{flex-wrap:wrap;gap:12px;display:flex}.weak-kana{--lift:4px;background:var(--canvas);border-radius:16px;flex-direction:column;align-items:center;width:72px;padding:8px;display:flex}.weak-kana .kana{width:44px;height:44px}.weak-kana small{color:var(--muted)}.row-btns{flex-wrap:wrap;gap:12px;margin-top:12px;display:flex}.about p{color:var(--muted)}.tip{text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex}.tip-title{color:var(--brand);margin:0;font-size:1.2rem;font-weight:900}.tip-steps{align-items:center;gap:12px;display:flex}.tip-step{flex-direction:column;align-items:center;gap:8px;font-weight:800;display:flex}.tip-icon{--lift:4px;background:var(--surface);width:64px;height:64px;color:var(--cyan-edge);border-radius:18px;padding:12px}.tip-arrow{width:28px;height:28px;color:var(--muted);transform:rotate(180deg)}.tip-small{color:var(--muted);margin:0}@media (min-width:600px){.screen{padding-inline-start:30px;padding-inline-end:30px}.home-head{min-height:118px}.brand-lockup{gap:12px}.home-head{--title-size:39px}.home-head h1{white-space:nowrap;line-height:1}.home-head h1 span{display:inline}.subtitle{margin-top:5px}.mascot{width:84px}.big-choices{gap:20px}.big-btn{border-radius:30px;min-height:198px;padding-top:20px;font-size:24px}.big-icon{width:108px;height:108px}.big-icon.tile{border-width:7px;width:92px;height:92px}.shelf{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:860px){.screen{padding-inline-start:40px;padding-inline-end:40px}.shelf{gap:18px}}@keyframes bob{50%{transform:translateY(-6px)}}@keyframes cheer-pop{40%{transform:scale(1.04)}}@keyframes star-in{0%{opacity:0;transform:scale(0)rotate(-40deg)}}@keyframes letter-in{0%{opacity:0;transform:translateY(20px)scale(.8)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}.hold-btn.holding:after{animation-duration:var(--hold-ms)!important}}
