:root{color-scheme:light;--paper: #f8f7f3;--surface: #fffefa;--surface-soft: #f3f2ec;--ink: #30332d;--muted: #70736b;--subtle: #94978e;--line: #e6e7df;--accent: #b94732;--accent-hover: #9d3724;--accent-soft: #f6eae3;--peach: #f4e5d9;--sage: #e8edde;--lavender: #ece8f1;--sky: #e5edf0;--sand: #f0e9d7;--success: #3e654c;--success-bg: #edf3e9;--radius: 16px;--radius-sm: 10px;--shadow: 0 5px 20px #302e2a06;--font-body: "DM Sans", "Noto Sans JP", system-ui, sans-serif;--font-display: "DM Serif Display", Georgia, serif;--font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;--font-jp-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;--sidebar-width: 232px}*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,select,summary{cursor:pointer}button{color:inherit}button{border:0}a{color:inherit;text-decoration:none}button,a,summary,input,textarea,select{touch-action:manipulation}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1:focus,h2:focus,main:focus{outline:none}button:disabled,input:disabled{cursor:default}button:disabled{opacity:.5}img,svg{max-width:100%}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,2.8vw,37px);font-weight:550;letter-spacing:-1.3px;line-height:1.2}h2{font-weight:550;font-size:22px;line-height:1.35;letter-spacing:-.55px}h3{font-weight:600;font-size:16px;line-height:1.4;letter-spacing:-.25px}fieldset{border:0;margin:0;padding:0;min-width:0}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}::selection{background:#ead0bf;color:var(--ink)}[hidden]{display:none!important}.jp{font-family:var(--font-jp)}.icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle}.small{font-size:12px}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;top:12px;left:12px;background:var(--ink);color:#fff;padding:12px 20px;border-radius:8px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.app-loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted)}.loading-mark{font-family:var(--font-jp-serif);font-size:56px;color:var(--accent)}.noscript{padding:40px;text-align:center}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.sidebar{width:var(--sidebar-width);position:fixed;inset:0 auto 0 0;z-index:40;background:#fbfbf7;border-right:1px solid var(--line);padding:30px 17px 0;display:flex;flex-direction:column;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;padding:0 15px 33px}.brand>span{font-size:36px;font-weight:650;letter-spacing:-2px;line-height:1}.brand img{width:37px;height:37px}.brand-period{color:var(--accent)}.brand small{display:block;font-size:6px;font-weight:600;letter-spacing:.95px;line-height:2.7;margin-left:2px;white-space:nowrap}.nav-group{margin-bottom:19px}.nav-label{font-size:9px;font-weight:650;letter-spacing:1.8px;color:var(--subtle);padding:0 15px;margin-bottom:9px}.nav-link{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:8px;font-size:12px;line-height:1.5;font-weight:500;color:#64695f;margin:3px 0;transition:background .18s,color .18s}.nav-link .icon{width:18px;height:18px;flex-basis:18px}.nav-link:hover{background:#efefe8;color:var(--ink)}.nav-link.is-active{background:var(--accent-soft);color:var(--accent);font-weight:650}.nav-kana{width:18px;text-align:center;font-weight:500;font-size:19px;line-height:1;flex-shrink:0}.nav-count{margin-left:auto;font-size:10px;border-radius:5px;background:#e9ded3;padding:1px 5px}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-message{border-top:1px solid var(--line);text-align:center;padding:23px 8px 20px}.sidebar-message>span{font-family:var(--font-jp-serif);font-size:22px;letter-spacing:6px;color:#818777}.sidebar-message p{font-size:10px;line-height:1.8;color:var(--muted);margin-top:9px}.profile-link{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:19px 0}.profile-avatar,.topbar-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e9e9df;font-size:12px;font-weight:600;flex-shrink:0}.profile-link strong{display:block;font-size:12px;font-weight:550}.profile-link small{display:block;font-size:9px;color:var(--muted)}.profile-link .icon{margin-left:auto;color:var(--muted);width:16px}.app-body{margin-left:var(--sidebar-width);min-height:100dvh;display:flex;flex-direction:column}.topbar{height:76px;padding:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f8f7f3f2}.topbar-location{display:flex;align-items:center;gap:12px;color:var(--subtle);font-size:11px}.topbar-location .icon{width:12px;height:12px;flex-basis:12px}.topbar-location strong{color:#61665b;font-weight:500}.topbar-stats{display:flex;align-items:center;gap:20px;font-size:11px}.topbar-stats strong{font-weight:550}.topbar-streak,.xp-label{display:flex;align-items:center;gap:6px}.topbar-streak .icon{color:var(--accent);width:17px;height:17px}.xp-label .icon{color:#9d8b52;width:15px;height:15px}.topbar-divider{height:17px;width:1px;background:var(--line)}.topbar-avatar{margin-left:4px;width:auto;min-width:48px;height:32px;padding:0 10px;border-radius:999px}.menu-button{display:none!important}.main-content{width:100%;max-width:1470px;margin:0 auto;padding:38px 40px 28px;flex:1}.app-footer{margin:auto 40px 0;padding:24px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:14px;font-size:10px;color:var(--subtle)}.app-footer>a:first-child{font-size:19px;letter-spacing:-1px;font-weight:650;color:#62685c}.app-footer>a:last-child{margin-left:auto}.app-footer .icon{width:12px;height:12px;margin-left:3px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:1.65px;font-weight:650;color:var(--muted);line-height:1.6}.page-heading .eyebrow{margin-bottom:12px}.page-description{margin-top:11px;font-size:13px;color:var(--muted);max-width:660px}.page-heading>.btn{flex-shrink:0}.date-label{font-size:11px;color:var(--muted);white-space:nowrap;align-self:flex-start;margin-top:8px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:34px 0 20px}.section-heading .eyebrow{margin-bottom:7px}.section-heading h2{font-size:21px}.section-heading.compact{margin:0 0 20px}.section-heading.compact h2{font-size:17px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}.source-note{color:var(--muted);font-size:11px;line-height:1.7;margin-top:25px}.source-note a{text-decoration:underline;text-underline-offset:3px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:8px;padding:12px 18px;font-size:12px;font-weight:600;line-height:1.5;min-height:44px;transition:background .18s,border-color .18s,transform .18s;cursor:pointer}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn .icon{width:16px;height:16px;flex-basis:16px}.btn-primary{background:var(--accent);color:#fffaf3;border-color:var(--accent);box-shadow:0 3px 4px #ad422b09}.btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.btn-ghost{background:transparent;border-color:var(--line)}.btn-ghost:hover:not(:disabled){background:#f0efe8;border-color:#d3d5c9}.btn-small{font-size:11px;min-height:36px;padding:8px 12px}.full-width{width:100%}.text-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:none;padding:5px 0;color:var(--accent);font-size:11px;font-weight:600;line-height:1.5}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.text-link .icon{width:14px;height:14px;flex-basis:14px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;background:transparent;color:var(--muted);flex-shrink:0;transition:background .18s,color .18s}.icon-button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:5px;padding:5px 9px;background:#f0f0e8;font-size:9px;font-weight:550;line-height:1.5;color:#646b5e}.pill .icon{width:13px;height:13px;flex-basis:13px}.pill.light{background:#fff9f080;color:#816b54;border:1px solid #d7c9b44d;letter-spacing:.8px;font-size:8px}.small-pill{margin-left:10px;padding:3px 6px;font-size:8px;background:var(--accent-soft);color:var(--accent);vertical-align:middle}.caution-pill{background:#f7e9c9;color:#8a6414}.peach{background:var(--peach);color:#9e593f}.sage{background:var(--sage);color:#647454}.lavender{background:var(--lavender);color:#80728e}.sky{background:var(--sky);color:#5b7783}.sand{background:var(--sand);color:#8c784e}.progress-track{height:4px;background:#e9eae2;overflow:hidden;border-radius:4px}.progress-track>span{display:block;height:100%;background:#8e9f7a;border-radius:inherit;transition:width .25s}.segmented{display:inline-flex;gap:3px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#eeeee7}.segmented button{font-size:12px;font-weight:500;border-radius:7px;padding:10px 21px;background:transparent;color:var(--muted)}.segmented button.is-active{color:var(--ink);background:var(--surface);box-shadow:0 2px 5px #30332d0a}.small-segmented button{padding:6px 12px;font-size:11px}.filter-chips{display:flex;gap:7px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:7px;background:transparent;border:1px solid var(--line);border-radius:7px;padding:9px 12px;font-size:11px;font-weight:500;color:var(--muted);min-height:38px}.chip:hover{background:#efefe7}.chip.is-active{color:var(--accent);border-color:#d9b29f;background:var(--accent-soft)}.tab-bar{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:25px}.tab-bar button{background:transparent;border-bottom:2px solid transparent;padding:10px 3px 15px;color:var(--muted);font-size:12px;white-space:nowrap}.tab-bar button.is-active{border-color:var(--accent);color:var(--accent)}.tip-box{display:flex;align-items:flex-start;gap:13px;background:#efeee4;border:1px solid #e5e3d6;border-radius:10px;padding:19px 22px;margin:25px 0;color:#666a58;font-size:12px;line-height:1.8}.tip-box>.icon{margin-top:2px;color:#8c926f}.tip-box strong{display:block;font-weight:600;margin-bottom:3px}.input-label{display:block;font-size:11px;font-weight:550;margin-bottom:7px;color:#626958}.text-input{width:100%;border:1px solid #d9dcd0;background:var(--surface);color:var(--ink);padding:11px 12px;border-radius:8px;min-height:44px;font-size:13px}.text-input::placeholder{color:#92968b}.check-label{display:flex;align-items:center;gap:8px;font-size:12px;margin:15px 0 20px}.search-field{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.search-field .icon{width:17px;height:17px;color:var(--subtle)}.search-field input{width:170px;border:none;background:transparent;color:var(--ink);font-size:12px;min-width:0;outline:none}.search-field:focus-within{outline:2px solid var(--accent);outline-offset:2px}.back-link{display:inline-flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin-bottom:25px}.back-link:hover{color:var(--accent)}.back-link .icon{width:16px;height:16px}.example{border:1px solid var(--line);background:#fafaf5;border-radius:10px;padding:17px 20px;min-width:0}.example-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.example-line>.jp{font-size:21px;line-height:1.7;overflow-wrap:anywhere}.example .audio-button{width:30px;height:30px}.example .audio-button .icon{width:16px;height:16px}.romaji{font-size:12px;color:#8c795f;line-height:1.7;margin-top:2px}.translation{font-size:13px;margin-top:5px}.example-note{font-size:11px;color:var(--muted);line-height:1.7;margin-top:10px;border-top:1px solid var(--line);padding-top:10px}ruby{ruby-position:over}rt{font-size:.45em;font-weight:400;color:var(--muted);user-select:none}:root[data-theme=arcade] rt{color:inherit;opacity:.75}.example-art{display:block;width:72px;height:72px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid var(--line);padding:6px;margin-bottom:10px}.art-credit{display:block;font-size:10px;color:var(--muted);margin:-6px 0 10px}.empty-state{padding:55px 25px;text-align:center}.empty-state p{margin:12px auto 24px;color:var(--muted);max-width:510px;font-size:13px}.empty-symbol{display:block;font-family:var(--font-jp-serif);font-size:65px;color:#9aa185;margin-bottom:13px}.answer-options{display:grid;gap:10px;margin:25px 0}.answer-option{display:flex;align-items:center;gap:13px;position:relative;border:1px solid var(--line);background:var(--surface);padding:15px 18px;border-radius:9px;cursor:pointer;text-align:left;font-size:14px;min-width:0}.answer-option:hover{background:#f4f3ec}.answer-option input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.answer-option:has(input:checked){border-color:#bc7961;background:#f7eee6}.answer-option:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.answer-option>span:last-of-type{overflow-wrap:anywhere}.option-letter{background:#eeeee6;border-radius:5px;min-width:25px;height:26px;display:grid;place-items:center;font-size:10px;font-weight:600}.answer-option.is-correct{background:#eef4e8;border-color:#9bae8b}.answer-option.is-wrong{background:#fbede5;border-color:#cc9e85}.answer-option .icon{margin-left:auto;color:var(--success)}.feedback{padding:18px 21px;border-radius:10px;margin:24px 0;font-size:13px;line-height:1.8;text-align:left}.feedback p{margin-top:4px}.feedback.success{background:var(--success-bg);color:#47613a;border:1px solid #d8e3cc}.feedback.retry{background:#f9eee1;color:#805d35;border:1px solid #ecd8bd}.feedback details{margin-top:12px}.feedback details>p{margin-top:12px}.toast{position:fixed;bottom:25px;left:calc(50% + var(--sidebar-width) / 2);transform:translate(-50%);max-width:min(520px,85vw);padding:15px 22px;background:#353b30;color:#fffdf5;border:1px solid #515845;border-radius:10px;box-shadow:0 8px 35px #30332d22;z-index:80;font-size:12px;line-height:1.7;width:max-content}.dashboard-top{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:22px}.discovery-map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.discovery-map-card{min-width:0;padding:22px}.discovery-map-card h3{font-size:16px}.discovery-map-card>p{color:var(--muted);font-size:12px;line-height:1.6;margin:6px 0 14px}.discovery-map-card ul{list-style:none;margin:0;padding:0}.discovery-map-card li+li{border-top:1px solid var(--line)}.discovery-map-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;color:var(--ink);font-size:12px}.discovery-map-link:hover,.discovery-map-link:focus-visible{color:var(--accent)}.discovery-map-link .icon{width:14px;height:14px;flex-shrink:0}.welcome-card{min-height:370px;border-radius:var(--radius);background:#eee7d8;border:1px solid #e7decd;position:relative;overflow:hidden;display:flex}.welcome-copy{position:relative;z-index:2;padding:29px 0 25px 30px;width:62%}.welcome-copy h2{font-family:var(--font-display);font-size:clamp(36px,3.9vw,55px);font-weight:400;line-height:1.07;letter-spacing:-1.5px;margin:20px 0 17px;color:#363d30}.welcome-copy h2 em{color:#7d8966;font-weight:400}.welcome-copy>p{font-size:11px;line-height:1.9;color:#777968}.welcome-copy .btn{margin-top:22px}.hero-footnote{display:flex;align-items:center;gap:6px;font-size:9px;color:#7f806f;margin-top:12px}.hero-footnote .icon{width:11px;height:11px;flex-basis:11px}.kana-art{width:42%;position:absolute;right:0;top:0;bottom:0;color:#a9563f}.art-sun{position:absolute;width:205px;height:205px;background:#b8563d;border-radius:50%;top:91px;right:-29px}.art-main{position:absolute;top:102px;right:-1px;font-family:var(--font-jp-serif);color:#f6ead6;font-size:137px;font-weight:500;line-height:1.3;transform:rotate(-10deg)}.art-orbit{position:absolute;border:1px solid #b9b69b66;width:290px;height:290px;border-radius:50%;top:50px;right:-72px}.orbit-two{width:330px;height:330px;top:29px;right:-92px;border-color:#b9b69b33}.art-tag{position:absolute;top:73px;left:-6px;background:#faf6ea;border:1px solid #e7decb;color:#858465;padding:9px 17px;border-radius:7px;transform:rotate(-10deg);font-family:var(--font-jp);font-size:13px;box-shadow:0 7px 10px #9d8c6a08}.art-tag small{display:block;font-family:var(--font-body);font-size:8px;text-align:center;letter-spacing:1px}.art-kana{position:absolute;background:#b7c09c;border:4px solid #cbd1b6;color:#faf7e9;width:76px;height:86px;border-radius:7px;display:grid;place-items:center;font-family:var(--font-jp-serif);font-size:48px;top:245px;left:-18px;transform:rotate(10deg);box-shadow:0 9px 15px #7c806010}.art-kanji{position:absolute;top:26px;right:23px;width:49px;height:55px;background:#f5f0e3;border:1px solid #e0d7c5;color:#888262;border-radius:5px;font-family:var(--font-jp-serif);font-size:31px;display:grid;place-items:center;transform:rotate(9deg)}.art-caption{position:absolute;bottom:30px;right:25px;color:#898973;writing-mode:vertical-rl;font-family:var(--font-jp-serif);font-size:12px;letter-spacing:3px}.art-caption small{display:none}.art-spark{position:absolute;width:25px;height:25px;top:212px;left:-20px;color:#9b9473}.daily-card{padding:25px 23px 18px;display:flex;flex-direction:column;align-items:center}.section-label{display:flex;align-items:center;gap:6px;font-size:8px;font-weight:600;letter-spacing:.9px;color:var(--muted);width:100%}.section-label .icon{width:14px;height:14px;flex-basis:14px;color:#9a9d8b}.daily-card h2{margin:20px 0 7px;font-size:20px}.daily-card>p{text-align:center;font-size:10px;color:var(--muted);max-width:160px}.goal-ring{width:120px;height:120px;margin:23px 0 22px;border-radius:50%;background:conic-gradient(#889b72 var(--goal),#eceee3 0);padding:7px;transform:rotate(-0deg)}.goal-ring>div{display:flex;width:100%;height:100%;border-radius:50%;background:var(--surface);align-items:center;justify-content:center;flex-direction:column}.goal-ring strong{font-size:33px;font-weight:500;line-height:1.4;letter-spacing:-1.5px}.goal-ring strong span{color:#a0a492;font-size:20px;font-weight:400}.goal-ring small{font-size:9px;color:#999c8e}.week-strip{display:flex;justify-content:space-between;width:100%;gap:6px;margin:auto 0 20px}.week-day{text-align:center;display:flex;align-items:center;flex-direction:column;gap:7px;font-size:9px;color:#9da28f}.week-day i{width:22px;height:22px;border-radius:50%;background:#f1f2e9;display:grid;place-items:center}.week-day.is-today>span{color:var(--accent);font-weight:700}.week-day.is-today i{border:1px solid #ce9e86;background:#f8eee5}.week-day i.is-done{background:#839970;color:#fff;border-color:#839970}.week-day i .icon{width:13px;height:13px}.daily-bottom{border-top:1px solid var(--line);padding-top:13px;display:flex;align-items:center;gap:6px;width:100%;font-size:9px;color:var(--muted)}.daily-bottom>.icon{width:15px;height:15px;flex-basis:15px;color:var(--accent)}.daily-bottom strong{color:#525b48;font-weight:600}.daily-bottom .text-link{margin-left:auto;font-size:9px}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.module-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px 20px 15px;box-shadow:var(--shadow);transition:transform .18s,border-color .18s;display:flex;flex-direction:column}.module-card:hover{transform:translateY(-4px);border-color:#c4ccb6}.module-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.module-symbol{width:50px;height:50px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;font-size:30px;font-weight:400;font-family:var(--font-jp-serif)}.module-number{font-size:11px;color:#b1b4a5;font-family:var(--font-body)}.module-card h3{font-size:14px;margin-bottom:8px;letter-spacing:-.2px}.module-card>p{font-size:11px;line-height:1.8;color:var(--muted);margin-bottom:20px;max-width:190px}.module-card-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#8b917e;margin:auto 0 12px}.module-card-footer .icon{width:14px;height:14px;color:#8c977a}.module-card .progress-track{height:3px}.practice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.practice-card{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:17px 19px;transition:border-color .18s,background .18s}.practice-card:hover{border-color:#bec7b1;background:#fbfcf5}.practice-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.practice-icon .jp{font-size:25px;font-family:var(--font-jp-serif)}.practice-icon .icon{width:19px;height:19px}.practice-card h3{font-size:12px;margin-bottom:4px}.practice-card p{color:var(--muted);font-size:10px}.practice-card>.icon{margin-left:auto;width:15px;height:15px;color:#9fa58f}.dashboard-note{display:flex;align-items:center;gap:20px;margin:29px 0 0;padding:21px 2px 3px;border-top:1px solid var(--line)}.dashboard-note>.jp{font-family:var(--font-jp-serif);font-size:25px;letter-spacing:4px;color:#939a80;white-space:nowrap}.dashboard-note p{font-size:10px;line-height:1.8;color:var(--muted)}.dashboard-note strong{font-weight:500;color:#7d856d}.journey-total{margin-left:auto;font-size:10px;color:#989d8b}.journey-summary{display:flex;align-items:center;gap:25px;padding:27px 32px;margin-bottom:30px}.summary-symbol{font-family:var(--font-jp-serif);font-size:50px;color:#889771}.journey-summary>div{flex:1}.journey-summary strong{font-size:15px;font-weight:550}.journey-summary p{color:var(--muted);font-size:12px;margin:5px 0 13px}.journey-summary .progress-track{max-width:450px}.journey-list{display:grid;gap:15px}.teacher-builder{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);gap:22px;align-items:start}.teacher-builder-controls,.teacher-package{padding:28px}.teacher-illustration{margin:0 auto 24px;text-align:center}.teacher-art{display:block;width:190px;height:auto;max-width:100%;object-fit:contain;margin:0 auto 8px}.illustration-credit{font-size:10px;line-height:1.6;color:var(--muted)}.illustration-credit a{text-decoration:underline;text-underline-offset:3px}.teacher-builder-controls .input-label{display:block;margin:0 0 8px}.teacher-builder-controls select{width:100%;margin-bottom:24px}.teacher-share{display:flex;gap:8px}.teacher-share input{min-width:0;flex:1}.teacher-builder-controls>p{margin-top:12px}.teacher-package h2{margin:18px 0 8px;font-family:var(--font-display)}.teacher-package>p{color:var(--muted);line-height:1.7}.teacher-lesson-list{display:grid;gap:8px;margin:20px 0;padding-left:22px}.teacher-package-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}@media(max-width:800px){.teacher-builder{grid-template-columns:1fr}.teacher-share{flex-wrap:wrap}.teacher-share input{flex-basis:100%}}.journey-module{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.journey-module>summary{list-style:none;display:flex;gap:21px;align-items:center;padding:22px 28px}.journey-module>summary::-webkit-details-marker,.kanji-card>summary::-webkit-details-marker{display:none}.journey-module>summary h2{font-size:18px;margin:3px 0 5px}.journey-module>summary p:not(.eyebrow){font-size:12px;color:var(--muted)}.module-count{margin-left:auto;font-size:12px;color:var(--subtle)}.journey-module>summary>.icon{width:17px;color:var(--subtle);transition:transform .2s}.journey-module[open]>summary>.icon{transform:rotate(180deg)}.lesson-list{padding:0 28px 17px}.lesson-row{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding:19px 5px}.lesson-row:hover h3{color:var(--accent)}.lesson-state{width:32px;height:32px;display:grid;place-items:center;border:1px solid #dedfd5;background:#f7f7f0;border-radius:50%;font-size:10px;color:var(--muted);flex-shrink:0}.lesson-state.is-done{background:#e5eddc;color:#65834a;border-color:#d6e1ca}.lesson-state .icon{width:17px}.lesson-row.is-next .lesson-state{color:var(--accent);border-color:#dcb7a1;background:var(--accent-soft)}.lesson-row h3{font-size:13px}.lesson-row p{font-size:11px;color:var(--muted);margin-top:4px}.lesson-duration{margin-left:auto;white-space:nowrap;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px}.lesson-duration .icon{width:13px;height:13px}.lesson-row>.icon{width:16px;color:var(--subtle)}.lesson-reader{max-width:860px;margin:auto}.lesson-reader-head{display:flex;align-items:center;gap:25px;justify-content:space-between;margin-bottom:25px}.lesson-reader-head .eyebrow{margin-bottom:9px}.lesson-reader-head h1{font-size:30px}.lesson-reader-head .pill{white-space:nowrap}.lesson-content{margin:25px 0;padding:36px}.step-label{font-size:9px;font-weight:600;color:#8b9579;letter-spacing:1.5px;display:block;margin-bottom:16px}.lesson-content h2{font-size:27px;margin-bottom:17px}.lesson-body{font-size:15px;line-height:1.95;color:#60675a}.examples-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;margin-top:25px}.lesson-controls{margin-top:30px;border-top:1px solid var(--line);padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.lesson-controls.align-end{justify-content:flex-end}.completion{text-align:center;padding:35px 10px}.completion-mark{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:var(--sage);color:#758d5b;margin:0 auto 25px}.completion-mark .icon{width:30px;height:30px}.completion .eyebrow{margin-bottom:12px}.completion p:not(.eyebrow){color:var(--muted);margin:15px auto 20px;max-width:490px;line-height:1.9;font-size:14px}.completion-actions{margin:30px 0 15px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}.practice-session{max-width:730px;margin:auto}.session-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.session-heading h1{font-size:28px}.session-heading>span{font-size:12px;color:var(--muted);white-space:nowrap}.quiz-stage{text-align:center;padding:35px;margin-top:25px}.quiz-character{font-size:clamp(50px,7vw,105px);line-height:1.5;margin:16px 0;font-weight:400;overflow-wrap:anywhere}.quiz-character:lang(ja){font-family:var(--font-jp-serif)}.quiz-image{margin:16px 0;display:flex;flex-direction:column;align-items:center}.quiz-image .example-art{width:140px;height:140px;margin-bottom:8px}.quiz-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:27px 0}.quiz-stage .input-label{text-align:left;margin-top:25px}.quiz-stage .text-input{margin-bottom:20px}.quiz-stage form>.btn{min-width:180px}.kana-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}.kana-table{padding:24px}.kana-column-head,.kana-row{display:grid;grid-template-columns:63px repeat(5,minmax(0,1fr));gap:7px}.kana-column-head{color:var(--subtle);text-align:center;font-size:11px;margin:0 0 12px}.kana-column-head>span:first-child{text-align:left;font-size:9px}.kana-row{padding:7px 0;border-top:1px solid #eff0e7}.row-toggle{display:flex;gap:5px;align-items:center;font-size:10px;color:var(--muted);cursor:pointer}.row-toggle input{width:13px;height:13px;margin:0}.kana-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:#fafaf5;border:1px solid transparent;border-radius:8px;min-height:65px;padding:6px 2px;position:relative}.kana-cell .jp{font-size:26px;line-height:1.4}.kana-cell small{color:#a0a58f;font-size:9px}.kana-row.is-selected .kana-cell{background:#f1f3e9}.kana-cell:hover,.kana-cell.is-active{border-color:#c0a38d;background:#f6eae0!important}.kana-cell.is-mastered:after{content:"";width:5px;height:5px;border-radius:50%;background:#8d9f79;position:absolute;top:5px;right:5px}.kana-empty{display:grid;place-items:center;color:#d3d7c8}.kana-sidebar{display:grid;gap:18px;position:sticky;top:20px}.kana-detail{text-align:center;padding:25px}.detail-character{font-size:90px;font-family:var(--font-jp-serif);line-height:1.6;color:#454d3b;margin-top:10px}.detail-sound{display:flex;align-items:center;justify-content:center;gap:8px}.detail-sound strong{font-weight:400;font-size:21px}.kana-detail p{color:var(--muted);font-size:11px;margin:8px 0 19px}.practice-setup{padding:22px}.practice-setup h2{font-size:16px;margin-bottom:7px}.practice-setup>p{margin-bottom:20px}.practice-setup>p:last-child{margin:12px 0 0}.writing-toolbar{justify-content:flex-start;align-items:flex-end;gap:20px}.writing-toolbar>div:not(.writing-reading){min-width:175px}.writing-reading{display:flex;align-items:center;gap:15px;margin-left:auto}.writing-reading>.jp{font-family:var(--font-jp-serif);font-size:40px;color:#73835d}.writing-reading strong{font-size:15px;font-weight:500;display:block}.writing-reading small{display:block;color:var(--muted);font-size:11px}.writing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.writing-panel{padding:25px;display:flex;flex-direction:column}.stroke-model,.writing-stage{position:relative;width:100%;max-width:380px;aspect-ratio:1;margin:0 auto;border:1px solid #e0e3d5;border-radius:8px;background-color:#fafbf5;background-image:linear-gradient(to right,transparent calc(50% - .5px),#dce1d0 calc(50% - .5px),#dce1d0 calc(50% + .5px),transparent calc(50% + .5px)),linear-gradient(to bottom,transparent calc(50% - .5px),#dce1d0 calc(50% - .5px),#dce1d0 calc(50% + .5px),transparent calc(50% + .5px));overflow:hidden}.stroke-model svg,.writing-guide svg{width:100%;height:100%}.stroke-paths{fill:none;stroke:#556446;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.stroke-paths .is-future{stroke:#dce2d1}.stroke-number{font-family:var(--font-body);font-size:4px;fill:#b26747}.writing-guide{position:absolute;inset:0;opacity:.2;pointer-events:none}#writing-canvas{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair;touch-action:none}.model-fallback{display:grid;height:100%;place-items:center;font-size:150px;color:#bac4ab;font-family:var(--font-jp-serif)}.stroke-controls,.drawing-controls{display:flex;justify-content:center;align-items:center;gap:10px;margin:23px 0 15px}.drawing-controls .btn:first-child{margin-right:auto}.drawing-controls .btn:last-child{margin-left:auto}#stroke-caption{text-align:center;max-width:280px;margin:0 auto}#save-writing{margin-top:auto}.sentence-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}.exercise-list{padding:20px 12px}.exercise-list>.eyebrow{padding:0 10px;margin-bottom:15px}.exercise-item{display:flex;align-items:center;width:100%;gap:9px;text-align:left;padding:12px 10px;border-radius:7px;background:transparent;font-size:11px;color:var(--muted)}.exercise-item>span{font-size:9px;color:#a7ad98}.exercise-item.is-active{background:var(--accent-soft);color:var(--accent);font-weight:550}.exercise-item .icon{width:13px;height:13px;flex-basis:13px;margin-left:auto;color:#728d56}.sentence-workspace{padding:28px}.sentence-prompt-label{margin:34px 0 13px}.sentence-prompt{font-family:var(--font-display);font-size:32px;font-weight:400;margin-bottom:30px;letter-spacing:-.7px}.sentence-answer{min-height:125px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid #dee2d4;border-bottom:1px solid #dee2d4;padding:20px 0}.sentence-answer>p{font-size:12px;padding:10px 0}.word-token{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #dce1d1;border-bottom:3px solid #dce1d1;background:#fafbf4;border-radius:8px;padding:10px 12px;min-width:58px;transition:background .15s,border-color .15s}.word-token:hover:not(:disabled){background:#edf1e1;border-color:#b5c19e}.word-token .jp{font-size:18px}.word-token small{color:#8b987a;font-size:9px;margin-top:3px}.word-token:disabled{opacity:.35}.token-meaning{font-size:9px;color:var(--muted);margin-top:6px}.selected-token{background:#edf1e3;border-color:#c6d0b6}.selected-token:disabled{opacity:1}.sentence-period{font-size:25px;align-self:center}.token-bank{display:flex;flex-wrap:wrap;gap:9px;padding:27px 0}.sentence-hint{background:#f4f3e9;padding:14px 17px;border-radius:8px;font-size:12px}.sentence-hint summary{display:flex;align-items:center;gap:8px;font-size:11px;color:#888c70;list-style:none}.sentence-hint summary .icon{width:15px;height:15px;flex-basis:15px}.sentence-hint summary .icon:last-child{margin-left:auto}.sentence-hint>p{margin-top:13px}.sentence-text{min-height:160px;resize:vertical;margin-bottom:22px}.reference-banner{display:flex;align-items:center;gap:26px;padding:24px 30px;border-radius:var(--radius);margin-bottom:28px}.reference-banner>.jp{font-family:var(--font-jp-serif);font-size:57px;line-height:1.2}.reference-banner h2{color:var(--ink);font-size:20px;margin-bottom:6px}.reference-banner p{font-size:12px}.reference-banner .btn{margin-left:auto;flex-shrink:0}.kanji-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;align-items:start}.kanji-card{overflow:hidden}.kanji-card>summary{padding:20px 15px 15px;text-align:center;list-style:none}.kanji-card:hover{border-color:#bfcbae}.kanji-card-symbol{font-family:var(--font-jp-serif);font-size:65px;line-height:1.5;display:block;color:#56644a}.kanji-card h2{font-size:15px;margin:10px 0 8px}.kanji-card summary>p{font-size:12px;color:var(--muted)}.kanji-expand{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;margin-top:18px;padding-top:12px;border-top:1px solid var(--line);color:#959d86}.kanji-expand .icon{width:12px;height:12px;flex-basis:12px}.kanji-card-details{padding:0 13px 16px}.kanji-card-details .example{padding:12px}.kanji-card-details .example .jp{font-size:20px}.card-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}.particle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.particle-card{padding:25px}.particle-card-head{display:flex;align-items:center;gap:15px;margin-bottom:20px}.particle-symbol{display:grid;place-items:center;width:59px;height:59px;border-radius:12px;background:var(--peach);color:#a75f43;font-size:37px;flex-shrink:0;font-family:var(--font-jp-serif)}.particle-card h2{font-size:16px}.particle-card>p:not(.particle-note){font-size:12px;color:var(--muted);margin-bottom:20px;min-height:40px}.particle-card .example{padding:13px}.particle-card .example .jp{font-size:17px}.particle-card .translation{font-size:12px}.particle-note{font-size:11px;color:#939780;margin-top:17px;line-height:1.8}.expression-grid,.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.expression-card{padding:23px;display:flex;flex-direction:column;align-items:flex-start}.expression-card .example{border:0;border-radius:0;padding:18px 0 15px;background:none;width:100%}.expression-card .example .jp{font-size:23px}.expression-card .example-note{border:none;padding-top:0;min-height:40px}.context-box{background:#f5f5ee;border-radius:7px;padding:13px 15px;font-size:11px;width:100%;margin:auto 0 18px}.context-box p{margin-top:6px;color:#747d65;line-height:1.8}.context-box .eyebrow{font-size:8px;color:#9ca28d}.library-toolbar{align-items:flex-end;margin-top:25px}.library-toolbar>div{min-width:165px}.library-toolbar .search-field{margin-left:auto;min-height:44px}.library-card{padding:23px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}.library-card>.jp{margin-top:20px;font-size:28px;overflow-wrap:anywhere}.library-card>h3{font-size:13px;margin:13px 0 18px}.library-card>.romaji{font-size:11px}.library-example{margin:auto 0 20px;width:100%;border-top:1px solid var(--line);padding-top:15px}.library-example>.jp{font-size:15px;line-height:1.9;overflow-wrap:anywhere}.library-example .audio-button{width:25px;height:25px;display:inline-flex}.library-example .audio-button .icon{width:14px;height:14px}.library-example>p:not(.jp){font-size:11px;color:var(--muted);margin-top:8px;line-height:1.8;overflow-wrap:anywhere}.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.resource-link{padding:23px;display:flex;gap:20px;align-items:center}.resource-link h3{font-size:13px;margin-bottom:8px}.resource-link p{font-size:11px;color:var(--muted);line-height:1.8}.resource-link>.icon{margin-left:auto;color:#96a086;width:17px;height:17px}.resource-link:hover{border-color:#bfcbae}.review-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:25px}.stat-card{text-align:center;padding:28px 20px}.stat-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;margin:0 auto 15px}.stat-card strong{display:block;font-size:32px;font-weight:500}.stat-card p{font-size:12px;color:var(--muted)}.review-ready{text-align:center;padding:40px 25px}.review-ready p{font-size:13px;color:var(--muted);max-width:450px;margin:14px auto 25px;line-height:1.9}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:25px;align-items:start}.settings-panel{padding:28px}.settings-panel>h2{font-size:20px;margin-bottom:18px}.setting-row{display:flex;align-items:center;gap:30px;justify-content:space-between;padding:25px 0;border-top:1px solid var(--line)}.setting-row.vertical{display:block}.setting-row h3{font-size:14px;margin-bottom:7px}.setting-row p{font-size:12px;color:var(--muted);line-height:1.9}.switch{flex-shrink:0;position:relative;display:inline-flex;width:42px;height:25px}.switch input{position:absolute;opacity:0;width:100%;height:100%;z-index:1;margin:0;cursor:pointer}.switch>span:not(.sr-only){width:100%;height:100%;border-radius:20px;background:#d7dacd;position:relative;transition:background .2s}.switch>span:not(.sr-only):after{content:"";width:19px;height:19px;background:#fff;border-radius:50%;position:absolute;left:3px;top:3px;box-shadow:0 1px 4px #30332d15;transition:transform .2s}.switch input:checked+span{background:#83996c}.switch input:checked+span:after{transform:translate(17px)}.switch input:focus-visible+span{outline:3px solid var(--accent);outline-offset:4px}.goal-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.goal-option{position:relative;border:1px solid var(--line);border-radius:8px;padding:15px 10px;text-align:center;cursor:pointer}.goal-option input{position:absolute;opacity:0;width:100%;height:100%;margin:0;inset:0;cursor:pointer}.goal-option:has(input:checked){border-color:#a9b897;background:#f0f4e6}.goal-option:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.goal-option strong{font-size:12px;display:block;font-weight:550}.goal-option span{font-size:10px;color:var(--muted);display:block;margin-top:5px}.setting-note{display:flex;align-items:center;gap:7px;font-size:10px;color:#8a9879}.setting-note .icon{width:14px;height:14px;flex-basis:14px}.progress-overview{padding:28px}.progress-overview>.jp{display:block;font-size:58px;font-family:var(--font-jp-serif);color:#8c9b76;margin-bottom:13px}.progress-overview h2{font-family:var(--font-display);font-weight:400;font-size:26px}.progress-overview dl{margin:22px 0}.progress-overview dl>div{border-top:1px solid var(--line);padding:13px 0;display:flex;justify-content:space-between;gap:15px;font-size:11px}.progress-overview dt{color:var(--muted)}.progress-overview dd{margin:0;font-weight:500}.about-panel{margin-top:25px}.about-panel>p{font-size:12px;color:var(--muted);margin:12px 0;line-height:1.9;max-width:850px}:root[data-theme=dojo]{--paper: #f8f7f3;--surface: #fffefa;--surface-soft: #f2f1eb;--ink: #30332d;--muted: #6c7067;--subtle: #81857b;--line: #e6e7df;--accent: #a3311f;--accent-hover: #842516;--accent-soft: #f7eae4;--peach: #f4e5d9;--sage: #e8edde;--lavender: #ece8f1;--sky: #e5edf0;--sand: #f0e9d7;--radius: 14px;--radius-sm: 8px;--shadow: 0 4px 15px #44311c08;--font-display: "Shippori Mincho", Georgia, serif;--font-jp-serif: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif}:where([data-theme=dojo]) body{background-image:url(/assets/img/washi.svg)}:where([data-theme=dojo]) .sidebar{background:#fffefa url(/assets/img/washi.svg);border-right-color:#e6e7df}:where([data-theme=dojo]) .topbar{background:#f8f7f3ee;border-bottom-color:var(--line)}:where([data-theme=dojo]) .page-heading h1{font-family:var(--font-display);font-weight:600;letter-spacing:-.04em}:where([data-theme=dojo]) .eyebrow{color:var(--accent);letter-spacing:.13em}:where([data-theme=dojo]) .brand{color:var(--ink)}:where([data-theme=dojo]) .brand-period{color:var(--accent)}:where([data-theme=dojo]) .nav-link.is-active{background:#a3311f0b;color:var(--accent);border-radius:8px;box-shadow:inset 2px 0 var(--accent)}:where([data-theme=dojo]) .welcome-card{background:#f7f4ec url(/assets/img/washi.svg);border-color:#e6dfd1;border-radius:9px 9px 24px}:where([data-theme=dojo]) .welcome-card:after{content:"";position:absolute;inset:9px;border:1px solid #a68c6130;border-radius:3px 3px 17px;pointer-events:none}:where([data-theme=dojo]) .welcome-copy h2{color:var(--ink);font-weight:600;line-height:1.14;font-size:clamp(34px,3.6vw,49px)}:where([data-theme=dojo]) .welcome-copy h2 em{color:var(--accent);font-style:normal}:where([data-theme=dojo]) .welcome-copy>p{font-size:12px;color:var(--muted)}:where([data-theme=dojo]) .welcome-copy .pill{background:transparent;padding-left:0;color:var(--accent)}:where([data-theme=dojo]) .art-sun{background:#a3311f;border-radius:49% 51% 47% 53%/52% 47% 53% 48%;box-shadow:inset 0 0 0 4px #f7f4ec2b,0 0 0 1px #a3311f44}:where([data-theme=dojo]) .art-main{color:#faf1df;transform:translate(-50%) rotate(-7deg)}:where([data-theme=dojo]) .art-orbit{border-color:#a68c6130}:where([data-theme=dojo]) .art-kana{background:var(--ink);color:var(--paper);border:3px double #d2c4ac;border-radius:3px;transform:rotate(6deg);box-shadow:2px 4px #483c2920}:where([data-theme=dojo]) .art-kanji{background:transparent;border:2px solid var(--accent);border-radius:2px;color:var(--accent);transform:rotate(-4deg)}:where([data-theme=dojo]) .art-caption,:where([data-theme=dojo]) .art-tag{color:var(--muted)}:where([data-theme=dojo]) .art-spark{color:#b08a3e}:where([data-theme=dojo]) .goal-ring{background:conic-gradient(#a3311f var(--goal),#eeede6 0);padding:5px}:where([data-theme=dojo]) .week-day i{background:var(--surface-soft);border-radius:4px}:where([data-theme=dojo]) .week-day i.is-done{background:var(--accent);border-color:var(--accent);color:#fff}:where([data-theme=dojo]) .daily-bottom strong,:where([data-theme=dojo]) .hero-footnote{color:var(--muted)}:where([data-theme=dojo]) .module-card{border-radius:10px}:where([data-theme=dojo]) .module-card:hover{border-color:var(--accent);transform:translateY(-2px)}:where([data-theme=dojo]) .module-symbol{border-radius:3px;color:var(--accent);border:1px solid #a3311f25;background:#a3311f08}:where([data-theme=dojo]) .practice-card:hover{background:var(--surface-soft);border-color:#be9e7e}:where([data-theme=dojo]) .summary-symbol,:where([data-theme=dojo]) .detail-character,:where([data-theme=dojo]) .kanji-card-symbol,:where([data-theme=dojo]) .progress-overview>.jp{color:var(--ink)}:where([data-theme=dojo]) .kana-cell{background:#faf9f5;border-radius:3px}:where([data-theme=dojo]) .kana-row.is-selected .kana-cell{background:#f0f1e8}:where([data-theme=dojo]) .kana-cell small{color:var(--muted)}:where([data-theme=dojo]) .word-token{background:#faf9f5;border-color:var(--line);border-bottom-color:#dbd9ce;border-radius:4px}:where([data-theme=dojo]) .word-token small{color:var(--muted)}:where([data-theme=dojo]) .word-token:hover:not(:disabled),:where([data-theme=dojo]) .selected-token{background:#f7eae4;border-color:#be9e7e}:where([data-theme=dojo]) .example{background:#f7f6f0;border-color:var(--line)}:where([data-theme=dojo]) .context-box,:where([data-theme=dojo]) .sentence-hint{background:var(--surface-soft)}:where([data-theme=dojo]) .context-box p,:where([data-theme=dojo]) .particle-note,:where([data-theme=dojo]) .kanji-expand{color:var(--muted)}:where([data-theme=dojo]) .achievement{background:#f7f6f0;border-radius:4px}:where([data-theme=dojo]) .achievement.is-earned{background:#a3311f08;border-color:#a3311f60}:where([data-theme=dojo]) .achievement.is-earned .badge-symbol{display:grid;place-items:center;width:48px;height:48px;color:var(--accent);border:3px double var(--accent);border-radius:3px;transform:rotate(-3deg)}:where([data-theme=dojo]) .theme-preview.dojo{background:#f7f4ec url(/assets/img/washi.svg);color:#a3311f}@media(prefers-reduced-motion:reduce){:where([data-theme=dojo]) .module-card:hover{transform:none}}@media(min-width:1550px){.welcome-card{min-height:410px}.welcome-copy{padding:35px 0 32px 38px}.welcome-copy h2{font-size:62px}.kana-art{right:28px}.art-sun{width:225px;height:225px;top:107px}.art-main{font-size:155px;top:116px}.art-tag{top:77px;left:-6px}.art-kana{top:275px;left:2px}.art-orbit{top:77px}.orbit-two{top:57px}.dashboard-top{grid-template-columns:minmax(0,1fr) 285px}.goal-ring{width:135px;height:135px;margin:30px 0}}@media(max-width:1190px){.discovery-map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:root{--sidebar-width: 210px}.sidebar{padding-inline:12px}.brand{padding-left:10px}.nav-link{font-size:11px;gap:9px;padding-inline:11px}.topbar{padding-inline:28px}.main-content{padding:30px 28px}.app-footer{margin-inline:28px}.dashboard-top{grid-template-columns:minmax(0,1fr) 235px;gap:17px}.welcome-copy{padding-left:25px;width:69%}.welcome-copy h2{font-size:42px}.welcome-copy>p{max-width:215px}.kana-art{right:-30px;width:39%}.art-sun{width:168px;height:168px;top:119px}.art-main{font-size:110px;top:126px}.art-tag{display:none}.art-kana{width:60px;height:70px;font-size:39px;top:274px;left:-4px}.art-kanji{right:54px;top:46px}.art-caption{right:55px;bottom:24px;font-size:10px}.daily-card{padding-inline:19px}.module-card{padding:17px 15px 14px}.module-card h3{font-size:13px}.module-card p{font-size:10px}.module-symbol{width:45px;height:45px;font-size:28px}.module-grid{gap:11px}.particle-grid,.expression-grid,.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kana-layout{grid-template-columns:minmax(0,1fr) 220px;gap:18px}.kana-table{padding:20px 16px}.kana-column-head,.kana-row{grid-template-columns:52px repeat(5,minmax(0,1fr));gap:4px}.kana-cell .jp{font-size:24px}.kana-detail,.practice-setup{padding:18px}.kana-table .section-heading{flex-wrap:wrap;gap:10px}.page-heading{align-items:flex-start}.page-heading>.btn{padding:10px 12px;font-size:10px}.sentence-layout{grid-template-columns:185px minmax(0,1fr);gap:17px}.sentence-workspace{padding:22px}.settings-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.settings-panel{padding:23px}.goal-options{grid-template-columns:1fr}.goal-option{text-align:left;padding:12px 16px;display:flex;justify-content:space-between;gap:15px;align-items:center}.goal-option span{margin-top:0}}@media(max-width:980px)and (min-width:821px){.dashboard-top{grid-template-columns:1fr}.daily-card{display:grid;grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);gap:10px 24px;padding:20px 23px;text-align:left}.daily-card .section-label{grid-column:1;grid-row:1}.daily-card h2{grid-column:1;grid-row:2;margin:0}.daily-card>p{grid-column:1;grid-row:3;text-align:left}.goal-ring{grid-column:2;grid-row:1 / 4;margin:0;width:100px;height:100px}.week-strip{grid-column:3;grid-row:1 / 3;margin:0}.daily-bottom{grid-column:3;grid-row:3;flex-wrap:wrap}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kana-art{right:35px;width:35%}.art-sun{width:220px;height:220px;top:90px;right:-10px}.art-main{font-size:147px;top:100px;right:8px}.art-kana{left:-30px;top:257px}.welcome-copy h2{font-size:48px}.kana-layout{grid-template-columns:1fr}.kana-sidebar{position:static;grid-template-columns:1fr 1fr}.kanji-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-layout,.sentence-layout{grid-template-columns:1fr}.exercise-list{display:flex;overflow-x:auto;gap:5px;padding:10px}.exercise-list>.eyebrow{display:none}.exercise-item{width:auto;flex-shrink:0}}@media(max-width:820px){:root{--sidebar-width: 232px}.app-body{margin-left:0}.sidebar{transform:translate(-100%);transition:transform .22s ease}.menu-open{overflow:hidden}.menu-open .sidebar{transform:translate(0)}.sidebar-backdrop{position:fixed;inset:0;z-index:35;background:#252c2255;backdrop-filter:blur(2px)}.menu-button{display:inline-flex!important}.topbar{height:65px;padding:0 23px}.topbar-location{gap:9px}.topbar-location .menu-button .icon{width:21px;height:21px;flex-basis:21px}.main-content{padding:30px 24px}.topbar-stats{gap:14px}.toast{left:50%}.app-footer{margin-inline:24px}.dashboard-top{grid-template-columns:minmax(0,1fr) 230px}.welcome-copy h2{font-size:43px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.module-card{padding:21px}.module-card h3{font-size:15px}.module-card p{font-size:12px;max-width:230px}.section-heading h2{font-size:20px}.page-heading>.btn{display:none}.kanji-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.writing-panel{padding:20px}.reference-banner{padding:25px;gap:20px}.reference-banner .btn{font-size:11px}.settings-layout{grid-template-columns:minmax(0,1fr) 230px}}@media(max-width:620px){.topbar{padding:0 13px;height:60px}.topbar-location>span,.topbar-location>.icon{display:none}.topbar-location{gap:5px}.topbar-location strong{font-size:11px}.topbar-stats{gap:10px;font-size:10px}.topbar-divider,.xp-label{display:none}.topbar-avatar{width:auto;min-width:43px;height:29px;padding:0 7px;margin-left:0}.discovery-map-grid{grid-template-columns:1fr}.main-content{padding:26px 18px}.page-heading{margin-bottom:23px;gap:12px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:10px}h1{font-size:28px;letter-spacing:-.9px}.page-description{font-size:12px;line-height:1.9;margin-top:11px}.date-label{display:none}.dashboard-top{grid-template-columns:1fr;gap:17px}.welcome-card{min-height:360px}.welcome-copy{padding:25px 0 24px 24px;width:76%}.welcome-copy h2{font-size:clamp(39px,10vw,48px);margin-top:20px}.welcome-copy>p{font-size:10px;max-width:220px}.welcome-copy .pill{font-size:6.5px;letter-spacing:.5px;gap:4px;padding:5px 6px}.welcome-copy .pill .icon{width:10px;height:10px;flex-basis:10px}.welcome-copy .btn{font-size:11px;padding:11px 15px}.hero-footnote{font-size:8px}.kana-art{right:-35px;width:34%}.art-sun{width:145px;height:145px;top:131px;right:-12px}.art-main{font-size:100px;top:137px;right:-2px}.art-orbit{width:210px;height:210px;right:-45px;top:99px}.orbit-two{width:250px;height:250px;right:-65px;top:79px}.art-kana{width:50px;height:59px;top:280px;left:-1px;font-size:32px;border-width:3px}.art-kanji{top:63px;right:44px;width:38px;height:43px;font-size:25px}.art-spark,.art-caption{display:none}.daily-card{display:grid;grid-template-columns:minmax(0,1fr) 110px;column-gap:17px;padding:21px;text-align:left}.daily-card .section-label{grid-column:1;grid-row:1;font-size:7px}.daily-card h2{grid-column:1;grid-row:2;font-size:19px;margin:12px 0 5px}.daily-card>p{grid-column:1;grid-row:3;text-align:left;max-width:190px;font-size:10px}.goal-ring{grid-column:2;grid-row:1 / 4;margin:0 0 0 auto;width:100px;height:100px;padding:6px}.goal-ring strong{font-size:28px}.week-strip{grid-column:1 / -1;margin:20px 0 15px;max-width:none}.week-day{gap:5px}.week-day i{width:27px;height:27px}.daily-bottom{grid-column:1 / -1;font-size:10px}.daily-bottom .text-link{font-size:10px}.section-heading{margin:29px 0 17px;gap:15px;align-items:flex-end}.section-heading .eyebrow{font-size:7px;letter-spacing:1px}.section-heading h2{font-size:20px;max-width:235px}.section-heading>.text-link{font-size:9px;max-width:95px;text-align:right;flex-shrink:0}.section-heading>.muted{display:none}.module-grid{gap:11px}.module-card{padding:16px 14px 13px}.module-card-top{margin-bottom:14px}.module-card h3{font-size:13px}.module-card p{font-size:10px;margin-bottom:18px}.module-symbol{width:40px;height:43px;font-size:27px;border-radius:8px}.practice-grid{grid-template-columns:1fr;gap:9px}.practice-card{padding:15px}.practice-card h3{font-size:12px}.practice-card p{font-size:11px}.dashboard-note{flex-wrap:wrap;gap:12px}.dashboard-note>.jp{font-size:21px}.dashboard-note p{flex:1;font-size:9px}.journey-total{display:none}.app-footer{margin-inline:18px;flex-wrap:wrap;gap:9px 13px;font-size:9px}.app-footer>span{font-size:8px}.app-footer>a:last-child{margin-left:0;width:100%}.journey-summary{padding:21px;gap:15px;flex-wrap:wrap}.journey-summary>.btn{width:100%}.summary-symbol{font-size:40px}.journey-summary strong{font-size:13px}.journey-summary p{font-size:11px}.journey-module>summary{padding:18px 16px;gap:12px}.journey-module>summary h2{font-size:16px}.journey-module>summary p:not(.eyebrow){font-size:10px}.journey-module>summary .eyebrow{font-size:8px}.journey-module>summary>.icon{width:14px;flex-basis:14px}.module-count{font-size:10px}.lesson-list{padding:0 17px 10px}.lesson-row{gap:11px;padding:17px 0}.lesson-row h3{font-size:12px}.lesson-row p{font-size:10px}.lesson-duration{display:none}.lesson-row>.icon{margin-left:auto;width:13px;height:13px;flex-basis:13px}.small-pill{display:table;margin:5px 0 0}.lesson-reader-head{gap:15px}.lesson-reader-head h1{font-size:25px}.lesson-reader-head .pill{font-size:8px}.lesson-content{padding:23px 19px}.lesson-content h2{font-size:23px}.lesson-body{font-size:14px;line-height:1.95}.example{padding:15px}.example-line>.jp{font-size:21px}.lesson-controls{flex-wrap:wrap;margin-top:24px;padding-top:20px}.lesson-controls>.small{display:none}.lesson-controls .btn{font-size:11px;padding:10px 12px}.answer-option{padding:13px 12px;font-size:13px}.tip-box{padding:17px 16px;font-size:11px;gap:10px}.completion{padding:20px 0}.completion-actions{flex-direction:column}.completion-actions .btn{width:100%}.completion h1{font-size:25px}.completion p:not(.eyebrow){font-size:12px}.practice-session>.completion{padding:30px 20px}.session-heading h1{font-size:25px}.quiz-stage{padding:28px 19px}.quiz-character{font-size:clamp(38px,10vw,75px)}.quiz-options{grid-template-columns:1fr}.toolbar{gap:14px}.segmented{width:100%}.segmented button{flex:1;padding:9px 14px}.tab-bar{gap:16px;overflow-x:auto;scrollbar-width:thin}.tab-bar button{font-size:10px}.kana-layout{grid-template-columns:1fr}.kana-table{padding:20px 13px}.kana-table .section-heading{gap:12px}.kana-column-head,.kana-row{grid-template-columns:45px repeat(5,minmax(0,1fr));gap:4px}.kana-column-head{font-size:10px}.row-toggle{font-size:9px;gap:3px}.row-toggle input{width:12px;height:12px}.kana-cell{min-height:59px}.kana-cell .jp{font-size:23px}.kana-cell small{font-size:8px}.kana-sidebar{grid-template-columns:1fr;position:static}.kana-detail{display:grid;grid-template-columns:100px 1fr;column-gap:20px;align-items:center;padding:20px;text-align:left}.kana-detail>.eyebrow{grid-column:2;grid-row:1;font-size:8px}.detail-character{grid-row:1 / 4;grid-column:1;font-size:74px;margin:0;text-align:center}.detail-sound{justify-content:flex-start;grid-column:2}.kana-detail p{grid-column:2;font-size:10px;margin:0}.kana-detail>.btn{grid-column:1 / -1;margin-top:15px}.practice-setup{padding:22px}.writing-toolbar{gap:15px}.writing-toolbar>div:not(.writing-reading){min-width:0;width:calc(50% - 8px)}.writing-toolbar .text-input{font-size:11px}.writing-reading{margin-left:0;width:100%;padding:5px 0}.writing-grid{grid-template-columns:1fr;gap:20px}.writing-panel{padding:21px}.writing-panel h2{font-size:16px}.stroke-model,.writing-stage{max-width:360px}.sentence-layout{grid-template-columns:1fr}.exercise-list{display:flex;gap:4px;overflow-x:auto;padding:10px;scrollbar-width:thin}.exercise-list>.eyebrow{display:none}.exercise-item{flex-shrink:0;width:auto;font-size:11px}.sentence-workspace{padding:22px 18px}.sentence-workspace .small-segmented{width:auto}.sentence-workspace .section-heading{align-items:center;gap:10px}.sentence-workspace .section-heading>.pill{font-size:8px;padding:5px 6px}.small-segmented button{padding:6px 10px;font-size:10px}.sentence-prompt-label{margin-top:26px}.sentence-prompt{font-size:28px;margin-bottom:22px}.word-token{padding:8px 10px;min-width:50px}.word-token .jp{font-size:16px}.token-bank{gap:7px}.reference-banner{padding:23px 20px;flex-wrap:wrap;gap:15px}.reference-banner>.jp{font-size:45px}.reference-banner>div{flex:1;min-width:180px}.reference-banner h2{font-size:18px}.reference-banner p{font-size:11px}.reference-banner .btn{width:100%;margin-left:0}.kanji-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kanji-card-symbol{font-size:58px}.kanji-card h2{font-size:13px}.kanji-card>summary{padding:15px 12px}.kanji-card-details{padding:0 9px 12px}.kanji-card-details .example .jp{font-size:15px}.kanji-card-details .example{padding:10px}.kanji-card-details .translation{font-size:11px}.kanji-card-details .romaji{font-size:10px}.card-actions .btn{font-size:9px;width:100%;padding:7px;gap:4px}.card-actions .btn .icon{width:13px;height:13px;flex-basis:13px}.particle-grid,.expression-grid,.library-grid,.resource-grid{grid-template-columns:1fr;gap:16px}.particle-card,.expression-card,.library-card{padding:23px}.particle-card .example .jp{font-size:21px}.particle-card>p:not(.particle-note){min-height:0}.expression-card .example-note{min-height:0}.filter-chips{gap:6px}.chip{font-size:10px;padding:8px 10px}.search-field{width:100%;min-height:44px}.search-field input{width:100%}.library-toolbar>div{width:calc(50% - 8px);min-width:0}.library-toolbar .text-input{font-size:11px}.review-summary{gap:9px}.stat-card{padding:20px 9px}.stat-card strong{font-size:28px}.stat-card p{font-size:9px;line-height:1.7}.review-ready{padding:30px 20px}.review-ready h2{font-size:22px}.settings-layout{grid-template-columns:1fr}.settings-panel{padding:22px}.setting-row{gap:20px}.goal-options{grid-template-columns:1fr}.progress-overview{padding:24px}}@media(max-width:360px){.welcome-copy{padding-left:18px}.welcome-copy h2{font-size:36px}.kana-art{right:-44px}.welcome-copy>p{max-width:185px}.module-card{padding-inline:12px}.module-card h3{font-size:12px}.kana-cell .jp{font-size:19px}.kana-column-head,.kana-row{grid-template-columns:40px repeat(5,minmax(0,1fr));gap:3px}.topbar-location strong{font-size:10px}.topbar-stats{gap:7px}}:root[data-theme=arcade]{--surface-soft: #121729}.arcade-only{display:none}:root[data-theme=arcade] .arcade-only{display:block}.theme-switcher{display:flex;gap:6px;padding:5px;background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:14px}.theme-choice{flex:1;border:1px solid transparent;background:transparent;color:var(--muted);padding:10px 6px;border-radius:var(--radius-sm);cursor:pointer;font:600 12px var(--font-body)}.theme-choice[aria-pressed=true]{color:var(--ink);background:var(--surface);border-color:var(--line);box-shadow:0 2px 4px #00000008}.theme-choice span{margin-right:5px}.sidebar .theme-choice{font-size:10px;padding-inline:2px}.theme-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin:20px 0}.theme-card{position:relative;text-align:left;padding:24px;border:2px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);cursor:pointer}.theme-card[aria-pressed=true]{border-color:var(--accent)}.theme-card strong,.theme-card small{display:block}.theme-card strong{font-size:19px;margin:16px 0 7px}.theme-card small{font:14px/1.65 var(--font-body);color:var(--muted)}.theme-preview{display:flex;align-items:center;justify-content:space-between;min-height:96px;padding:20px;border-radius:4px}.theme-preview.dojo{background:#f7f4ec;color:#365b48;font:40px var(--font-jp)}.theme-preview.arcade{background:#0c0e19;color:#b6fa68;font:30px var(--font-jp);border:2px solid #6a5194;box-shadow:inset 0 -4px #343046}.theme-preview{gap:12px}.theme-preview>small{min-width:0;text-align:right}.theme-preview small{font-size:11px;color:inherit}:root[data-theme=arcade] .arcade-hud{display:flex;align-items:center;gap:16px;padding:12px 40px;background:#101522;border-bottom:1px solid #35423a;color:#b6fa68;font:10px/1.8 var(--font-pixel);flex-wrap:wrap}.hud-track{width:110px;height:8px;background:#2c303d}.hud-track span{display:block;height:100%;background:#b6fa68;transition:width .3s}.hud-badges{margin-left:auto;color:#c0aadf}.mission-panel{padding:24px;margin-bottom:28px}.mission-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:18px}.mission-item{padding:16px;background:var(--surface-soft);border:1px solid var(--line)}.mission-item p{font-size:13px;margin:8px 0}.mission-item strong{font-size:13px}.achievement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.achievement{padding:20px 16px;border:1px solid var(--line);background:var(--surface-soft);border-radius:var(--radius-sm)}.achievement.is-earned{border-color:var(--accent);background:var(--sage)}.achievement .badge-symbol{display:block;font-size:28px;margin-bottom:12px}.achievement h3{font-size:14px;margin-bottom:6px}.achievement p,.achievement small{font-size:12px;line-height:1.7;color:var(--muted)}.learning-intro{display:flex;gap:18px;align-items:start;padding:22px 26px;margin:0 0 24px;background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius)}.learning-intro>.icon{flex-shrink:0;margin-top:3px}.learning-intro p{color:var(--muted);line-height:1.8;margin-top:5px}.learning-intro a{text-decoration:underline;text-underline-offset:3px}.concept-help{margin:24px 0;padding:18px 20px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-soft)}.concept-help summary{font-weight:600;cursor:pointer;font-size:14px}.concept-help dl{margin:16px 0 0}.concept-help dt{font-weight:600;margin-top:16px}.concept-help dd{margin:5px 0 0;line-height:1.8;color:var(--muted);font-size:14px}.concept-help dd small{display:block;margin-top:5px;color:var(--ink)}.concept-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.concept-card{padding:24px}.concept-card h2{font-size:18px;margin-bottom:12px}.concept-card p{line-height:1.8;color:var(--muted)}.concept-card .concept-example{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);color:var(--ink);font-size:14px}.vocabulary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.word-card{padding:24px;min-width:0;display:flex;flex-direction:column}.word-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.word-card h2{font:32px/1.5 var(--font-jp)}.word-card .word-reading{font-size:14px;margin:8px 0 4px;color:var(--muted)}.word-card .word-meaning{font-weight:600;margin-bottom:16px}.word-card .example{margin-bottom:16px;padding:14px}.word-card .example .jp{font-size:18px}.word-card>.small{margin-bottom:16px;line-height:1.7}.word-card>button{margin-top:auto;align-self:flex-start}.filter-count{margin:16px 0;font-size:13px;color:var(--muted)}.exercise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.exercise-card{padding:28px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.exercise-card h2{font-size:23px}.exercise-card p{color:var(--muted);line-height:1.8}.exercise-card button{margin-top:auto}.exercise-symbol{display:grid;place-items:center;width:55px;height:55px;background:var(--sage);border-radius:var(--radius-sm);font:25px var(--font-jp)}.listening-prompt{margin:28px 0 14px;display:flex;justify-content:center}.listening-prompt .audio-button{width:86px;height:86px;border:1px solid var(--line);border-radius:50%;background:var(--sage);color:var(--ink)}.listening-prompt .icon{width:30px;height:30px}.listening-instruction{text-align:center;font-size:14px;color:var(--muted);margin:14px 0 28px}.audio-button.is-playing{background:var(--accent);color:var(--surface);outline:2px solid var(--accent);outline-offset:3px}.audio-button.is-loading{opacity:.55}.audio-button.is-loading .icon{animation:audio-pulse .7s ease-in-out infinite alternate}@keyframes audio-pulse{to{opacity:.3}}.audio-status-note{font-size:12px;line-height:1.7;color:var(--muted)}.sentence-explanation{line-height:1.8;font-size:14px}.sentence-breakdown{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.sentence-breakdown span{padding:7px 11px;background:var(--surface-soft);border:1px solid var(--line);border-radius:4px}.sentence-breakdown small{color:var(--muted);margin-left:5px}.quick-learning-links{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 28px}.worksheet-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:18px;padding:22px;margin-bottom:20px}.worksheet-toolbar label{display:block;margin-bottom:8px}.worksheet-toolbar select{min-width:155px}.worksheet-selection{display:flex;flex-flow:row wrap;direction:ltr;justify-content:flex-start;gap:8px;padding:20px;margin:18px 0}.worksheet-char{width:44px;height:44px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-sm);cursor:pointer;font:21px var(--font-jp)}.worksheet-char[aria-pressed=true]{background:var(--sage);border-color:var(--accent)}.worksheet-preview{display:grid;gap:28px;justify-items:center;margin-top:28px}.worksheet-preview>p{justify-self:start}.writing-stage{background-color:#fbfaf6!important;background-image:linear-gradient(90deg,transparent 49.7%,#d9d5cb 50%,transparent 50.3%),linear-gradient(transparent 49.7%,#d9d5cb 50%,transparent 50.3%)!important}.writing-guide .stroke-paths{stroke:#c5beb0!important}:root[data-theme=arcade] .theme-choice{font-family:var(--font-body)}:root[data-theme=arcade] .theme-card[aria-pressed=true]{box-shadow:4px 4px 0 var(--accent)}:root[data-theme=arcade] .lesson-body,:root[data-theme=arcade] .example-note{line-height:1.9}@media(min-width:821px){.sidebar{overflow-y:auto}.sidebar-bottom{margin-top:auto;padding-top:18px}.sidebar-message{display:none}}@media(max-width:1100px){.vocabulary-grid,.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hud-badges{display:none}}@media(max-width:600px){.theme-options,.concept-grid,.exercise-grid,.vocabulary-grid,.mission-list{grid-template-columns:1fr}.theme-card{padding:18px}.theme-preview{min-height:72px}:root[data-theme=arcade] .arcade-hud{padding:10px 20px;gap:9px;font-size:8px}.hud-track{width:70px}.learning-intro{padding:18px}.worksheet-toolbar>div{width:100%}.worksheet-toolbar select{width:100%}.achievement{padding:15px 12px}}@media(prefers-reduced-motion:reduce){.audio-button.is-loading .icon{animation:none}.hud-track span{transition:none}}.quiz-character.is-situation{font:24px/1.6 var(--font-body);margin:24px 0}.exercise-list{max-height:740px;overflow-y:auto}.kanji-api-details{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px;font-size:12px;line-height:1.8}.kanji-api-details dt{color:var(--muted);margin-top:12px;font-size:11px}.kanji-api-details dd{margin:3px 0 12px;font-family:var(--font-jp);font-size:17px;overflow-wrap:anywhere}:root[data-theme=arcade] .brand img{filter:none;width:38px;height:38px}.voice-credit{display:block;margin-top:4px;font-size:9px}@media(max-width:600px){.btn,:root[data-theme=arcade] .btn{white-space:normal;max-width:100%;text-align:center}.reference-banner>*{min-width:0}}@media(max-width:420px){.stroke-controls,.drawing-controls{flex-wrap:wrap}.stroke-controls>.btn{flex-basis:100%}.setting-row:has(select){flex-direction:column;align-items:stretch}}.panel{min-width:0}@media(max-width:620px){.sentence-layout,.writing-grid{grid-template-columns:minmax(0,1fr)}.sentence-workspace .section-heading,.writing-panel .section-heading,.lesson-controls{flex-wrap:wrap}}:root[data-theme=arcade] .stroke-paths path.is-future{stroke:#7480aa;filter:none}@media(max-width:620px){:root[data-theme=arcade] .welcome-copy h2{font-size:clamp(25px,7vw,34px);line-height:1.5}}.placement-entry{display:flex;width:fit-content;margin-top:16px;font-size:12px}.welcome-card{isolation:isolate}.kana-art{right:18px;width:34%;min-width:0}.art-sun{width:min(190px,100%);height:auto;aspect-ratio:1;right:auto;left:50%;transform:translate(-50%)}.art-main{right:auto;left:50%;transform:translate(-50%);font-size:clamp(90px,10vw,132px)}.art-orbit{right:auto;left:50%;transform:translate(-50%);width:115%;height:auto;aspect-ratio:1}.orbit-two{width:132%}.art-kana{left:0}.hanko{display:inline-grid;place-items:center;width:64px;height:64px;flex-shrink:0;border:3px double currentColor;border-radius:3px 5px 3px 4px;color:var(--accent);font:37px/1 var(--font-jp-serif);transform:rotate(-3deg)}.small-hanko{width:36px;height:36px;font-size:23px;border-width:2px}.stage-seals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:26px}.stage-seal{padding:20px 16px;background:var(--surface-soft);border:1px solid var(--line);text-align:center;border-radius:var(--radius-sm)}.stage-seal .hanko{color:var(--muted);opacity:.45;margin-bottom:18px}.stage-seal.is-earned .hanko{color:var(--accent);opacity:1}.stage-seal h3{font-size:13px;line-height:1.7}.stage-seal p,.stage-seal small{color:var(--muted);font-size:11px;margin-top:10px;display:block}.placement-intro,.placement-result,.placement-breakdown{padding:clamp(24px,4vw,42px);max-width:830px;margin:24px auto}.placement-intro h2,.placement-result h2,.placement-breakdown h2{font-family:var(--font-display);font-size:clamp(24px,3vw,34px);line-height:1.45;margin:24px 0 18px}.placement-intro p,.placement-result>p,.placement-breakdown>p{font-size:15px;color:var(--muted);line-height:1.9;margin:16px 0}.placement-result>.eyebrow{margin-top:24px;color:var(--accent);font-size:11px}.plain-list{padding-left:20px;color:var(--muted);line-height:1.9;font-size:14px;margin:20px 0}.placement-question{font-size:24px;line-height:1.65;margin-bottom:28px;overflow-wrap:anywhere}.placement-passage{font-family:var(--font-jp);background:var(--surface-soft);padding:22px;border-left:2px solid var(--accent);font-size:17px;line-height:2;white-space:pre-line;margin-bottom:28px}.placement-adjust{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:26px;border-top:1px solid var(--line);padding-top:26px}.placement-adjust label{grid-column:1/-1}.placement-areas{margin:24px 0}.placement-areas>div{display:flex;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.placement-areas>div>span{color:var(--muted);text-align:right}.placement-review{padding:20px 0;border-bottom:1px solid var(--line)}.placement-review h3{font-size:15px;margin-bottom:12px}.placement-review p{color:var(--muted);line-height:1.8;margin:8px 0;font-size:13px}.placement-breakdown>a{margin-left:18px}.account-panel{margin-bottom:24px}.account-panel>p{line-height:1.9;color:var(--muted);margin:14px 0;max-width:72ch}.account-panel .account-notice{background:var(--surface-soft);padding:16px;border-left:2px solid var(--accent);color:var(--ink)}.account-panel .source-note{font-size:12px}.account-panel #account-logout{margin:10px 0}.account-panel .small{overflow-wrap:anywhere}.account-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 12px}.account-tabs button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.account-form{display:grid;gap:9px;max-width:440px;margin:15px 0}.account-form label{font-size:12px;font-weight:600;color:var(--ink)}.account-form .text-input{font-size:16px;border-color:var(--line)}.account-form .btn{justify-self:start;margin-top:6px}.account-feedback{min-height:1.5em;color:var(--ink);font-size:12px;line-height:1.7}.journey-module>summary>div{min-width:0}.journey-module h2 .pill{vertical-align:middle;margin:6px 0 6px 10px}:root[data-theme=arcade]{--surface-soft: #111a33}:where([data-theme=arcade]) .hanko{border-radius:0;transform:none;border-style:solid}@media(max-width:1100px){.stage-seals{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.welcome-card{flex-direction:column}.welcome-copy{width:100%;padding:28px 25px 12px}.welcome-copy h2{font-size:38px}.welcome-copy>p{max-width:none}.kana-art{position:relative;right:auto;top:auto;bottom:auto;width:100%;height:190px;flex-shrink:0}.art-sun{top:10px;width:150px;height:150px}.art-main{top:17px;font-size:106px}.art-orbit{top:-3px;width:174px}.orbit-two{top:-14px;width:196px}.art-kana{left:23px;top:99px;width:48px;height:54px;font-size:31px}.art-kanji{top:4px;right:22px;width:35px;height:40px;font-size:25px}.art-caption{right:23px;bottom:18px;font-size:10px}.art-tag,.art-spark{display:none}.placement-adjust{grid-template-columns:minmax(0,1fr)}.placement-areas>div{font-size:12px}.placement-question{font-size:21px}.placement-passage{font-size:15px;padding:16px}.stage-seal{padding:18px 12px}.setting-row:has(.btn){flex-wrap:wrap;gap:16px}.placement-breakdown>a{display:block;margin:22px 0 0}}@media(prefers-reduced-motion:reduce){:root[data-theme=arcade]{--glow-accent: none;--glow-cyan: none}:where([data-theme=arcade]) .art-main{filter:none}}.culture-capsule{margin:26px 0;padding:24px;border:1px solid var(--line);border-left:3px solid var(--accent);background:var(--surface-soft);border-radius:var(--radius-sm)}.culture-capsule h3{font-size:20px;margin:14px 0}.culture-capsule>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.8;margin:16px 0}.thematic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.thematic-card{padding:28px;display:flex;flex-direction:column;align-items:flex-start}.thematic-card h2{font-family:var(--font-display);font-size:25px;line-height:1.5;margin:24px 0 16px}.thematic-card p{color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:20px}.thematic-card>span.small{margin:auto 0 20px}.thematic-lessons{padding:28px;margin-bottom:30px}.thematic-heading{margin-top:35px}@media(max-width:950px){.thematic-grid{grid-template-columns:minmax(0,1fr)}}.welcome-goal{display:block;color:var(--muted);font-size:10px;margin-top:18px;max-width:230px}.welcome-goal select{display:block;margin-top:7px;width:100%;font-size:11px;min-height:36px;padding:7px 10px;background:var(--surface)}.week-day i.is-rest{border:1px dashed var(--accent);background:transparent;color:var(--accent);font-style:normal}.sidebar{padding:30px 18px 0}.sidebar-brand{display:flex;align-items:flex-start;gap:4px;margin-bottom:35px}.sidebar-brand .brand{padding:0 9px;min-width:0}.menu-close{display:none}.sidebar nav{display:grid;gap:6px}.sidebar .nav-label{padding-inline:13px;margin:0 0 12px;font-family:var(--font-body);font-size:9px}.sidebar .nav-link{margin:0;min-height:44px;font-size:12px;color:var(--muted)}.sidebar .nav-link.is-active{color:var(--accent)}.sidebar-bottom{padding-top:44px}.sidebar-mode-label{padding:0 5px;margin-bottom:10px;font-size:10px;color:var(--muted)}.sidebar .theme-switcher{margin-bottom:18px}.sidebar .theme-choice{min-height:40px}.sidebar .profile-link{padding-block:20px}.sidebar .profile-link>span:nth-child(2){min-width:0}.sidebar .profile-link small{line-height:1.5;margin-top:4px}.topbar-parent{color:var(--muted);white-space:nowrap}.topbar-parent:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px}#current-location{min-width:0}#breadcrumb-divider{display:inline-flex}.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.hub-section:first-child .hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-card{display:flex;flex-direction:column;align-items:flex-start;padding:28px;min-width:0;color:var(--ink);border-color:var(--line)}.hub-card-symbol{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;border-radius:var(--radius-sm);margin-bottom:23px}.hub-card-symbol>.jp{font-size:28px}.hub-card-symbol>.icon{width:23px;height:23px}.hub-card h2,.hub-card h3{font-size:19px;line-height:1.55;margin-bottom:10px}.hub-card p{font-size:13px;color:var(--muted);line-height:1.85;margin-bottom:25px;max-width:45ch}.hub-card-action{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line);color:var(--accent);font-size:11px;font-weight:600}.hub-card-action .icon{width:17px;height:17px}.hub-card:hover,.hub-card:focus-visible{border-color:var(--accent)}.hub-section{margin-bottom:38px}.hub-section-heading{margin:22px 0 18px}.hub-section-heading h2{font-size:21px}.hub-section-heading p{margin-top:6px;color:var(--muted);font-size:12px}.explore-controls{padding:25px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.explore-search label{display:block;margin-bottom:10px;font-size:12px;font-weight:600}.explore-search .search-field{max-width:650px;background:var(--paper);min-height:48px}.explore-search input{min-width:0;width:100%;border:0;background:transparent;color:var(--ink);font-size:14px;padding:4px}.explore-search .search-field:focus-within{outline:2px solid var(--accent);outline-offset:3px}.explore-search input:focus-visible{outline:none}.explore-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.explore-filters .chip{min-height:40px}.explore-results-heading{display:flex;align-items:center;justify-content:space-between;min-height:52px;gap:15px;font-size:12px;color:var(--muted)}#clear-resource-filters{min-height:44px}.hub-empty{text-align:center;padding:50px 24px;border:1px dashed var(--line);border-radius:var(--radius)}.hub-empty>span{display:inline-flex;color:var(--accent);margin-bottom:20px}.hub-empty p{color:var(--muted);margin:14px auto 0;max-width:44ch}.hub-note{display:flex;gap:22px;margin-top:35px;padding:28px;background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius)}.hub-note h2{font-size:19px}.hub-note p{margin:10px 0 13px;color:var(--muted);font-size:13px}.hub-paper-link{display:flex;align-items:baseline;gap:12px;padding-top:25px;color:var(--muted);font-size:12px}.hub-paper-link>.icon{align-self:center}.hub-paper-link .text-link{font-size:inherit}.hub-recommendation{padding:26px;display:flex;align-items:center;gap:22px;margin-bottom:24px}.hub-recommendation .hub-card-symbol{margin-bottom:0}.hub-recommendation>div{flex:1}.hub-recommendation h2{font-size:20px;margin:9px 0}.hub-recommendation p:not(.eyebrow){color:var(--muted);font-size:12px}.hub-recommendation .btn{flex-shrink:0}:where([data-theme=arcade]) .hub-card h2,:where([data-theme=arcade]) .hub-card h3{font-size:17px}:where([data-theme=arcade]) .hub-card-action{color:var(--sky-ink)}@media(max-width:1100px){.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-hub-grid{grid-template-columns:1fr}.hub-recommendation{flex-wrap:wrap}.hub-recommendation .btn{margin-left:72px}}@media(max-width:820px){.sidebar-brand{align-items:center;justify-content:space-between;margin-bottom:28px}.sidebar-brand .brand{gap:8px;padding-left:0}.sidebar-brand .brand>span{font-size:28px}:where([data-theme=arcade]) .sidebar-brand .brand>span{font-size:19px}.sidebar-brand .brand small{font-size:5px;letter-spacing:.6px}.sidebar-brand .brand img{width:29px;height:29px}.menu-close{display:inline-flex;width:36px;height:44px}.sidebar .nav-link{min-height:44px}.sidebar-bottom{padding-top:30px}}@media(max-width:620px){.topbar-location>.topbar-parent,#breadcrumb-divider{display:none}.hub-grid,.hub-section:first-child .hub-grid{grid-template-columns:1fr;gap:14px}.hub-card{padding:23px}.hub-card-symbol{width:45px;height:45px;margin-bottom:17px}.hub-card p{margin-bottom:18px}.explore-controls{padding:19px}.explore-search input{font-size:16px}.explore-filters{gap:7px}.explore-filters .chip{font-size:11px}:where([data-theme=arcade]) .explore-filters .chip{font-size:8px}.hub-note{padding:23px;gap:15px}.hub-note h2{font-size:18px}.hub-recommendation{gap:16px;padding:22px}.hub-recommendation>div{flex-basis:100%}.hub-recommendation .btn{margin-left:0}.hub-paper-link{align-items:flex-start}}.motion-toggle{position:absolute;right:14px;bottom:10px;z-index:3;min-height:32px;padding:5px 9px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--muted);font:11px/1.4 var(--font-body)}.motion-toggle:hover{color:var(--accent);border-color:var(--accent)}:root[data-motion=paused] .kana-art *{animation-play-state:paused!important}@media screen and (prefers-reduced-motion:no-preference){body,.sidebar,.topbar,.panel,.welcome-card,.theme-choice{transition:background-color .3s ease,border-color .3s ease,color .2s ease}.sidebar{transition:transform .24s cubic-bezier(.2,.7,.2,1),background-color .3s ease,border-color .3s ease}.page-entry{animation:page-arrive .45s cubic-bezier(.2,.7,.2,1) both}.page-entry:nth-child(2){animation-delay:45ms}.page-entry:nth-child(3){animation-delay:.08s}.page-entry:nth-child(n+4){animation-delay:.11s}.hub-card{animation:page-arrive .4s ease both}.hub-card:nth-child(2){animation-delay:55ms}.hub-card:nth-child(3){animation-delay:.1s}.hub-card:nth-child(4){animation-delay:.14s}.hub-card,.module-card,.practice-card,.theme-card{transition:translate .24s ease,border-color .24s ease,box-shadow .24s ease,background-color .24s ease}.nav-link .icon,.text-link .icon,.hub-card-action .icon{transition:translate .22s ease}.theme-choice{transition:background-color .25s,border-color .25s,color .25s,scale .2s}.theme-choice:active{scale:.96}.btn{transition:translate .2s ease,scale .15s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.btn:active:not(:disabled){scale:.97}.feedback{animation:feedback-arrive .32s cubic-bezier(.16,1,.3,1) both}.feedback.success .icon,.completion-mark{animation:mark-arrive .55s cubic-bezier(.2,.8,.25,1.2) both}.toast:not([hidden]){animation:toast-arrive .3s ease both}.art-main{animation:ink-float 6s ease-in-out infinite}.art-kana{animation:ink-float 7s ease-in-out -2s infinite reverse}.art-kanji{animation:ink-float 8s ease-in-out -4s infinite}.art-sun{animation:ink-breathe 9s ease-in-out infinite}.art-orbit{animation:orbit-turn 55s linear infinite}.orbit-two{animation-direction:reverse;animation-duration:70s}.art-spark{animation:spark-turn 9s ease-in-out infinite}@media(hover:hover)and (pointer:fine){.hub-card:hover,.module-card:hover,.practice-card:hover,.theme-card:hover{translate:0 -4px;box-shadow:0 10px 24px #30332d0d}:root[data-theme=arcade] :is(.hub-card,.module-card,.practice-card,.theme-card):hover{box-shadow:4px 6px #00000080,0 0 16px #35e8ff16}.nav-link:hover .icon,.text-link:hover .icon,.hub-card:hover .hub-card-action .icon{translate:3px 0}.btn:hover:not(:disabled){translate:0 -2px}}}@keyframes page-arrive{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes feedback-arrive{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes mark-arrive{0%{opacity:0;scale:.8;rotate:-8deg}to{opacity:1;scale:1;rotate:0deg}}@keyframes toast-arrive{0%{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@keyframes ink-float{0%,to{translate:0 0}50%{translate:0 -7px}}@keyframes ink-breathe{0%,to{scale:1}50%{scale:1.025}}@keyframes orbit-turn{to{rotate:360deg}}@keyframes spark-turn{0%,to{rotate:0deg;scale:1}50%{rotate:90deg;scale:.8}}@media(prefers-reduced-motion:reduce){.motion-toggle{display:none}.art-main,.art-kana,.art-kanji,.art-sun,.art-orbit,.art-spark,.hub-card,.main-content>*{animation:none!important}}@media print{*,*:before,*:after{animation:none!important;transition:none!important}}.challenge-setup,.challenge-stage,.challenge-results{padding:clamp(20px,4vw,36px);max-width:840px;margin-inline:auto}.challenge-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:24px}.challenge-options label,.challenge-stage form{display:grid;gap:10px}.challenge-round,.challenge-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:24px}#challenge-clock{font-weight:700;font-variant-numeric:tabular-nums;border:1px solid currentColor;border-radius:20px;padding:6px 14px}.challenge-prompt{font-size:clamp(24px,5vw,40px);line-height:1.35;text-wrap:balance}.challenge-input{font-size:24px;min-height:58px}.challenge-model{font-size:28px;overflow-wrap:anywhere}.challenge-keyboard{display:flex;flex-wrap:wrap;gap:8px;margin-block:10px;max-height:230px;overflow-y:auto}.challenge-keyboard button{min-width:48px;min-height:48px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:24px;touch-action:manipulation}.challenge-keyboard button:hover{border-color:currentColor}.challenge-keyboard button:disabled{opacity:.55;cursor:default}.challenge-advice{padding:16px 0;border-top:1px solid var(--line)}.challenge-review-items{display:flex;flex-wrap:wrap;gap:8px 20px}.challenge-review-items span{overflow-wrap:anywhere}.challenge-review-items b{font-size:1.3rem}.challenge-results .challenge-actions{margin-top:24px;justify-content:flex-start}.study-routine{padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:24px}.study-routine li{display:grid;gap:6px;border:1px solid var(--line);padding:20px;border-radius:16px}.study-routine span{font-size:.9rem;color:var(--muted)}.video-lesson-grid,.quick-practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-block:24px}.video-lesson-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:24px;min-width:0}.video-lesson-card h2,.video-lesson-card p{margin:0}.video-lesson-card .btn{margin-top:auto}.quick-practice-card{display:grid;gap:10px;padding:24px;color:inherit;text-decoration:none;min-width:0}.quick-practice-card:hover{border-color:var(--accent)}.quick-practice-card strong{font-size:1.2rem}.quick-practice-card p{margin:0;color:var(--muted)}.quick-practice-card>.icon{width:28px;height:28px}.account-form input{min-width:0;width:100%}.account-tabs .is-active{border-color:var(--accent)}.account-page{max-width:760px;margin-inline:auto}.worksheet-toolbar>div{min-width:0}.worksheet-toolbar select{width:100%}.worksheet-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}.worksheet-selection{max-height:260px;overflow-y:auto}.worksheet-selection .worksheet-char{flex:0 0 44px}.worksheet-toolbar #print-worksheet{width:100%}.worksheet-preview{scroll-margin-top:90px}.beginner-note{margin-block:20px;padding:20px}@media(max-width:640px){.challenge-options,.study-routine,.video-lesson-grid,.quick-practice-grid{grid-template-columns:minmax(0,1fr)}.challenge-stage form .btn,.challenge-setup>.btn{width:100%}.challenge-keyboard{max-height:200px}}.practice-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:640px){.practice-hub-grid{grid-template-columns:minmax(0,1fr)}}:root,:root[data-theme=dojo],:root[data-theme=arcade]{--paper: #f3ead7;--surface: #fbf5e8;--surface-soft: #ece1cc;--ink: #342e27;--muted: #766957;--subtle: #887b69;--line: #ddd0b9;--accent: #a3311f;--accent-hover: #842516;--accent-soft: #efdfd0;--success: #a3311f;--success-bg: #edf4e8;--font-display: "DM Sans", "Noto Sans JP", system-ui, sans-serif;--radius: 22px}body,html[data-theme] body{background:var(--paper);color:var(--ink)}html[data-theme] body:before,html[data-theme] body:after{display:none}html[data-theme] .sidebar{background:var(--surface);border-right:1px solid var(--line)}html[data-theme] .brand,html[data-theme] .brand>span{color:var(--ink);font-family:var(--font-body)}html[data-theme] .nav-link{font-family:var(--font-body);color:var(--muted);padding:13px 15px;border-radius:14px;font-size:13px}html[data-theme] .nav-link.is-active{color:var(--accent);background:var(--accent-soft);box-shadow:none;border-color:transparent}html[data-theme] .topbar{background:var(--paper);border-color:var(--line)}html[data-theme] .topbar-location strong{color:var(--ink)}html[data-theme] .topbar-avatar{color:var(--accent);background:var(--accent-soft)}html[data-theme] .arcade-hud,.sidebar-mode-label,.sidebar-bottom .theme-switcher{display:none}html[data-theme] .main-content{max-width:1320px;padding:36px 44px 28px}html[data-theme] .panel{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:none}html[data-theme] .btn{font-family:var(--font-body);letter-spacing:0;text-transform:none;border-radius:12px;min-height:46px;box-shadow:none;font-size:13px}html[data-theme] .btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}html[data-theme] .btn-primary:hover{background:var(--accent-hover)}html[data-theme] .btn-ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line)}html[data-theme] .text-input{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;min-height:48px;font-size:16px}html[data-theme] h1,html[data-theme] h2,html[data-theme] h3{font-family:var(--font-body);color:var(--ink);text-shadow:none;letter-spacing:-.035em}html[data-theme] .eyebrow{font-family:var(--font-body);color:var(--muted);font-size:10px;letter-spacing:1.7px}html[data-theme] .text-link{color:var(--accent)}.play-page{max-width:1120px;margin:auto}.play-tag{display:inline-flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.06em;font-weight:600;color:var(--muted)}.play-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 4px var(--accent-soft);margin-right:4px}.play-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;min-height:375px;padding:24px 0 42px;align-items:center}.play-hero h1{font-size:clamp(34px,3.7vw,54px);line-height:1.17;font-weight:600;margin:23px 0 18px}.play-hero h1 em{color:var(--accent);font-style:normal}.play-hero-copy>p{font-size:15px;line-height:1.9;color:var(--muted)}.play-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:25px}.play-actions .text-link{font-size:12px}.play-hero-foot{display:flex;gap:15px;align-items:center;margin-top:27px;color:var(--muted)}.play-hero-foot>span{font-size:12px;letter-spacing:.1em}.play-hero-foot small{font-size:10px}.play-hero-art{position:relative;isolation:isolate;display:grid;place-items:center;min-height:350px}.play-art-circle{width:285px;height:285px;border-radius:50%;background:var(--accent-soft);position:absolute;z-index:-1}.play-hero-art>img{width:270px;height:270px;object-fit:contain;animation:play-bob 7s ease-in-out infinite}.play-orbit{position:absolute;display:grid;place-items:center;border:1px solid var(--line);border-radius:17px;width:51px;height:55px;background:var(--surface);font-size:26px;z-index:2;box-shadow:0 5px 0 var(--line)}.orbit-one{top:14px;left:32px;transform:rotate(-13deg)}.orbit-two{top:47px;right:6px;transform:rotate(13deg);background:var(--lavender)}.orbit-three{bottom:48px;left:12px;transform:rotate(7deg);background:var(--sand)}.play-art-caption{position:absolute;bottom:0;text-align:center;font-size:13px;letter-spacing:.12em;color:var(--muted)}.play-art-caption small{display:block;font-size:9px;letter-spacing:.03em;margin-top:5px}.play-section-title{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px;border-top:1px solid var(--line);padding-top:30px}.play-section-title h2{font-size:24px;font-weight:600;margin-top:7px}.play-section-title>.play-tag{white-space:nowrap;margin-bottom:4px}.play-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.play-card{grid-column:auto;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:20px;transition:transform .22s,box-shadow .22s}.play-card{display:grid;grid-template-columns:130px 1fr}.play-card:hover{transform:translateY(-5px);box-shadow:0 12px 25px #294c3910}.play-card-art{position:relative;height:151px;display:grid;place-items:center;background:var(--sage);margin:7px;border-radius:14px}.peach .play-card-art,.play-setup-intro.peach{background:var(--peach)}.lilac .play-card-art,.play-setup-intro.lilac{background:var(--lavender)}.blue .play-card-art,.play-setup-intro.blue{background:var(--sky)}.yellow .play-card-art,.play-setup-intro.yellow{background:var(--sand)}.play-card-art img{width:116px;height:116px;object-fit:contain;transition:transform .3s}.play-card:hover img{transform:rotate(-4deg) scale(1.04)}.play-number{position:absolute;left:13px;top:10px;font-size:10px;opacity:.6}.play-arrow{position:absolute;right:10px;top:8px;width:27px;height:27px;border-radius:50%;background:var(--surface);text-align:center;font-size:18px}.play-card-copy{padding:14px 19px 19px}.play-subtitle{font-size:9px;color:var(--muted);letter-spacing:.05em}.play-card h3{font-size:18px;font-weight:600;margin:6px 0 9px}.play-card p{color:var(--muted);font-size:12px;line-height:1.7;min-height:42px}.play-card-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin-top:16px}.play-card-meta .icon{width:12px;height:12px}.play-card .play-card-art{height:auto}.play-card .play-card-art img{width:85px;height:105px}.play-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;margin:30px 0 22px;align-items:center}.play-paper-link{display:flex;gap:16px;align-items:center;border:1px dashed var(--line);border-radius:17px;padding:23px}.play-paper-link>.icon{width:26px;height:26px}.play-paper-link h2{font-size:15px}.play-paper-link p,.play-small-note p{color:var(--muted);font-size:11px;margin-top:6px;line-height:1.7}.play-paper-link>span:last-child{margin-left:auto}.play-small-note strong{font-size:13px;font-weight:600}.play-small-note a{display:inline-block;margin-top:7px;font-size:11px}.play-paused-note{color:var(--muted);font-size:11px;line-height:1.7}.play-heading{padding:20px 0 30px}.play-heading h1{font-size:clamp(28px,3vw,39px);line-height:1.25;max-width:750px;margin:15px 0}.play-heading>p:last-child{font-size:14px;color:var(--muted)}.play-note{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);padding:25px 0}.play-session-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px;font-size:12px}.play-setup{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);border-radius:25px;overflow:hidden;background:var(--surface)}.play-setup-intro{background:var(--sage);padding:40px;display:flex;flex-direction:column;justify-content:center}.play-setup-intro img{width:190px;height:190px;object-fit:contain;align-self:center;margin-bottom:30px;animation:play-bob 7s ease-in-out infinite}.play-setup-intro h1{font-size:34px;line-height:1.2;margin:12px 0 18px}.play-setup-intro p:last-child{font-size:14px;color:var(--muted);line-height:1.8}.play-setup-form{padding:36px;display:flex;flex-direction:column}.play-setup-form h2{font-size:26px}.play-setup-form>p{font-size:12px;color:var(--muted);margin:9px 0 15px;line-height:1.7}.play-setup-form label{font-size:12px;font-weight:600;margin:16px 0 8px}.play-start{margin-top:26px;justify-content:center}.field-hint{font-size:11px;color:var(--muted);line-height:1.7;margin-top:12px}.play-session{max-width:820px}.play-scoreboard{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;background:var(--surface);border:1px solid var(--line);border-radius:16px;margin-bottom:18px}.play-scoreboard small{font-size:9px;display:block;letter-spacing:.07em;color:var(--muted)}.play-scoreboard strong{display:flex;align-items:center;gap:5px;font-size:24px;font-variant-numeric:tabular-nums}.play-scoreboard .icon{width:18px;color:#c78348}.play-scoreboard .text-link{font-size:12px}.is-urgent{color:#b44730}.play-question{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:32px;text-align:center}.play-prompt{font-size:clamp(22px,3.5vw,36px);line-height:1.8;margin:35px 0 25px;overflow-wrap:anywhere}.play-prompt-short{font-size:62px}.play-picture{min-height:225px;display:grid;place-items:center;margin:16px 0}.play-picture img{width:200px;height:200px;object-fit:contain}#image-status{font-size:12px;color:var(--muted)}#arcade-answer-form{display:flex;gap:12px;margin:25px auto 0;max-width:600px}.play-answer{min-width:0;flex:1;text-align:center}.play-skip{margin-top:20px;font-size:12px;min-height:44px}.play-choices{display:flex;gap:16px;justify-content:center;width:100%}.play-choice{border:2px solid var(--line);background:var(--paper);border-radius:16px;width:90px;height:95px;font-size:42px;transition:transform .2s,border-color .2s}.play-choice:hover:not(:disabled){border-color:var(--accent);transform:translateY(-3px)}.play-feedback{text-align:left;padding:22px;border-radius:15px;margin-top:24px;background:var(--accent-soft)}.play-feedback.correct{background:var(--success-bg)}.play-feedback strong{font-size:16px}.play-feedback p{font-size:13px;line-height:1.8;margin-top:8px;overflow-wrap:anywhere}.play-feedback b{font-size:19px}.play-feedback button{margin-top:15px}.play-session-note{text-align:center;font-size:11px;color:var(--muted);margin:20px 0}.play-result-hero{text-align:center}.play-result-hero img{object-fit:contain;width:130px;height:130px}.play-result-hero h1{font-size:33px;margin:12px 0}.play-result-hero>p:last-child{color:var(--muted);font-size:13px}.play-results-stats{display:grid;grid-template-columns:repeat(4,1fr);margin:28px 0;background:var(--surface-soft);border-radius:20px;padding:24px 10px;text-align:center}.play-results-stats strong{display:block;font-size:32px}.play-results-stats span{font-size:11px;color:var(--muted)}.play-insights{display:grid;grid-template-columns:1fr 1fr;gap:18px}.play-insights .panel{padding:25px}.play-insights h2{font-size:18px;margin-bottom:15px}.play-insights p{font-size:13px;line-height:1.8}.play-insights ul,.play-progress-card ul{list-style:none;padding:0}.play-insights li,.play-progress-card li{display:flex;justify-content:space-between;gap:16px;font-size:13px;padding:10px 0;border-bottom:1px solid var(--line)}.play-insights li strong,.play-progress-card li strong{white-space:nowrap}.play-insights li small,.play-progress-card li small{display:block;font-weight:400;font-size:10px;color:var(--muted)}.play-progress-grid{display:grid;gap:18px}.play-progress-card{padding:22px}.play-progress-card>div{display:grid;grid-template-columns:64px 1fr;column-gap:20px}.play-progress-card img{grid-row:span 2;object-fit:contain}.play-progress-card h2{font-size:21px;align-self:end}.play-progress-card span{font-size:12px;color:var(--muted)}.play-progress-card details{padding:17px 0;font-size:13px}.play-progress-card summary{cursor:pointer;min-height:32px}.play-progress-card h3{font-size:15px;margin:16px 0 8px}.play-progress-card details p{color:var(--muted);line-height:1.7}.play-paused{max-width:680px;margin:60px auto;padding:45px}.play-paused h1{font-size:32px;margin:20px 0}.play-paused p{color:var(--muted);line-height:1.9}@keyframes play-bob{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1deg)}}@media(min-width:821px){html[data-theme] .sidebar{width:210px}html[data-theme] .app-body{margin-left:210px}}@media(max-width:1100px)and (min-width:821px){html[data-theme] .main-content{padding:28px}.play-hero-art>img{width:210px}.play-art-circle{width:230px;height:230px}.play-card-copy{padding:13px}.play-card h3{font-size:16px}.play-hero-foot{flex-direction:column;align-items:start;gap:4px}}@media(max-width:820px){html[data-theme] .main-content{padding:24px}.play-hero{padding-top:4px}.play-hero h1{font-size:40px}.play-hero-art>img{width:230px;height:250px}.play-art-circle{width:230px;height:230px}.play-section-title{align-items:start;flex-direction:column}.play-setup-intro,.play-setup-form{padding:26px}}@media(max-width:600px){html[data-theme] .main-content{padding:20px 17px}html[data-theme] .topbar{padding:0 17px;height:64px}html[data-theme] .topbar-stats{gap:10px}.topbar-streak,.topbar-divider{display:none}.play-hero{grid-template-columns:1fr;gap:0;padding-bottom:28px}.play-hero h1{font-size:clamp(32px,8.6vw,46px);margin-top:20px}.play-hero-copy>p{font-size:14px}.play-hero-art{min-height:225px;margin-top:25px}.play-hero-art>img{width:190px;height:190px}.play-art-circle{width:200px;height:200px}.play-art-caption{right:0;bottom:15px;font-size:9px;background:var(--paper);border-radius:8px;padding:5px}.play-hero-foot{margin-top:22px}.play-orbit{width:42px;height:46px;font-size:23px}.orbit-one{left:12%;top:4px}.orbit-two{right:9%;top:38px}.orbit-three{left:7%;bottom:18px}.play-section-title{padding-top:24px}.play-section-title h2{font-size:23px}.play-grid{grid-template-columns:1fr;gap:13px}.play-card,.play-card:nth-child(4),.play-card:nth-child(5){grid-column:auto;display:grid;grid-template-columns:102px 1fr}.play-card .play-card-art{height:auto;margin:6px}.play-card .play-card-art img,.play-card:nth-child(n+4) .play-card-art img{width:72px;height:90px}.play-card-copy{padding:15px 14px 15px 8px}.play-card h3{font-size:17px;margin:5px 0 6px}.play-card p{min-height:0;font-size:11px}.play-card-meta{margin-top:10px;padding-top:9px;font-size:9px;gap:5px}.play-arrow{top:auto;bottom:7px;font-size:15px;height:23px;width:23px}.play-bottom{grid-template-columns:1fr;gap:22px}.play-small-note{padding:0 5px}.play-session-heading{flex-wrap:wrap;gap:10px;margin-bottom:18px}.play-setup{grid-template-columns:1fr}.play-setup-intro{padding:22px;display:block}.play-setup-intro img{float:right;width:80px;height:100px;margin:0 0 10px 10px}.play-setup-intro h1{font-size:27px}.play-setup-intro .eyebrow{font-size:8px}.play-setup-intro p:last-child{font-size:12px}.play-setup-form{padding:24px}.play-scoreboard{gap:12px;padding:14px}.play-scoreboard strong{font-size:23px}.play-scoreboard small{font-size:8px}.play-question{padding:24px 16px}.play-picture img{width:165px;height:165px}.play-picture{min-height:180px}#arcade-answer-form{flex-wrap:wrap}.play-answer{flex-basis:100%}#arcade-check{width:100%;justify-content:center}.play-choices{gap:10px}.play-choice{width:74px;height:84px;font-size:38px}.play-insights{grid-template-columns:1fr}.play-results-stats{grid-template-columns:repeat(2,1fr);gap:20px}.play-result-hero h1{font-size:28px}.play-progress-card h2{font-size:18px}.play-paused{padding:25px;margin:20px auto}.play-actions{gap:16px}html[data-theme] .app-footer{margin:16px 17px 0;flex-wrap:wrap;line-height:1.8}}@media(prefers-reduced-motion:reduce){.play-page *,.play-page *:before,.play-page *:after{animation:none!important;transition:none!important}}.motion-control{font-size:11px;padding:14px 4px;min-height:44px}html[data-motion=paused] .play-page *{animation:none!important}@media(min-width:821px){html[data-theme] .sidebar{transform:none;transition:background-color .3s}}.play-instruction{font-size:13px;color:var(--accent);font-weight:600;margin-top:18px}.play-card.is-wide,.play-card.is-span{grid-column:1 / -1}.play-new{font-size:9px;letter-spacing:.08em;color:var(--accent);background:var(--accent-soft);border-radius:6px;padding:2px 6px}.shiritori-rules{margin:12px 0 4px;padding-left:18px;display:grid;gap:9px;font-size:12px;line-height:1.7;color:var(--muted)}.shiritori-rules b{color:var(--ink)}.shiritori mark,.shiritori-rules mark{background:none;color:var(--accent);font-weight:700}.shiritori-chain{list-style:none;padding:4px 2px 12px;margin:0;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity}.shiritori-chain.is-recap{flex-wrap:wrap;overflow:visible}.chain-word{position:relative;flex:0 0 auto;min-width:108px;display:grid;gap:3px;justify-items:center;padding:12px 16px 14px;border:1px solid var(--line);border-radius:16px;background:var(--paper);scroll-snap-align:end}.chain-word+.chain-word:before{content:"\2192";position:absolute;left:-11px;top:50%;transform:translate(-50%,-50%);color:var(--subtle);font-size:12px}.chain-word.by-you{background:var(--success-bg)}.chain-word.is-last{border-color:var(--accent);box-shadow:0 4px 0 var(--accent-soft)}.chain-word small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.chain-reading{font-size:22px;line-height:1.4}.chain-written{font-size:12px;color:var(--muted)}.chain-meaning{font-size:11px;color:var(--ink)}.chain-word .audio-button{width:30px;height:30px;min-height:30px}.shiritori-turn{margin:26px 0 4px;font-size:14px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:12px}.shiritori-kana{display:inline-grid;place-items:center;width:64px;height:64px;font-size:36px;color:var(--accent);background:var(--accent-soft);border-radius:18px}#shiritori-form{display:flex;gap:12px;margin:22px auto 0;max-width:520px}.shiritori-message,.shiritori-hint{margin:16px auto 0;max-width:520px;font-size:13px;line-height:1.8;padding:12px 16px;border-radius:12px;background:var(--accent-soft)}.shiritori-hint{background:var(--surface-soft)}.shiritori-message b,.shiritori-hint b{font-size:16px}.shiritori-recap{padding:24px;margin-bottom:8px}.shiritori-recap h2{font-size:17px;margin-bottom:14px}@media(max-width:600px){.play-card.is-wide,.play-card.is-span{grid-column:auto}.chain-word{min-width:92px;padding:10px 12px}.chain-reading{font-size:19px}.shiritori-kana{width:52px;height:52px;font-size:30px}#shiritori-form{flex-wrap:wrap}#shiritori-send{width:100%;justify-content:center}}.shiritori-example{display:block;white-space:nowrap;font-size:15px;color:var(--ink);margin-top:4px}.shiritori-chain:not(.is-recap){mask-image:linear-gradient(to right,transparent,#000 36px);-webkit-mask-image:linear-gradient(to right,transparent,#000 36px);padding-left:24px}.karuta-listen{display:flex;gap:12px;justify-content:center;margin-top:18px}.karuta-listen .btn[hidden]{display:none}.karuta-status{min-height:26px;margin:14px auto 4px;max-width:520px;font-size:13px;color:var(--muted);line-height:1.8}.karuta-status b{color:var(--accent);font-variant-numeric:tabular-nums}.karuta-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:600px;margin:18px auto 0}.karuta-card{position:relative;min-height:112px;padding:18px 10px;border:2px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);font-size:clamp(20px,3vw,28px);line-height:1.3;overflow-wrap:anywhere;box-shadow:0 5px 0 var(--line);transition:transform .15s,border-color .15s,opacity .2s}.karuta-card small{position:absolute;left:10px;top:7px;font-size:10px;color:var(--subtle)}.karuta-card:hover:not(:disabled){border-color:var(--accent);transform:translateY(-3px)}.karuta-card:disabled{cursor:default}.karuta-card.is-right{border-color:#4f8a5b;background:var(--success-bg)}.karuta-card.is-wrong{border-color:var(--accent);background:var(--accent-soft)}.karuta-card.is-out{opacity:.45}:is(.karuta-card,.daily-choice):is(.is-right,.is-wrong):disabled{opacity:1}.karuta-table:has(.karuta-card:disabled:not(.is-right,.is-wrong,.is-out)){opacity:.6}@media(max-width:600px){.karuta-table{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.karuta-card{min-height:88px}}.play-daily{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;margin:0 0 30px;padding:18px 24px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);text-decoration:none;transition:transform .2s,box-shadow .2s}.play-daily:hover{transform:translateY(-3px);box-shadow:0 10px 22px #294c3910}.play-daily-date{display:grid;gap:4px;padding-right:22px;border-right:1px solid var(--line)}.play-daily-date small{font-size:9px;letter-spacing:.1em;color:var(--accent);font-weight:700}.play-daily-date strong{font-size:18px}.play-daily-copy{display:grid;gap:5px}.play-daily-copy strong{font-size:15px;display:flex;align-items:center;gap:8px}.play-daily-copy>span{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.play-daily-copy .icon{width:14px;height:14px;color:#c78348}.play-daily-go{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--accent)}.play-daily.is-done{background:var(--success-bg)}.daily-stars{display:inline-flex;gap:3px;font-size:18px;color:var(--line)}.daily-stars .is-on{color:#c78348}.play-result-hero .daily-stars{font-size:30px;margin:4px 0 10px}.daily-progress{list-style:none;display:flex;gap:10px;justify-content:center;margin:0 0 18px;padding:0;font-size:12px;color:var(--muted)}.daily-progress li{display:flex;align-items:center;gap:7px;padding:7px 14px 7px 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface)}.daily-progress li span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--surface-soft);font-size:11px;font-weight:700}.daily-progress .is-current{border-color:var(--accent);color:var(--ink)}.daily-progress .is-current span{background:var(--accent);color:#fff}.daily-progress .is-right span{background:#4f8a5b;color:#fff}.daily-progress .is-wrong span{background:var(--accent-soft);color:var(--accent)}.daily-reading{font-size:14px;color:var(--muted);margin:-12px 0 18px}.daily-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:560px;margin:8px auto 0}.daily-choice.play-choice{width:auto;height:auto;min-height:60px;padding:12px;font-size:16px;line-height:1.4}.daily-choice[lang=ja]{font-size:22px}.daily-choice.is-right{border-color:#4f8a5b;background:var(--success-bg)}.daily-choice.is-wrong{border-color:var(--accent);background:var(--accent-soft)}.daily-choices:has(.daily-choice:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.daily-gap{display:inline-block;min-width:2.5em;padding:0 6px;border-bottom:2px solid var(--accent);color:var(--accent)}#daily-form{display:flex;gap:12px;margin:10px auto 0;max-width:520px}.daily-word{padding:26px;margin-bottom:8px;text-align:center}.daily-word-main{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap}.daily-word-jp{font-size:44px}.daily-word p{margin-top:10px;font-size:14px;line-height:1.8}.daily-sentence small{color:var(--muted)}@media(max-width:600px){.play-daily{grid-template-columns:1fr;gap:12px;padding:16px 18px}.play-daily-date{border-right:0;padding-right:0}.daily-progress{gap:6px;font-size:11px}.daily-progress li{padding:5px 10px 5px 5px}.daily-choices,.daily-choices:has(.daily-choice:nth-child(3):last-child){grid-template-columns:1fr}#daily-form{flex-wrap:wrap}#daily-form .btn{width:100%;justify-content:center}}.lesson-game{text-align:center}.lesson-game .step-label{display:block;text-align:left}.lesson-game-intro{text-align:left}.lesson-game-intro p{margin-top:10px;line-height:1.8}.lesson-game-prompt{font-size:clamp(26px,4vw,40px);line-height:1.6;margin:18px 0 4px;overflow-wrap:anywhere}.lesson-game-table{grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px}.lesson-game-table .karuta-card{min-height:84px;font-size:clamp(17px,2.4vw,24px)}.lesson-game .feedback{text-align:left;margin-top:18px}.lesson-game .karuta-status .text-link{font-size:13px}.lesson-game-result{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;font-size:14px}.lesson-game-result .icon{width:16px;height:16px;color:var(--accent)}.kana-mode{flex:0 0 48px;display:grid;place-items:center;width:48px;min-height:48px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--accent);font:600 20px/1 Noto Sans JP,sans-serif;cursor:pointer}.kana-mode:hover{border-color:var(--accent)}.kana-mode[hidden]{display:none}@media(max-width:600px){:is(#arcade-answer-form,#shiritori-form,#daily-form){flex-wrap:wrap}:is(#arcade-answer-form,#shiritori-form,#daily-form) .play-answer{flex:1 1 0;min-width:0}:is(#arcade-answer-form,#shiritori-form,#daily-form)>.btn{flex:1 0 100%;justify-content:center}}:root,:root[data-theme=dojo]{color-scheme:light;--paper: #f3ead7;--surface: #fbf5e8;--surface-soft: #ece1cc;--ink: #342e27;--muted: #71634f;--subtle: #746650;--line: #ddd0b9;--accent: #a3311f;--accent-hover: #842516;--accent-soft: #efdfd0;--button-ink: #fff7eb;--peach: #edd9c5;--sage: #e7e0cb;--lavender: #e8ddcf;--sky: #dfded2;--sand: #eddfbc;--success: #49613f;--success-bg: #e6ead6;--font-display: "Shippori Mincho", Georgia, serif}:root[data-theme=arcade]{color-scheme:dark;--paper: #12151f;--surface: #1a1e2c;--surface-soft: #232838;--ink: #ece8e1;--muted: #a6a49b;--subtle: #8f8d84;--line: #333a4c;--accent: #e2704f;--accent-hover: #ef8a68;--accent-soft: #3a2a29;--button-ink: #241209;--peach: #33293a;--sage: #22322c;--lavender: #292a3f;--sky: #212c3a;--sand: #322d29;--success: #8fb87e;--success-bg: #1e3128;--font-display: "Shippori Mincho", Georgia, serif;--font-jp-serif: "Shippori Mincho", "Noto Serif JP", serif;--radius: 5px;--radius-sm: 4px}html[data-theme] body{background-image:url(/assets/img/washi.svg)}html[data-theme] .sidebar{background:var(--surface) url(/assets/img/washi.svg)}html[data-theme] .topbar{background:var(--paper)}html[data-theme] .play-hero h1,html[data-theme] .play-heading h1,html[data-theme] .play-setup-intro h1,html[data-theme] .play-result-hero h1,html[data-theme] .play-section-title h2,html[data-theme] .page-heading h1{font-family:var(--font-display);font-weight:600;letter-spacing:-.045em}html[data-theme] .btn-primary{color:var(--button-ink)}html[data-theme] .btn-ghost:hover{background:var(--surface-soft);border-color:var(--line)}html[data-theme] .eyebrow{color:var(--accent)}html[data-theme] .nav-link:hover{background:var(--surface-soft);color:var(--ink)}html[data-theme] .nav-link.is-active{box-shadow:inset 2px 0 var(--accent)}html[data-theme] .play-art-circle{background:var(--accent-soft);border:1px solid var(--line);border-radius:49% 51% 47% 53%/52% 47% 53% 48%}html[data-theme] .play-orbit{font-family:var(--font-jp-serif);color:var(--accent);border-radius:5px;border:1px solid var(--accent);box-shadow:2px 4px 0 var(--line)}html[data-theme] .play-card{background:var(--surface);color:var(--ink)}html[data-theme] .play-card-art,html[data-theme] .play-setup-intro{background-image:url(/assets/img/washi.svg)}html[data-theme] .play-art-caption,html[data-theme] .play-hero-foot{color:var(--muted)}html[data-theme] .profile-avatar{color:var(--accent);background:var(--accent-soft)}html[data-theme] .app-footer,html[data-theme] .app-footer>a:first-child{color:var(--muted)}html[data-theme] .text-input::placeholder{color:var(--subtle)}html[data-theme] .theme-preview.dojo{background:#f3ead7 url(/assets/img/washi.svg);color:#a3311f;border:1px solid #ddd0b9;box-shadow:none}html[data-theme] .theme-preview.arcade{background:#101a2c url(/assets/img/washi.svg);color:#ed9781;border:1px solid #344b68;box-shadow:none}html[data-theme] .theme-preview small{color:inherit}#theme-toggle{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--accent);font-size:23px}#theme-toggle:hover{background:var(--accent-soft)}html[data-theme=arcade] :is(.example,.context-box,.sentence-hint,.tip-box,.option-letter,.segmented,.word-token,.kana-cell,.goal-option,.setting-note,.account-notice,.pill,.worksheet-char){background:var(--surface-soft);border-color:var(--line);color:var(--ink)}html[data-theme=arcade] :is(.answer-option:hover,.answer-option:has(input:checked),.selected-token,.word-token:hover:not(:disabled),.kana-row.is-selected .kana-cell,.worksheet-char[aria-pressed=true],.chip:hover){background:var(--accent-soft);border-color:var(--accent);color:var(--ink)}html[data-theme=arcade] .kana-cell:hover,html[data-theme=arcade] .kana-cell.is-active{background:var(--accent-soft)!important}html[data-theme=arcade] :is(.detail-character,.kanji-card-symbol,.summary-symbol,.writing-reading>.jp,.input-label,.romaji,.particle-note,.kanji-expand,.context-box p,.word-token small,.kana-cell small,.sentence-hint summary,.tip-box>.icon){color:var(--muted)}html[data-theme=arcade] :is(.peach,.sage,.lavender,.sky,.sand,.particle-symbol){color:var(--ink)}html[data-theme=arcade] .feedback.success,html[data-theme=arcade] .answer-option.is-correct{background:var(--success-bg);border-color:var(--success);color:var(--success)}html[data-theme=arcade] .feedback.retry,html[data-theme=arcade] .answer-option.is-wrong{background:var(--accent-soft);border-color:var(--accent);color:var(--ink)}html[data-theme=arcade] .is-urgent{color:var(--accent)}html[data-theme=arcade] .play-picture{background:var(--surface-soft);border-radius:16px}html[data-theme=arcade] .stroke-model,html[data-theme=arcade] .writing-stage{border-color:var(--line)}html[data-theme] .stroke-model,html[data-theme] .writing-stage{color-scheme:light}html[data-theme] #arcade-hud{display:none}.play-hero{position:relative}.play-hero-art{perspective:700px}.play-halo{position:absolute;width:315px;height:315px;border:1px dashed var(--line);border-radius:50%;z-index:-1;pointer-events:none}.play-star{position:absolute;color:var(--accent);font-size:21px;pointer-events:none}.star-one{top:8%;right:27%}.star-two{bottom:23%;right:9%;font-size:29px}.star-three{top:40%;left:4%;font-size:14px}.play-card{position:relative}.play-card:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.play-card-art:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,transparent 30%,#ffffff25 49%,transparent 65%);opacity:0;pointer-events:none}.play-arrow{border:1px solid var(--line)}.play-scoreboard{position:sticky;top:12px;z-index:3;box-shadow:0 8px 24px #00000008}.play-feedback{position:relative;overflow:hidden}.play-feedback.correct:after{content:"\2726";position:absolute;top:12px;right:20px;font-size:30px;color:var(--success);pointer-events:none}.play-time-track{height:3px;background:var(--line);border-radius:999px;overflow:hidden;margin:-8px 16px 20px}.play-time-track>span{display:block;height:100%;background:var(--accent);transform-origin:left;scale:var(--remaining, 1) 1}.play-typing-hint{text-align:center;font-size:11px;color:var(--muted);margin-top:12px}html[data-theme=arcade] .play-art-circle{background:radial-gradient(circle at 30% 25%,#335981,#20314d 65%);border-color:#42618a;box-shadow:0 0 85px #4478bb19}html[data-theme=arcade] .play-halo{border-color:#6388b65c}html[data-theme=arcade] .play-star{color:#a8c8f0;text-shadow:0 0 20px #9dc6ff70}html[data-theme=arcade] .play-hero{background-image:radial-gradient(ellipse at 85% 40%,#284b781c,transparent 60%)}html[data-theme=arcade] .play-card,html[data-theme=arcade] .play-question,html[data-theme=arcade] .play-setup{box-shadow:0 8px 30px #050b1620}html[data-theme=arcade] .play-card:hover{border-color:#6485b0;box-shadow:0 12px 32px #030a1850,0 0 0 1px #6d9fda16}html[data-theme=arcade] .play-scoreboard{box-shadow:0 8px 28px #050c1950}html[data-theme=arcade] .play-result-hero{background:radial-gradient(ellipse at center,#284b7830,transparent 70%)}@media(prefers-reduced-motion:no-preference){html:not([data-motion=paused]) .play-card{animation:card-unfold .65s both}html:not([data-motion=paused]) .play-card:nth-child(2){animation-delay:.07s}html:not([data-motion=paused]) .play-card:nth-child(3){animation-delay:.14s}html:not([data-motion=paused]) .play-card:nth-child(4){animation-delay:.21s}html:not([data-motion=paused]) .play-card:nth-child(5){animation-delay:.28s}html:not([data-motion=paused]) .play-orbit{animation:kana-drift 6s ease-in-out infinite}html:not([data-motion=paused]) .play-orbit.orbit-two{animation-delay:-2s;animation-direction:reverse}html:not([data-motion=paused]) .play-orbit.orbit-three{animation-delay:-4s}html:not([data-motion=paused]) .play-star{animation:star-breathe 5s ease-in-out infinite}html:not([data-motion=paused]) .star-two{animation-delay:-2s}html:not([data-motion=paused]) .star-three{animation-delay:-3s}html:not([data-motion=paused]) .play-halo{animation:halo-turn 80s linear infinite}html:not([data-motion=paused]) .play-art-circle{animation:circle-breathe 9s ease-in-out infinite}html:not([data-motion=paused]) .play-feedback{animation:feedback-arrive .25s ease-out both}html:not([data-motion=paused]) .play-feedback.correct:after{animation:mark-arrive .6s ease-out both}html:not([data-motion=paused]) .play-results-stats>div{animation:card-unfold .45s both}html:not([data-motion=paused]) .play-results-stats>div:nth-child(2){animation-delay:.08s}html:not([data-motion=paused]) .play-results-stats>div:nth-child(3){animation-delay:.16s}html:not([data-motion=paused]) .play-results-stats>div:nth-child(4){animation-delay:.24s}.play-time-track>span{transition:scale .2s linear}.play-arrow{transition:rotate .25s,background .25s}.play-card:hover .play-arrow{rotate:45deg;background:var(--accent-soft)}.play-choice:active{scale:.94}#theme-toggle:active{rotate:25deg}@media(hover:hover)and (pointer:fine){html:not([data-motion=paused]) .play-card:hover .play-card-art:after{animation:paper-shine .8s ease-out both}html:not([data-motion=paused]) .play-card:hover .play-card-art img{animation:image-hello .65s ease-in-out}}}@keyframes card-unfold{0%{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}@keyframes kana-drift{0%,to{translate:0 0}50%{translate:0 -9px}}@keyframes star-breathe{0%,to{scale:.9;opacity:.45}50%{scale:1.15;opacity:.9}}@keyframes halo-turn{to{rotate:360deg}}@keyframes circle-breathe{0%,to{scale:1}50%{scale:1.035}}@keyframes paper-shine{0%{translate:-45% 0;opacity:0}40%{opacity:1}to{translate:45% 0;opacity:0}}@keyframes image-hello{0%,to{rotate:0deg}35%{rotate:-5deg}70%{rotate:3deg}}@media(max-width:600px){.play-halo{width:225px;height:225px}.play-scoreboard{top:8px}.star-one{right:27%;top:0}.star-two{right:8%;bottom:20%}}html[data-motion=paused] .play-page *,html[data-motion=paused] .play-page *:after{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){.play-page *,.play-page *:after{animation:none!important;transition:none!important}}.book-scene{display:none}html[data-theme=dojo] .book-scene,html[data-theme=arcade] .book-scene{display:block}.theme-identity{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;white-space:nowrap}.theme-identity:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}.world-label{display:inline-flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.14em;font-weight:650}.world-label-mark{font-size:17px;letter-spacing:0}html[data-theme] :is(h1,h2,h3){text-wrap:balance}html[data-theme] :is(.play-hero-copy,.play-card-copy,.play-setup-form,.play-setup-intro,.setting-row>div,.topbar-location,.account-panel){min-width:0}html[data-theme] .play-card p{font-size:13px}html[data-theme] .play-card:is(.is-wide,.is-span){grid-column:auto}html[data-theme] .play-subtitle{font-size:10px}html[data-theme] .play-card-meta{font-size:11px}html[data-theme] .field-hint{font-size:12px}html[data-theme] .play-card-copy{display:flex;flex-direction:column}html[data-theme] .play-card-meta{margin-top:auto;padding-top:14px}html[data-theme] .play-card p{margin-bottom:16px}html[data-theme] .play-setup-form label{margin-top:20px}html[data-theme] :is(.play-insights li,.play-progress-card li){flex-wrap:wrap}html[data-theme] :is(.play-insights li>span,.play-progress-card li>span){overflow-wrap:anywhere}html[data-theme] :is(.play-scoreboard,.play-results-stats,.progress-overview dd){font-variant-numeric:tabular-nums}html[data-theme] .play-scoreboard{top:12px}html[data-theme] .play-time-track{height:4px;margin:-8px 18px 22px}html[data-theme] .text-input{transition:border-color .2s,box-shadow .2s}html[data-theme] .text-input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}html[data-theme] :is(.chip,.audio-button,.theme-choice){min-height:44px}html[data-theme] .audio-button{min-width:44px}html[data-theme] .sidebar{overscroll-behavior:contain}html[data-theme] .account-page{max-width:980px;margin:12px auto 32px}html[data-theme] .account-page .account-panel{max-width:720px;margin:0 auto 24px;padding:clamp(24px,5vw,48px)}html[data-theme] .account-page .page-heading{max-width:720px;margin:0 auto 28px}html[data-theme] .account-page>.btn{display:flex;width:fit-content;margin:0 auto}html[data-theme] .account-form{max-width:none;gap:10px}html[data-theme] .account-form .btn{width:100%;justify-content:center}html[data-theme] .account-tabs{padding:5px;background:var(--surface-soft);border:1px solid var(--line);border-radius:12px}html[data-theme] .account-tabs .btn{flex:1;border:0}html[data-theme] .account-tabs .btn[aria-pressed=true]{box-shadow:0 2px 6px #0000000b}html[data-theme] .account-panel .source-note{padding-top:20px;border-top:1px solid var(--line)}.account-providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:25px}html[data-theme] .account-provider{display:flex;align-items:center;justify-content:center;gap:12px;margin:0;min-height:52px;font-size:13px}.provider-mark{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px}.provider-mark svg{width:22px;height:22px}.account-divider{display:flex;align-items:center;gap:16px;color:var(--muted);margin:25px 0 16px;font-size:12px}.account-divider:before,.account-divider:after{content:"";height:1px;background:var(--line);flex:1}html[data-theme] .theme-options{gap:20px}html[data-theme] .theme-card{padding:16px}html[data-theme] .theme-card strong{font-family:var(--font-display)}html[data-theme] .theme-preview{min-height:155px;position:relative;overflow:hidden;border-radius:8px}html[data-theme] .theme-preview.dojo{background:#f3ead7 url(/assets/img/sumi-landscape.svg) right center / auto 180px no-repeat;color:#a3311f;border:1px solid #d9ccb4}html[data-theme] .theme-preview.arcade{background:#12151f url(/assets/img/sumi-landscape-night.svg) right center / auto 180px no-repeat;color:#e2704f;border:1px solid #333a4c}html[data-theme] .theme-preview>small{z-index:1;font-size:12px}html[data-theme] .theme-preview.dojo>small{background:#f3ead7df;padding:6px}html[data-theme] .theme-preview.arcade>small{background:#12151fdf;padding:6px}html[data-theme] .theme-card:focus-visible{outline:3px solid var(--accent);outline-offset:4px}html[data-theme] .theme-card[aria-pressed=true]{box-shadow:0 0 0 1px var(--accent)}.settings-history{margin-top:28px}.settings-history>summary{padding:18px 0;cursor:pointer;font-weight:600}html[data-theme] .setting-row{gap:20px}html[data-theme] .play-paused{text-align:center;padding-block:60px}html[data-theme] .play-paused .icon{width:30px;height:30px}.book-scene{position:relative;width:100%;height:370px}.book-scene>img{position:absolute;width:100%;height:100%;object-fit:contain}.book-vertical{position:absolute;right:3%;top:5%;writing-mode:vertical-rl;font:21px/1.9 var(--font-jp-serif);letter-spacing:.27em;color:var(--ink)}.book-seal{position:absolute;right:6%;top:61%;writing-mode:vertical-rl;font:18px/1 var(--font-jp-serif);color:var(--accent);border:3px double var(--accent);padding:7px 5px;rotate:-5deg}html[data-motion=paused] *,html[data-motion=paused] *:before,html[data-motion=paused] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:1100px){.theme-identity{display:none}}@media(max-width:600px){.account-providers{grid-template-columns:1fr;gap:10px}html[data-theme] .main-content{padding:24px max(18px,env(safe-area-inset-right)) 28px max(18px,env(safe-area-inset-left))}html[data-theme] .topbar{gap:12px;padding-inline:18px}html[data-theme] .play-card{grid-template-columns:88px minmax(0,1fr)}html[data-theme] .play-card-copy{padding:18px 14px 18px 6px}html[data-theme] .play-card p{font-size:12px}html[data-theme] .play-card-meta{font-size:10px;flex-wrap:wrap;row-gap:3px}html[data-theme] .play-card .play-card-art img{width:62px;height:84px}html[data-theme] .play-card h3{font-size:18px}html[data-theme] .play-scoreboard{gap:8px;padding:14px 12px}html[data-theme] .play-scoreboard strong{font-size:21px}html[data-theme] .play-scoreboard small{font-size:8px}html[data-theme] .play-session-heading{margin-bottom:20px}html[data-theme] .play-question{padding:26px 18px}html[data-theme] .play-prompt{font-size:clamp(23px,6vw,32px)}html[data-theme] .play-prompt-short{font-size:54px}html[data-theme] .play-feedback{padding:18px}html[data-theme] .play-setup-intro img{width:66px;height:90px}html[data-theme] .play-setup-intro h1{font-size:28px}html[data-theme] .play-heading h1,html[data-theme] .page-heading h1{font-size:31px}html[data-theme] .theme-options{gap:14px}html[data-theme] .theme-preview{min-height:145px}html[data-theme] .settings-panel{padding:23px}html[data-theme] .play-section-title>.play-tag{font-size:10px}}:root{--ease-out: cubic-bezier(.22, 1, .36, 1);--ease-spring: cubic-bezier(.34, 1.4, .64, 1)}@media(prefers-reduced-motion:no-preference){html:not([data-motion=paused]) :is(.play-card,.play-daily){transition:transform .34s var(--ease-out),box-shadow .34s var(--ease-out),border-color .2s ease}html:not([data-motion=paused]) :is(.karuta-card,.play-choice,.daily-choice,.kana-mode){transition:transform .22s var(--ease-out),border-color .18s ease,background-color .18s ease,opacity .2s ease}html:not([data-motion=paused]) .btn{transition:translate .22s var(--ease-out),scale .16s var(--ease-out),background-color .2s ease,border-color .2s ease,box-shadow .22s var(--ease-out)}html:not([data-motion=paused]) :is(.karuta-card,.play-choice,.daily-choice):active:not(:disabled){transform:scale(.96)}html:not([data-motion=paused]) :is(.play-halo,.play-orbit,.play-star,.play-art-circle,.play-hero-art>img){will-change:transform}html:not([data-motion=paused]) .page-entry{animation-timing-function:var(--ease-out)}::view-transition-old(root),::view-transition-new(root){animation-duration:.38s;animation-timing-function:var(--ease-out)}}@media(hover:none),(pointer:coarse){:is(.play-card,.play-daily,.karuta-card,.play-choice):hover:not(:disabled){transform:none}}:is(a,button,.karuta-card,.play-choice,label.switch){touch-action:manipulation;-webkit-tap-highlight-color:transparent}.play-scoreboard :is(.text-link,button){min-height:44px;padding-inline:6px}:is(.play-answer,#shiritori-answer,#daily-answer){scroll-margin-block:140px 24px}.toast{bottom:max(25px,calc(env(safe-area-inset-bottom) + 14px))}@media(max-width:600px){html[data-theme] .topbar{padding-inline:max(17px,env(safe-area-inset-left)) max(17px,env(safe-area-inset-right))}.play-scoreboard{top:max(8px,env(safe-area-inset-top))}.play-question :is(.eyebrow,.step-label){letter-spacing:.06em}.karuta-listen .btn,.play-actions .btn{flex:1 1 auto;justify-content:center}.play-actions{width:100%}.toast{left:16px;right:16px;transform:none;width:auto;max-width:none}}html[data-theme=dojo]{--paper: #f3ead7;--surface: #faf3e3;--surface-soft: #eae0ca;--ink: #302f29;--muted: #6e6452;--subtle: #766954;--line: #d9ceb7;--accent: #a3311f;--accent-hover: #822819;--accent-soft: #ecdbc8;--radius: 5px;--radius-sm: 4px;--font-display: "Shippori Mincho", Georgia, serif;--font-jp-serif: "Shippori Mincho", "Noto Serif JP", serif}html[data-theme=dojo] body{background:var(--paper) url(/assets/img/washi.svg)}html[data-theme=dojo] .sidebar{background:#eae0c9 url(/assets/img/washi.svg);border-right:1px solid #cbbc9f;box-shadow:inset -8px 0 14px -12px #5a472b66}html[data-theme=dojo] .sidebar-brand{padding-bottom:28px;border-bottom:1px solid #cbbc9f}html[data-theme=dojo] .brand>span{font-family:var(--font-display);font-size:37px;letter-spacing:-2px}html[data-theme=dojo] .brand small{font-family:var(--font-body);font-size:6px;letter-spacing:.6px}html[data-theme=dojo] .brand img{border-radius:3px;rotate:-5deg}html[data-theme=dojo] .nav-link{border-radius:3px;padding-block:14px;font-size:13px}html[data-theme=dojo] .nav-link.is-active{background:#faf3e38f;box-shadow:inset 3px 0 var(--accent)}html[data-theme=dojo] .nav-label{color:#6c5d45;letter-spacing:.18em}html[data-theme=dojo] .profile-avatar{border:1px solid #bba486;border-radius:3px;font-family:var(--font-display)}html[data-theme=dojo] .topbar{background:#f3ead7f2;border-bottom-style:double;border-bottom-width:3px}html[data-theme=dojo] .theme-identity{font-family:var(--font-display);color:var(--accent)}html[data-theme=dojo] .theme-identity:before{border-radius:1px;rotate:-10deg}html[data-theme=dojo] .topbar-avatar{background:transparent;border:1px solid var(--line);border-radius:3px;min-height:36px}html[data-theme=dojo] #theme-toggle{border-radius:4px;background:#faf3e380}html[data-theme=dojo] .main-content{position:relative}html[data-theme=dojo] .main-content:before{content:"";position:absolute;top:24px;bottom:24px;left:23px;width:4px;border-inline:1px solid #b5a28033;pointer-events:none}html[data-theme=dojo] .play-hero{border-bottom:1px solid var(--line);padding:28px 0 44px;margin-bottom:8px;min-height:435px;gap:10px;grid-template-columns:1.05fr 1fr;background:none}html[data-theme=dojo] .world-label{color:var(--muted);font-size:10px;letter-spacing:.17em}html[data-theme=dojo] .world-label-mark{font-family:var(--font-jp-serif);border:1px solid var(--accent);color:var(--accent);padding:1px 6px;rotate:-3deg}html[data-theme=dojo] .play-hero h1{font-size:clamp(42px,4.7vw,65px);font-weight:600;line-height:1.19;letter-spacing:-.055em;margin:27px 0 22px}html[data-theme=dojo] .play-hero h1 em{display:inline-block;position:relative}html[data-theme=dojo] .play-hero h1 em:after{content:"";display:block;width:72%;height:2px;margin-top:10px;background:linear-gradient(90deg,#a3311f90,#a3311f10);border-radius:100%;rotate:-1deg}html[data-theme=dojo] .play-hero-copy>p{max-width:34ch;line-height:1.9}html[data-theme=dojo] .play-hero-art{min-height:390px}html[data-theme=dojo] .play-hero-art>:is(img,.play-orbit,.play-art-circle,.play-halo,.play-star){display:none}html[data-theme=dojo] .play-art-caption{bottom:1px;right:15%;font-family:var(--font-jp-serif);font-size:12px;letter-spacing:.2em}html[data-theme=dojo] .play-art-caption small{font-family:var(--font-body);font-size:10px;margin-top:8px}html[data-theme=dojo] .play-hero-foot{border-left:1px solid var(--accent);padding-left:12px;gap:10px}html[data-theme=dojo] .play-hero-foot>span{font-family:var(--font-jp-serif)}html[data-theme=dojo] .play-section-title{border-top:0;padding-top:26px}html[data-theme=dojo] .play-section-title h2{font-size:28px;font-weight:600}html[data-theme=dojo] .play-grid{gap:16px}html[data-theme=dojo] .play-card{border-radius:4px 12px 12px 4px;background:var(--surface) url(/assets/img/washi.svg);border-color:#d5c7ae;box-shadow:0 3px 0 -1px var(--paper),0 4px 0 -1px #d9cdb6;grid-template-columns:123px minmax(0,1fr)}html[data-theme=dojo] .play-card:hover{box-shadow:0 4px 0 -1px var(--paper),0 5px 0 -1px #d9cdb6,0 14px 22px #5140240a;border-color:#b79c7b}html[data-theme=dojo] .play-card-art{background-color:#eee4ce;border-right:1px solid #c7b58b40;border-radius:1px;margin:9px}html[data-theme=dojo] .play-card-art img{filter:saturate(.65) sepia(.14);width:86px;height:115px}html[data-theme=dojo] .play-number{font:12px var(--font-display);color:var(--muted);opacity:1}html[data-theme=dojo] .play-arrow{border-radius:2px;color:var(--accent);background:var(--surface)}html[data-theme=dojo] .play-card-copy{padding:24px 22px 22px 12px}html[data-theme=dojo] .play-card h3{font-family:var(--font-display);font-size:23px;font-weight:600;letter-spacing:-.035em;line-height:1.35;margin:8px 0 12px}html[data-theme=dojo] .play-card-meta{border-top-style:dashed;color:var(--muted)}html[data-theme=dojo] :is(.play-heading,.page-heading){position:relative;padding-bottom:24px;border-bottom:1px solid var(--line)}html[data-theme=dojo] :is(.play-heading,.page-heading):after{content:"";width:34px;height:3px;background:var(--accent);position:absolute;bottom:-2px;left:0;border-radius:100% 40%}html[data-theme=dojo] .eyebrow{font-size:10px;letter-spacing:.15em}html[data-theme=dojo] :is(.panel,.explore-controls,.play-question){background:var(--surface) url(/assets/img/washi.svg);border-radius:5px;border-color:var(--line);box-shadow:0 3px 12px #5f4b2304}html[data-theme=dojo] .panel :is(h2,h3){font-family:var(--font-display)}html[data-theme=dojo] :is(.word-card h2,.kanji-card-symbol,.detail-character){font-family:var(--font-jp-serif)}html[data-theme=dojo] :is(.hub-card-symbol,.particle-symbol){border:1px solid #c5b49670;background:var(--surface-soft);color:var(--ink);border-radius:3px}html[data-theme=dojo] .hub-card:hover{border-color:var(--accent)}html[data-theme=dojo] :is(.example,.context-box,.tip-box,.sentence-hint,.setting-note,.goal-option,.kana-cell,.word-token,.worksheet-char){background:#eee5d2;border-color:#d8cbb3;border-radius:3px;color:var(--ink)}html[data-theme=dojo] .kana-row.is-selected .kana-cell,html[data-theme=dojo] .worksheet-char[aria-pressed=true]{background:#eddbca;border-color:#b69778;color:var(--accent)}html[data-theme=dojo] .kana-cell:hover{background:#eddbca!important}html[data-theme=dojo] :is(.input-label,.romaji,.particle-note,.word-token small,.context-box p){color:var(--muted)}html[data-theme=dojo] :is(.segmented,.chip,.text-input){border-radius:4px}html[data-theme=dojo] .segmented{background:var(--surface-soft)}html[data-theme=dojo] .chip.is-active{color:var(--accent);border-color:var(--accent)}html[data-theme=dojo] .text-input{background:#fff8eac7;border-color:#c8b99d}html[data-theme=dojo] .btn{border-radius:4px;font-size:13px;min-height:48px}html[data-theme=dojo] .btn-primary{box-shadow:0 3px #772417}html[data-theme=dojo] .btn-primary:hover{box-shadow:0 4px #772417}html[data-theme=dojo] .btn-primary:active{box-shadow:none}html[data-theme=dojo] .btn-ghost{background:#faf3e360;border-color:#c7b598}html[data-theme=dojo] .play-setup{border-radius:5px 16px 16px 5px;border-color:#ccbb9d;box-shadow:0 4px 0 -1px var(--paper),0 5px 0 -1px #ccbb9d}html[data-theme=dojo] .play-setup-intro{background:#eae0ca url(/assets/img/washi.svg);border-right:1px solid #c6b38d70}html[data-theme=dojo] .play-setup-intro img{filter:saturate(.6) sepia(.12)}html[data-theme=dojo] .play-setup-form{background:var(--surface) url(/assets/img/washi.svg)}html[data-theme=dojo] .play-setup-form h2{font-family:var(--font-display)}html[data-theme=dojo] .play-scoreboard{border-radius:4px;border-color:#cbbb9d;background:#eae0ca;box-shadow:0 4px 14px #6b543817}html[data-theme=dojo] .play-scoreboard strong{font-family:var(--font-display)}html[data-theme=dojo] .play-question{border-top:3px double #c6b696}html[data-theme=dojo] .play-prompt{font-family:var(--font-jp-serif)}html[data-theme=dojo] .play-choice{border-radius:4px;font-family:var(--font-jp-serif)}html[data-theme=dojo] .play-feedback{border-radius:3px;border-left:3px solid var(--accent)}html[data-theme=dojo] .play-feedback.correct{border-left-color:var(--success)}html[data-theme=dojo] .play-results-stats{border-block:3px double #cbbb9d;border-radius:0;background:#eae0ca90}html[data-theme=dojo] .play-results-stats strong{font-family:var(--font-display)}html[data-theme=dojo] .play-progress-card{border-left:3px solid #cbbb9d}html[data-theme=dojo] .play-paper-link{border-radius:3px;background:#faf3e355;border-style:solid;border-left:3px solid var(--accent)}html[data-theme=dojo] .play-paper-link h2{font-family:var(--font-display);font-size:19px}html[data-theme=dojo] .app-footer{border-top:3px double var(--line);padding-top:22px}html[data-theme=dojo] .app-footer>a:first-child{font-family:var(--font-display);color:var(--accent)}html[data-theme=dojo] .theme-card{border-radius:5px;background:var(--surface) url(/assets/img/washi.svg)}html[data-theme=dojo] .theme-card strong{font-size:24px}html[data-theme=dojo] .achievement{background:#eee5d2;border-color:var(--line);border-radius:3px}html[data-theme=dojo] .achievement.is-earned{background:#ecdbc8;border-color:#a3311f66}html[data-theme=dojo] .play-daily{border-radius:4px;border:1px solid #cbbc9f;border-left:3px solid var(--accent);background:#ebe0c9 url(/assets/img/washi.svg);margin-top:28px}html[data-theme=dojo] .play-daily-date strong{font-family:var(--font-display)}html[data-theme=dojo] .karuta-card{font-family:var(--font-jp-serif);border-radius:3px;background:var(--surface) url(/assets/img/washi.svg);box-shadow:0 3px #cbbb9d}html[data-theme=dojo] .karuta-card.is-right{background-color:var(--success-bg)}html[data-theme=dojo] .karuta-card.is-wrong{background-color:var(--accent-soft)}html[data-theme=dojo] .daily-word-jp{font-family:var(--font-jp-serif)}html[data-theme=dojo] .daily-progress li{border-radius:3px}html[data-theme=dojo] .lesson-reader{border-top:3px double #cbbb9d}html[data-theme=dojo] :is(.lesson-card,.journey-module,.journey-recommendation){border-radius:4px}html[data-theme=dojo] .lesson-section-title{font-family:var(--font-display)}@media(min-width:1101px){html[data-theme=dojo] .main-content{padding-left:58px;padding-right:46px}}@media(max-width:1100px){html[data-theme=dojo] .main-content:before{display:none}html[data-theme=dojo] .play-card{grid-template-columns:93px minmax(0,1fr)}html[data-theme=dojo] .play-card h3{font-size:21px}html[data-theme=dojo] .play-card-copy{padding:22px 18px 20px 5px}}@media(max-width:820px){html[data-theme=dojo] .play-hero h1{font-size:44px}html[data-theme=dojo] .play-hero-art{min-height:340px}.book-scene{height:330px}}@media(max-width:600px){html[data-theme=dojo] .play-hero{grid-template-columns:1fr;padding-top:12px;padding-bottom:30px;min-height:0;gap:0}html[data-theme=dojo] .play-hero h1{font-size:clamp(39px,10vw,52px);margin:24px 0 18px}html[data-theme=dojo] .play-hero-art{min-height:280px;margin-top:18px}html[data-theme=dojo] .book-scene{height:280px;max-width:400px}html[data-theme=dojo] .book-vertical{font-size:16px;right:8%}html[data-theme=dojo] .book-seal{top:65%;right:9%;font-size:14px}html[data-theme=dojo] .play-art-caption{right:23%;font-size:11px;bottom:-2px;background:none;padding:0}html[data-theme=dojo] .play-hero-copy>p{font-size:14px}html[data-theme=dojo] .play-hero-foot{margin-top:25px}html[data-theme=dojo] .play-section-title h2{font-size:27px}html[data-theme=dojo] .play-card{grid-template-columns:85px minmax(0,1fr)}html[data-theme=dojo] .play-card-copy{padding:18px 14px 18px 5px}html[data-theme=dojo] .play-card-art{margin:7px}html[data-theme=dojo] .play-card h3{font-size:21px}html[data-theme=dojo] .play-card .play-card-art img{width:58px;height:90px}html[data-theme=dojo] .play-setup-intro{border-right:0;border-bottom:1px solid var(--line)}}html[data-theme=arcade] body{background:var(--paper) url(/assets/img/washi-night.svg)}html[data-theme=arcade] .sidebar{background:var(--surface) url(/assets/img/washi-night.svg);border-right:1px solid var(--line);box-shadow:inset -8px 0 14px -12px #0006}html[data-theme=arcade] .sidebar-brand{padding-bottom:28px;border-bottom:1px solid var(--line)}html[data-theme=arcade] .brand>span{font-family:var(--font-display);font-size:37px;letter-spacing:-2px}html[data-theme=arcade] .brand small{font-family:var(--font-body);font-size:6px;letter-spacing:.6px}html[data-theme=arcade] .brand img{border-radius:3px;rotate:-5deg}html[data-theme=arcade] .nav-link{border-radius:3px;padding-block:14px;font-size:13px}html[data-theme=arcade] .nav-link.is-active{background:#ffffff0d;box-shadow:inset 3px 0 var(--accent)}html[data-theme=arcade] .nav-label{color:var(--subtle);letter-spacing:.18em}html[data-theme=arcade] .profile-avatar{border:1px solid var(--line);border-radius:3px;font-family:var(--font-display)}html[data-theme=arcade] .topbar{background:#12151ff2;border-bottom-style:double;border-bottom-width:3px}html[data-theme=arcade] .theme-identity{font-family:var(--font-display);color:var(--accent)}html[data-theme=arcade] .theme-identity:before{border-radius:1px;rotate:-10deg}html[data-theme=arcade] .topbar-avatar{background:transparent;border:1px solid var(--line);border-radius:3px;min-height:36px}html[data-theme=arcade] #theme-toggle{border-radius:4px;background:#1a1e2c80}html[data-theme=arcade] .main-content{position:relative}html[data-theme=arcade] .main-content:before{content:"";position:absolute;top:24px;bottom:24px;left:23px;width:4px;border-inline:1px solid #8892b033;pointer-events:none}html[data-theme=arcade] .play-hero{border-bottom:1px solid var(--line);padding:28px 0 44px;margin-bottom:8px;min-height:435px;gap:10px;grid-template-columns:1.05fr 1fr;background:none}html[data-theme=arcade] .world-label{color:var(--muted);font-size:10px;letter-spacing:.17em}html[data-theme=arcade] .world-label-mark{font-family:var(--font-jp-serif);border:1px solid var(--accent);color:var(--accent);padding:1px 6px;rotate:-3deg}html[data-theme=arcade] .play-hero h1{font-size:clamp(42px,4.7vw,65px);font-weight:600;line-height:1.19;letter-spacing:-.055em;margin:27px 0 22px}html[data-theme=arcade] .play-hero h1 em{display:inline-block;position:relative}html[data-theme=arcade] .play-hero h1 em:after{content:"";display:block;width:72%;height:2px;margin-top:10px;background:linear-gradient(90deg,#e2704f90,#e2704f10);border-radius:100%;rotate:-1deg}html[data-theme=arcade] .play-hero-copy>p{max-width:34ch;line-height:1.9}html[data-theme=arcade] .play-hero-art{min-height:390px}html[data-theme=arcade] .play-hero-art>:is(img,.play-orbit,.play-art-circle,.play-halo,.play-star){display:none}html[data-theme=arcade] .book-scene>img{content:url(/assets/img/sumi-landscape-night.svg)}html[data-theme=arcade] .play-art-caption{bottom:1px;right:15%;font-family:var(--font-jp-serif);font-size:12px;letter-spacing:.2em}html[data-theme=arcade] .play-art-caption small{font-family:var(--font-body);font-size:10px;margin-top:8px}html[data-theme=arcade] .play-hero-foot{border-left:1px solid var(--accent);padding-left:12px;gap:10px}html[data-theme=arcade] .play-hero-foot>span{font-family:var(--font-jp-serif)}html[data-theme=arcade] .play-section-title{border-top:0;padding-top:26px}html[data-theme=arcade] .play-section-title h2{font-size:28px;font-weight:600}html[data-theme=arcade] .play-grid{gap:16px}html[data-theme=arcade] .play-card{border-radius:4px 12px 12px 4px;background:var(--surface) url(/assets/img/washi-night.svg);border-color:var(--line);box-shadow:0 3px 0 -1px var(--paper),0 4px 0 -1px #2a3348;grid-template-columns:123px minmax(0,1fr)}html[data-theme=arcade] .play-card:hover{box-shadow:0 4px 0 -1px var(--paper),0 5px 0 -1px #2a3348,0 14px 22px #0000004a;border-color:#44506e}html[data-theme=arcade] .play-card-art{background-color:var(--surface-soft);border-right:1px solid #ffffff1a;border-radius:1px;margin:9px}html[data-theme=arcade] .play-card-art img{filter:saturate(.85) brightness(1.05);width:86px;height:115px}html[data-theme=arcade] .play-number{font:12px var(--font-display);color:var(--muted);opacity:1}html[data-theme=arcade] .play-arrow{border-radius:2px;color:var(--accent);background:var(--surface)}html[data-theme=arcade] .play-card-copy{padding:24px 22px 22px 12px}html[data-theme=arcade] .play-card h3{font-family:var(--font-display);font-size:23px;font-weight:600;letter-spacing:-.035em;line-height:1.35;margin:8px 0 12px}html[data-theme=arcade] .play-card-meta{border-top-style:dashed;color:var(--muted)}html[data-theme=arcade] :is(.play-heading,.page-heading){position:relative;padding-bottom:24px;border-bottom:1px solid var(--line)}html[data-theme=arcade] :is(.play-heading,.page-heading):after{content:"";width:34px;height:3px;background:var(--accent);position:absolute;bottom:-2px;left:0;border-radius:100% 40%}html[data-theme=arcade] .eyebrow{font-size:10px;letter-spacing:.15em}html[data-theme=arcade] :is(.panel,.explore-controls,.play-question){background:var(--surface) url(/assets/img/washi-night.svg);border-radius:5px;border-color:var(--line);box-shadow:0 3px 12px #00000030}html[data-theme=arcade] .panel :is(h2,h3){font-family:var(--font-display)}html[data-theme=arcade] :is(.word-card h2,.kanji-card-symbol,.detail-character){font-family:var(--font-jp-serif)}html[data-theme=arcade] :is(.hub-card-symbol,.particle-symbol){border:1px solid #ffffff20;background:var(--surface-soft);color:var(--ink);border-radius:3px}html[data-theme=arcade] .hub-card:hover{border-color:var(--accent)}html[data-theme=arcade] :is(.example,.context-box,.tip-box,.sentence-hint,.setting-note,.goal-option,.kana-cell,.word-token,.worksheet-char){background:var(--surface-soft);border-color:var(--line);border-radius:3px;color:var(--ink)}html[data-theme=arcade] .kana-row.is-selected .kana-cell,html[data-theme=arcade] .worksheet-char[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}html[data-theme=arcade] .kana-cell:hover{background:var(--accent-soft)!important}html[data-theme=arcade] :is(.input-label,.romaji,.particle-note,.word-token small,.context-box p){color:var(--muted)}html[data-theme=arcade] :is(.segmented,.chip,.text-input){border-radius:4px}html[data-theme=arcade] .segmented{background:var(--surface-soft)}html[data-theme=arcade] .chip.is-active{color:var(--accent);border-color:var(--accent)}html[data-theme=arcade] .text-input{background:#0d0f17c7;border-color:var(--line)}html[data-theme=arcade] .btn{border-radius:4px;font-size:13px;min-height:48px}html[data-theme=arcade] .btn-primary{box-shadow:0 3px #9c4429}html[data-theme=arcade] .btn-primary:hover{box-shadow:0 4px #9c4429}html[data-theme=arcade] .btn-primary:active{box-shadow:none}html[data-theme=arcade] .btn-ghost{background:#1a1e2c60;border-color:var(--line)}html[data-theme=arcade] .play-setup{border-radius:5px 16px 16px 5px;border-color:var(--line);box-shadow:0 4px 0 -1px var(--paper),0 5px 0 -1px #2a3348}html[data-theme=arcade] .play-setup-intro{background:var(--surface-soft) url(/assets/img/washi-night.svg);border-right:1px solid #ffffff1a}html[data-theme=arcade] .play-setup-intro img{filter:saturate(.85) brightness(1.05)}html[data-theme=arcade] .play-setup-form{background:var(--surface) url(/assets/img/washi-night.svg)}html[data-theme=arcade] .play-setup-form h2{font-family:var(--font-display)}html[data-theme=arcade] .play-scoreboard{border-radius:4px;border-color:var(--line);background:var(--surface-soft);box-shadow:0 4px 14px #00000040}html[data-theme=arcade] .play-scoreboard strong{font-family:var(--font-display)}html[data-theme=arcade] .play-question{border-top:3px double var(--line)}html[data-theme=arcade] .play-prompt{font-family:var(--font-jp-serif)}html[data-theme=arcade] .play-choice{border-radius:4px;font-family:var(--font-jp-serif)}html[data-theme=arcade] .play-feedback{border-radius:3px;border-left:3px solid var(--accent)}html[data-theme=arcade] .play-feedback.correct{border-left-color:var(--success)}html[data-theme=arcade] .play-results-stats{border-block:3px double var(--line);border-radius:0;background:#23283890}html[data-theme=arcade] .play-results-stats strong{font-family:var(--font-display)}html[data-theme=arcade] .play-progress-card{border-left:3px solid var(--line)}html[data-theme=arcade] .play-paper-link{border-radius:3px;background:#1a1e2c55;border-style:solid;border-left:3px solid var(--accent)}html[data-theme=arcade] .play-paper-link h2{font-family:var(--font-display);font-size:19px}html[data-theme=arcade] .app-footer{border-top:3px double var(--line);padding-top:22px}html[data-theme=arcade] .app-footer>a:first-child{font-family:var(--font-display);color:var(--accent)}html[data-theme=arcade] .theme-card{border-radius:5px;background:var(--surface) url(/assets/img/washi-night.svg)}html[data-theme=arcade] .theme-card strong{font-size:24px}html[data-theme=arcade] .achievement{background:var(--surface-soft);border-color:var(--line);border-radius:3px}html[data-theme=arcade] .achievement.is-earned{background:var(--accent-soft);border-color:#e2704f66}html[data-theme=arcade] .achievement.is-earned .badge-symbol{display:grid;place-items:center;width:48px;height:48px;color:var(--accent);border:3px double var(--accent);border-radius:3px;transform:rotate(-3deg)}html[data-theme=arcade] .play-daily{border-radius:4px;border:1px solid var(--line);border-left:3px solid var(--accent);background:var(--surface-soft) url(/assets/img/washi-night.svg);margin-top:28px}html[data-theme=arcade] .play-daily-date strong{font-family:var(--font-display)}html[data-theme=arcade] .karuta-card{font-family:var(--font-jp-serif);border-radius:3px;background:var(--surface) url(/assets/img/washi-night.svg);box-shadow:0 3px 0 var(--line)}html[data-theme=arcade] .karuta-card.is-right{background-color:var(--success-bg)}html[data-theme=arcade] .karuta-card.is-wrong{background-color:var(--accent-soft)}html[data-theme=arcade] .daily-word-jp{font-family:var(--font-jp-serif)}html[data-theme=arcade] .daily-progress li{border-radius:3px}html[data-theme=arcade] .lesson-reader{border-top:3px double var(--line)}html[data-theme=arcade] :is(.lesson-card,.journey-module,.journey-recommendation){border-radius:4px}html[data-theme=arcade] .lesson-section-title{font-family:var(--font-display)}@media(min-width:1101px){html[data-theme=arcade] .main-content{padding-left:58px;padding-right:46px}}@media(max-width:1100px){html[data-theme=arcade] .main-content:before{display:none}html[data-theme=arcade] .play-card{grid-template-columns:93px minmax(0,1fr)}html[data-theme=arcade] .play-card h3{font-size:21px}html[data-theme=arcade] .play-card-copy{padding:22px 18px 20px 5px}}@media(max-width:820px){html[data-theme=arcade] .play-hero h1{font-size:44px}html[data-theme=arcade] .play-hero-art{min-height:340px}}@media(max-width:600px){html[data-theme=arcade] .play-hero{grid-template-columns:1fr;padding-top:12px;padding-bottom:30px;min-height:0;gap:0}html[data-theme=arcade] .play-hero h1{font-size:clamp(39px,10vw,52px);margin:24px 0 18px}html[data-theme=arcade] .play-hero-art{min-height:280px;margin-top:18px}html[data-theme=arcade] .book-scene{height:280px;max-width:400px}html[data-theme=arcade] .book-vertical{font-size:16px;right:8%}html[data-theme=arcade] .book-seal{top:65%;right:9%;font-size:14px}html[data-theme=arcade] .play-art-caption{right:23%;font-size:11px;bottom:-2px;background:none;padding:0}html[data-theme=arcade] .play-hero-copy>p{font-size:14px}html[data-theme=arcade] .play-hero-foot{margin-top:25px}html[data-theme=arcade] .play-section-title h2{font-size:27px}html[data-theme=arcade] .play-card{grid-template-columns:85px minmax(0,1fr)}html[data-theme=arcade] .play-card-copy{padding:18px 14px 18px 5px}html[data-theme=arcade] .play-card-art{margin:7px}html[data-theme=arcade] .play-card h3{font-size:21px}html[data-theme=arcade] .play-card .play-card-art img{width:58px;height:90px}html[data-theme=arcade] .play-setup-intro{border-right:0;border-bottom:1px solid var(--line)}}:root[data-theme=dojo]{--paper: #f3ead7;--surface: #fbf5e6;--surface-soft: #ede3cb;--ink: #24211d;--muted: #5f5547;--subtle: #685c4b;--line: #d6c8ab;--frame: #24211da6;--frame-strong: #24211d;--offset: #c3cede;--accent: #b5342a;--accent-hover: #952419;--accent-soft: #f1dcd1;--seal: #b5342a;--seal-ink: #fbf5e6;--button-bg: #1f3150;--button-ink: #fbf5e6;--ai: #1f3150;--ai-ink: #f5eedd;--ai-pattern: #f5eedd;--tab: var(--paper);--kin: #a87b22;--pattern: #1f3150;--sage: #f1d6c2;--peach: #f2d7d7;--lavender: #e2dbea;--sky: #d8e2ed;--sand: #f0dfb3;--success: #2f6b4f;--success-bg: #dfe9dc}:root[data-theme=arcade]{--paper: #111a2c;--surface: #172237;--surface-soft: #1f2c46;--ink: #f1e9d7;--muted: #b7b1a3;--subtle: #a29d92;--line: #2f3d5b;--frame: #f1e9d77a;--frame-strong: #f1e9d7;--offset: #263759;--accent: #ef6d4f;--accent-hover: #f5866b;--accent-soft: #3a2430;--seal: #c23b2b;--seal-ink: #fbf5e6;--button-bg: #f1e9d7;--button-ink: #111a2c;--ai: #0b1222;--ai-ink: #f1e9d7;--ai-pattern: #8ea6dc;--tab: #1c2944;--kin: #e4b65e;--pattern: #e4b65e;--sage: #3a271f;--peach: #3a2333;--lavender: #2b2648;--sky: #1c2c4a;--sand: #382d1c;--success: #8cc7a5;--success-bg: #18322e}:root[data-theme]{--font-display: "DM Serif Display", "Shippori Mincho", Georgia, serif;--font-jp-serif: "Shippori Mincho", "Noto Serif JP", serif;--radius: 14px;--radius-sm: 9px}html[data-theme=dojo] .sage{color:#8a4528}html[data-theme=dojo] .peach{color:#97343f}html[data-theme=dojo] .lavender{color:#5e4b7d}html[data-theme=dojo] .sky{color:#2c4a72}html[data-theme=dojo] .sand{color:#6f5418}html[data-theme] .sidebar{background:var(--ai);border-right:0;box-shadow:none;color:var(--ai-ink)}html[data-theme] .sidebar>*{position:relative;z-index:1}html[data-theme] .sidebar-brand{border-bottom:1px dashed color-mix(in srgb,var(--ai-ink) 33%,transparent)}html[data-theme] :is(.brand,.brand>span){color:var(--ai-ink)}html[data-theme] .brand>span{font-family:var(--font-display);font-weight:400;letter-spacing:-1px}html[data-theme] .brand small{color:color-mix(in srgb,var(--ai-ink) 70%,transparent)}html[data-theme] .brand-period{color:#f0a58f}html[data-theme] .nav-label,html[data-theme] .motion-control{color:color-mix(in srgb,var(--ai-ink) 76%,transparent)}html[data-theme] .nav-link{color:var(--ai-ink);border-radius:10px}html[data-theme] .nav-link:hover{background:color-mix(in srgb,var(--ai-ink) 10%,transparent);color:var(--ai-ink)}html[data-theme] .nav-link.is-active{background:var(--tab);color:var(--ink);box-shadow:inset 3px 0 var(--accent),3px 3px #0003}html[data-theme] .nav-link.is-active .icon{color:var(--accent)}html[data-theme] .profile-link{border-top:1px dashed color-mix(in srgb,var(--ai-ink) 33%,transparent);color:var(--ai-ink)}html[data-theme] :is(.profile-link small,.profile-link .icon){color:color-mix(in srgb,var(--ai-ink) 76%,transparent)}html[data-theme] .profile-avatar{background:var(--tab);color:var(--accent);border:0;border-radius:50%;font-family:var(--font-display)}html[data-theme] .menu-close{color:var(--ai-ink)}html[data-theme] .sidebar-backdrop{background:#0b122266}html[data-theme] .topbar{background:var(--paper);border-bottom:3px double var(--line)}html[data-theme] .theme-identity{font-family:var(--font-display);color:var(--accent)}html[data-theme] #theme-toggle{border:1.5px solid var(--frame);border-radius:50%;background:var(--surface)}html[data-theme] .topbar-avatar{border:1.5px solid var(--frame);border-radius:999px;background:transparent;color:var(--ink)}html[data-theme] .main-content:before{display:none}html[data-theme] .app-footer{position:relative;border-top:3px double var(--line)}html[data-theme] .app-footer>a:first-child{font-family:var(--font-display);color:var(--accent)}html[data-theme] :is(.play-hero h1,.play-heading h1,.page-heading h1,.play-setup-intro h1,.play-result-hero h1,.play-section-title h2,.play-card h3,.panel h2,.play-paper-link h2){font-family:var(--font-display);font-weight:400;letter-spacing:-.015em}html[data-theme] .eyebrow{color:var(--accent);letter-spacing:.16em;font-weight:700}html[data-theme] :is(.play-heading,.page-heading){border-bottom:3px double var(--line)}html[data-theme] :is(.play-heading,.page-heading):after{height:3px;width:44px;border-radius:0;background:var(--accent)}html[data-theme] .play-section-title .eyebrow:before,html[data-theme] .play-section-title .eyebrow:after{content:"\2726";margin:0 .6em;font-size:9px;vertical-align:1px}html[data-theme] .play-section-title .eyebrow:before{margin-left:0}html[data-theme] .play-card{background:var(--surface);border:1.5px solid var(--frame);border-radius:var(--radius);box-shadow:5px 5px 0 var(--offset)}html[data-theme] .play-card-art{background:var(--sage);border:1.5px solid var(--frame);border-radius:10px}html[data-theme] .peach .play-card-art,html[data-theme] .play-setup-intro.peach{background:var(--peach)}html[data-theme] .lilac .play-card-art,html[data-theme] .play-setup-intro.lilac{background:var(--lavender)}html[data-theme] .blue .play-card-art,html[data-theme] .play-setup-intro.blue{background:var(--sky)}html[data-theme] .yellow .play-card-art,html[data-theme] .play-setup-intro.yellow{background:var(--sand)}html[data-theme] .play-card-art img{filter:none}html[data-theme] .play-number{display:grid;place-items:center;left:9px;top:9px;width:26px;height:26px;border-radius:50%;background:var(--seal);color:var(--seal-ink);font:700 10px/1 var(--font-body);opacity:1}html[data-theme] .play-arrow{display:grid;place-items:center;border:0;border-radius:50%;background:var(--frame-strong);color:var(--paper);font-size:14px}html[data-theme] .play-card-meta{border-top:1.5px dashed var(--line)}html[data-theme] .play-new{background:var(--seal);color:var(--seal-ink);border-radius:3px}@media(hover:hover)and (pointer:fine){html[data-theme] .play-card:hover{transform:translate(-2px,-3px);border-color:var(--frame-strong);box-shadow:8px 8px 0 var(--offset)}html[data-theme] .play-card:hover .play-arrow{background:var(--accent)}}html[data-theme] .daily-stars .is-on{color:var(--accent)}html[data-theme] .daily-progress li{border:1.5px solid var(--frame);border-radius:999px}html[data-theme] .daily-progress .is-current span{background:var(--frame-strong);color:var(--paper)}html[data-theme] .daily-progress .is-right span{background:var(--seal);color:var(--seal-ink)}html[data-theme] :is(.panel,.explore-controls){border:1.5px solid var(--frame);border-radius:var(--radius);box-shadow:none}html[data-theme] :is(.play-question,.play-setup,.lesson-content){border:1.5px solid var(--frame);border-radius:var(--radius);box-shadow:5px 5px 0 var(--offset)}html[data-theme] .play-question{border-top-width:1.5px;outline:1.5px dashed var(--line);outline-offset:-9px}html[data-theme] .play-question .eyebrow:before,html[data-theme] .play-question .eyebrow:after{content:"\2726";margin:0 .7em;font-size:8px;vertical-align:1px}html[data-theme] .play-setup-intro{background:var(--sage);border-right:1.5px solid var(--frame)}html[data-theme] :is(.play-setup-intro img,.play-setup-intro){filter:none}html[data-theme] .play-scoreboard{background:var(--surface);border:1.5px solid var(--frame);border-radius:999px;box-shadow:0 6px 18px #0b122214;padding-inline:28px}html[data-theme] .play-scoreboard small{color:var(--accent);font-weight:700;letter-spacing:.12em}html[data-theme] .play-scoreboard strong{font-family:var(--font-display);font-weight:400}html[data-theme] .play-time-track{background:var(--line)}html[data-theme] :is(.play-result-hero){background:none}html[data-theme] .play-results-stats{background:var(--surface);border:1.5px solid var(--frame);border-radius:var(--radius);box-shadow:5px 5px 0 var(--offset)}html[data-theme] .play-results-stats strong{font-family:var(--font-display);font-weight:400;color:var(--accent)}html[data-theme] .play-paper-link{border:1.5px dashed var(--frame);border-radius:var(--radius);background:transparent}html[data-theme] :is(.journey-module,.lesson-card,.journey-recommendation,.hub-card,.theme-card,.achievement,.example,.tip-box,.context-box){border-radius:var(--radius-sm)}html[data-theme] .lesson-state{border-radius:50%}html[data-theme] .lesson-state.is-done{background:var(--seal);border-color:var(--seal);color:var(--seal-ink)}html[data-theme] .lesson-reader{border-top:0}html[data-theme] :is(.karuta-card,.play-choice){position:relative;background:var(--surface);color:var(--ink);border:1.5px solid var(--accent);border-radius:10px;outline:1px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:-6px;box-shadow:3px 3px 0 var(--offset)}html[data-theme] .karuta-card small{color:var(--accent);font-weight:700}html[data-theme] :is(.karuta-card,.play-choice):hover:not(:disabled){border-color:var(--accent-hover)}html[data-theme] :is(.karuta-card,.play-choice):focus-visible{outline:2.5px solid var(--frame-strong);outline-offset:3px}html[data-theme] :is(.karuta-card,.daily-choice).is-right{background:var(--success-bg);border-color:var(--success);outline-color:color-mix(in srgb,var(--success) 55%,transparent)}html[data-theme] :is(.karuta-card,.daily-choice).is-wrong{background:var(--accent-soft)}html[data-theme] .karuta-card.is-right:after,html[data-theme] .play-feedback.correct:after{content:"\25ce";color:var(--accent);font-weight:700}html[data-theme] .karuta-card.is-right:after{position:absolute;right:8px;top:4px;font-size:22px;line-height:1}html[data-theme] .daily-choice.play-choice{outline:0;border-color:var(--frame);box-shadow:none}html[data-theme] .play-feedback{background:var(--accent-soft);border:1.5px solid var(--frame);border-left:5px solid var(--accent);border-radius:10px}html[data-theme] .play-feedback.correct{background:var(--success-bg);border-left-color:var(--success)}html[data-theme] .feedback{border-radius:10px}html[data-theme] .btn{border-radius:999px;font-weight:650;min-height:48px;padding-inline:22px}html[data-theme] .btn-primary{background:var(--button-bg);border:1.5px solid var(--button-bg);color:var(--button-ink);box-shadow:3px 3px 0 var(--accent)}html[data-theme] .btn-primary:hover:not(:disabled){background:var(--button-bg);border-color:var(--button-bg);box-shadow:4px 5px 0 var(--accent)}html[data-theme] .btn-primary:active:not(:disabled){translate:2px 2px;box-shadow:1px 1px 0 var(--accent)}html[data-theme] .btn-primary .icon{width:22px;height:22px;padding:4px;border-radius:50%;background:var(--seal);color:var(--seal-ink)}html[data-theme] .btn-ghost{background:transparent;border:1.5px solid var(--frame);color:var(--ink)}html[data-theme] .btn-ghost:hover:not(:disabled){background:var(--surface-soft);border-color:var(--frame-strong)}html[data-theme] .account-provider{background:var(--surface);border:1.5px solid var(--frame);color:var(--ink)}html[data-theme] .account-provider:hover{background:var(--surface-soft);border-color:var(--frame-strong)}html[data-theme] .text-input{background:var(--surface);border:1.5px solid var(--frame);border-radius:10px}html[data-theme] .text-input:focus{border-color:var(--frame-strong);box-shadow:0 0 0 4px var(--accent-soft)}html[data-theme] :is(.chip,.segmented){border-radius:999px}html[data-theme] .kana-mode{border:1.5px solid var(--frame);border-radius:50%;background:var(--surface);color:var(--accent)}html[data-theme] .toast{background:var(--button-bg);color:var(--button-ink);border:0;border-radius:999px;box-shadow:3px 3px 0 var(--accent)}.jp-font-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-top:18px}.jp-font-option{position:relative;display:grid;gap:6px;padding:16px 16px 14px;border:1.5px solid var(--frame);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer}.jp-font-option input{position:absolute;opacity:0;pointer-events:none}.jp-font-sample{font-size:26px;line-height:1.5;color:var(--ink)}.jp-font-option strong{font-size:14px}.jp-font-option small{font-size:12px;line-height:1.6;color:var(--muted)}.jp-font-option:has(input:checked){border-color:var(--accent);box-shadow:3px 3px 0 var(--accent)}.jp-font-option:has(input:checked):after{content:"\25ce";position:absolute;top:8px;right:12px;color:var(--accent);font-size:20px}.jp-font-option:has(input:focus-visible){outline:2.5px solid var(--frame-strong);outline-offset:3px}@media(prefers-reduced-motion:no-preference){html:not([data-motion=paused]) .karuta-card.is-right:after{animation:stamp-in .5s cubic-bezier(.34,1.4,.64,1) both}html:not([data-motion=paused]) .jp-font-option{transition:transform .25s var(--ease-out, ease),box-shadow .25s var(--ease-out, ease),border-color .2s}html:not([data-motion=paused]) .jp-font-option:active{transform:scale(.98)}}@keyframes stamp-in{0%{opacity:0;scale:1.8}60%{opacity:1}to{opacity:.9;scale:1}}@media(max-width:820px){html[data-theme] .play-scoreboard{border-radius:18px}}@media(max-width:600px){html[data-theme] .play-card{box-shadow:4px 4px 0 var(--offset)}html[data-theme] .play-scoreboard{padding-inline:16px}html[data-theme] .play-question{outline-offset:-7px}.jp-font-options,.jp-font-option{grid-template-columns:1fr}html[data-theme] .toast{border-radius:16px}}html[data-jp-font] :is(.play-page,.lesson-game,.practice-session) :is([lang=ja],.play-prompt,.play-choice,.karuta-card,.shiritori-kana,.quiz-character){font-family:var(--font-game-jp, var(--font-jp-serif))}:root{--seigaiha: url(/assets/img/wagara/seigaiha.svg);--asanoha: url(/assets/img/wagara/asanoha.svg);--shippo: url(/assets/img/wagara/shippo.svg);--kikko: url(/assets/img/wagara/kikko.svg);--uroko: url(/assets/img/wagara/uroko.svg);--ichimatsu: url(/assets/img/wagara/ichimatsu.svg);--sakura: url(/assets/img/wagara/sakura.svg)}:root[data-theme=dojo]{--pattern-soft: var(--pattern);--pattern-page: .025;--pattern-art: .12;--pattern-strip: .22;--sidebar-pattern: .1;--sky-top: #fcf5e8;--sky-bottom: #efe1c5;--sky-glow: #f8d6c0;--sun: #b5342a;--sun-light: #db5c43;--sun-glow: #b5342a33;--wave: #1f3150;--wave-alpha: .4;--kasumi: #fff8ea;--kasumi-alpha: .95;--yama-far: #373a34;--yama-near: #34362f;--yama-ridge: #30352e;--yama-water: #777664;--yama-tree: #34362f;--yama-tree-alpha: 1}:root[data-theme=arcade]{--pattern-soft: #8ea6dc;--pattern-page: .03;--pattern-art: .07;--pattern-strip: .11;--sidebar-pattern: .06;--sky-top: #1f3159;--sky-bottom: #0e1730;--sky-glow: #3a5288;--sun: #ecdcae;--sun-light: #fffbef;--sun-glow: #f3d99055;--wave: #e4b65e;--wave-alpha: .38;--kasumi: #f0cd84;--kasumi-alpha: .3;--yama-far: #8ea6dc;--yama-near: #b2c4ee;--yama-ridge: #b7c8ee;--yama-water: #9fb0d6;--yama-tree: #c3d3f5;--yama-tree-alpha: .85}html[data-theme] body:before{content:"";display:block;position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--pattern-soft);opacity:var(--pattern-page);-webkit-mask:var(--seigaiha) 0 0 / 56px 28px;mask:var(--seigaiha) 0 0 / 56px 28px}html[data-theme] .sidebar:after{content:"";position:absolute;inset:0;pointer-events:none;background:var(--ai-pattern);opacity:var(--sidebar-pattern);-webkit-mask:var(--asanoha) 0 0 / 34px 58.9px,linear-gradient(to top,#000 8%,transparent 78%);-webkit-mask-composite:source-in;mask:var(--asanoha) 0 0 / 34px 58.9px,linear-gradient(to top,#000 8%,transparent 78%);mask-composite:intersect}html[data-theme] .play-hero:after,html[data-theme] .app-footer:before{content:"";position:absolute;left:0;right:0;height:16px;pointer-events:none;background:var(--pattern);opacity:var(--pattern-strip);-webkit-mask:var(--seigaiha) 0 0 / 32px 16px repeat-x,linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);-webkit-mask-composite:source-in;mask:var(--seigaiha) 0 0 / 32px 16px repeat-x,linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-composite:intersect}html[data-theme] .play-hero:after{bottom:0}html[data-theme] .app-footer:before{top:-21px;opacity:calc(var(--pattern-strip) * .75)}html[data-theme] .play-hero{position:relative;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;min-height:0;padding:26px 0 60px;margin-bottom:0;border-bottom:0;background:none}html[data-theme] .world-label{gap:0;padding:0 12px 0 0;color:var(--paper);background:var(--frame-strong);border-radius:4px;font-size:10px;letter-spacing:.14em;line-height:28px}html[data-theme] .world-label-mark{display:grid;place-items:center;width:28px;height:28px;margin-right:11px;padding:0;border:0;border-radius:4px 0 0 4px;rotate:0deg;background:var(--seal);color:var(--seal-ink);font-family:var(--font-jp-serif)}html[data-theme] .play-hero h1{font-size:clamp(44px,4.4vw,64px);line-height:1.06;margin:28px 0 26px}html[data-theme] .play-hero h1 .hero-line{display:block;width:fit-content}html[data-theme] .play-hero h1 em{position:relative;color:var(--accent);font-style:normal}html[data-theme] .play-hero h1 em:after{content:"";position:absolute;display:block;left:.03em;right:12%;bottom:-.1em;width:auto;height:.12em;margin:0;background:linear-gradient(90deg,var(--accent) 50%,transparent);opacity:.5;border-radius:60% 30% 70% 20%/70% 40% 60% 30%;rotate:-1.3deg;transform-origin:left center}html[data-theme] .play-hero-copy>p{max-width:36ch;font-size:16px}html[data-theme] .play-hero-foot{border-left-color:var(--accent)}html[data-theme] .play-hero-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;gap:14px}html[data-theme] .book-scene{position:relative;display:block;width:min(100%,460px);height:auto;aspect-ratio:1}.hero-window{position:absolute;left:9%;right:9%;top:4%;aspect-ratio:1;z-index:1;border-radius:50%;box-shadow:0 0 0 1.5px var(--frame),0 0 0 8px var(--surface),0 0 0 9.5px var(--frame),13px 13px 0 9.5px var(--offset)}.hero-view{position:absolute;inset:0;overflow:hidden;border-radius:50%;clip-path:circle(50%);background:radial-gradient(circle at 65% 26%,var(--sky-glow),transparent 44%),linear-gradient(var(--sky-top),var(--sky-bottom))}.hero-view>*{position:absolute}.hero-yama,.hero-birds{inset:0;width:100%;height:100%}.yama-far{stop-color:var(--yama-far)}.yama-near{stop-color:var(--yama-near)}.yama-ridge{fill:var(--yama-ridge)}.yama-water{stroke:var(--yama-water)}.yama-tree{opacity:var(--yama-tree-alpha)}.yama-tree path{stroke:var(--yama-tree)}.yama-tree use{fill:var(--yama-tree)}.hero-birds path{stroke:var(--yama-ridge);stroke-width:1.8;stroke-linecap:round;opacity:.8;transform-box:fill-box;transform-origin:center}.hero-sun{left:56.8%;top:17.5%;width:17.3%;aspect-ratio:1}.hero-sun:before,.hero-sun:after{content:"";position:absolute}.hero-sun:before{inset:0;border-radius:49% 51% 47% 53%/52% 47% 53% 48%;background:radial-gradient(circle at 36% 33%,var(--sun-light),var(--sun) 66%)}.hero-sun:after{inset:-55%;z-index:-1;border-radius:50%;background:radial-gradient(circle,var(--sun-glow) 0,transparent 66%)}html[data-theme=arcade] .hero-sun:before{background:radial-gradient(circle at 64% 36%,#c9b47f55 0 9%,transparent 10%),radial-gradient(circle at 40% 64%,#c9b47f44 0 7%,transparent 8%),radial-gradient(circle at 63% 70%,#c9b47f3a 0 5%,transparent 6%),radial-gradient(circle at 36% 33%,var(--sun-light),var(--sun) 66%)}.hero-stars{inset:0;display:none}html[data-theme=arcade] .hero-stars{display:block}.hero-stars i{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff6dc;box-shadow:0 0 6px 1px #fff1c4aa}.hero-stars i:nth-child(1){left:17%;top:16.5%}.hero-stars i:nth-child(2){left:23%;top:12%;scale:.7}.hero-stars i:nth-child(3){left:84%;top:16%}.hero-stars i:nth-child(4){left:89%;top:24%;scale:.8}.hero-stars i:nth-child(5){left:11.5%;top:27%;scale:.65}.hero-stars i:nth-child(6){left:78%;top:9.5%}.hero-stars i:nth-child(7){left:40%;top:8%;scale:.7}.hero-kasumi{left:-12%;top:54%;width:66%;height:11%;background:radial-gradient(closest-side,var(--kasumi),color-mix(in srgb,var(--kasumi) 55%,transparent) 45%,transparent);opacity:var(--kasumi-alpha)}.hero-kasumi+.hero-kasumi{left:46%;top:65%;width:70%;height:9%}.hero-waves{left:-10%;right:-10%;bottom:0;height:24%;background:var(--wave);opacity:var(--wave-alpha);-webkit-mask:var(--seigaiha) 0 0 / 34px 17px,linear-gradient(transparent,#000 60%);-webkit-mask-composite:source-in;mask:var(--seigaiha) 0 0 / 34px 17px,linear-gradient(transparent,#000 60%);mask-composite:intersect}.hero-badge{display:none}html[data-theme] .hero-badge{display:grid;place-items:center;position:absolute;left:-1%;top:0;width:25%;aspect-ratio:1;z-index:3;container-type:inline-size;border-radius:50%;background:var(--surface);box-shadow:0 0 0 1.5px var(--frame),4px 4px 0 var(--offset);color:var(--ink);pointer-events:none}.hero-badge svg{position:absolute;inset:6%;width:88%;height:88%;overflow:visible}.hero-badge text{font:700 9.4px/1 DM Sans,sans-serif;letter-spacing:.22em;fill:currentColor}.hero-badge b{font:600 22cqi/1 var(--font-jp-serif);color:var(--accent)}html[data-theme] .book-vertical{right:0;top:2%;z-index:2;font-size:clamp(15px,1.6vw,21px)}html[data-theme] .book-seal{top:auto;right:1.5%;bottom:10%;z-index:2;padding:8px 5px;border:0;border-radius:3px;background:var(--seal);color:var(--seal-ink);outline:1.5px solid var(--seal);outline-offset:2.5px;rotate:-5deg;font-size:clamp(13px,1.4vw,17px)}html[data-theme] .play-art-caption{position:static;font-family:var(--font-jp-serif);font-size:13px;letter-spacing:.2em;color:var(--muted);text-align:center;background:none;padding:0}html[data-theme] .play-art-caption small{font-family:var(--font-body);font-size:10px;letter-spacing:.04em;margin-top:6px}.hero-petals{display:none}.hero-petals i{position:absolute;top:-7%;left:var(--x);width:var(--s, 12px);aspect-ratio:18 / 26;opacity:0;perspective:60px}.hero-petals i:before{content:"";position:absolute;inset:0;background:linear-gradient(160deg,#ffeef0,#f7bcc7 58%,#e9909f);-webkit-mask:var(--sakura) center / contain no-repeat;mask:var(--sakura) center / contain no-repeat}.hero-petals i:nth-child(1){--x: 70%;--s: 13px;--d: 13s;--delay: -1s;--spin: 2.4s}.hero-petals i:nth-child(2){--x: 88%;--s: 10px;--d: 15s;--delay: -6s;--spin: 3.1s}.hero-petals i:nth-child(3){--x: 46%;--s: 14px;--d: 12s;--delay: -9s;--spin: 2.8s}.hero-petals i:nth-child(4){--x: 96%;--s: 11px;--d: 16s;--delay: -12s;--spin: 2.2s}.hero-petals i:nth-child(5){--x: 60%;--s: 9px;--d: 14s;--delay: -4s;--spin: 3.4s}.hero-petals i:nth-child(6){--x: 30%;--s: 12px;--d: 17s;--delay: -14s;--spin: 2.7s}.hero-petals i:nth-child(7){--x: 80%;--s: 15px;--d: 11s;--delay: -7.5s;--spin: 2.5s}.hero-petals i:nth-child(8){--x: 54%;--s: 10px;--d: 15.5s;--delay: -10.5s;--spin: 3s}html[data-theme] .play-daily{position:relative;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"cal date go" "cal copy go";column-gap:26px;row-gap:6px;align-items:center;margin:30px 0 48px;padding:14px 30px 14px 14px;background:var(--surface);border:1.5px solid var(--frame);border-radius:var(--radius);box-shadow:5px 5px 0 var(--offset)}html[data-theme] .play-daily.is-done{background:var(--surface)}html[data-theme] .daily-cal{grid-area:cal;position:relative;display:grid;justify-items:center;align-content:start;width:86px;padding-bottom:10px;overflow:hidden;background:var(--paper);border:1.5px solid var(--frame);border-radius:6px;box-shadow:3px 3px 0 var(--offset);transform-origin:50% 0}html[data-theme] .daily-cal:before{content:"";position:absolute;left:50%;top:4px;width:30px;height:5px;translate:-50% 0;background:radial-gradient(circle,var(--paper) 1.7px,transparent 2.2px) 0 0 / 10px 5px repeat-x}html[data-theme] .daily-cal-month{justify-self:stretch;padding:12px 0 5px;background:var(--seal);color:var(--seal-ink);font:700 10px/1 var(--font-body);letter-spacing:.2em;text-align:center;text-transform:uppercase}html[data-theme] .daily-cal b{margin-top:7px;font:400 40px/1 var(--font-display);color:var(--ink)}html[data-theme] .daily-cal-weekday{margin-top:5px;font:600 11px/1 var(--font-jp-serif);letter-spacing:.12em;color:var(--accent)}html[data-theme] .play-daily.is-done .daily-cal:after{content:"\6e08";position:absolute;left:50%;top:58%;translate:-50% -50%;display:grid;place-items:center;width:48px;height:48px;border:2px solid var(--accent);border-radius:50%;background:color-mix(in srgb,var(--paper) 50%,transparent);color:var(--accent);font:700 22px/1 var(--font-jp-serif);rotate:-14deg;opacity:.9}html[data-theme] .play-daily-date{grid-area:date;display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;align-self:end;padding:0;border:0}html[data-theme] .play-daily-date small{padding:4px 8px;border-radius:3px;background:var(--seal);color:var(--seal-ink);font-size:9px;letter-spacing:.14em}html[data-theme] .play-daily-date strong{font:400 15px/1.3 var(--font-display);color:var(--muted)}html[data-theme] .play-daily-copy{grid-area:copy;align-self:start}html[data-theme] .play-daily-copy strong{font:400 23px/1.3 var(--font-display)}html[data-theme] .play-daily-go{grid-area:go;gap:10px;padding:11px 14px 11px 20px;border:1.5px solid var(--frame);border-radius:999px;background:var(--paper);color:var(--accent);white-space:nowrap}html[data-theme] .play-daily-go .icon{width:16px;height:16px}html[data-theme] .play-card-art{position:relative;isolation:isolate;overflow:hidden}html[data-theme] .play-card-art:before{content:"";position:absolute;inset:-14px;z-index:-1;background:var(--pattern);opacity:calc(var(--pattern-art) * var(--pattern-art-solid, 1));-webkit-mask:var(--art-pattern, var(--seigaiha)) 0 0 / var(--art-size, 40px 20px);mask:var(--art-pattern, var(--seigaiha)) 0 0 / var(--art-size, 40px 20px)}html[data-theme] .play-grid>:nth-child(6n+2) .play-card-art{--art-pattern: var(--asanoha);--art-size: 30px 51.96px}html[data-theme] .play-grid>:nth-child(6n+3) .play-card-art{--art-pattern: var(--shippo);--art-size: 26px 26px}html[data-theme] .play-grid>:nth-child(6n+4) .play-card-art{--art-pattern: var(--kikko);--art-size: 28.87px 50px}html[data-theme] .play-grid>:nth-child(6n+5) .play-card-art{--art-pattern: var(--uroko);--art-size: 18px 31.18px;--pattern-art-solid: .6}html[data-theme] .play-grid>:nth-child(6n) .play-card-art{--art-pattern: var(--ichimatsu);--art-size: 14px 14px;--pattern-art-solid: .55}html[data-theme] .play-setup-intro{position:relative;isolation:isolate}html[data-theme] .play-setup-intro:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--pattern);opacity:var(--pattern-art);-webkit-mask:var(--seigaiha) 0 100% / 44px 22px,linear-gradient(transparent 40%,#000);-webkit-mask-composite:source-in;mask:var(--seigaiha) 0 100% / 44px 22px,linear-gradient(transparent 40%,#000);mask-composite:intersect}@media(min-width:601px){html[data-theme] .play-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}html[data-theme] .play-card{display:flex;flex-direction:column}html[data-theme] .play-card .play-card-art{flex:none;height:172px;margin:9px 9px 0}html[data-theme] .play-card .play-card-art img{width:118px;height:118px}html[data-theme] .play-card-copy{flex:1;padding:18px 22px 20px}html[data-theme] .play-card h3{margin:6px 0 10px}}@media(min-width:1180px){html[data-theme] .play-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}html[data-theme] .play-bottom{align-items:stretch;gap:22px;margin:44px 0 22px}html[data-theme] .play-paper-link{gap:18px;padding:22px 24px;background:var(--surface)}html[data-theme] .play-paper-link>.icon{flex:none;width:46px;height:46px;padding:12px;border-radius:50%;background:var(--seal);color:var(--seal-ink)}html[data-theme] .play-small-note{display:flex;flex-direction:column;justify-content:center;padding:22px 26px;border:1.5px solid var(--frame);border-radius:var(--radius);background:var(--surface);box-shadow:5px 5px 0 var(--offset)}html[data-theme] .play-small-note strong{font:400 19px/1.3 var(--font-display)}html[data-theme] .play-small-note a{align-self:flex-start}html[data-theme] .theme-preview.dojo{background-color:#f3ead7;color:#b5342a;border-color:#d6c8ab}html[data-theme] .theme-preview.arcade{background-color:#111a2c;color:#ef6d4f;border-color:#2f3d5b}html[data-theme] .theme-preview.arcade>small{background:#111a2cdf}html[data-theme-reveal]::view-transition-old(root),html[data-theme-reveal]::view-transition-new(root){animation:none;mix-blend-mode:normal}@media(prefers-reduced-motion:no-preference){html:not([data-motion=paused]) .play-hero :is(.world-label,.hero-line,.play-hero-copy>p,.play-actions,.play-hero-foot){animation:rise-in .9s var(--ease-out) both}html:not([data-motion=paused]) .play-hero .hero-line{animation-delay:.1s}html:not([data-motion=paused]) .play-hero em.hero-line{animation-delay:.22s}html:not([data-motion=paused]) .play-hero h1 em:after{animation:brush-draw 1s var(--ease-out) .7s both}html:not([data-motion=paused]) .play-hero-copy>p{animation-delay:.34s}html:not([data-motion=paused]) .play-hero .play-actions{animation-delay:.44s}html:not([data-motion=paused]) .play-hero-foot{animation-delay:.54s}html:not([data-motion=paused]) .hero-window{animation:window-open 1.2s var(--ease-out) .05s both}html:not([data-motion=paused]) .hero-sun{animation:sun-rise 1.8s var(--ease-out) .35s both,sun-breathe 9s ease-in-out 2.2s infinite}html:not([data-motion=paused]) .hero-sun:after{animation:sun-glow 6s ease-in-out infinite}html:not([data-motion=paused]) .hero-stars i{animation:twinkle 3.6s ease-in-out infinite}html:not([data-motion=paused]) .hero-stars i:nth-child(2n){animation-duration:4.8s;animation-delay:-1.7s}html:not([data-motion=paused]) .hero-stars i:nth-child(3n){animation-duration:2.9s;animation-delay:-.8s}html:not([data-motion=paused]) .hero-kasumi{animation:kasumi-drift 21s ease-in-out infinite alternate}html:not([data-motion=paused]) .hero-kasumi+.hero-kasumi{animation-duration:27s;animation-direction:alternate-reverse}html:not([data-motion=paused]) .hero-birds{animation:birds-drift 18s ease-in-out infinite alternate}html:not([data-motion=paused]) .hero-birds path{animation:bird-flap 1.5s ease-in-out infinite alternate}html:not([data-motion=paused]) .hero-birds path+path{animation-duration:1.2s;animation-delay:-.4s}html:not([data-motion=paused]) .hero-waves{animation:waves-roll 9s linear infinite}html:not([data-motion=paused]) .hero-badge{animation:badge-arrive 1.1s var(--ease-spring) .5s both}html:not([data-motion=paused]) .hero-badge svg{animation:badge-turn 48s linear infinite}html:not([data-motion=paused]) .book-vertical{animation:ink-write 1.6s var(--ease-out) .8s both}html:not([data-motion=paused]) .book-seal{animation:seal-stamp .55s var(--ease-spring) 1.5s both}html:not([data-motion=paused]) .play-art-caption{animation:rise-in 1s var(--ease-out) 1.2s both}html:not([data-motion=paused]) .hero-petals{display:block;position:absolute;inset:-6% 0 0;z-index:4;overflow:hidden;pointer-events:none}html:not([data-motion=paused]) .hero-petals i{animation:petal-fall var(--d) linear var(--delay) infinite}html:not([data-motion=paused]) .hero-petals i:before{animation:petal-flutter var(--spin) ease-in-out infinite alternate}html:not([data-motion=paused]) :is(.hero-sun,.hero-kasumi,.hero-birds,.hero-waves,.hero-petals i,.hero-badge svg){will-change:transform}html:not([data-motion=paused]) .play-daily.is-done .daily-cal:after{animation:seal-stamp .5s var(--ease-spring) .3s both}html:not([data-motion=paused]) .daily-cal{transition:transform .5s var(--ease-out)}html:not([data-motion=paused]) .play-daily-go .icon{transition:translate .3s var(--ease-out)}html:not([data-motion=paused]) .play-card-art:before{transition:transform .8s var(--ease-out)}html:not([data-motion=paused]) #theme-toggle>span{display:inline-block;animation:toggle-pop .6s var(--ease-spring) both}@media(hover:hover)and (pointer:fine){html:not([data-motion=paused]) .play-daily:hover .daily-cal{transform:perspective(420px) rotateX(-18deg)}html:not([data-motion=paused]) .play-daily:hover .play-daily-go .icon{translate:4px 0}html:not([data-motion=paused]) .play-card:hover .play-card-art:before{transform:translate(10px,-8px) scale(1.06)}}@supports (animation-timeline: view()){html:not([data-motion=paused]) :is(.play-grid>.play-card,.play-bottom>*,.play-games .play-section-title){animation:reveal-up linear both;animation-timeline:view();animation-range:entry 0% entry 75%}}}@keyframes rise-in{0%{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}@keyframes brush-draw{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes window-open{0%{opacity:0;scale:.9;rotate:-6deg}to{opacity:1;scale:1;rotate:0deg}}@keyframes sun-rise{0%{opacity:0;translate:0 90%}to{opacity:1;translate:0 0}}@keyframes sun-breathe{0%,to{scale:1}50%{scale:1.04}}@keyframes sun-glow{0%,to{opacity:.65;scale:.92}50%{opacity:1;scale:1.08}}@keyframes twinkle{0%,to{opacity:.35}50%{opacity:1}}@keyframes kasumi-drift{0%{translate:-5% 0}to{translate:6% 0}}@keyframes birds-drift{0%{translate:0 0}to{translate:-7% -3%}}@keyframes bird-flap{0%{scale:1 1}to{scale:.92 .45}}@keyframes waves-roll{to{translate:34px 0}}@keyframes badge-arrive{0%{opacity:0;scale:.6;rotate:-90deg}to{opacity:1;scale:1;rotate:0deg}}@keyframes badge-turn{to{transform:rotate(360deg)}}@keyframes ink-write{0%{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}@keyframes seal-stamp{0%{opacity:0;scale:1.9}65%{opacity:1;scale:.94}to{opacity:1;scale:1}}@keyframes petal-fall{0%{opacity:0;transform:translate(0) rotate(0)}8%{opacity:.95}35%{transform:translate(-46px,150px) rotate(90deg)}65%{transform:translate(-12px,290px) rotate(170deg)}88%{opacity:.9}to{opacity:0;transform:translate(-96px,450px) rotate(260deg)}}@keyframes petal-flutter{0%{transform:rotateX(0) rotateY(15deg)}to{transform:rotateX(70deg) rotateY(-35deg) rotate(30deg)}}@keyframes toggle-pop{0%{opacity:0;scale:.4;rotate:-100deg}to{opacity:1;scale:1;rotate:0deg}}@keyframes reveal-up{0%{opacity:0;translate:0 36px;scale:.97}to{opacity:1;translate:0 0;scale:1}}@media(max-width:1100px){html[data-theme] .play-hero{gap:20px}html[data-theme] .play-hero h1{font-size:clamp(40px,4.6vw,52px)}}@media(max-width:820px){html[data-theme] .play-hero{grid-template-columns:minmax(0,1fr) minmax(0,.92fr)}html[data-theme] .play-hero h1{font-size:44px}}@media(max-width:600px){html[data-theme] .play-hero{grid-template-columns:1fr;gap:0;padding:4px 0 40px}html[data-theme] .play-hero h1{font-size:clamp(30px,8.8vw,36px);margin:16px 0 12px}html[data-theme] .play-hero-copy>p{font-size:15px;line-height:1.6}html[data-theme] .play-hero .play-actions{gap:10px 18px;margin-top:20px}html[data-theme] .play-hero-foot{margin-top:18px}html[data-theme] .play-hero-art{gap:10px;margin-top:24px}html[data-theme] .book-scene{width:min(100%,280px);height:auto;max-width:none;aspect-ratio:1 / .92}.hero-window{left:7%;right:14%;top:5%}html[data-theme] .play-art-caption{font-size:12px}html[data-theme] .play-daily{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"cal date" "cal copy" "cal go";column-gap:14px;row-gap:4px;align-items:start;padding:12px;margin:20px 0 32px}html[data-theme] .daily-cal{width:62px;padding-bottom:8px}html[data-theme] .daily-cal-month{padding:10px 0 4px}html[data-theme] .daily-cal b{margin-top:5px;font-size:28px}html[data-theme] .daily-cal-weekday{margin-top:4px;font-size:10px}html[data-theme] .play-daily-date{align-self:start}html[data-theme] .play-daily-date strong{font-size:14px}html[data-theme] .play-daily-copy strong{font-size:16px}html[data-theme] .play-daily-copy>span{font-size:13px}html[data-theme] .play-daily-go{justify-self:start;margin-top:6px;padding:7px 12px 7px 14px;font-size:13px}}html[data-theme] :is(.step-label,.journey-total,.exercise-item>span){color:var(--muted)}html[data-theme] .lesson-body{color:var(--muted)}html[data-theme] .tip-box>.icon{color:var(--kin)}html[data-theme] .empty-symbol{color:var(--subtle)}html[data-theme] .progress-overview>.jp{color:var(--accent)}html[data-theme] .detail-character{color:var(--ink)}html[data-theme] .kana-cell.is-mastered:after{background:var(--success)}html[data-theme] .goal-option:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}html[data-theme] .switch>span:not(.sr-only){background:color-mix(in srgb,var(--ink) 26%,transparent)}html[data-theme] .switch>span:not(.sr-only):after{background:var(--seal-ink)}html[data-theme] .switch input:checked+span{background:var(--seal)}html[data-theme] .skip-link{background:var(--button-bg);color:var(--button-ink)}html[data-theme] .lesson-state{background:var(--surface-soft);border-color:var(--line)}html[data-theme=dojo] .caution-pill{color:#6f5418}html[data-theme=dojo] :is(.play-setup-intro .eyebrow,.kana-row.is-selected .kana-cell,.worksheet-char[aria-pressed=true]){color:var(--accent-hover)}@media print{html[data-theme] body:before,.hero-petals{display:none!important}}:root{--line-start: #b5342a;--line-hiragana: #2f6b4f;--line-katakana: #6a4c93;--line-kanji: #9a7020;--line-sentences: #1f5f8b;--line-particles: #b8572a;--line-everyday: #2b7a72;--line-numbers: #66731c;--line-casual: #8d3a68}:root[data-theme=arcade]{--line-start: #ef6d4f;--line-hiragana: #74c29a;--line-katakana: #b49be0;--line-kanji: #e4b65e;--line-sentences: #79b4e0;--line-particles: #f0955f;--line-everyday: #6cc9bc;--line-numbers: #c5d16e;--line-casual: #e08bb9}.line-start{--line: var(--line-start)}.line-hiragana{--line: var(--line-hiragana)}.line-katakana{--line: var(--line-katakana)}.line-kanji{--line: var(--line-kanji)}.line-sentences{--line: var(--line-sentences)}.line-particles{--line: var(--line-particles)}.line-everyday{--line: var(--line-everyday)}.line-numbers{--line: var(--line-numbers)}.line-casual{--line: var(--line-casual)}:root{--line-hiragana-plus: var(--line-hiragana);--line-meet: var(--line-sentences);--line-around: var(--line-particles);--line-world: var(--line-katakana);--line-time: var(--line-kanji);--line-places: var(--line-everyday);--line-routine: var(--line-start);--line-describe: var(--line-sentences);--line-likes: var(--line-casual);--line-past: var(--line-katakana);--line-counting: var(--line-numbers);--line-te-form: var(--line-particles);--line-curious: var(--line-sentences)}.line-hiragana-plus{--line: var(--line-hiragana-plus)}.line-meet{--line: var(--line-meet)}.line-around{--line: var(--line-around)}.line-world{--line: var(--line-world)}.line-time{--line: var(--line-time)}.line-places{--line: var(--line-places)}.line-routine{--line: var(--line-routine)}.line-describe{--line: var(--line-describe)}.line-likes{--line: var(--line-likes)}.line-past{--line: var(--line-past)}.line-counting{--line: var(--line-counting)}.line-te-form{--line: var(--line-te-form)}.line-curious{--line: var(--line-curious)}.trail-page{display:grid;gap:22px}.trail-page>.page-heading{margin-bottom:0}html[data-theme] .trail-next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"mark copy action" "progress progress progress";align-items:center;gap:18px 24px;padding:26px 28px;box-shadow:5px 5px 0 var(--offset)}.trail-next-mark{grid-area:mark;display:grid;place-items:center;width:76px;height:76px;border-radius:50%;border:1.5px solid var(--frame);font-family:var(--font-jp-serif);font-size:40px;line-height:1}.trail-next-copy{grid-area:copy;min-width:0}.trail-next-copy h2{font-size:clamp(22px,2.4vw,30px);line-height:1.15;margin:6px 0}.trail-next-copy>p:not(.eyebrow){color:var(--muted);line-height:1.55}.trail-next>.btn{grid-area:action}.trail-next-progress{grid-area:progress;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding-top:16px;border-top:1.5px dashed var(--line);font-size:13px;color:var(--muted)}.trail-next-progress strong{color:var(--ink)}.trail-chips{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:10px;padding:0;list-style:none;font-size:12px;color:var(--muted)}.trail-chips>span{display:inline-flex;align-items:center;gap:5px}.trail-chips .icon{width:14px;height:14px;flex-basis:14px}html[data-theme] .trail-banner{display:flex;align-items:center;gap:18px;margin:0 0 18px;padding:18px 22px;text-decoration:none;color:var(--ink);background:var(--surface);border:1.5px solid var(--frame);border-left:6px solid var(--line);border-radius:var(--radius);box-shadow:3px 3px 0 var(--offset)}.trail-banner .trail-next-mark{width:58px;height:58px;font-size:30px;flex:0 0 auto}.trail-banner-copy{display:grid;gap:3px;flex:1;min-width:0}.trail-banner-copy strong{font-family:var(--font-display);font-size:22px;font-weight:400;line-height:1.2}.trail-banner-copy small{color:var(--muted);font-size:13px;line-height:1.45}.trail-banner-count{display:grid;justify-items:center;font-size:12px;color:var(--muted)}.trail-banner-count strong{font-family:var(--font-display);font-size:26px;font-weight:400;color:var(--line);line-height:1}.trail-banner:hover .next-stop-go{transform:translate(2px)}.trail-map{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(104px,1fr);gap:0;overflow-x:auto;padding:6px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:thin}.trail-map-stop{position:relative;display:grid;justify-items:center;gap:6px;padding:0 6px;text-align:center;text-decoration:none;color:var(--ink);scroll-snap-align:start}.trail-map-stop:before{content:"";position:absolute;top:22px;left:0;right:0;height:4px;background:var(--line);opacity:.35;z-index:0}.trail-map-stop:first-child:before{left:50%}.trail-map-stop:last-child:before{right:50%}.trail-map-dot{position:relative;z-index:1;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--surface);border:3px solid var(--line);font-family:var(--font-jp-serif);font-size:21px;color:var(--line);transition:transform .2s ease}.trail-map-dot .icon{width:20px;height:20px}.trail-map-stop.is-done .trail-map-dot{background:var(--line);color:var(--paper)}.trail-map-stop.is-current .trail-map-dot{box-shadow:0 0 0 5px color-mix(in srgb,var(--line) 22%,transparent)}.trail-map-label{font-size:12px;font-weight:650;line-height:1.25}.trail-map-stop small{font-size:11px;color:var(--muted)}.trail-map-stop:hover .trail-map-dot{transform:translateY(-2px)}.trail-map-stop:focus-visible{outline:2.5px solid var(--frame-strong, var(--ink));outline-offset:2px;border-radius:10px}.trail-placement{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.trail-placement>.icon{width:16px;height:16px;color:var(--kin, var(--accent))}.trail-stations{display:grid;gap:16px}html[data-theme] .trail-station{background:var(--surface);border:1.5px solid var(--frame);border-left:6px solid var(--line);border-radius:var(--radius);overflow:hidden}.trail-station>summary{list-style:none;display:flex;align-items:center;gap:18px;padding:20px 24px;cursor:pointer}.trail-station>summary::-webkit-details-marker{display:none}.trail-station>summary>.icon{flex:0 0 18px;width:18px;color:var(--muted);transition:transform .2s ease}.trail-station[open]>summary>.icon{transform:rotate(180deg)}.trail-station-copy{flex:1;min-width:0}.trail-station-copy h2{font-size:21px;margin:4px 0}.trail-station-copy>p{color:var(--muted);font-size:13px;line-height:1.5}.trail-station-copy .pill{margin-left:8px;vertical-align:middle;letter-spacing:0}.trail-outcome{display:flex;gap:6px;align-items:flex-start;margin-top:6px;color:var(--ink)!important}.trail-outcome .icon{flex:0 0 15px;width:15px;height:15px;margin-top:2px;color:var(--line)}.trail-station-count{font-size:13px;color:var(--muted);white-space:nowrap}.trail-station-count strong{font-family:var(--font-display);font-size:24px;font-weight:400;color:var(--line)}.trail-line{position:relative;margin:0;padding:4px 24px 22px;list-style:none}.trail-line:before{content:"";position:absolute;top:0;bottom:34px;left:47px;width:5px;border-radius:3px;background:var(--line);opacity:.3}.trail-stop{position:relative}html[data-theme] .trail-line .lesson-row{display:flex;align-items:center;gap:16px;padding:10px 10px 10px 0;border:0;border-radius:12px;color:var(--ink);text-decoration:none;background:transparent}html[data-theme] .trail-line .lesson-row:hover{background:color-mix(in srgb,var(--line) 7%,transparent)}.trail-line .lesson-row>.icon{flex:0 0 16px;width:16px;color:var(--muted);margin-left:auto}.trail-node{position:relative;z-index:1;flex:0 0 auto;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:var(--surface);border:4px solid var(--line);font-size:13px;font-weight:750;color:var(--line);font-variant-numeric:tabular-nums}.trail-node .icon{width:22px;height:22px;stroke-width:2.4}.trail-stop.is-done .trail-node{background:var(--line);color:var(--paper)}.trail-stop.is-next .trail-node{width:58px;height:58px;margin-inline:-4px;box-shadow:0 0 0 6px color-mix(in srgb,var(--line) 22%,transparent)}.trail-stop-copy{display:grid;gap:3px;min-width:0}.trail-stop-copy>strong{font-size:15px;font-weight:650;line-height:1.35}.trail-stop-copy>small{font-size:13px;color:var(--muted);line-height:1.45}.trail-stop-copy .trail-chips{margin-top:2px;gap:4px 8px;font-size:11px}.trail-stop-copy .trail-chips>span{display:inline-flex;align-items:center;gap:4px}html[data-theme] .here-pill{margin-left:8px;background:var(--line);color:var(--paper);border:0;font-size:10px;letter-spacing:.04em;vertical-align:2px}html:not([data-motion=paused]) .trail-stop.is-next .trail-node{animation:trail-pulse 2.4s ease-in-out infinite}@keyframes trail-pulse{50%{box-shadow:0 0 0 11px color-mix(in srgb,var(--line) 8%,transparent)}}.lesson-body{display:grid;gap:12px;margin:14px 0 4px;font-size:16px;line-height:1.7;color:var(--ink)}.lesson-body p{margin:0}.lesson-body ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.lesson-body li{position:relative;padding-left:22px}.lesson-body li:before{content:"\25c6";position:absolute;left:2px;top:.1em;color:var(--accent);font-size:11px}.lesson-body+.examples-grid,.lesson-body+.kana-tiles{margin-top:20px}html[data-theme] .examples-grid.is-compact{grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr))}.lesson-intro{display:grid;gap:20px}.lesson-intro-top{display:flex;align-items:center;gap:20px}html[data-theme] .lesson-intro-mark{flex:0 0 auto;display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:var(--seal);color:var(--seal-ink);font-family:var(--font-jp-serif);font-size:50px;line-height:1;box-shadow:3px 3px 0 var(--offset)}.lesson-intro-top h2{margin-top:6px;font-size:clamp(20px,2.4vw,26px);line-height:1.3}.lesson-plan{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}html[data-theme] .lesson-plan li{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1.5px dashed var(--line);border-radius:12px;font-size:13px;line-height:1.45;color:var(--muted)}.lesson-plan li strong{display:block;color:var(--ink);font-size:14px}.lesson-plan .icon{flex:0 0 20px;width:20px;height:20px;color:var(--accent);margin-top:1px}.lesson-goal{font-size:15px;line-height:1.6}.lesson-goal strong{color:var(--accent)}.kana-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px;margin-top:22px}html[data-theme] .kana-tile{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;padding:14px;background:var(--surface);border:1.5px solid var(--frame);border-radius:14px;box-shadow:3px 3px 0 var(--offset)}html[data-theme] .kana-tile-char{position:relative;display:grid;place-items:center;width:88px;height:96px;border:1.5px solid var(--accent);border-radius:10px;outline:1px solid color-mix(in srgb,var(--accent) 45%,transparent);outline-offset:-6px;background:var(--paper);color:var(--ink);cursor:pointer}.kana-tile-char .jp{font-family:var(--font-game-jp, var(--font-jp-serif));font-size:54px;line-height:1}.kana-tile-speaker{position:absolute;right:5px;bottom:4px;color:var(--accent)}.kana-tile-speaker .icon{width:14px;height:14px}.kana-tile-char:hover{border-color:var(--accent-hover)}.kana-tile-char:focus-visible{outline:2.5px solid var(--frame-strong, var(--ink));outline-offset:3px}.kana-tile-char.is-playing{background:var(--accent-soft)}.kana-tile-body{display:grid;gap:8px;min-width:0}.kana-tile-sound{display:grid;gap:2px;font-size:13px;color:var(--muted);line-height:1.4}.kana-tile-sound strong{font-family:var(--font-display);font-size:26px;font-weight:400;color:var(--ink);line-height:1.1}html[data-theme] .kana-tile-reveal{justify-self:start;min-height:32px;padding:4px 12px;border:1.5px dashed var(--accent);border-radius:999px;background:transparent;color:var(--accent);font-weight:650;cursor:pointer}.kana-tile-hint{font-size:13px;line-height:1.5}.kana-tile-hint>span{display:block;margin-bottom:2px;font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--kin, var(--accent))}.kana-tile-write{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:650;color:var(--accent);text-decoration:none}.kana-tile-write .icon{width:13px;height:13px}html[data-theme] .maru-tip{display:flex;gap:12px;align-items:flex-start;margin-top:22px}.maru-tip>img{flex:0 0 34px;margin-top:2px}html[data-theme] .maru-tip>div{position:relative;flex:1;padding:12px 16px;background:var(--accent-soft);border:1.5px solid var(--frame);border-radius:4px 14px 14px;font-size:14px;line-height:1.55}.maru-tip strong{display:block;margin-bottom:2px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}.maru-tip p{margin:0}html[data-theme] .lesson-recap{margin-top:24px;padding:18px 20px;background:var(--paper);border:1.5px solid var(--frame);border-radius:12px;outline:1.5px dashed var(--line);outline-offset:-7px}.lesson-recap ul{display:grid;gap:8px;margin:10px 0 0;padding:0;list-style:none;counter-reset:recap}.lesson-recap li{position:relative;padding-left:32px;font-size:15px;line-height:1.5;counter-increment:recap}html[data-theme] .lesson-recap li:before{content:counter(recap);position:absolute;left:0;top:0;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--seal);color:var(--seal-ink);font-size:12px;font-weight:750}html[data-theme] .next-stop{display:flex;align-items:center;gap:16px;width:min(100%,520px);margin:22px auto 0;padding:16px 18px;text-align:left;text-decoration:none;color:var(--ink);background:var(--surface);border:1.5px solid var(--frame);border-radius:14px;box-shadow:4px 4px 0 var(--accent)}.next-stop-copy{display:grid;gap:3px;flex:1;min-width:0}.next-stop-copy strong{font-size:17px}.next-stop-copy small{color:var(--muted);font-size:13px;line-height:1.45}html[data-theme] .next-stop-go{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:var(--button-bg);color:var(--button-ink)}.next-stop:hover .next-stop-go{transform:translate(2px)}.completion-actions{flex-wrap:wrap;justify-content:center}html[data-theme] .video-panel{display:grid;gap:12px;padding:18px;background:var(--paper);border:1.5px solid var(--frame);border-radius:14px}.video-panel-head h3{margin-top:4px;font-size:18px}.video-stage{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:center}html[data-theme] .video-poster,.video-frame{position:relative;display:block;width:100%;aspect-ratio:16 / 9;overflow:hidden;border:1.5px solid var(--frame);border-radius:10px;background:#0b1222;padding:0;cursor:pointer}.video-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s var(--ease-out, ease)}.video-poster:hover img{transform:scale(1.03)}html[data-theme] .video-play{position:absolute;left:50%;top:50%;translate:-50% -50%;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--seal);color:var(--seal-ink);box-shadow:3px 3px #0b122266}.video-play .icon{width:24px;height:24px;fill:currentColor;margin-left:3px}.video-length{position:absolute;right:8px;bottom:8px;padding:2px 7px;border-radius:6px;background:#0b1222cc;color:#fff;font-size:11px;font-weight:650}.video-poster:focus-visible{outline:2.5px solid var(--frame-strong, var(--ink));outline-offset:3px}.video-frame{cursor:auto}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.video-stage:has(.video-frame){grid-template-columns:minmax(0,1fr)}.video-caption{display:grid;gap:4px;min-width:0}.video-caption strong{font-size:16px;line-height:1.35}.video-caption span{font-size:13px;color:var(--muted)}.video-caption a{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:650;color:var(--accent)}.video-caption a .icon{width:13px;height:13px}.video-more>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);cursor:pointer}.video-more>summary::-webkit-details-marker{display:none}.video-more>summary .icon{width:14px;height:14px;transition:transform .2s ease}.video-more[open]>summary .icon{transform:rotate(180deg)}.video-more[open]>summary{margin-bottom:6px}.video-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:8px;margin:0;padding:0;list-style:none}html[data-theme] .video-option{display:flex;align-items:center;gap:10px;width:100%;min-height:64px;padding:6px;text-align:left;background:var(--surface);color:var(--ink);border:1.5px solid var(--line);border-radius:10px;cursor:pointer}.video-option:hover{border-color:var(--accent)}.video-option[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.video-option img{flex:0 0 auto;width:84px;height:47px;object-fit:cover;border-radius:6px}.video-option span{display:grid;gap:2px;min-width:0}.video-option strong{font-size:13px;line-height:1.3}.video-option small{font-size:11px;color:var(--muted)}.video-credit{font-size:11px;color:var(--muted);line-height:1.5}.video-lessons-player{margin:22px 0}.video-channels h2,.video-modules{margin-top:8px}.video-channels ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:12px;margin:12px 0 24px;padding:0;list-style:none}.video-channels li{display:grid;gap:6px;align-content:start;padding:16px}.video-channels li .pill{justify-self:start}.video-channels li p{font-size:13px;color:var(--muted);line-height:1.5}.video-modules{display:grid;gap:12px;margin-bottom:24px}.video-module>summary{list-style:none;display:flex;align-items:center;gap:14px;padding:16px 18px;cursor:pointer}.video-module>summary::-webkit-details-marker{display:none}.video-module>summary>span:nth-child(2){display:grid;gap:2px;flex:1}.video-module>summary small{color:var(--muted)}.video-module[open]>summary>.icon{transform:rotate(180deg)}.video-lesson-group{padding:0 18px 18px}.video-lesson-group-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;margin-bottom:8px}.video-lesson-group-head h3{font-size:15px}.renda-how{display:grid;gap:6px;margin:16px 0 0;padding-left:20px;text-align:left;font-size:14px;line-height:1.5}#renda-range-field:not([hidden]){display:contents}.renda-from{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:var(--accent-soft);font-size:13px;line-height:1.5}.renda-from .icon{flex:0 0 16px;width:16px;height:16px;margin-top:2px;color:var(--accent)}html[data-theme] .renda-stage{display:grid;justify-items:center;gap:18px;margin-top:18px;padding:26px 22px;background:var(--surface);border:1.5px solid var(--frame);border-radius:var(--radius);box-shadow:5px 5px 0 var(--offset);outline:1.5px dashed var(--line);outline-offset:-9px;text-align:center}.renda-prompt{display:grid;justify-items:center;gap:6px;min-height:140px;align-content:center}.renda-prompt.is-glyph span{font-family:var(--font-game-jp, var(--font-jp-serif));font-size:clamp(92px,16vw,132px);line-height:1}.renda-prompt.is-text span{font-family:var(--font-display);font-size:clamp(40px,7vw,60px);line-height:1.1}.renda-prompt small{font-size:15px;color:var(--muted)}.renda-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,560px)}html[data-theme] .renda-choice{position:relative;display:grid;place-items:center;align-content:center;gap:2px;min-height:92px;padding:14px 10px;background:var(--surface);color:var(--ink);border:1.5px solid var(--accent);border-radius:12px;outline:1px solid color-mix(in srgb,var(--accent) 50%,transparent);outline-offset:-6px;box-shadow:3px 3px 0 var(--offset);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.renda-choice kbd{position:absolute;left:10px;top:7px;font:700 10px var(--font-body);color:var(--accent);background:none;border:0}.renda-choice-main{font-size:26px;font-weight:650;line-height:1.15;overflow-wrap:anywhere}.renda-choice-main[lang=ja]{font-family:var(--font-game-jp, var(--font-jp-serif));font-size:44px;font-weight:400}.renda-choice small{font-size:12px;color:var(--muted)}.kazu-session .renda-prompt.is-glyph span{font-size:clamp(48px,13vw,96px);text-align:center}.kazu-session .renda-prompt.is-text span{font-size:clamp(24px,6vw,40px);text-align:center}.kazu-session .renda-choice-main[lang=ja]{font-size:clamp(17px,4.6vw,26px);line-height:1.3;text-align:center}.kazu-session .renda-choice-main[lang=pt]{font-size:clamp(14px,3.8vw,18px);line-height:1.3;text-align:center}html[data-theme] .renda-choice:hover:not(:disabled){border-color:var(--accent-hover)}html[data-theme] .renda-choice:focus-visible{outline:2.5px solid var(--frame-strong, var(--ink));outline-offset:3px}html[data-theme] .renda-choice:disabled{cursor:default}html[data-theme] .renda-choice.is-right{background:var(--success-bg);border-color:var(--success);outline-color:color-mix(in srgb,var(--success) 55%,transparent)}html[data-theme] .renda-choice.is-right:after{content:"\25ce";position:absolute;right:9px;top:5px;color:var(--accent);font-size:22px;font-weight:700;line-height:1}html[data-theme] .renda-choice.is-wrong{background:var(--accent-soft)}.renda-choice.is-out{opacity:.45}html:not([data-motion=paused]) .renda-choice{transition:transform .18s var(--ease-out, ease),background-color .15s ease,opacity .2s ease}html:not([data-motion=paused]) .renda-choice:active:not(:disabled){transform:scale(.96)}html:not([data-motion=paused]) .renda-choice.is-wrong{animation:renda-shake .32s ease}@keyframes renda-shake{25%{translate:-5px 0}75%{translate:5px 0}}.renda-feedback{width:min(100%,560px);min-height:34px;text-align:left}.renda-hit{display:flex;justify-content:center;align-items:center;gap:6px;color:var(--success);font-weight:750}.renda-hit .icon{width:18px;height:18px}.renda-feedback .play-feedback{display:grid;gap:10px;padding:14px 16px}.renda-hint{font-size:14px;line-height:1.5}.renda-hint>span{display:block;margin-bottom:2px;font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--kin, var(--accent))}.renda-answer{display:flex;align-items:center;justify-content:space-between;gap:10px}.renda-feedback .play-feedback .btn{justify-self:start;margin-top:4px}.renda-answer .audio-button{flex:0 0 auto;margin-top:0}.renda-review ul{display:grid;gap:10px;margin:12px 0 0;padding:0;list-style:none}.renda-review li{display:flex;align-items:center;gap:14px;padding-top:10px;border-top:1px dashed var(--line)}.renda-review li>span:nth-child(2){display:grid;gap:2px;flex:1;min-width:0}.renda-review small{color:var(--muted);font-size:12px;line-height:1.45}.renda-review-char{flex:0 0 auto;font-size:34px;line-height:1;width:48px;text-align:center}html[data-theme] .renda-review{padding:20px;margin-bottom:12px}@media(min-width:601px){html[data-theme] .play-card.is-featured{grid-column:1 / -1;flex-direction:row;align-items:stretch}html[data-theme] .play-card.is-featured .play-card-art{flex:0 0 min(42%,400px);height:auto;min-height:200px;margin:9px 0 9px 9px}html[data-theme] .play-card.is-featured .play-card-copy{justify-content:center;padding:26px 32px}html[data-theme] .play-card.is-featured h3{font-size:clamp(24px,2.6vw,32px)}html[data-theme] .play-card.is-featured p{font-size:15px;max-width:46ch}}@media(max-width:820px){.lesson-plan,.video-stage{grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){.trail-page{gap:16px}html[data-theme] .trail-next{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"mark copy" "action action" "progress progress";padding:18px 16px;gap:14px}.trail-next-mark{width:54px;height:54px;font-size:28px}.trail-next>.btn{width:100%;justify-content:center}.trail-next-progress{grid-template-columns:minmax(0,1fr);gap:8px}html[data-theme] .trail-banner{gap:12px;padding:14px}.trail-banner .trail-next-mark{width:46px;height:46px;font-size:24px}.trail-banner-count{display:none}.trail-banner-copy strong{font-size:18px}.trail-map{grid-auto-columns:92px;margin-inline:-16px;padding-inline:16px}.trail-station>summary{gap:12px;padding:16px 14px;align-items:flex-start}.trail-station-copy h2{font-size:18px}.trail-station-count strong{font-size:20px}html[data-theme] .trail-station .hanko{display:none}.trail-line{padding:2px 10px 16px}.trail-line:before{left:29px}.trail-node{width:42px;height:42px;border-width:3px;font-size:12px}.trail-stop.is-next .trail-node{width:48px;height:48px;margin-inline:-3px}html[data-theme] .trail-line .lesson-row{gap:12px;padding:8px 4px 8px 0}.trail-stop-copy>strong{font-size:14px}.trail-stop-copy>small{font-size:12px}html[data-theme] .here-pill{display:inline-flex;margin:4px 0 0}.lesson-body{font-size:15px}.lesson-intro-top{gap:14px}html[data-theme] .lesson-intro-mark{width:64px;height:64px;font-size:34px}html[data-theme] .kana-tile{grid-template-columns:76px minmax(0,1fr);padding:12px;gap:12px}html[data-theme] .kana-tile-char{width:76px;height:84px}.kana-tile-char .jp{font-size:46px}html[data-theme] .video-panel,html[data-theme] .next-stop{padding:14px}html[data-theme] .renda-stage{padding:20px 16px;gap:14px}.renda-prompt{min-height:116px}.renda-choices{gap:10px}html[data-theme] .renda-choice{min-height:84px}.renda-choice-main[lang=ja]{font-size:40px}.renda-choice-main{font-size:22px}}@media(max-width:600px){html[data-theme] .play-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html[data-theme] .play-card,html[data-theme] .play-card:nth-child(n){display:flex;flex-direction:column;grid-column:auto}html[data-theme] .play-card .play-card-art{flex:none;height:92px;margin:6px 6px 0}html[data-theme] .play-card .play-card-art img,html[data-theme] .play-card:nth-child(n+4) .play-card-art img{width:66px;height:66px}html[data-theme] .play-arrow{top:5px;bottom:auto}html[data-theme] .play-card-copy{flex:1;padding:9px 10px 11px}html[data-theme] .play-subtitle{font-size:10px;line-height:1.3}html[data-theme] .play-card h3{margin:3px 0 4px;font-size:15px}html[data-theme] .play-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px;font-size:12px;line-height:1.4}html[data-theme] .play-card-meta{padding-top:6px;font-size:10px}html[data-theme] .play-card.is-featured{grid-column:1 / -1;flex-direction:row}html[data-theme] .play-card.is-featured .play-card-art{flex:0 0 38%;height:auto;min-height:120px;margin:6px 0 6px 6px}html[data-theme] .play-card.is-featured .play-card-copy{justify-content:center;padding:12px 14px}html[data-theme] .play-card.is-featured p{-webkit-line-clamp:3}.trail-stations{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trail-station[open]{grid-column:1 / -1}html[data-theme] .trail-station:not([open]){border-left-width:1.5px;border-top:5px solid var(--line)}.trail-station:not([open])>summary{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"symbol count" "copy copy";align-items:center;gap:8px;padding:12px}.trail-station:not([open])>summary>.module-symbol{grid-area:symbol}.trail-station:not([open]) .trail-station-count{grid-area:count;justify-self:end}.trail-station:not([open]) .trail-station-copy{grid-area:copy}.trail-station:not([open]) .trail-station-copy h2{font-size:15px;margin:2px 0 0}.trail-station:not([open]) .trail-station-copy>p,.trail-station:not([open]) .trail-station-copy .pill,.trail-station:not([open])>summary>.icon{display:none}.trail-map{grid-auto-flow:row;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 4px;overflow:visible;margin-inline:0;padding:4px 0}.trail-map-stop{padding:0 2px}.trail-map-stop:before{display:none}.trail-map-dot{width:40px;height:40px;font-size:18px;border-width:2.5px}.trail-map-label{font-size:10.5px}.trail-line{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:2px 10px 14px}.trail-line:before{display:none}html[data-theme] .trail-line .lesson-row{position:relative;flex-direction:column;align-items:flex-start;gap:6px;height:100%;padding:10px;background:var(--paper);border:1.5px solid var(--line);border-top-width:4px;border-radius:10px}html[data-theme] .trail-line .lesson-row:hover{background:var(--paper)}.trail-line .lesson-row>.icon{display:none}.trail-node,.trail-stop.is-next .trail-node{width:32px;height:32px;margin:0;border-width:2.5px;font-size:11px}.trail-node .icon{width:16px;height:16px}html[data-theme] .trail-stop.is-next .lesson-row{background:color-mix(in srgb,var(--line) 10%,var(--paper));box-shadow:3px 3px 0 var(--offset)}.trail-stop-copy>strong{font-size:13px;line-height:1.3}.trail-stop-copy>small{display:none}.trail-stop-copy .trail-chips{gap:2px 6px;font-size:10px}html[data-theme] .here-pill{position:absolute;top:12px;right:8px;margin:0;font-size:9px;padding:3px 6px}.lesson-plan{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}html[data-theme] .lesson-plan li{flex-direction:column;gap:6px;padding:10px 8px;font-size:11px}.lesson-plan li strong{font-size:12px}.kana-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html[data-theme] .kana-tile{grid-template-columns:minmax(0,1fr);padding:8px;gap:8px;box-shadow:2px 2px 0 var(--offset)}html[data-theme] .kana-tile-char{width:100%;height:78px}.kana-tile-char .jp{font-size:46px}.kana-tile-sound{gap:0;font-size:11px}.kana-tile-sound strong{font-size:22px}.kana-tile-hint{font-size:12px;line-height:1.45}.kana-tile-hint>span{font-size:9px}.hub-grid,.hub-section:first-child .hub-grid,.practice-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html[data-theme] .hub-card{padding:12px}html[data-theme] .hub-card-symbol{width:34px;height:34px;margin-bottom:8px}html[data-theme] :is(.hub-card h2,.hub-card h3){font-size:14px;line-height:1.3;margin-bottom:4px}html[data-theme] .hub-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:8px;font-size:12px;line-height:1.45}html[data-theme] .hub-card-action{margin-top:auto;padding-top:8px;font-size:12px;width:100%}html[data-theme] .play-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html[data-theme] .play-progress-card{display:flex;flex-direction:column;padding:12px}html[data-theme] .play-progress-card:has(details[open]){grid-column:1 / -1}html[data-theme] .play-progress-card>div{grid-template-columns:minmax(0,1fr);row-gap:4px}html[data-theme] .play-progress-card img{grid-row:auto;width:44px;height:44px}html[data-theme] .play-progress-card h2{font-size:15px;line-height:1.25}html[data-theme] .play-progress-card>div>span{font-size:11px;line-height:1.4}html[data-theme] .play-progress-card details{padding:4px 0;font-size:12px}html[data-theme] .play-progress-card summary{min-height:40px;font-size:12px}html[data-theme] .play-progress-card>.text-link{margin-top:auto}.video-list,.video-channels ul{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] .video-option{flex-direction:column;align-items:stretch;gap:6px;min-height:0;height:100%}.video-option img{width:100%;height:auto;aspect-ratio:16 / 9}.video-option strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12px}.video-channels li{padding:12px}.video-channels li p{font-size:12px}.video-lesson-group{padding:0 12px 14px}}html[data-theme] .worksheet-print-bar{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom));z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:8px 8px 8px 18px;background:var(--surface);border:1.5px solid var(--frame);border-radius:999px;box-shadow:0 10px 26px #0b122230,3px 3px 0 var(--offset)}.worksheet-print-status{font-size:13px;color:var(--muted);line-height:1.4}.worksheet-print-bar .btn{flex:0 0 auto}html[data-theme] .worksheet-toolbar{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.worksheet-family-picker{display:none}html[data-theme] .worksheet-family{display:grid;place-items:center;align-content:center;gap:1px;aspect-ratio:1;padding:0;background:var(--paper);color:var(--ink);border:1.5px solid var(--line);border-radius:10px;cursor:pointer}.worksheet-family .jp{font-family:var(--font-jp-serif);font-size:24px;line-height:1}.worksheet-family small{font-size:9px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}html[data-theme] .worksheet-family[aria-pressed=true]{background:var(--seal);border-color:var(--seal);color:var(--seal-ink);box-shadow:2px 2px 0 var(--offset)}.worksheet-family[aria-pressed=true] small{color:var(--seal-ink)}.worksheet-family:focus-visible{outline:2.5px solid var(--frame-strong, var(--ink));outline-offset:2px}@media(max-width:600px){html[data-theme] .worksheet-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding:14px;margin-bottom:14px}html[data-theme] .worksheet-toolbar label{margin-bottom:4px;font-size:12px}html[data-theme] .worksheet-toolbar select{min-width:0;min-height:46px;padding-inline:10px 28px;text-overflow:ellipsis}html[data-theme] #worksheet-family-control{display:none}.worksheet-family-picker:not([hidden]){grid-column:1 / -1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}html[data-theme] .worksheet-selection{display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:6px;padding:10px;margin:12px 0;max-height:220px}html[data-theme] .worksheet-selection .worksheet-char{width:100%;height:46px}.worksheets-page .play-paused-note,.worksheets-page .tip-box{font-size:12px}html[data-theme] .worksheet-print-bar{gap:8px;padding:8px 8px 8px 14px;border-radius:18px}.worksheet-print-status{font-size:12px}html[data-theme] .worksheet-print-bar .btn{min-height:46px;padding-inline:16px;font-size:14px}}@media(prefers-reduced-motion:reduce){.trail-stop.is-next .trail-node,.renda-choice.is-wrong{animation:none!important}}@media print{.video-panel,.trail-map{display:none!important}}.trail-map-stop.is-locked,.trail-map-stop.is-soon{color:var(--muted)}.trail-map-stop.is-locked .trail-map-dot,.trail-map-stop.is-soon .trail-map-dot{border-style:dashed;color:var(--muted)}.trail-map-stop.is-locked .trail-map-dot .icon{width:18px;height:18px}.trail-station.is-locked .module-symbol .icon{width:20px;height:20px}.trail-station .pill .icon{width:10px;height:10px}html[data-theme] .trail-stop.is-locked .lesson-row{color:var(--muted);cursor:default}html[data-theme] .trail-stop.is-locked .lesson-row:hover{background:transparent}.trail-stop.is-locked .trail-node{border-style:dashed;color:var(--muted)}.trail-checkpoint .trail-stop-copy>strong{letter-spacing:.02em}.trail-locked-note,.trail-soon{display:flex;align-items:flex-start;gap:10px;margin:4px 0 14px;padding:12px 14px;border:1.5px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px;line-height:1.6}.trail-locked-note .icon{flex:0 0 16px;width:16px;height:16px;margin-top:2px}.trail-extras{margin-top:40px}.trail-extras>h2{font-family:var(--font-display);font-size:clamp(20px,2.4vw,26px);line-height:1.4}.trail-extras>p{margin:6px 0 18px;color:var(--muted);font-size:14px;line-height:1.7}.trail-locked,.checkpoint-intro,.checkpoint-result{max-width:720px;padding:clamp(22px,4vw,36px)}.trail-locked h1,.checkpoint-intro h1,.checkpoint-result h1{font-family:var(--font-display);font-size:clamp(26px,4vw,36px);line-height:1.35;margin:8px 0 14px}.trail-locked>p:not(.eyebrow),.checkpoint-intro>p:not(.eyebrow),.checkpoint-result>p:not(.eyebrow){color:var(--muted);font-size:15px;line-height:1.8;margin:12px 0}.trail-locked-mark{display:grid;place-items:center;width:52px;height:52px;margin-bottom:14px;border:2px dashed var(--line);border-radius:50%;color:var(--muted)}.trail-locked-mark .icon{width:24px;height:24px}html[data-theme] .checkpoint-result>p.checkpoint-score{color:var(--ink);font-size:clamp(22px,3vw,28px)}.checkpoint-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:12px;background:var(--surface-soft);color:var(--ink);font-size:14px;line-height:1.7}.checkpoint-note .icon{flex:0 0 18px;width:18px;height:18px;margin-top:3px}.checkpoint-note.is-critical{border:1.5px solid var(--accent)}.checkpoint-note .text-link{font-size:12px}html[data-theme] .lesson-reader [data-lesson-tutor]{margin-top:16px;padding:0;background:none;border:0;box-shadow:none}html[data-theme] [data-lesson-active]>[data-lesson-tutor]{grid-column:1 / -1}[data-lesson-tutor] .concept-help{margin:0}[data-lesson-tutor] summary+p{margin:8px 0 14px;line-height:1.6}[data-lesson-tutor] textarea{min-height:96px;margin:8px 0 12px;resize:vertical}[data-lesson-tutor] [role=status]:not(:empty){margin-top:14px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;line-height:1.8}.sentence-ai{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}.sentence-ai input{width:20px;height:20px;margin:0;accent-color:var(--accent)}.sentence-ai-note{margin:0 0 18px}.card-more>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:13px;font-weight:700;color:var(--accent);cursor:pointer}.card-more>summary::-webkit-details-marker{display:none}.card-more>summary .icon{width:15px;height:15px;transition:transform .2s ease}.card-more[open]>summary .icon{transform:rotate(180deg)}.card-more-body{display:grid;gap:12px}.card-more-body>:is(.btn,button){justify-self:start}.card-more-body>.example,.card-more-body>.context-box,.card-more-body>.library-example{margin:0}.card-more{align-self:stretch}.concept-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer}.concept-card>summary::-webkit-details-marker{display:none}.concept-card>summary h2{margin:0}.concept-card>summary .icon{flex:0 0 16px;width:16px;height:16px;color:var(--muted);transition:transform .2s ease}.concept-card[open]>summary{margin-bottom:12px}.concept-card[open]>summary .icon{transform:rotate(180deg)}@media(max-width:600px){html[data-theme] .only-wide{display:none!important}html[data-theme] :is(.page-heading,.play-heading) .eyebrow{display:none}html[data-theme] .page-heading{margin-bottom:16px;padding-bottom:14px}html[data-theme] .page-heading h1{margin-top:0}html[data-theme] .art-credit{display:none}html[data-theme] .play-hero{min-height:0;padding-bottom:8px}html[data-theme] :is(.play-hero-art,.play-hero-foot,.play-hero .world-label){display:none}html[data-theme] .play-hero h1{margin-top:4px}html[data-theme] :is(.play-section-title>.play-tag,.play-paper-link,.play-paused-note){display:none}html[data-theme] .play-section-title{padding-top:22px}html[data-theme] .play-card:not(.is-featured) :is(p,.play-card-meta){display:none}html[data-theme] .play-card.is-featured .play-card-meta{display:none}html[data-theme] .play-card:not(.is-featured) .play-card-art{height:84px}html[data-theme] .play-card h3{margin-bottom:0}html[data-theme] .play-bottom{margin-top:20px}html[data-theme] .trail-map,html[data-theme] .chip-extra,html[data-theme] .trail-station-subtitle{display:none}html[data-theme] .trail-next-copy>p:not(.eyebrow):not(.trail-chips){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}html[data-theme] .trail-next-copy .trail-chips{margin-top:6px}html[data-theme] .trail-placement{margin:0;font-size:13px}html[data-theme] .trail-outcome{margin-top:6px;font-size:13px}html[data-theme] :is(.lesson-plan,.lesson-controls>.small.muted,.video-panel-head .eyebrow){display:none}html[data-theme] .lesson-controls{justify-content:space-between}html[data-theme] .lesson-controls.align-end,html[data-theme] .lesson-intro .lesson-controls{justify-content:flex-end}html[data-theme] .video-panel-head h3{margin-top:0;font-size:16px}html[data-theme] .video-credit{font-size:10.5px}html[data-theme] .lesson-goal{font-size:14px}html[data-theme] .play-setup-intro p:not(.eyebrow){font-size:13px}html[data-theme] .play-setup-intro .eyebrow{display:none}html[data-theme] .play-setup-form label:first-of-type{margin-top:10px}html[data-theme] .play-progress-card>.text-link{margin-top:auto;padding-top:6px}html[data-theme] :is(.explore-filters,#resource-count,.hub-section-heading p,.hub-card-action){display:none}html[data-theme] .explore-controls{padding:12px}html[data-theme] .explore-search label{display:none}html[data-theme] .explore-results-heading{margin:0;min-height:0}html[data-theme] .hub-section-heading{margin:16px 0 10px}html[data-theme] .hub-card p{-webkit-line-clamp:2;margin-bottom:0}html[data-theme] .hub-card-symbol{margin-bottom:6px}html[data-theme] .reference-banner:has(.btn){padding:0;background:none;border:0;box-shadow:none;margin-bottom:16px}html[data-theme] .reference-banner:has(.btn)>:not(.btn){display:none}html[data-theme] .reference-banner .btn{width:100%;margin:0;justify-content:center}html[data-theme] :is(.vocabulary-grid,.library-grid,.particle-grid,.concept-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}html[data-theme] :is(.word-card,.library-card,.particle-card):has(.card-more[open]),html[data-theme] .concept-card[open]{grid-column:1 / -1}html[data-theme] .expression-grid{gap:10px}html[data-theme] :is(.word-card,.library-card,.expression-card,.particle-card,.concept-card){padding:12px}html[data-theme] .card-more>summary{min-height:36px;margin-top:4px;font-size:12px}html[data-theme] .card-more[open]>summary{margin-bottom:8px}html[data-theme] .card-more-body{gap:10px}html[data-theme] .card-more-body .example{padding:12px}html[data-theme] .card-more-body>.library-example{padding-top:10px}html[data-theme] .word-card .example-art{width:48px;height:48px;padding:4px;margin-bottom:6px}html[data-theme] .word-card-top{align-items:flex-start}html[data-theme] .word-card h2{font-size:22px;line-height:1.5}html[data-theme] .word-card .word-reading{margin:2px 0;font-size:12px;overflow-wrap:anywhere}html[data-theme] .word-card .word-meaning{margin-bottom:0;font-size:14px}html[data-theme] .word-card .audio-button{flex:0 0 auto;width:34px;height:34px}html[data-theme] #word-count{margin:4px 0 10px}html[data-theme] .toolbar{gap:8px;margin-bottom:12px}html[data-theme] .expression-card>.pill{display:none}html[data-theme] .expression-card .example{padding:0;background:none;border:0}html[data-theme] .expression-card .example-line>.jp{font-size:19px}html[data-theme] .filter-chips{gap:6px}html[data-theme] .library-card>.pill{display:none}html[data-theme] .library-card h2{font-size:22px;margin:0}html[data-theme] .library-card>.romaji{margin:0;font-size:12px}html[data-theme] .library-card h3{margin:4px 0 0;font-size:14px}html[data-theme] .library-toolbar{gap:8px 10px}html[data-theme] .particle-card-head{gap:10px}html[data-theme] .particle-symbol{width:44px;height:44px;font-size:26px}html[data-theme] .particle-card-head h2{font-size:14px;line-height:1.3}html[data-theme] .particle-card>p{margin:10px 0 0;font-size:12px;line-height:1.45}html[data-theme] .concept-card h2{font-size:15px}html[data-theme] .concept-card[open]>summary{margin-bottom:8px}html[data-theme] .concept-card p{font-size:14px;line-height:1.6}html[data-theme] .concept-card .concept-example{margin-top:10px;padding-top:10px;font-size:13px}html[data-theme] .kanji-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}html[data-theme] .kanji-card[open]{grid-column:1 / -1}html[data-theme] .kanji-card>summary{padding:10px 6px 8px}html[data-theme] .kanji-card-symbol{font-size:40px;line-height:1.3}html[data-theme] .kanji-card h2{margin:4px 0 2px;font-size:13px}html[data-theme] .kanji-card summary>p{font-size:11px}html[data-theme] .kanji-card summary>.romaji{display:none}html[data-theme] .kanji-expand{margin-top:4px;padding-top:4px;font-size:0;border:0}html[data-theme] .kanji-expand .icon{width:14px;height:14px}html[data-theme] .exercise-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html[data-theme] .exercise-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px}html[data-theme] .exercise-card>p{display:none}html[data-theme] .exercise-card h2{margin:0;font-size:15px;line-height:1.3}html[data-theme] .exercise-card .exercise-symbol{width:40px;height:40px;font-size:22px;margin:0}html[data-theme] .exercise-card .pill{margin:0}html[data-theme] .exercise-card .btn{width:100%;margin-top:auto;padding-inline:10px;justify-content:center;font-size:13px}html[data-theme] .video-channels ul{gap:8px;margin-bottom:18px}html[data-theme] .video-channels li{gap:4px;padding:10px 12px}html[data-theme] .video-channels li strong{font-size:14px;line-height:1.3}html[data-theme] .video-lessons-player{margin:0 0 16px}html[data-theme] .worksheet-selection[data-scope=family]{display:none}html[data-theme] :is(.account-panel>.eyebrow,.theme-card>small,.theme-card-sub,.jp-font-option>small,.about-panel>p.muted,.achievement>small,.stage-seal>small){display:none}html[data-theme] .settings-panel>p.muted{margin-top:0}html[data-theme] .theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html[data-theme] .theme-card{padding:8px}html[data-theme] .theme-preview{min-height:64px}html[data-theme] .theme-preview>small{display:none}html[data-theme] .theme-card strong{margin:8px 0 0;font-size:15px}html[data-theme] .jp-font-options{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] .jp-font-option{padding:10px}html[data-theme] .jp-font-option strong{font-size:13px}html[data-theme] .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] .achievement p{font-size:12px;line-height:1.45}html[data-theme] .stage-seals{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}html[data-theme] .stage-seal{padding:10px 4px}html[data-theme] .stage-seal .hanko{width:38px;height:38px;margin-bottom:6px;font-size:21px}html[data-theme] .stage-seal h3{font-size:clamp(10px,3.1vw,11px);line-height:1.3;overflow-wrap:break-word}html[data-theme] .stage-seal p{font-size:10px}}@media(max-width:600px){html[data-theme] .play-hero+.trail-banner{margin-top:18px}html[data-theme] .trail-banner-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}html[data-theme] .play-section-title .eyebrow{display:none}html[data-theme] .lesson-intro{display:flex;flex-direction:column;gap:16px}html[data-theme] .lesson-intro>.lesson-controls{order:1;margin:0;padding:0;border:0}html[data-theme] .lesson-intro>.video-panel{order:2}html[data-theme] .lesson-intro .step-label{display:none}html[data-theme] .lesson-intro .lesson-controls .btn{width:100%;justify-content:center}html[data-theme] .kana-tile-write{display:none}html[data-theme] .play-question>.play-tag{display:none}html[data-theme] .word-card{position:relative}html[data-theme] .word-card>.example-art{position:absolute;right:10px;bottom:10px;width:40px;height:40px;margin:0;padding:3px}html[data-theme] .word-card:has(.card-more[open])>.example-art{display:none}html[data-theme] :is(.word-card h2,.library-card h2){overflow-wrap:break-word;word-break:keep-all;word-break:auto-phrase}html[data-theme] .word-card-top>h2{flex:1 1 auto;min-width:0}html[data-theme] .expression-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}html[data-theme] .expression-card:has(.card-more[open]){grid-column:1 / -1}html[data-theme] .expression-card .example{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"jp jp" "romaji audio" "pt pt";align-items:center;column-gap:6px}html[data-theme] .expression-card .example-line{display:contents}html[data-theme] .expression-card .example-line>.jp{grid-area:jp;font-size:clamp(12px,3.7vw,17px);line-height:1.6;word-break:keep-all;word-break:auto-phrase;overflow-wrap:break-word}html[data-theme] .expression-card .example-line>.audio-button{grid-area:audio;width:34px;height:34px;margin:0}html[data-theme] .expression-card .romaji{grid-area:romaji;margin:0;font-size:11px;overflow-wrap:anywhere}html[data-theme] .expression-card .translation{grid-area:pt;margin-top:4px;font-size:13px;line-height:1.4}html[data-theme] .expression-card:has(.card-more[open]) .example-line>.jp{font-size:20px}html[data-theme] #expression-filters{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:2px 16px 4px;scrollbar-width:none}html[data-theme] #expression-filters::-webkit-scrollbar{display:none}html[data-theme] #expression-filters .chip{flex:0 0 auto}html[data-theme] .exercise-card .btn{min-height:40px}html[data-theme] .video-channels li .text-link{justify-self:start;font-size:12px}html[data-theme] .account-panel .source-note{display:none}html[data-theme] .account-page .account-panel .source-note{display:block}html[data-theme] .jp-font-sample{font-size:17px;line-height:1.45;word-break:keep-all}html[data-theme] .jp-font-option:has(input:checked):after{top:auto;bottom:8px;right:10px;font-size:16px}html[data-theme] .setting-row p{font-size:12px;line-height:1.5}html[data-theme] .progress-overview dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}html[data-theme] .progress-overview dl>div{gap:8px}html[data-theme] .progress-overview>.jp{display:none}}.mobile-brand,.mobile-nav{display:none}@media(max-width:820px){:root[data-theme]{--mobile-nav-height: 66px;--radius: 14px;--radius-sm: 10px;--frame: color-mix(in srgb, var(--ink) 20%, transparent);--offset: transparent;--pattern-page: .009;--pattern-art: .065}html{scroll-padding-top:76px;scroll-padding-bottom:calc(var(--mobile-nav-height) + 16px + env(safe-area-inset-bottom))}html[data-theme] .app-body{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom))}html[data-theme] .topbar{position:sticky;top:0;z-index:30;flex:0 0 auto;height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));gap:12px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--paper) 94%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}html[data-theme] .topbar-location{gap:8px;min-width:0}html[data-theme] .topbar-location>:is(.topbar-parent,#breadcrumb-divider,#current-location){display:none}html[data-theme] .menu-button{width:40px;height:44px;color:var(--muted)}.mobile-brand{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--ink)}.mobile-brand>span{font-family:var(--font-display);font-size:25px;line-height:1;letter-spacing:-1px}.mobile-brand .brand-period{color:var(--accent)}.mobile-brand img{width:23px;height:23px}html[data-theme] .topbar-stats{gap:6px}html[data-theme] :is(.theme-identity,.topbar-streak,.topbar-divider,.xp-label){display:none}html[data-theme] #theme-toggle{width:44px;height:44px;border:0;background:transparent;font-size:22px}html[data-theme] .topbar-avatar{min-height:36px;height:auto;padding:7px 13px;font-size:12px;line-height:1.4;border:1px solid var(--frame)}html[data-theme] .main-content{max-width:760px;padding:22px max(20px,env(safe-area-inset-right)) 28px max(20px,env(safe-area-inset-left))}.mobile-nav{position:fixed;inset:auto 0 0;z-index:35;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid var(--line);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 -4px 24px #00000006;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;min-width:0;border-radius:12px;color:var(--muted);font-size:10px;font-weight:600;line-height:1.4}.mobile-nav-link .icon{width:20px;height:20px;flex-basis:20px}.mobile-nav-link.is-active{background:var(--accent-soft);color:var(--accent)}.mobile-nav-link:active{background:var(--surface-soft)}.mobile-nav-link:focus-visible{outline-offset:-3px}body:has(.play-session :is(input,textarea):focus) .mobile-nav{display:none}html[data-theme] .toast{bottom:calc(var(--mobile-nav-height) + 12px + env(safe-area-inset-bottom));border-radius:12px;font-size:13px}html[data-theme] .sidebar{width:min(300px,calc(100vw - 48px));padding:max(24px,env(safe-area-inset-top)) 18px max(12px,env(safe-area-inset-bottom))}html[data-theme] .sidebar-brand{padding-bottom:22px;margin-bottom:20px}html[data-theme] .sidebar .nav-link{min-height:48px;padding:12px 14px;font-size:14px}html[data-theme] .sidebar .profile-link{padding-block:16px}html[data-theme] .app-footer{margin-inline:20px;padding:18px 0 22px;gap:8px 12px;border-top:1px solid var(--line);font-size:11px}html[data-theme] .app-footer:before{display:none}html[data-theme] .app-footer>span{font-size:10px;line-height:1.7}html[data-theme] .btn{min-height:44px;padding:10px 16px;border-radius:12px;font-size:13px;line-height:1.4;box-shadow:none}html[data-theme] .btn-primary:hover:not(:disabled){box-shadow:none}html[data-theme] .btn-primary:active:not(:disabled){translate:0 1px;box-shadow:none}html[data-theme] .btn-primary .icon{width:18px;height:18px;flex-basis:18px;padding:0;background:none;color:inherit}html[data-theme] .text-input{min-height:44px;font-size:16px;border-width:1px}html[data-theme] :is(.panel,.play-card,.play-setup,.play-question,.lesson-content,.play-results-stats,.explore-controls){border-width:1px;border-radius:var(--radius);box-shadow:none}html[data-theme] .worksheet-preview{position:relative;min-width:0}}@media(max-width:600px){html[data-theme] .main-content{padding:20px max(16px,env(safe-area-inset-right)) 24px max(16px,env(safe-area-inset-left))}html[data-theme] .app-footer{margin-inline:16px;flex-wrap:wrap}html[data-theme] .app-footer>a:last-child{margin-left:0;width:100%;min-height:32px;display:flex;align-items:center}html[data-theme] .page-heading{gap:12px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--line)}html[data-theme] .play-heading{padding:0 0 16px;margin-bottom:18px;border-bottom:1px solid var(--line)}html[data-theme] :is(.page-heading,.play-heading):after{display:none}html[data-theme] :is(.play-heading,.page-heading) h1{font-size:25px;line-height:1.2;margin:0;text-wrap:pretty}html[data-theme] :is(.page-description,.play-heading>p:last-child){margin-top:8px;font-size:13px;line-height:1.6}html[data-theme] :is(.page-heading,.play-heading) .eyebrow{display:none}html[data-theme] :is(.page-heading,.play-heading)>.btn{padding-inline:12px}html[data-theme] :is(.eyebrow,.world-label,.play-tag,.step-label){font-size:10px}html[data-theme] :is(.pill,.pill.light,.lesson-reader-head .pill){font-size:10px}html[data-theme] :is(.back-link,.play-session-heading>.text-link){min-height:40px;align-items:center;font-size:12px}html[data-theme] .back-link{margin-bottom:12px}html[data-theme] :is(.play-hero-copy>p,.page-description,.play-heading>p:last-child,.play-card p,.hub-card p){text-wrap:pretty}html[data-theme] .play-hero{min-height:0;grid-template-columns:minmax(0,1fr);padding:0 0 18px;gap:0}html[data-theme] .play-hero:after{display:none}html[data-theme] :is(.play-hero-art,.play-hero-foot,.play-hero .world-label){display:none}html[data-theme] .play-hero h1{font-size:clamp(27px,7.4vw,31px);line-height:1.12;margin:0 0 12px}html[data-theme] .play-hero h1 em:after{height:.07em;opacity:.35}html[data-theme] .play-hero-copy>p{max-width:40ch;font-size:13px;line-height:1.6}html[data-theme] .play-hero .play-actions{margin-top:16px;gap:10px}html[data-theme] .play-hero .play-actions .btn{flex:0 0 auto}html[data-theme] .play-hero .play-actions .text-link{display:none}html[data-theme] .trail-banner{gap:10px;padding:12px;margin:0 0 12px;border-width:1px;border-left-width:3px;box-shadow:none}html[data-theme] .play-hero+.trail-banner{margin-top:0}html[data-theme] .trail-banner .trail-next-mark{width:36px;height:36px;font-size:21px}html[data-theme] .trail-banner-copy{gap:3px}html[data-theme] .trail-banner-copy .eyebrow{font-size:9px;letter-spacing:.12em}html[data-theme] .trail-banner-copy strong{font-size:16px;line-height:1.25}html[data-theme] .trail-banner-copy small{display:none}html[data-theme] .trail-banner .next-stop-go{flex-basis:30px;height:30px}html[data-theme] .trail-banner .next-stop-go .icon{width:16px;height:16px}html[data-theme] .play-daily{grid-template-columns:42px minmax(0,1fr) 30px;grid-template-areas:"cal date go" "cal copy go";column-gap:10px;row-gap:3px;align-items:center;padding:12px;margin:0 0 8px;border:1px solid var(--frame);border-radius:14px;box-shadow:none}html[data-theme] .daily-cal{width:42px;padding-bottom:5px;border-width:1px;box-shadow:none}html[data-theme] .daily-cal:before{display:none}html[data-theme] .daily-cal-month{padding:5px 0 3px;font-size:10px;letter-spacing:.1em}html[data-theme] .daily-cal b{margin-top:3px;font-size:22px}html[data-theme] .daily-cal-weekday{display:none}html[data-theme] .play-daily.is-done .daily-cal:after{width:30px;height:30px;border-width:1px;font-size:15px}html[data-theme] .play-daily-date{padding:0;border:0}html[data-theme] .play-daily-date small{padding:0;background:none;color:var(--accent);font-size:9px;line-height:1.4;letter-spacing:.1em}html[data-theme] .play-daily-date strong{display:none}html[data-theme] .play-daily-copy strong{font-size:14px;line-height:1.3}html[data-theme] .play-daily-copy>span{display:none}html[data-theme] .play-daily-go{justify-self:end;margin:0;width:30px;height:30px;padding:0;border:0;background:var(--accent-soft);color:var(--accent);font-size:0}html[data-theme] .play-daily-go .icon{width:16px;height:16px}html[data-theme] .play-section-title{padding-top:16px;margin-bottom:12px;gap:8px}html[data-theme] .play-section-title .eyebrow{display:none}html[data-theme] .play-section-title h2{margin:0;font-size:21px}html[data-theme] .play-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html[data-theme] .play-card,html[data-theme] .play-card:nth-child(n){display:flex;flex-direction:column;grid-column:auto;min-width:0}html[data-theme] .play-card .play-card-art{flex:none;height:76px;margin:6px 6px 0;border:0;border-radius:9px}html[data-theme] .play-card .play-card-art img,html[data-theme] .play-card:nth-child(n+4) .play-card-art img{width:58px;height:58px}html[data-theme] .play-number{top:5px;left:5px;width:18px;height:18px;font-size:9px}html[data-theme] .play-arrow{top:5px;right:5px;width:20px;height:20px;font-size:12px}html[data-theme] .play-card-copy{flex:1;min-width:0;padding:9px 10px 12px}html[data-theme] .play-subtitle{font-size:10px;line-height:1.4;letter-spacing:.025em}html[data-theme] .play-card h3{margin:4px 0 0;font-size:16px;line-height:1.2}html[data-theme] .play-card:not(.is-featured) :is(p,.play-card-meta){display:none}html[data-theme] .play-card.is-featured{grid-column:1 / -1;flex-direction:row;align-items:stretch}html[data-theme] .play-card.is-featured .play-card-art{flex:0 0 88px;height:auto;min-height:92px;margin:6px 0 6px 6px}html[data-theme] .play-card.is-featured .play-card-copy{padding:12px;justify-content:center}html[data-theme] .play-card.is-featured p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 0;font-size:12px;line-height:1.5}html[data-theme] .play-card.is-featured .play-card-meta{display:none}html[data-theme] .play-bottom{margin:20px 0 8px;gap:12px}html[data-theme] .play-small-note{padding:14px 16px;border-width:1px;box-shadow:none}html[data-theme] .play-small-note strong{font-size:17px}html[data-theme] .play-small-note p{font-size:12px;line-height:1.6}html[data-theme] .play-small-note>.text-link{display:inline-flex;align-items:center;min-height:40px;font-size:12px}html[data-theme] .trail-next{grid-template-columns:40px minmax(0,1fr);padding:16px;gap:12px;margin-bottom:14px}html[data-theme] .trail-next-mark{width:40px;height:40px;font-size:24px}html[data-theme] .trail-next-copy h2{margin:5px 0 6px;font-size:20px;line-height:1.2}html[data-theme] .trail-next-copy>p:not(.eyebrow):not(.trail-chips){font-size:13px;line-height:1.5}html[data-theme] .trail-next-copy .eyebrow{font-size:9px}html[data-theme] .trail-next>.btn{width:100%;justify-content:center}html[data-theme] .trail-next-progress{padding-top:12px;gap:8px;font-size:12px}html[data-theme] .trail-placement{margin:0 0 16px;font-size:12px}html[data-theme] .trail-stations{grid-template-columns:minmax(0,1fr);gap:10px}html[data-theme] .trail-station,html[data-theme] .trail-station:not([open]){border-width:1px;border-left:3px solid var(--line);border-top:1px solid var(--frame)}html[data-theme] .trail-station>summary,html[data-theme] .trail-station:not([open])>summary{display:flex;gap:10px;padding:12px;align-items:center}html[data-theme] .module-symbol{width:34px;height:36px;font-size:23px;border-radius:8px;flex-shrink:0}html[data-theme] .trail-station-copy h2,html[data-theme] .trail-station:not([open]) .trail-station-copy h2{font-size:15px;line-height:1.3;margin:3px 0 0}html[data-theme] .trail-station-copy .eyebrow{font-size:9px;letter-spacing:.1em}html[data-theme] .trail-station-count{font-size:11px}html[data-theme] .trail-station-count strong{font-size:18px}html[data-theme] .trail-station>summary>.icon,html[data-theme] .trail-station:not([open])>summary>.icon{display:block;width:14px;height:14px;flex-basis:14px}html[data-theme] .trail-outcome{font-size:12px;line-height:1.5}html[data-theme] .trail-line{grid-template-columns:minmax(0,1fr);gap:0;padding:0 12px 8px}html[data-theme] .trail-line .lesson-row{flex-direction:row;align-items:center;gap:10px;padding:12px 2px;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 20%,transparent);border-radius:0;background:none}html[data-theme] .trail-line .trail-stop:last-child .lesson-row{border-bottom:0}html[data-theme] .trail-stop.is-next .lesson-row{padding:10px;margin-bottom:2px;border:0;border-radius:10px;box-shadow:none;background:color-mix(in srgb,var(--line) 9%,var(--surface))}html[data-theme] .trail-node,html[data-theme] .trail-stop.is-next .trail-node{width:28px;height:28px;border-width:2px;flex:0 0 28px;font-size:10px}html[data-theme] .trail-stop-copy>strong{font-size:13px;line-height:1.4}html[data-theme] .here-pill{position:static;display:table;margin:4px 0 0;padding:2px 5px;font-size:9px}html[data-theme] .trail-chips{font-size:11px}html[data-theme] .trail-stop-copy .trail-chips{font-size:10px}html[data-theme] .play-session-heading{margin-bottom:12px;gap:8px;font-size:11px}html[data-theme] .play-setup{grid-template-columns:minmax(0,1fr)}html[data-theme] .play-setup-intro{padding:16px;border-right:0;border-bottom:1px solid var(--frame)}html[data-theme] .play-setup-intro img{width:52px;height:58px;margin:0 0 0 10px}html[data-theme] .play-setup-intro h1{margin:3px 0 6px;font-size:23px;line-height:1.2}html[data-theme] .play-setup-intro p:last-child{font-size:13px;line-height:1.5}html[data-theme] .play-setup-form{padding:16px}html[data-theme] .play-setup-form h2{font-size:20px}html[data-theme] .play-setup-form>p{margin:6px 0 4px;font-size:12px;line-height:1.5}html[data-theme] .play-setup-form label{margin:14px 0 6px;font-size:12px}html[data-theme] .field-hint{margin-top:7px;font-size:12px;line-height:1.5}html[data-theme] .play-start{margin-top:16px}html[data-theme] .play-scoreboard{padding:10px 14px;gap:12px;margin-bottom:12px;border-width:1px;border-radius:12px;box-shadow:none}html[data-theme] .play-scoreboard strong{font-size:23px}html[data-theme] .play-scoreboard small{font-size:9px;letter-spacing:.07em}html[data-theme] .play-question{padding:18px 14px;outline:0}html[data-theme] .play-prompt{margin:14px 0}html[data-theme] .play-prompt-short{font-size:44px}html[data-theme] .play-picture{min-height:148px;margin:10px 0}html[data-theme] .play-picture img{width:140px;height:140px}html[data-theme] #arcade-answer-form{gap:8px;margin-top:16px}html[data-theme] .kana-mode{width:44px;min-height:44px;flex-basis:44px}html[data-theme] .play-feedback{padding:14px;margin-top:16px;border-width:1px;border-left-width:3px}html[data-theme] .play-feedback p{font-size:13px;line-height:1.6}html[data-theme] .play-session-note{margin:12px 0}html[data-theme] .daily-choice.play-choice{min-height:48px;padding:10px}html[data-theme] .daily-choices{gap:8px}html[data-theme] .play-result-hero h1{font-size:25px}html[data-theme] .play-results-stats{margin:18px 0;padding:16px 10px;gap:14px}html[data-theme] .play-results-stats strong{font-size:25px}html[data-theme] .play-insights .panel{padding:16px}html[data-theme] .play-insights h2{font-size:18px}html[data-theme] .lesson-reader-head{margin-bottom:14px;gap:10px}html[data-theme] .lesson-reader-head h1{font-size:22px;line-height:1.25}html[data-theme] .lesson-content{margin:14px 0;padding:16px}html[data-theme] .lesson-content h2{margin-bottom:10px;font-size:20px}:root[data-theme] .lesson-body{font-size:15px;line-height:1.7}html[data-theme] .example{padding:12px}html[data-theme] .example-line>.jp{font-size:20px}html[data-theme] .lesson-controls{margin-top:18px;padding-top:14px;gap:8px}html[data-theme] .lesson-controls .btn{font-size:12px;padding-inline:12px}html[data-theme] .tip-box{padding:14px;font-size:13px}html[data-theme] .concept-help{margin:16px 0;padding:12px 14px}html[data-theme] .concept-help summary{padding-block:9px;margin-block:-9px}html[data-theme] .video-panel{padding:12px}html[data-theme] .lesson-recap{margin-top:18px;padding:14px;outline:0}html[data-theme] .explore-controls{padding:10px}html[data-theme] .explore-search .search-field{min-height:44px;padding:5px 10px;border-width:1px;border-radius:10px}html[data-theme] .explore-search input,html[data-theme] .search-field input{min-width:0;font-size:16px}html[data-theme] .hub-section{margin-bottom:22px}html[data-theme] .hub-section-heading{margin:18px 0 10px}html[data-theme] .hub-section-heading h2{font-size:19px}html[data-theme] .hub-card{min-width:0;padding:12px;border-width:1px;border-radius:12px}html[data-theme] .hub-card-symbol{width:34px;height:34px;margin-bottom:8px}html[data-theme] .hub-card-symbol>.jp{font-size:22px}html[data-theme] :is(.hub-card h2,.hub-card h3){margin:0 0 5px;font-size:14px;line-height:1.35}html[data-theme] .hub-card p{margin:0;font-size:12px;line-height:1.5}html[data-theme] :is(.word-card,.library-card,.expression-card,.particle-card,.concept-card){min-width:0;padding:12px;border-width:1px;border-radius:12px}html[data-theme] :is(.word-card h2,.library-card h2){font-size:21px}html[data-theme] .card-more>summary{min-height:40px;font-size:12px}html[data-theme] :is(.audio-button,.word-card .audio-button,.expression-card .example-line>.audio-button){width:40px;height:40px;flex-shrink:0}html[data-theme] .kanji-card{border-width:1px}html[data-theme] .kanji-card-symbol{font-size:38px}html[data-theme] .toolbar{gap:8px;margin-bottom:14px}html[data-theme] #expression-filters{max-width:100%;margin-inline:0;padding-inline:0}html[data-theme] .chip{min-height:38px;padding:8px 11px;font-size:11px}html[data-theme] .segmented button{min-height:40px;font-size:12px;padding-inline:10px}html[data-theme] .tab-bar{gap:16px}html[data-theme] .tab-bar button{min-height:44px;font-size:12px}html[data-theme] .kana-table{padding:14px 10px}html[data-theme] .kana-cell{min-height:54px}html[data-theme] .kana-cell .jp{font-size:21px}html[data-theme] :is(.kana-cell small,.kana-column-head){font-size:10px}html[data-theme] .row-toggle{flex-direction:column;justify-content:center;gap:4px;font-size:10px;text-align:center}html[data-theme] .kana-sidebar{gap:12px}html[data-theme] .kana-detail{grid-template-columns:64px minmax(0,1fr);column-gap:14px;padding:16px}html[data-theme] .detail-character{font-size:54px}html[data-theme] .kana-detail p{font-size:12px}html[data-theme] .practice-setup{padding:16px}html[data-theme] .writing-grid{gap:14px}html[data-theme] .writing-panel{padding:16px}html[data-theme] .writing-panel h2{font-size:18px}html[data-theme] .writing-panel .section-heading{margin-bottom:14px}html[data-theme] .stroke-model{max-width:220px}html[data-theme] .exercise-card h2{font-size:15px}html[data-theme] .exercise-card .btn{min-height:44px}html[data-theme] .play-progress-card{padding:12px;border-width:1px;border-radius:12px}html[data-theme] .play-progress-card h2{font-size:16px}html[data-theme] .play-progress-card img{width:40px;height:40px}html[data-theme] .play-progress-card summary{min-height:40px;font-size:12px}html[data-theme] .play-progress-card>.text-link{min-height:40px;display:inline-flex;align-items:center;font-size:12px}html[data-theme] .settings-panel{padding:16px}html[data-theme] :is(.settings-panel,.account-panel)>h2{margin-bottom:10px;font-size:19px;line-height:1.3}html[data-theme] :is(.account-panel>p:not(.eyebrow),.settings-panel>p.muted){margin:8px 0;font-size:13px;line-height:1.6}html[data-theme] .settings-layout{gap:12px}html[data-theme] .theme-options{gap:10px;margin-top:12px}html[data-theme] .theme-card{padding:8px;border-width:1px}html[data-theme] .theme-preview{min-height:70px}html[data-theme] .theme-card strong{margin:8px 0 2px;font-size:15px}html[data-theme] .jp-font-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}html[data-theme] .jp-font-option{padding:10px;gap:5px;border-width:1px}html[data-theme] .jp-font-sample{font-size:17px;line-height:1.5}html[data-theme] .jp-font-option strong{font-size:12px}html[data-theme] .setting-row{gap:12px;padding:14px 0}html[data-theme] .setting-row>div{min-width:0}html[data-theme] .setting-row h3{font-size:14px;line-height:1.35}html[data-theme] .setting-row p{margin-top:5px;font-size:12px;line-height:1.6}html[data-theme] .setting-row .btn{flex-shrink:0;padding-inline:12px;font-size:12px}html[data-theme] .goal-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}html[data-theme] .goal-option{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:10px 8px;border-radius:10px}html[data-theme] .goal-option strong{font-size:12px;line-height:1.4}html[data-theme] .goal-option span{font-size:10px;line-height:1.4}html[data-theme] .progress-overview{padding:16px}html[data-theme] .progress-overview h2{font-size:20px}html[data-theme] .progress-overview dl{margin:12px 0;gap:0 12px}html[data-theme] .progress-overview dl>div{padding:10px 0;font-size:11px}html[data-theme] .achievement-grid{gap:8px}html[data-theme] .achievement{padding:12px}html[data-theme] .achievement .badge-symbol{margin-bottom:6px;font-size:22px}html[data-theme] .stage-seals{gap:8px;margin-top:14px}html[data-theme] .stage-seal{padding:12px 8px}html[data-theme] .stage-seal .hanko{width:40px;height:40px;margin-bottom:8px;font-size:24px}html[data-theme] .account-page .account-panel{padding:16px;margin-bottom:16px}html[data-theme] .account-panel .source-note{padding-top:14px;font-size:12px;line-height:1.6}html[data-theme] .worksheet-print-bar{bottom:calc(var(--mobile-nav-height) + 12px + env(safe-area-inset-bottom));padding:8px 8px 8px 12px;gap:8px;border-width:1px;border-radius:14px;box-shadow:0 4px 20px #0000000d}html[data-theme] .worksheet-print-bar .btn{min-height:44px;padding-inline:14px;font-size:13px}html[data-theme] .worksheet-print-status{font-size:11px}html[data-theme] .worksheet-toolbar{gap:10px;padding:12px}html[data-theme] .worksheet-toolbar label{font-size:12px}html[data-theme] .worksheet-toolbar select{min-width:0;min-height:44px}}@media(max-width:360px){html[data-theme] .main-content{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}html[data-theme] .topbar{gap:6px;padding-inline:8px}.mobile-brand{gap:5px}html[data-theme] .play-card h3{font-size:15px}html[data-theme] .play-card.is-featured .play-card-art{flex-basis:76px}html[data-theme] .play-card.is-featured .play-card-copy{padding:10px}html[data-theme] .trail-next{padding:14px;gap:10px}html[data-theme] .setting-row{flex-wrap:wrap}html[data-theme] .setting-row .switch{margin-left:auto}}@media print{.mobile-nav,.mobile-brand{display:none!important}html[data-theme] .app-body{padding-bottom:0}html[data-theme] .worksheet-preview{position:static}}.trail-description-mobile{display:none}.lesson-video{display:contents}.lesson-video>summary{display:none}@media(max-width:820px){html[data-theme] body:has(.trail-page,.lesson-reader):before{opacity:.004}html[data-theme] .trail-page{gap:16px}html[data-theme] .trail-page>.page-heading{margin:0;padding:0;border:0}html[data-theme] .trail-page .page-heading h1{font-size:26px;line-height:1.2}html[data-theme] .trail-page .page-heading:after,.trail-description-wide{display:none}.trail-description-mobile{display:inline}html[data-theme] .trail-page .page-description{margin-top:6px;font-size:12px}html[data-theme] .trail-next{grid-template-columns:40px minmax(0,1fr);grid-template-areas:"mark copy" "action action" "progress progress";gap:12px;margin:0;padding:16px;border:1px solid var(--frame);box-shadow:none}html[data-theme] .trail-next-mark{width:40px;height:40px;font-size:23px}html[data-theme] .trail-next-copy h2{margin:4px 0 0;font-size:19px;line-height:1.25;text-wrap:pretty}html[data-theme] .trail-next-copy>p:not(.eyebrow):not(.trail-chips){display:none}html[data-theme] .trail-next-copy .eyebrow{font-size:9px;letter-spacing:.1em}html[data-theme] .trail-next-copy .trail-chips{margin-top:6px}html[data-theme] .trail-next>.btn{width:100%;justify-content:center}html[data-theme] .trail-next-progress{grid-template-columns:minmax(0,1fr);gap:7px;padding-top:10px;border-top:1px solid var(--line);font-size:11px}html[data-theme] .trail-next-progress .progress-track{height:4px}html[data-theme] .trail-placement{order:1;gap:4px;margin:2px 0 0;padding:12px;border-radius:12px;background:var(--surface-soft);font-size:12px;line-height:1.6}html[data-theme] .trail-placement .text-link{min-height:32px}html[data-theme] .trail-map{display:none}html[data-theme] .trail-stations{grid-template-columns:minmax(0,1fr);gap:10px}html[data-theme] .trail-station,html[data-theme] .trail-station:not([open]){border:1px solid var(--frame);border-left:3px solid var(--line);border-radius:14px}html[data-theme] .trail-station>summary,html[data-theme] .trail-station:not([open])>summary{display:flex;align-items:center;gap:10px;padding:13px 12px}html[data-theme] .trail-station .module-symbol{width:34px;height:36px;flex-shrink:0;font-size:22px;border-radius:9px}html[data-theme] .trail-station-copy h2,html[data-theme] .trail-station:not([open]) .trail-station-copy h2{margin:3px 0 0;font-size:14px;line-height:1.35}html[data-theme] .trail-station-copy .eyebrow{font-size:9px;letter-spacing:.08em}html[data-theme] .trail-station-copy>p,html[data-theme] .trail-station-copy .caution-pill{display:none}html[data-theme] .trail-station-count{font-size:11px}html[data-theme] .trail-station-count strong{font-family:var(--font-body);font-size:12px;font-weight:650}html[data-theme] .trail-station>summary>.icon,html[data-theme] .trail-station:not([open])>summary>.icon{display:block;width:14px;height:14px;flex:0 0 14px}html[data-theme] .trail-station .hanko{display:none}html[data-theme] .trail-line{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0 10px 8px}html[data-theme] .trail-line:before{display:none}html[data-theme] .trail-line .lesson-row{min-height:64px;flex-direction:row;align-items:center;gap:11px;padding:10px 4px;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 15%,transparent);border-radius:0;background:transparent}html[data-theme] .trail-line .trail-stop:last-child .lesson-row{border-bottom:0}html[data-theme] .trail-stop.is-next .lesson-row{padding:11px 9px;margin-bottom:2px;border:0;border-radius:10px;background:color-mix(in srgb,var(--line) 7%,var(--surface))}html[data-theme] .trail-node,html[data-theme] .trail-stop.is-next .trail-node{width:28px;height:28px;margin:0;flex:0 0 28px;border-width:1px;box-shadow:none;font-size:10px;animation:none}html[data-theme] .trail-stop-copy{flex:1;gap:5px}html[data-theme] .trail-stop-copy>strong{font-size:13px;line-height:1.4}html[data-theme] .trail-stop-copy>small,html[data-theme] .trail-chips .chip-extra{display:none}html[data-theme] .trail-stop-copy .trail-chips{margin:0;font-size:10px}html[data-theme] .here-pill{display:block;margin:4px 0 0;padding:0;background:transparent;color:var(--line);border:0;font-size:10px;font-weight:650;letter-spacing:0}html[data-theme] .trail-line .lesson-row>.icon{display:block;width:14px;height:14px;flex:0 0 14px}html[data-theme] .trail-station>summary:focus-visible,html[data-theme] .trail-line .lesson-row:focus-visible{outline-offset:-4px}html[data-theme] .lesson-reader{min-width:0;animation:none;transform:none}html[data-theme] .lesson-reader>.back-link{width:fit-content;min-height:36px;margin-bottom:10px;font-size:12px}html[data-theme] .lesson-reader-head{position:relative;margin-bottom:12px;gap:0}html[data-theme] .lesson-reader-head>div{min-width:0}html[data-theme] .lesson-reader-head .eyebrow{margin-bottom:7px;font-size:9px;letter-spacing:.1em}html[data-theme] .lesson-reader-head h1{font-size:23px;line-height:1.3;text-wrap:pretty}html[data-theme] .lesson-reader-head>.pill{position:absolute;right:0;top:-46px;gap:4px;padding:6px 8px;background:transparent;font-size:11px}html[data-theme] .lesson-reader>.progress-track{height:4px}html[data-theme] .lesson-content{margin:14px 0 0;padding:16px;border:1px solid var(--frame);box-shadow:none}html[data-theme] .lesson-content h2{margin-bottom:10px;font-size:21px;line-height:1.3;text-wrap:pretty}html[data-theme] .lesson-content>.step-label{margin-bottom:10px;font-size:10px}html[data-theme] .lesson-body{gap:12px;margin-top:10px;font-size:15px;line-height:1.7}html[data-theme] .lesson-intro{display:flex;flex-direction:column;gap:16px}html[data-theme] .lesson-intro-top{gap:12px;align-items:flex-start}html[data-theme] .lesson-intro-mark{width:44px;height:44px;font-size:27px;box-shadow:none}html[data-theme] .lesson-intro-top h2{margin:0;font-size:19px;line-height:1.4}html[data-theme] .lesson-intro .step-label,html[data-theme] .lesson-plan,html[data-theme] .lesson-controls>.small.muted{display:none}html[data-theme] .lesson-goal{font-size:14px;line-height:1.65}html[data-theme] .lesson-intro>.lesson-controls{order:1;margin:0;padding:0;border:0}html[data-theme] .lesson-intro .lesson-controls .btn{width:100%;justify-content:center;min-height:46px;font-size:13px}html[data-theme] .lesson-video{display:block;order:2;border-top:1px solid var(--line)}html[data-theme] .lesson-video>summary{display:flex;align-items:center;gap:10px;min-height:58px;padding-top:8px;list-style:none;font-size:13px;font-weight:650;cursor:pointer}.lesson-video>summary::-webkit-details-marker{display:none}.lesson-video>summary>span{flex:1;min-width:0}.lesson-video>summary small{display:block;margin-top:2px;font-size:11px;font-weight:400;color:var(--muted)}.lesson-video>summary>.icon{width:18px;height:18px;flex:0 0 18px;color:var(--accent)}.lesson-video>summary>.icon:last-child{width:14px;height:14px;flex-basis:14px;color:var(--muted)}.lesson-video[open]>summary>.icon:last-child{transform:rotate(180deg)}html[data-theme] .lesson-video .video-panel{padding:12px 0 0;border:0;border-radius:0;background:transparent}html[data-theme] .lesson-video .video-panel-head{display:none}html[data-theme] .lesson-video .video-stage{grid-template-columns:minmax(0,1fr)}html[data-theme] .lesson-video .video-caption strong{font-size:14px}html[data-theme] .lesson-video .video-caption span{font-size:12px}html[data-theme] .lesson-reader:is([data-lesson-phase=reading],[data-lesson-phase=quiz]) .lesson-controls{position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 8px);z-index:25;display:flex;justify-content:space-between;gap:8px;margin:0;padding:8px;border:1px solid var(--frame);border-radius:14px;background:var(--surface);box-shadow:0 4px 20px #0000000c}html[data-theme] .lesson-controls .btn{min-height:44px;font-size:13px;padding:10px 12px}html[data-theme] .lesson-reader:is([data-lesson-phase=reading],[data-lesson-phase=quiz]) .lesson-controls .btn-primary{flex:1;justify-content:center;min-width:0}html[data-theme] .lesson-controls .btn-ghost{flex:0 0 auto}html[data-theme] .main-content:has(.lesson-reader:is([data-lesson-phase=reading],[data-lesson-phase=quiz])){padding-bottom:100px}html[data-theme] body:has(.lesson-reader:is([data-lesson-phase=reading],[data-lesson-phase=quiz])) .toast{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 88px)}html[data-theme] .app-body:has(.lesson-reader) .app-footer{display:none}html[data-theme] .lesson-reader .answer-options{gap:8px;margin-block:16px}html[data-theme] .lesson-reader .answer-option{min-height:56px;gap:10px;padding:12px;font-size:14px;line-height:1.5;border-radius:12px}html[data-theme] .lesson-reader .option-letter{width:28px;height:28px;flex:0 0 28px;font-size:12px}html[data-theme] .lesson-reader .answer-option>span:last-child{min-width:0;overflow-wrap:anywhere}html[data-theme] .lesson-reader .feedback{margin-bottom:0;padding:14px;font-size:14px;line-height:1.6}}@media(max-width:600px){html[data-theme] .lesson-reader .kana-tiles{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:18px}html[data-theme] .lesson-reader .kana-tile{grid-template-columns:64px minmax(0,1fr);align-items:start;gap:12px;padding:12px;border-width:1px;border-radius:12px;box-shadow:none}html[data-theme] .lesson-reader .kana-tile-char{width:64px;height:76px;border-width:1px;outline:0;border-radius:9px}html[data-theme] .lesson-reader .kana-tile-char .jp{font-size:40px}html[data-theme] .lesson-reader .kana-tile-body{gap:6px}html[data-theme] .lesson-reader .kana-tile-sound{gap:2px;font-size:11px}html[data-theme] .lesson-reader .kana-tile-sound strong{font-family:var(--font-body);font-size:19px;font-weight:650}html[data-theme] .lesson-reader .kana-tile-hint{font-size:12px;line-height:1.6}html[data-theme] .lesson-reader .kana-tile-hint>span{font-size:9px;letter-spacing:.08em}html[data-theme] .lesson-reader .kana-tile-reveal{min-height:44px;padding-inline:10px;font-size:11px}html[data-theme] .lesson-reader .maru-tip{gap:8px;margin-top:18px}html[data-theme] .lesson-reader .maru-tip>img{width:28px;height:28px;flex-basis:28px}html[data-theme] .lesson-reader .maru-tip>div{min-width:0;padding:10px 12px;font-size:13px}html[data-theme] .lesson-reader .lesson-recap li{font-size:14px}html[data-theme] .lesson-reader .completion{padding-block:12px}html[data-theme] .lesson-reader .completion-actions{flex-direction:column;gap:8px}html[data-theme] .lesson-reader .completion-actions>.btn{width:100%;justify-content:center}}.lesson-reader{--lesson-accent: var(--accent)}.lesson-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0;padding:0;list-style:none}.lesson-stages li{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid var(--line);border-radius:10px;color:var(--muted);font-size:12px}.lesson-stages .icon{width:16px;height:16px;flex-basis:16px}.lesson-stages .is-current{background:color-mix(in srgb,var(--lesson-accent) 12%,var(--surface));border-color:color-mix(in srgb,var(--lesson-accent) 40%,var(--line));color:var(--lesson-accent);font-weight:700}.lesson-stages .is-done{color:var(--success)}.lesson-reader>.progress-track>span{background:var(--lesson-accent)}.lesson-part-head{display:flex;gap:14px;align-items:center;margin-bottom:16px}.lesson-part-head>div{min-width:0}.lesson-part-number{display:grid;place-items:center;flex:0 0 48px;height:48px;background:var(--lesson-accent);color:var(--surface);border-radius:14px;font:26px/1 var(--font-display)}.lesson-part-head .step-label{margin-bottom:5px;color:var(--lesson-accent)}html[data-theme] .lesson-part-head h2{margin:0}.lesson-examples-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;margin-bottom:12px}.lesson-examples-head>span{display:inline-flex;align-items:center;gap:6px;color:var(--lesson-accent);font-size:12px;font-weight:700}.lesson-examples-head .icon{width:15px;height:15px;flex-basis:15px}.lesson-examples-head small{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:11px}.lesson-examples,.kana-deck{margin-top:24px}.kana-deck>.kana-tiles{margin-top:0}.kana-deck-picker,.kana-deck-position,.kana-deck-hint,.kana-tile-speaker>span{display:none}.lesson-examples-head .kana-deck-position{display:none}.lesson-question-head{display:flex;align-items:center;gap:20px}.lesson-question-head>div{min-width:0}.lesson-question-mark{display:grid;place-items:center;flex:0 0 104px;min-height:104px;padding:12px;border:1px solid color-mix(in srgb,var(--lesson-accent) 35%,var(--line));border-radius:22px;background:color-mix(in srgb,var(--lesson-accent) 10%,var(--surface));color:var(--lesson-accent);font:60px/1.25 var(--font-jp-serif)}.lesson-question-mark .icon{width:38px;height:38px}.lesson-question-mark.is-phrase{font-size:22px;word-break:break-all}.lesson-question-head .step-label{margin-bottom:8px;color:var(--lesson-accent)}.lesson-question-head p{font-size:13px;line-height:1.6;color:var(--muted)}html[data-theme] .lesson-reader .answer-option{border-color:var(--frame);background:var(--surface);transition:border-color .15s ease,background-color .15s ease}html[data-theme] .lesson-reader .option-letter{border-radius:50%;background:var(--surface-soft);color:var(--muted)}html[data-theme] .lesson-reader .answer-option:has(input:checked){border-color:var(--lesson-accent);background:color-mix(in srgb,var(--lesson-accent) 10%,var(--surface))}html[data-theme] .lesson-reader .answer-option:has(input:checked) .option-letter{background:var(--lesson-accent);color:var(--surface)}html[data-theme] .lesson-reader .answer-option:has(input:focus-visible){outline-color:var(--lesson-accent)}html[data-theme] .lesson-reader .answer-option.is-correct{background:var(--success-bg);border-color:var(--success)}html[data-theme] .lesson-reader .answer-option.is-correct .option-letter{background:var(--success);color:var(--paper)}html[data-theme] .lesson-reader .answer-option.is-wrong{background:var(--accent-soft);border-color:var(--accent)}html[data-theme] .lesson-reader .answer-option.is-wrong .option-letter{background:var(--accent);color:var(--paper)}html[data-theme] .lesson-reader .feedback{display:flex;align-items:flex-start;gap:12px}.lesson-feedback-mark{display:grid;place-items:center;flex:0 0 30px;height:30px;border:1px solid currentColor;border-radius:50%}.lesson-feedback-mark .icon{width:18px;height:18px}.lesson-reader .feedback>div{min-width:0}@media(max-width:820px){html[data-theme] .lesson-reader-head h1{font-size:21px}.lesson-stages{gap:6px;margin-top:10px}.lesson-stages li{min-height:34px;gap:5px;font-size:11px;border-radius:9px}.lesson-stages .icon{width:14px;height:14px;flex-basis:14px}html[data-theme] .lesson-content{border-color:color-mix(in srgb,var(--lesson-accent) 24%,var(--frame))}html[data-theme] .lesson-part-head{gap:12px;margin:-16px -16px 16px;padding:18px 16px;border-bottom:1px solid color-mix(in srgb,var(--lesson-accent) 18%,var(--line));border-radius:13px 13px 0 0;background:color-mix(in srgb,var(--lesson-accent) 8%,var(--surface))}.lesson-part-number{flex-basis:40px;height:44px;border-radius:11px;font-size:24px}html[data-theme] .lesson-part-head h2{margin:0;font-size:21px;line-height:1.25}.lesson-part-head .step-label{font-size:9px;letter-spacing:.1em}html[data-theme] .lesson-intro-top{margin:-16px -16px 0;padding:20px 16px;align-items:center;border-bottom:1px solid color-mix(in srgb,var(--lesson-accent) 18%,var(--line));border-radius:13px 13px 0 0;background:color-mix(in srgb,var(--lesson-accent) 10%,var(--surface))}html[data-theme] .lesson-intro-mark{background:var(--lesson-accent);color:var(--surface);border-radius:16px 16px 16px 4px;width:48px;height:56px;font-size:32px}html[data-theme] .lesson-reader .kana-deck{margin-top:20px}.kana-deck .lesson-examples-head .kana-deck-position{display:inline-flex}.kana-deck-picker{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}.kana-deck-picker button{flex:1 0 auto;min-width:44px;min-height:44px;padding:4px 8px;border:1px solid var(--frame);border-radius:10px;background:var(--surface);color:var(--ink);cursor:pointer}.kana-deck-picker .jp{font:23px/1.2 var(--font-jp-serif);white-space:nowrap}.kana-deck-picker button[aria-pressed=true]{background:var(--lesson-accent);border-color:var(--lesson-accent);color:var(--surface)}.kana-deck-picker button:focus-visible{outline:2px solid var(--lesson-accent);outline-offset:-3px}html[data-theme] .lesson-reader .kana-tiles{position:relative;display:flex;gap:12px;margin-top:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.lesson-reader .kana-tiles::-webkit-scrollbar{display:none}html[data-theme] .lesson-reader .kana-tile{flex:0 0 100%;min-width:0;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:start;padding:16px 14px;border:1px solid color-mix(in srgb,var(--lesson-accent) 30%,var(--line));border-radius:16px;box-shadow:none;scroll-snap-align:start;background:color-mix(in srgb,var(--lesson-accent) 5%,var(--surface))}html[data-theme] .lesson-reader .kana-tile-char{width:100px;height:132px;padding-bottom:24px;border:0;outline:0;border-radius:14px;background:color-mix(in srgb,var(--lesson-accent) 12%,var(--surface));color:var(--lesson-accent)}html[data-theme] .lesson-reader .kana-tile-char .jp{font-size:68px}html[data-theme] .lesson-reader .kana-tile-char.is-pair .jp{font-size:42px}html[data-theme] .lesson-reader .kana-tile-char:focus-visible{outline:2px solid var(--lesson-accent);outline-offset:-3px}html[data-theme] .lesson-reader .kana-tile-char.is-playing{background:var(--lesson-accent);color:var(--surface)}.lesson-reader .kana-tile-speaker{display:inline-flex;align-items:center;justify-content:center;gap:5px;left:0;right:0;bottom:13px;color:inherit;font:650 11px/1 var(--font-body)}.lesson-reader .kana-tile-speaker>span{display:inline}html[data-theme] .lesson-reader .kana-tile-body{gap:12px}html[data-theme] .lesson-reader .kana-tile-sound strong{font-family:var(--font-display);font-size:30px;font-weight:400;color:var(--lesson-accent)}html[data-theme] .lesson-reader .kana-tile-hint{font-size:12px;line-height:1.6}html[data-theme] .lesson-reader .kana-tile-hint>span{margin-bottom:5px;color:var(--lesson-accent);font-size:9px;letter-spacing:.08em}html[data-theme] .lesson-reader .kana-tile-write{display:inline-flex;min-height:36px;color:var(--lesson-accent)}.kana-deck-hint{display:block;margin-top:8px;color:var(--muted);font-size:10px;line-height:1.5}.kana-deck+.lesson-body{margin-top:20px}.lesson-body>p:first-child{font-weight:550}html[data-theme] .lesson-examples .example{position:relative;border:1px solid color-mix(in srgb,var(--lesson-accent) 24%,var(--line));border-radius:14px;padding:16px;background:color-mix(in srgb,var(--lesson-accent) 5%,var(--surface))}html[data-theme] .lesson-examples .example-line>.jp{font-size:24px;line-height:1.6}html[data-theme] .lesson-examples .romaji{margin-block:6px;color:var(--lesson-accent);font-size:12px}.lesson-examples .translation{font-weight:650}.lesson-question-head{flex-direction:column;align-items:stretch;gap:16px}.lesson-question-mark{flex:none;align-self:center;width:100px;min-height:100px;border-radius:24px 24px 24px 6px;font-size:62px}.lesson-question-mark.is-phrase{width:auto;min-width:100px;max-width:100%;min-height:76px;padding-inline:20px;font-size:26px}html[data-theme] .lesson-question-head h2{font-size:23px;margin-bottom:8px}.lesson-question-head .step-label{font-size:10px}html[data-theme] .lesson-reader .answer-option{min-height:60px;padding:12px 14px;gap:12px;font-size:15px;border-radius:14px}html[data-theme] .lesson-reader .option-letter{width:32px;height:32px;flex-basis:32px}.lesson-reader .feedback strong{font-size:16px}}@media(max-width:360px){html[data-theme] .lesson-reader .kana-tile{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:14px 12px}html[data-theme] .lesson-reader .kana-tile-char{width:82px;height:122px}html[data-theme] .lesson-reader .kana-tile-char .jp{font-size:58px}html[data-theme] .lesson-reader .kana-tile-char.is-pair .jp{font-size:34px}}@media(prefers-reduced-motion:no-preference){.lesson-part-number,.lesson-question-mark{animation:lesson-mark-arrive .24s ease-out}.lesson-reader .answer-option:active{scale:.99}}@keyframes lesson-mark-arrive{0%{opacity:.4;scale:.9}to{opacity:1;scale:1}}.lesson-scene{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:20px;padding:24px;margin-bottom:22px;border:1px solid color-mix(in srgb,var(--lesson-accent) 24%,var(--line));border-radius:20px;background:color-mix(in srgb,var(--lesson-accent) 9%,var(--surface))}.lesson-scene-copy{min-width:0}.lesson-scene-copy .step-label{display:block;margin-bottom:9px;color:var(--lesson-accent)}html[data-theme] .lesson-scene-copy h2{margin:0}.lesson-scene-art{display:block;width:220px;height:190px;object-fit:contain}.lesson-art-credit{display:block;margin-top:14px;color:var(--muted);font-size:10px;line-height:1.6}.lesson-art-credit a{text-decoration:underline;text-underline-offset:3px}.lesson-question-scene{display:flex;align-items:center;justify-content:center;gap:12px}.lesson-question-scene .lesson-scene-art{width:112px;height:136px}.lesson-celebration{position:relative;width:fit-content;margin:0 auto 20px}.lesson-celebration .lesson-scene-art{width:170px;height:150px}.lesson-celebration .completion-mark{position:absolute;right:-10px;bottom:0;width:44px;height:44px;margin:0;border:3px solid var(--surface)}.lesson-celebration .completion-mark .icon{width:22px;height:22px}.lesson-example-scene{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;align-items:center;padding:18px;border:1px solid var(--frame);border-radius:14px;background:var(--surface)}.lesson-word-art{display:block;width:80px;height:80px;object-fit:contain}html[data-theme] .lesson-example-scene .example{min-width:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}.lesson-game .feedback{display:block}@media(max-width:820px){html[data-theme] body:has([data-lesson-active]) :is(.topbar,.mobile-nav){display:none}html[data-theme] .app-body:has([data-lesson-active]){padding-bottom:0}html:has([data-lesson-active]){scroll-padding-top:16px;scroll-padding-bottom:90px}html[data-theme] .main-content:has([data-lesson-active]){max-width:640px;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 110px max(16px,env(safe-area-inset-left))}html[data-theme] .lesson-reader[data-lesson-active]{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:10px}html[data-theme] [data-lesson-active]>.back-link{display:grid;place-items:center;width:44px;height:44px;margin:0;border:1px solid var(--frame);border-radius:12px;background:var(--surface)}[data-lesson-active] .lesson-back-copy{display:none}html[data-theme] [data-lesson-active]>.back-link .icon{width:20px;height:20px}html[data-theme] [data-lesson-active] .lesson-reader-head{display:flex;align-items:center;margin:0}html[data-theme] [data-lesson-active] .lesson-reader-head :is(.eyebrow,.pill){display:none}html[data-theme] [data-lesson-active] .lesson-reader-head h1{font-family:var(--font-body);font-size:15px;line-height:1.4;font-weight:650}html[data-theme] [data-lesson-active]>:is(.progress-track,.lesson-stages,.lesson-content,.lesson-art-credit){grid-column:1 / -1}html[data-theme] [data-lesson-active]>.progress-track{height:5px;margin-top:12px}html[data-theme] [data-lesson-active]>.lesson-stages{margin-top:6px}html[data-theme] [data-lesson-active] .lesson-stages li{min-height:30px;border:0;background:transparent;border-radius:0}html[data-theme] [data-lesson-active] .lesson-stages .is-current{color:var(--lesson-accent)}html[data-theme] [data-lesson-active] .lesson-content{margin-top:12px;padding:0;border:0;background:transparent}html[data-theme] [data-lesson-active] .lesson-controls{position:fixed;left:max(12px,calc(50vw - 304px),env(safe-area-inset-left));right:max(12px,calc(50vw - 304px),env(safe-area-inset-right));bottom:calc(8px + env(safe-area-inset-bottom));z-index:25;display:flex;gap:8px;margin:0;padding:8px;border:1px solid var(--frame);border-radius:16px;background:var(--surface);box-shadow:0 4px 20px #0000000c}html[data-theme] [data-lesson-active] .lesson-controls .btn-primary{flex:1;min-width:0;justify-content:center}html[data-theme] body:has([data-lesson-active]) .toast{bottom:calc(88px + env(safe-area-inset-bottom))}.lesson-scene{grid-template-columns:minmax(0,1fr) 132px;gap:8px;padding:18px 16px;margin-bottom:18px;border-radius:18px}.lesson-scene-art{width:132px;height:146px}html[data-theme] .lesson-scene-copy h2{font-size:22px;line-height:1.25;text-wrap:pretty}.lesson-scene-copy .step-label{font-size:9px;letter-spacing:.08em}.lesson-intro .lesson-scene{margin:-16px -16px 0;border:0;border-radius:13px 13px 0 0}html[data-theme] .lesson-intro .lesson-scene h2{font-size:20px;line-height:1.35}html[data-theme] .lesson-reader .kana-deck{margin-top:16px}html[data-theme] .lesson-reader .kana-tile{grid-template-columns:104px minmax(0,1fr);gap:14px;padding:16px;background:var(--surface);border:1px solid var(--frame)}html[data-theme] .lesson-reader .kana-tile-char{width:104px;height:148px;border-radius:14px 14px 14px 4px;background:color-mix(in srgb,var(--lesson-accent) 16%,var(--surface))}html[data-theme] .lesson-reader .kana-tile-char .jp{font-size:76px}html[data-theme] .lesson-reader .kana-tile-char.is-pair .jp{font-size:44px}html[data-theme] .lesson-reader .kana-tile-char.is-playing{background:var(--lesson-accent)}html[data-theme] .lesson-reader .kana-tile-hint{font-size:13px}.lesson-reader .lesson-body{padding-inline:2px}html[data-theme] .lesson-examples .example-line>.jp{font-size:25px}.lesson-example-scene{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:14px}.lesson-word-art{width:64px;height:70px}.is-compact>.lesson-example-scene{grid-template-columns:minmax(0,1fr);gap:10px}.is-compact .lesson-word-art{justify-self:center}html[data-theme] .lesson-reader .is-compact .example-line>.jp{font-size:22px}.lesson-question-head{gap:12px}.lesson-question-head>.lesson-question-scene{min-width:0;padding:12px;border-radius:18px;background:color-mix(in srgb,var(--lesson-accent) 9%,var(--surface))}.lesson-question-scene .lesson-scene-art{width:114px;height:118px}.lesson-question-scene .lesson-question-mark{width:108px;min-height:108px;max-width:50%;font-size:64px;background:var(--surface);border:0}.lesson-question-scene .lesson-question-mark.is-phrase{min-width:0;padding:12px;font-size:24px}html[data-theme] .lesson-question-head h2{margin-bottom:6px;font-size:22px}.lesson-question-head p{font-size:12px}html[data-theme] .lesson-reader .answer-option{min-height:56px}.lesson-game-intro>p{margin-bottom:14px;line-height:1.7}html[data-theme] .lesson-reader .completion{padding-top:4px}.lesson-celebration{margin-bottom:16px}.lesson-celebration .lesson-scene-art{width:150px;height:128px}}@media(max-width:360px){.lesson-scene{grid-template-columns:minmax(0,1fr) 106px;padding:16px 12px}.lesson-scene-art{width:106px;height:132px}html[data-theme] .lesson-scene-copy h2{font-size:20px}html[data-theme] .lesson-intro .lesson-scene h2{font-size:18px}html[data-theme] .lesson-reader .kana-tile{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:14px 12px}html[data-theme] .lesson-reader .kana-tile-char{width:88px;height:138px}html[data-theme] .lesson-reader .kana-tile-char .jp{font-size:66px}html[data-theme] .lesson-reader .kana-tile-char.is-pair .jp{font-size:38px}.lesson-example-scene{padding:12px}.lesson-question-scene .lesson-scene-art{width:100px}}.home-page{max-width:940px}html[data-theme] .app-body:has(.home-page) .app-footer{padding-block:18px}html[data-theme] .app-body:has(.home-page) .voice-credit{display:none}html[data-theme] .home-page .play-hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px;padding:8px 0 36px}html[data-theme] .home-page .play-hero:after{display:none}html[data-theme] .home-page .play-hero h1{margin:0 0 18px;font-size:clamp(36px,4vw,52px);line-height:1.08}html[data-theme] .home-page .play-hero h1 em:after{height:.07em;opacity:.3}html[data-theme] .home-page .play-hero-copy>p{max-width:none;font-size:15px;line-height:1.6}html[data-theme] .home-page .play-actions{margin-top:24px}html[data-theme] .home-page .home-start{gap:12px;padding-inline:22px;box-shadow:none}html[data-theme] .home-page .play-hero-art{min-height:0;margin:0}html[data-theme] .home-page .book-scene{width:min(100%,320px);height:auto;aspect-ratio:1}html[data-theme] .home-page .hero-badge{width:76px;height:76px}html[data-theme] .home-page .play-section-title{display:flex;flex-direction:row;justify-content:space-between;border:0;padding:0;margin:0 0 14px;align-items:center;gap:16px;text-align:left}html[data-theme] .home-page .play-section-title h2{margin:0;font-size:23px}.home-all-games{display:inline-flex;align-items:center;gap:6px;min-height:40px;flex-shrink:0;font-size:12px}.home-all-games .icon{width:15px;height:15px;flex-basis:15px}html[data-theme] .home-page .play-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}html[data-theme] .home-page .home-game{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:16px;box-shadow:none}html[data-theme] .home-page .home-game .play-card-art{height:100px;margin:7px;border:0;border-radius:10px}html[data-theme] .home-page .home-game:first-child .play-card-art{background:var(--sky)}html[data-theme] .home-page .home-game .play-card-art img{width:72px;height:72px}html[data-theme] .home-page .home-game .play-card-copy{padding:14px 16px 14px 10px;min-width:0}html[data-theme] .home-page .play-subtitle{font-size:11px;letter-spacing:.02em;line-height:1.5;color:var(--muted)}html[data-theme] .home-page .home-game h3{margin:5px 0 0;font-size:23px;line-height:1.2}html[data-theme] .home-page .play-arrow{width:22px;height:22px;top:6px;right:6px;font-size:12px}html[data-theme] .home-page .play-daily{grid-template-columns:40px minmax(0,1fr) auto;column-gap:12px;row-gap:3px;margin:20px 0 8px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:transparent;box-shadow:none}html[data-theme] .home-page .daily-cal{width:40px;padding-bottom:5px;border-width:1px;box-shadow:none}html[data-theme] .home-page .daily-cal:before,html[data-theme] .home-page .daily-cal-weekday{display:none}html[data-theme] .home-page .daily-cal-month{padding:5px 0 3px;font-size:10px;letter-spacing:.1em}html[data-theme] .home-page .daily-cal b{margin-top:3px;font-size:22px}html[data-theme] .home-page .play-daily.is-done .daily-cal:after{width:28px;height:28px;border-width:1px;font-size:15px}html[data-theme] .home-page .play-daily-date{align-self:end}html[data-theme] .home-page .play-daily-date small{padding:0;font-size:10px;letter-spacing:.08em;background:none;color:var(--muted)}html[data-theme] .home-page .play-daily-date strong,html[data-theme] .home-page .play-daily-copy>span{display:none}html[data-theme] .home-page .play-daily-copy strong{font-size:14px;line-height:1.4}html[data-theme] .home-page .play-daily-go{margin:0;padding:8px 12px;min-height:36px;font-size:12px;border:0;background:var(--surface);color:var(--accent)}@media(hover:hover)and (pointer:fine){html[data-theme] .home-page .home-game:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:0 6px 18px #00000006}}@media(max-width:820px){html[data-theme] .home-page .play-hero{gap:20px;padding-bottom:28px}html[data-theme] .home-page .play-hero h1{font-size:36px}html[data-theme] .home-page .home-game{grid-template-columns:84px minmax(0,1fr)}html[data-theme] .home-page .home-game .play-card-art{height:82px}html[data-theme] .home-page .home-game .play-card-art img{width:58px;height:58px}html[data-theme] .home-page .home-game h3{font-size:19px}}@media(max-width:600px){.home-page{max-width:460px}html[data-theme] .home-page .play-hero{grid-template-columns:minmax(0,1fr);padding:16px 0 28px;text-align:center}html[data-theme] .home-page .play-hero-art{display:none}html[data-theme] .home-page .play-hero h1{font-size:clamp(28px,8vw,32px);margin-bottom:12px;line-height:1.12}html[data-theme] .home-page .play-hero .hero-line{margin-inline:auto}html[data-theme] .home-page .play-hero-copy>p{font-size:13px}html[data-theme] .home-page .play-actions{justify-content:center;margin-top:20px}html[data-theme] .home-page .home-start{width:auto;min-height:46px;padding-inline:20px}html[data-theme] .home-page .play-section-title{gap:8px;margin-bottom:10px}html[data-theme] .home-page .play-section-title h2{max-width:15ch;font-size:20px;line-height:1.2}.home-all-games{font-size:11px;gap:4px}html[data-theme] .home-page .play-grid{gap:10px}html[data-theme] .home-page .home-game{display:flex;flex-direction:column;align-items:stretch;border-radius:14px}html[data-theme] .home-page .home-game .play-card-art{height:80px;margin:6px 6px 0;border-radius:9px}html[data-theme] .home-page .home-game .play-card-art img{width:60px;height:60px}html[data-theme] .home-page .home-game .play-card-copy{padding:10px 11px 14px}html[data-theme] .home-page .play-subtitle{font-size:10px}html[data-theme] .home-page .home-game h3{margin-top:4px;font-size:17px}html[data-theme] .home-page .play-daily{margin-top:16px;padding:12px}html[data-theme] .home-page .play-daily-go{width:28px;height:28px;min-height:0;padding:0;font-size:0;background:transparent}html[data-theme] .home-page .play-daily-go .icon{width:16px;height:16px}}@media(max-width:360px){html[data-theme] .home-page .play-section-title h2{font-size:19px}html[data-theme] .home-page .home-game .play-card-copy{padding-inline:9px}html[data-theme] .home-page .home-game h3{font-size:16px}}@media screen{html[data-theme] body:has(.worksheets-page):before{opacity:.008}html[data-theme] .worksheets-page>.page-heading{align-items:center;gap:20px;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}html[data-theme] .worksheets-page>.page-heading:after{display:none}html[data-theme] .worksheets-page .page-heading h1{font-size:34px;letter-spacing:-.04em}html[data-theme] .worksheets-page .page-description{margin-top:10px;font-size:14px}.worksheet-digital-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--muted);font-size:13px;white-space:nowrap}.worksheet-digital-link:hover{color:var(--accent)}.worksheet-digital-link .icon{width:16px;height:16px;flex-basis:16px}.worksheet-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:24px}.worksheet-settings{min-width:0;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:18px;position:sticky;top:92px}.worksheet-panel-heading,.worksheet-preview-heading>div{display:flex;align-items:center;gap:10px}.worksheet-step{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;background:var(--accent-soft);color:var(--accent);border-radius:50%;font-size:11px;font-weight:700}html[data-theme] .worksheets-page :is(.worksheet-panel-heading,.worksheet-preview-heading) h2{font-family:var(--font-body);font-size:15px;font-weight:650;letter-spacing:-.02em}html[data-theme] .worksheets-page .worksheet-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:16px 10px;padding:0;margin:22px 0 0}html[data-theme] .worksheets-page :is(.worksheet-toolbar,.worksheet-options-body) .input-label{display:block;margin-bottom:6px;color:var(--muted);font-size:11px;font-weight:500}html[data-theme] .worksheets-page :is(.worksheet-toolbar,.worksheet-options-body) .text-input{width:100%;min-width:0;min-height:44px;padding:10px 8px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:9px;font-size:13px;text-overflow:ellipsis;box-shadow:none}.worksheets-page :is(#worksheet-family-control,#worksheet-family-picker-control){grid-column:1 / -1}.worksheets-page #worksheet-family-picker-control{display:none}html[data-theme] .worksheets-page .worksheet-selection{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px;padding:0;margin:16px 0 0;max-height:240px;overflow:auto;background:none;border:0;box-shadow:none}html[data-theme] .worksheets-page .worksheet-char{width:100%;height:44px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:8px;font-size:21px}html[data-theme] .worksheets-page .worksheet-char[aria-pressed=true]{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));color:var(--accent)}.worksheet-options{margin-top:20px;border-top:1px solid var(--line)}.worksheet-options>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:68px;padding-top:8px;list-style:none}.worksheet-options>summary::-webkit-details-marker{display:none}.worksheet-options>summary span{display:grid;gap:3px}.worksheet-options>summary strong{font-size:12px;font-weight:600}.worksheet-options>summary small{font-size:11px;color:var(--muted)}.worksheet-options>summary .icon{width:16px;height:16px;flex-basis:16px;color:var(--muted)}.worksheet-options[open]>summary .icon{rotate:180deg}.worksheet-options-body{display:grid;gap:14px;padding-top:12px}.worksheet-options-body .filter-chips:not(:has(label:not([hidden]))){display:none}.worksheet-print-hint{font-size:11px;line-height:1.7;color:var(--muted)}.worksheet-preview-panel{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:18px}.worksheet-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}.worksheet-preview-heading .worksheet-step{background:var(--surface-soft);color:var(--muted)}.worksheet-paper-badge{padding:3px 8px;color:var(--muted);border:1px solid var(--line);border-radius:5px;font-size:10px;letter-spacing:.08em}.worksheet-paper-stage{padding:24px;background:color-mix(in srgb,var(--surface-soft) 68%,var(--paper))}html[data-theme] .worksheets-page .worksheet-preview{position:relative;min-width:0;max-width:550px;margin:0 auto;gap:0}.worksheets-page .worksheet-preview[data-paginated] .paper-preview-page:not([data-current]){display:none}.worksheets-page .print-sheet{box-shadow:0 8px 24px #00000012;outline-color:#0000000d}.worksheet-empty{padding:60px 20px;font-size:13px;text-align:center;color:var(--muted)}.worksheet-preview-pager{display:flex;align-items:center;justify-content:center;gap:20px;padding:8px 16px;border-top:1px solid var(--line)}.worksheet-preview-pager button{display:grid;place-items:center;width:44px;height:44px;background:transparent;color:var(--ink);border-radius:8px}.worksheet-preview-pager button:not(:disabled):hover{background:var(--surface-soft)}.worksheet-preview-pager button:disabled{opacity:.25}.worksheet-preview-pager span{min-width:90px;color:var(--muted);font-size:12px;text-align:center;font-variant-numeric:tabular-nums}.worksheet-preview-pager .icon{width:16px;height:16px}html[data-theme] .worksheets-page .worksheet-print-bar{margin-top:20px;padding:12px 14px 12px 20px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 6px 24px #0000000c}.worksheet-print-status{color:var(--ink);font-weight:600}.worksheet-pdf-note{display:block;margin-top:2px;color:var(--muted);font-size:11px}html[data-theme] .worksheets-page .worksheet-print-bar .btn{min-height:44px;gap:8px;padding:10px 18px;border-radius:10px;border:0;box-shadow:none;outline:0;font-size:13px}html[data-theme] .worksheets-page .worksheet-print-bar .btn:focus-visible{outline:3px solid var(--accent);outline-offset:3px}html[data-theme] .worksheets-page .worksheet-print-bar .btn .icon{width:17px;height:17px;flex:0 0 17px;padding:0;background:none;color:inherit;border:0;border-radius:0;rotate:0deg}@media(max-width:1100px)and (min-width:821px){.worksheet-workspace{grid-template-columns:260px minmax(0,1fr);gap:16px}.worksheet-settings{padding:16px}.worksheet-paper-stage{padding:20px}}@media(max-width:820px){.worksheet-workspace{grid-template-columns:minmax(0,1fr);gap:16px}.worksheet-settings{position:static}html[data-theme] .worksheets-page .worksheet-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.worksheets-page #worksheet-family-control{grid-column:auto}.worksheet-options-body{grid-template-columns:repeat(2,minmax(0,1fr))}.worksheet-print-hint{grid-column:1 / -1}}@media(max-width:600px){html[data-theme] .worksheets-page>.page-heading{margin-bottom:18px;padding-bottom:0;border:0}html[data-theme] .worksheets-page .page-heading h1{font-size:28px;line-height:1.25}html[data-theme] .worksheets-page .page-description{margin-top:8px;font-size:13px;line-height:1.6}.worksheet-digital-link{display:none}.worksheet-settings{padding:16px 14px 8px;border-radius:14px}html[data-theme] .worksheets-page .worksheet-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;gap:14px 10px}html[data-theme] .worksheets-page :is(.worksheet-toolbar,.worksheet-options-body) .text-input{font-size:16px;padding:10px 8px}.worksheets-page #worksheet-family-picker-control{display:block}html[data-theme] .worksheets-page .worksheet-family-picker:not([hidden]){display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}html[data-theme] .worksheets-page .worksheet-family{height:50px;aspect-ratio:auto;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:none}html[data-theme] .worksheets-page .worksheet-family[aria-pressed=true]{background:var(--seal);border-color:var(--seal)}.worksheets-page .worksheet-family .jp{font-size:22px}.worksheets-page .worksheet-family small{font-size:8px;letter-spacing:.04em}html[data-theme] .worksheets-page .worksheet-selection[data-scope=family]{display:none}.worksheet-options{margin-top:16px}.worksheet-options>summary{min-height:62px;padding-top:0}.worksheet-options-body{padding-bottom:10px}.worksheet-preview-panel{border-radius:14px}.worksheet-preview-heading{padding:12px 14px}.worksheet-paper-stage{padding:16px}.worksheet-preview-pager{padding:4px 12px}html[data-theme] .worksheets-page .worksheet-print-bar{padding:8px;gap:8px;margin-top:14px}html[data-theme] .worksheets-page .worksheet-print-status{padding-left:4px;font-size:11px;font-weight:500}.worksheet-pdf-note{display:none}html[data-theme] .worksheets-page .worksheet-print-bar .btn{padding-inline:12px;font-size:12px}}@media(max-width:360px){.worksheet-settings{padding-inline:12px}html[data-theme] .worksheets-page .worksheet-print-bar .btn{gap:6px;padding-inline:10px;font-size:11px}.worksheets-page .worksheet-print-status{max-width:105px}.worksheet-options-body{grid-template-columns:minmax(0,1fr)}}}@media print{.worksheet-workspace,.worksheet-preview-panel,.worksheet-paper-stage{display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;overflow:visible!important}}.worksheet-preview{--paper-scale: 1;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:24px;margin-top:28px;overflow:hidden}.paper-preview-page{width:calc(210mm * var(--paper-scale));height:calc(297mm * var(--paper-scale));position:relative}.print-sheet{box-sizing:border-box;width:210mm;height:297mm;padding:14mm;display:flex;flex-direction:column;background:#fff;color:#252525;border:0;outline:1px solid #ddd;box-shadow:0 3px 16px #0000000c;font:10.5pt/1.55 DM Sans,sans-serif;transform:scale(var(--paper-scale));transform-origin:top left}.print-sheet *,.paper-source *{box-sizing:border-box;text-shadow:none}.print-sheet :is(h2,h3,p,small,strong,span,div,section,figure){color:inherit}.print-sheet :is(h2,h3){font-family:DM Sans,sans-serif;letter-spacing:-.25px}.print-sheet :is(.eyebrow,.jp,.paper-art-credit){color:inherit}.print-sheet [lang=ja]{font-family:Noto Sans JP,sans-serif}.print-sheet ruby{ruby-position:over}.print-sheet rt{font-size:.55em;font-weight:400}.paper-heading{flex:0 0 auto}.paper-body{flex:1 1 0;min-height:0;display:flex;flex-direction:column}.paper-body>*{flex-shrink:0}.paper-header{display:flex;justify-content:space-between;align-items:center;gap:6mm;border-bottom:1pt solid #333;padding-bottom:2.5mm;margin-bottom:3mm}.paper-header strong{font:700 20pt/1 DM Sans,sans-serif;letter-spacing:-1px}.paper-header span{font-size:8pt;line-height:1.5;text-align:right;max-width:115mm}.paper-name{display:flex;justify-content:space-between;gap:5mm;font-size:8.5pt;margin:0 0 3mm}.print-sheet h2{font:700 16pt/1.3 DM Sans,sans-serif;margin:2mm 0 3mm}.paper-instructions{font-size:9pt;line-height:1.6;margin:0 0 3mm}.paper-continuation{text-transform:uppercase;letter-spacing:1px;font-size:7.5pt;margin:0 0 3mm}.paper-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:6mm;flex:0 0 10mm;margin-top:3mm;padding-top:2mm;border-top:.5pt solid #aaa;font-size:7.5pt;line-height:1.5}.paper-footer small{display:block;font-size:6.5pt}.paper-page-number{white-space:nowrap;font-variant-numeric:tabular-nums}.paper-row{margin:0 0 3mm;break-inside:avoid}.paper-row-label{display:flex;flex-wrap:wrap;align-items:baseline;gap:3mm;margin-bottom:1.5mm;font-size:8.5pt}.paper-row-label strong{font-size:11pt}.paper-row-label .paper-word{font:16pt Noto Sans JP,sans-serif}.paper-boxes{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:minmax(0,1fr);aspect-ratio:9 / 1;border-left:.5pt solid #999}.paper-box{min-width:0;min-height:0;position:relative;display:grid;place-items:center;overflow:hidden;background:#fff;border:.5pt solid #999;border-left:0}.paper-box:before,.paper-box:after{content:"";position:absolute;pointer-events:none}.paper-box:before{left:0;right:0;top:50%;border-top:.5pt dashed #ccc}.paper-box:after{top:0;bottom:0;left:50%;border-left:.5pt dashed #ccc}.paper-box svg{width:100%;height:100%;display:block;position:relative;z-index:1;overflow:hidden}.paper-box path{fill:none;stroke:#222;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.paper-box text{fill:#444;font:8px sans-serif}.paper-box.ghost path{stroke:#b7b7b7}.paper-box.ghost text{display:none}.paper-box .jp{font:30pt Noto Sans JP,sans-serif;color:#ccc}.paper-repeat-grid{width:100%;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:repeat(11,minmax(0,1fr));aspect-ratio:9 / 11;border-top:.5pt solid #999;border-left:.5pt solid #999;margin:3mm 0}.paper-repeat-grid .paper-box{border-top:0}.paper-practice-line{min-height:8mm;border-bottom:.5pt solid #aaa;margin-top:1mm}.paper-checklist{display:flex;flex-wrap:wrap;gap:2mm 5mm;margin:2mm 0 5mm;font-size:8pt}.paper-question{padding:0 0 1mm;margin:0 0 1mm;break-inside:avoid}.paper-question>strong{font-size:10pt}.paper-question>p{margin:1mm 0;font-size:9pt}.paper-question .jp{font-size:12pt;line-height:1.65}.paper-sentence-question .paper-practice-line{min-height:10mm}.paper-question .paper-practice-line{min-height:8mm}.paper-writing-extension{margin-top:3mm}.paper-answer{margin:0 0 1.5mm;padding-bottom:1.5mm;border-bottom:.5pt solid #ddd;font-size:9pt;break-inside:avoid}.paper-answer strong{display:block;font-size:10pt;margin-bottom:1mm}.paper-answer p{margin:1mm 0}.paper-answer-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5mm}.paper-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4mm}.paper-image-grid[data-count="4"],.paper-image-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-image-grid[data-count="5"]{grid-template-columns:repeat(6,minmax(0,1fr))}.paper-image-grid[data-count="5"] .paper-image-card{grid-column:span 2}.paper-image-grid[data-count="5"] .paper-image-card:nth-last-child(-n+2){grid-column:span 3}.paper-image-card{height:48mm;border:.5pt solid #ccc;border-radius:2mm;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;break-inside:avoid}.paper-image-card img{width:29mm;height:29mm;object-fit:contain;max-width:80%}.paper-image-number{position:absolute;top:3mm;left:3mm;font-weight:700;font-size:9pt}.paper-image-answer{font-size:9pt;margin-top:3mm}.paper-art-credit{font:7pt/1.5 DM Sans,sans-serif;margin-top:4mm}.paper-word-bank{margin-top:4mm;padding:4mm;border:.5pt solid #bbb;border-radius:2mm}.paper-word-bank h3,.paper-dialogue-questions h3,.paper-dialogue-answer h3{font:700 11pt/1.4 DM Sans,sans-serif;margin:0 0 3mm}.paper-word-bank>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm}.paper-word-bank>div>span{font-size:10pt;overflow-wrap:anywhere}.paper-word-bank small{display:block;font:8pt Noto Sans JP,sans-serif;margin-left:4mm}.paper-picture-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4mm 6mm}.paper-picture-answers>div{border-bottom:.5pt solid #ccc;padding:3mm 0}.paper-picture-answers strong,.paper-picture-answers span{display:block;font-size:10pt}.paper-picture-answers span{font-size:9pt}.paper-dialogue{display:grid;gap:3mm}.paper-dialogue-turn{display:grid;grid-template-columns:10mm minmax(0,1fr);gap:3mm;border:.5pt solid #ccc;border-radius:2mm;padding:3mm;break-inside:avoid}.paper-dialogue-turn>strong{display:grid;place-items:center;width:8mm;height:8mm;border:.5pt solid #999;border-radius:50%;font-size:10pt}.paper-dialogue-turn p{font:12pt/1.9 Noto Sans JP,sans-serif;margin:0}.paper-dialogue-turn small{font-size:9pt}.paper-dialogue-turn .paper-practice-line{min-height:7mm}.paper-dialogue-questions{margin-top:4mm}.paper-dialogue-questions>div{margin-bottom:3mm}.paper-dialogue-questions strong{font-size:9pt}.paper-dialogue-answer{padding:0 0 4mm;margin-bottom:4mm;border-bottom:.5pt solid #ccc;break-inside:avoid}.paper-dialogue-answer p{font-size:9pt;margin:2mm 0}.paper-dialogue-answer p strong{margin-right:2mm}.paper-dialogue-answer p span{font-size:10pt}.paper-body-cover .paper-book-cover{flex:1}.paper-book-cover{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.paper-book-cover h2{font-size:34pt;line-height:1.15;margin:5mm 0;letter-spacing:-1.5px}.paper-book-cover>p:not(.eyebrow){max-width:135mm}.paper-book-cover-art{margin:9mm 0;align-self:center;text-align:center}.paper-book-cover-art img{width:52mm;height:52mm;object-fit:contain}.paper-book-cover small{font-size:9pt;max-width:150mm;margin-top:8mm}.paper-book-toc{display:grid;gap:0;margin-top:2mm}.paper-book-toc>div{display:grid;grid-template-columns:minmax(0,1fr) 10mm;gap:3mm;padding:3mm 0;border-bottom:.5pt solid #bbb}.paper-book-toc b{text-align:right;font-size:10pt;font-variant-numeric:tabular-nums;align-self:center}.paper-book-toc strong,.paper-book-toc span{display:block}.paper-book-toc span{font-size:9pt}.paper-book-goal{font-size:9pt;padding:2mm 3mm;margin:0 0 4mm;border-left:2pt solid #555}.paper-book-section{font-size:10pt;line-height:1.5;padding-bottom:1mm;margin-bottom:3mm}.paper-book-section h3{font-size:11pt;margin:0 0 2mm}.paper-book-section>p{margin:1.5mm 0}.paper-book-tip{font-size:9pt;padding:2mm 3mm;border-left:1pt solid #aaa;background:#f7f7f7}.paper-book-practice-title{font-size:11pt;border-top:1pt solid #aaa;padding-top:3mm;margin:1mm 0 3mm}.paper-book-question{margin:0 0 3mm;font-size:9pt;break-inside:avoid}.paper-book-question>strong{display:block;margin-bottom:2mm}.paper-book-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5mm 4mm;font-size:9pt;margin:2mm 0}.paper-book-question .paper-practice-line{min-height:5mm}.paper-book-answers{padding-bottom:3mm;margin-bottom:3mm;border-bottom:.5pt solid #ccc;font-size:9pt;break-inside:avoid}.paper-book-answers h3{font-size:11pt;margin-bottom:2mm}.paper-book-answers p{margin:1.5mm 0}.paper-book-words{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5mm;margin-bottom:3mm}.paper-book-words>div{padding:2mm 0;border-bottom:.5pt solid #bbb}.paper-book-words strong,.paper-book-words span,.paper-book-words small{display:block}.paper-book-words strong{font:13pt/1.8 Noto Sans JP,sans-serif}.paper-book-words span{font-size:9pt}.paper-book-words small{font:10pt/1.8 Noto Sans JP,sans-serif}.print-sheet .eyebrow{font:700 7.5pt/1.4 DM Sans,sans-serif;letter-spacing:1px;margin:0 0 2mm}.paper-section-heading{padding-top:3mm;border-top:1pt solid #777;margin-top:3mm}.paper-body>.paper-section-start:first-child .paper-section-heading{border-top:0;padding-top:0;margin-top:0}.paper-section-start,.paper-writing-extension{break-inside:avoid}.paper-writing-extension h3,.paper-study-guide h3{font-size:11pt;margin:0 0 2mm}.paper-study-guide{margin-top:6mm;border:.5pt solid #aaa;padding:4mm;font-size:9pt}.paper-study-guide ol{padding-left:5mm;margin:2mm 0}.paper-study-guide li{margin-bottom:2mm}.paper-study-guide p{margin:3mm 0 0}.paper-recall-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));aspect-ratio:9 / 5;border-top:.5pt solid #999;border-left:.5pt solid #999;margin:3mm 0}.paper-recall-grid .paper-box{border-top:0}.paper-recall-words{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5mm}.paper-recall-words>div{min-height:11mm;border-bottom:.5pt solid #aaa;font-size:8pt}.paper-question,.paper-book-question,.paper-answer,.paper-book-answers{overflow-wrap:anywhere}.paper-lesson-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5mm}.paper-learning-image{width:28mm;height:28mm;object-fit:contain;display:block}.paper-lesson-heading>.paper-learning-image{width:30mm;height:30mm}.paper-learning-steps{font-size:8pt;margin:0 0 3mm;letter-spacing:.2pt}.paper-section-label{display:flex;align-items:center;gap:2mm;margin-bottom:2mm}.paper-section-label>span{display:grid;place-items:center;width:7mm;height:7mm;flex:0 0 7mm;border-radius:50%;background:var(--paper-tint);font-size:8pt;font-weight:700}.paper-section-label h3{margin:0}.paper-explanation{font-size:9.5pt;line-height:1.55}.paper-explanation p{margin:0 0 2mm}.paper-example-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:3mm;margin:2mm 0 3mm;break-inside:avoid}.paper-example-grid[data-example-layout=word][data-count="2"],.paper-example-grid[data-example-layout=character][data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.paper-example-grid[data-example-layout=character][data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.paper-example-grid[data-example-layout=character][data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.paper-example-grid[data-example-layout=character][data-count="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}.paper-example-card{min-width:0;padding:3mm;border:.6pt solid var(--paper-rule);background:var(--paper-tint);border-radius:3mm;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:3mm;break-inside:avoid}.paper-example-card:has(>img){grid-template-columns:23mm minmax(0,1fr)}.paper-example-card>.paper-learning-image{width:23mm;height:25mm}.paper-example-copy{min-width:0}.paper-example-japanese{font:500 18pt/1.65 Noto Sans JP,sans-serif;overflow-wrap:anywhere}[data-example-kind=word] .paper-example-japanese{font-size:25pt;line-height:1.45}[data-example-kind=character]{text-align:center}[data-example-kind=character] .paper-example-japanese{font-size:44pt;line-height:1.35}[data-example-kind=contrast] .paper-example-japanese{font-size:30pt}.paper-example-copy p{margin:1mm 0 0}.paper-example-reading{font-size:8pt;line-height:1.4}.paper-example-meaning{font-size:9.5pt;font-weight:600;line-height:1.45}.paper-example-note{font-size:8pt;line-height:1.45;padding-top:2mm;border-top:.5pt solid var(--paper-rule)}.paper-kana-strip{display:flex;justify-content:space-around;gap:2mm}.paper-kana-strip span{font:500 30pt/1.4 Noto Sans JP,sans-serif}.paper-book-tip>strong{font-size:8pt;text-transform:uppercase;letter-spacing:.5pt;margin-right:2mm}.paper-family-overview{display:flex;justify-content:space-around;gap:2mm;padding:2mm;margin-bottom:3mm;border-radius:3mm;background:var(--paper-tint)}.paper-family-overview strong{display:block;font:500 28pt/1.25 Noto Sans JP,sans-serif}.paper-family-overview small{display:block;font-size:8pt;text-align:center}.paper-vocabulary-card{display:flex;align-items:center;gap:3mm}.paper-vocabulary-card>div{min-width:0}.paper-vocabulary-card .paper-learning-image{width:20mm;height:22mm;flex:0 0 20mm}.paper-vocabulary-card strong{font-size:19pt;overflow-wrap:anywhere}.paper-kanji-study{margin-bottom:4mm;break-inside:avoid}.paper-kanji-intro{display:grid;grid-template-columns:28mm 25mm minmax(0,1fr);gap:5mm;align-items:center;padding:2mm 3mm;margin-bottom:2mm;background:var(--paper-tint);border-radius:3mm}.paper-kanji-intro .paper-kanji-display{font:500 54pt/1.25 Noto Sans JP,sans-serif;text-align:center}.paper-kanji-intro h3{font-size:13pt;margin:0 0 1mm}.paper-kanji-intro p{font-size:15pt;margin:0}.paper-kanji-intro small{font-size:9pt}.paper-meaning-sketch{width:24mm;height:24mm;fill:#f5d389;stroke:#956620;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.paper-kanji-study .paper-row-label{display:none}.paper-kana-study{break-inside:avoid}.paper-kana-study .paper-lesson-heading{display:block;padding:0;border:0;margin:0 0 2mm}.paper-kana-study .paper-lesson-heading h2{font-size:14pt;margin:0 0 1mm}.paper-kana-study .paper-book-goal{padding:0;border:0;background:none;margin:0;font-size:8.5pt}.paper-kana-study .paper-learning-steps{display:none}.paper-kana-study .paper-book-section{margin-bottom:1mm;padding:0}.paper-kana-study .paper-section-label{margin-bottom:1mm}.paper-kana-study .paper-section-label>span{width:6mm;height:6mm;flex-basis:6mm}.paper-kana-study .paper-explanation{font-size:9pt;line-height:1.45}.paper-kana-study .paper-example-grid{margin:1mm 0 2mm}.paper-kana-study .paper-example-card{padding:1.5mm 2mm}.paper-kana-study [data-example-kind=character] .paper-example-japanese{font-size:36pt}.paper-kana-study .paper-row{margin-bottom:1.5mm}.paper-kana-study .paper-row-label{margin-bottom:.8mm;line-height:1.25}.paper-kana-study .paper-writing-extension{margin-top:2mm}.paper-kana-study .paper-writing-extension h3{margin-bottom:1mm}.paper-kana-study .paper-instructions{margin-bottom:2mm;font-size:8.5pt;line-height:1.4}.paper-kana-study .paper-checklist{margin-bottom:0}.print-sheet{--paper-accent: #146b70;--paper-tint: #edf8f6;--paper-rule: #aad5d0}.print-sheet[data-paper-tone=coral]{--paper-accent: #ac4637;--paper-tint: #fff2ed;--paper-rule: #e7b4a4}.print-sheet[data-paper-tone=violet]{--paper-accent: #6b4a95;--paper-tint: #f5f0fc;--paper-rule: #cbb8e2}.print-sheet[data-paper-tone=blue]{--paper-accent: #285ea0;--paper-tint: #eef5ff;--paper-rule: #acc9e9}.print-sheet[data-paper-tone=gold]{--paper-accent: #85550d;--paper-tint: #fff7df;--paper-rule: #dec57e}.print-sheet .paper-header{border-color:var(--paper-accent)}.print-sheet .paper-header strong,.print-sheet h2,.print-sheet .eyebrow,.print-sheet .paper-header span,.print-sheet .paper-continuation{color:var(--paper-accent)}.paper-book-goal{background:var(--paper-tint);border-color:var(--paper-accent)}.paper-book-tip{background:#fff7df;border-color:#bb891e}.paper-book-practice-title{color:var(--paper-accent);border-color:var(--paper-rule)}.paper-section-heading,.paper-footer,.paper-book-toc>div{border-color:var(--paper-rule)}.print-sheet .paper-page-number,.print-sheet .paper-book-toc b{color:var(--paper-accent)}.paper-study-guide{background:var(--paper-tint);border-color:var(--paper-rule);border-radius:2mm}.print-sheet .paper-study-guide h3,.print-sheet .paper-writing-extension h3{color:var(--paper-accent)}.paper-row-label{padding-left:2mm;border-left:2pt solid var(--paper-accent)}.paper-box.model{background:var(--paper-tint)}.paper-box.model path{stroke:var(--paper-accent)}.paper-box.model text{fill:#234c54}.paper-image-card,.paper-word-bank{border-color:var(--paper-rule)}.paper-image-card:nth-child(3n+1){background:#fff7ed}.paper-image-card:nth-child(3n+2){background:#f0f8f4}.paper-image-card:nth-child(3n){background:#f4f0fb}.paper-word-bank{background:#edf8f6}.paper-dialogue-turn{border-color:var(--paper-rule)}.paper-dialogue-turn>strong{background:var(--paper-accent);color:#fff;border-color:var(--paper-accent)}.paper-dialogue-turn:nth-child(2n)>strong{background:#9b4770;border-color:#9b4770}.paper-book-cover{border-top:3mm solid #e69b72;padding-top:8mm}.print-sheet .paper-book-cover h2{color:#146b70}.paper-cover-path{display:flex;flex-wrap:wrap;gap:2mm;margin-top:4mm}.paper-cover-path span{border:.5pt solid #aad5d0;border-radius:8mm;padding:1.5mm 3mm;background:#edf8f6;font-size:8pt}.paper-cover-path span:nth-child(2){background:#fff2ed;border-color:#e7b4a4}.paper-cover-path span:nth-child(3){background:#f5f0fc;border-color:#cbb8e2}.paper-cover-path span:nth-child(4){background:#fff7df;border-color:#dec57e}.paper-kanji-answers{margin-top:4mm;font-size:9pt}.worksheet-preview[data-print-color=mono] .print-sheet{--paper-accent: #111;--paper-tint: #fff;--paper-rule: #777;background:#fff;color:#111}.worksheet-preview[data-print-color=mono] .print-sheet *{color:#111!important;background-color:transparent!important;border-color:#777!important}.worksheet-preview[data-print-color=mono] .print-sheet img{filter:grayscale(1) contrast(1.2)}.worksheet-preview[data-print-color=mono] .paper-box path{stroke:#111}.worksheet-preview[data-print-color=mono] .paper-box text{fill:#111}.worksheet-preview[data-print-color=mono] .paper-box.ghost path{stroke:#888}.worksheet-preview[data-print-color=mono] .paper-box:before,.worksheet-preview[data-print-color=mono] .paper-box:after{border-color:#aaa}.worksheet-preview[data-print-color=mono] .paper-meaning-sketch{fill:#eee;stroke:#222}.paper-source{visibility:hidden;position:absolute;width:182mm;height:auto;padding:0;transform:none;font:10.5pt/1.55 DM Sans,sans-serif}@page{size:A4 portrait;margin:0}@media print{html,html[data-theme],body{color-scheme:light;background:#fff!important;color:#000!important;margin:0!important;padding:0!important}body:before,body:after,.sidebar,.sidebar-backdrop,.topbar,.app-footer,#arcade-hud,.skip-link,#toast,.no-print,.worksheets-page>.page-heading,.worksheets-page>.tip-box{display:none!important}.app-body,#app,.main-content,.worksheets-page,.worksheet-preview{display:block!important;width:auto!important;min-height:0!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}.paper-preview-page{display:contents}.print-sheet{transform:none;outline:0;box-shadow:none;break-after:page;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.paper-preview-page:last-child .print-sheet{break-after:auto}a[href]:after{content:none!important}}
