/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-lg:1.125rem;--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.flex-shrink,.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:root{--bg:#f7f5ef;--ink:#24332f;--accent:#347d70;--gold:#e7b96b;--sub:#e8ede9;--paper:#fffcf7;--muted:#55615c;--danger:#b85a4a;--scrim:#24332f5c;--shadow:0 18px 50px #24332f14;--shadow-pop:0 22px 70px #24332f2e;--focus:#347d7080;--rule:#e7ebe7;--danger-soft:#f8e8e4;--accent-soft:#d8ebe5;--gold-ink:#7a5a1e;--motion-fast:.14s;--motion:.2s;--motion-slow:.28s;--line:#d5dbd6}.ui-pill{border:1px solid var(--line);background:var(--paper);min-width:44px;min-height:44px;color:var(--ink);cursor:pointer;border-radius:999px;flex-wrap:nowrap;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:12px;font-weight:800;line-height:1;text-decoration:none;display:inline-flex}.ui-pill.is-accent{color:var(--accent)}.ui-popover{z-index:20;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:12px;padding:7px;position:absolute;top:calc(100% + 8px);right:0}.ui-dialog{z-index:50;background:var(--scrim);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);place-items:center;padding:18px;display:grid;position:fixed;inset:0}.ui-dialog-panel{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-pop);border-radius:22px}.ui-card{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:18px}.ui-btn{cursor:pointer;min-height:48px;transition:transform var(--motion-fast);border:1px solid #0000;border-radius:12px;flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:16px;font-weight:800;text-decoration:none;display:inline-flex}.ui-btn:active{transform:translateY(1px)}.ui-btn-block{width:100%}.ui-btn-ghost{background:var(--paper);border:1px solid var(--line);color:var(--ink);box-shadow:none}.ui-btn-primary{background:var(--accent);color:#fff;box-shadow:0 3px #2a655b}.ui-btn-gold{background:var(--gold);color:var(--ink);box-shadow:0 3px #c9a15a}.ui-btn:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.ui-icon{flex-shrink:0;width:1.125em;height:1.125em;display:block}.match-new-best .ui-icon,.howto-advance .ui-icon{display:inline-block}.ui-label-row{flex-wrap:nowrap;align-items:center;gap:6px;display:inline-flex}.ui-btn .ui-icon,.ui-pill .ui-icon,.menu-popover a .ui-icon{margin-inline-end:-2px}.streak-badge{border:1.5px solid var(--line);background:var(--sub);min-height:32px;color:var(--ink);border-radius:999px;flex-wrap:nowrap;align-items:center;gap:6px;padding:4px 12px 4px 8px;font-size:13px;font-weight:800;text-decoration:none;display:inline-flex}.streak-badge-mark{background:var(--sub);border:2px solid var(--muted);border-radius:50%;flex:0 0 22px;width:22px;height:22px;position:relative;transform:rotate(-8deg)}.streak-badge-mark:before{content:"";border:1.5px solid var(--muted);opacity:.7;border-radius:50%;position:absolute;inset:3px}.streak-badge-mark:after{content:"";background:var(--muted);opacity:.55;border-radius:2px;position:absolute;inset:7px;transform:rotate(18deg)}.streak-badge.tier-mid{color:var(--gold-ink);background:#fff8e8;border-color:#e2c78a}.streak-badge.tier-mid .streak-badge-mark{background:#f7e9c9;border-color:#c9962e}.streak-badge.tier-mid .streak-badge-mark:before{opacity:.85;border-color:#8a6a24}.streak-badge.tier-mid .streak-badge-mark:after{opacity:.75;background:#8a6a24}.streak-badge.tier-high{color:#6e5018;background:linear-gradient(#fff3d6,#f7e9c9);border-color:#d4a84e;box-shadow:0 0 0 3px #e7b96b33}.streak-badge.tier-high .streak-badge-mark{background:var(--gold);border-color:#c9962e}.streak-badge.tier-high .streak-badge-mark:before{opacity:.9;border-color:#fff}.streak-badge.tier-high .streak-badge-mark:after{opacity:.9;background:#fff}.stamp{width:110px;height:110px;color:var(--gold-ink);border:4px solid var(--gold);animation:stamp-in var(--motion-slow) ease-out;background:#fff8e8;border-radius:50%;place-items:center;margin-bottom:22px;font-size:22px;font-weight:900;display:grid;transform:rotate(-8deg)}@keyframes stamp-in{0%{opacity:0;transform:rotate(-8deg)scale(.85)}to{opacity:1;transform:rotate(-8deg)scale(1)}}@media (prefers-reduced-motion:reduce){.stamp{animation:none;transform:rotate(-8deg)}}*{box-sizing:border-box}html{background:var(--bg)}body{color:var(--ink);background:radial-gradient(circle at 12% 0, #fffdf8 0%, transparent 34%), var(--bg);min-height:100vh;margin:0;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;font-size:14px}html:lang(vi) body{font-family:Be Vietnam Pro,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Noto Sans,Helvetica Neue,Arial,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif}:where(html:lang(vi) [lang=ja]){font-family:"M PLUS Rounded 1c",Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif}button{font:inherit}html:lang(vi) button[lang=ja]:not(.match-kanji){font-family:"M PLUS Rounded 1c",Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif}.home-page{min-height:100vh}main{width:min(1120px,100%);margin:auto;padding:0 24px 32px}.seo-overview{border:0;border-top:1px solid var(--line);width:100%;box-shadow:none;background:0 0;border-radius:0;margin:18px auto 0;padding:14px 24px 0}.seo-overview-copy{max-width:790px}.seo-overview h2{color:var(--ink);margin:0 0 6px;font-size:15px;font-weight:800;line-height:1.45}.seo-overview rt{font-size:clamp(11px,.56em,15px)}.seo-overview-copy>p:not(.eyebrow){color:var(--muted);margin:0;font-size:14px;line-height:1.7}@media (width<=760px){.seo-overview{width:auto;margin-inline:14px;padding:12px 0 0}.seo-overview h2{font-size:14px}}header{justify-content:space-between;align-items:center;gap:12px;height:64px;display:flex}.brand{color:inherit;align-items:center;gap:10px;font-weight:800;text-decoration:none;display:flex}.brand i{color:#fff;background:var(--accent);border-radius:9px;flex-shrink:0;place-items:center;width:34px;height:34px;font-style:normal;display:grid}.brand-text{flex-direction:column;gap:1px;line-height:1.05;display:flex}.brand-primary{letter-spacing:.01em;font-size:15px}.brand-note{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:700}.lang-menu,.course-menu{position:relative}.menu-button{place-items:center;padding:0;display:grid}.lang-button.ui-pill{letter-spacing:.02em;flex-wrap:nowrap;gap:8px;min-width:60px;padding:0 14px;font-size:13px}.menu-glyph{font-size:18px;font-weight:800;line-height:1}.lang-popover{min-width:150px}.menu-course-label{color:var(--muted);font-size:11px;font-weight:700;line-height:1.4;margin:4px 8px 8px!important}.about-page .guide-sheet{max-width:100%;overflow-x:clip}.about-toc{flex-wrap:wrap;gap:8px 12px;margin-top:22px;display:flex}.about-toc a{font-size:13px}.about-section{border-top:1px dashed var(--line);padding:28px 24px}.about-section>h2{margin:0 0 16px;font-size:clamp(22px,4vw,28px)}.about-section>p{color:var(--muted);overflow-wrap:anywhere;margin:0 0 14px;font-size:16px;line-height:1.85}.about-section>p:last-child{margin-bottom:0}.about-page #about,.about-page #privacy,.about-page #credits{scroll-margin-top:24px}.guide-page{overflow-x:clip}.header-actions{align-items:center;gap:6px;display:flex}.course-menu{position:relative}.course-menu .menu-popover{width:230px}.menu-popover button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:11px 10px;font-size:12px;font-weight:700}.menu-popover>a{width:100%;min-height:44px;color:var(--ink);text-align:left;border-radius:8px;flex-wrap:nowrap;align-items:center;gap:8px;padding:11px 10px;font-size:12px;font-weight:700;text-decoration:none;display:flex}.menu-popover>a:hover,.menu-popover button:hover{background:var(--sub)}.menu-popover p{color:var(--muted);margin:5px 8px 4px;font-size:10px}ruby{ruby-align:center}rt{color:#6c746f;font-size:.48em;font-weight:600}.chooser{text-align:center;width:min(620px,100%);padding:38px;position:relative}.chooser h1{margin:4px 0 5px;font-size:28px}.level-choices button{border:1px solid var(--line);background:var(--paper);min-height:142px;color:var(--ink);cursor:pointer;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:18px;display:flex}.level-choices button:hover{border-color:var(--accent);transform:translateY(-2px)}.level-choices strong{font-size:18px}.level-choices small{color:var(--muted);font-size:11px}.level-choices{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:25px;display:grid}.level-choices button{min-height:110px}.chooser-back,.chooser-close{color:var(--muted);cursor:pointer;background:0 0;border:0;position:absolute}.chooser-back{font-size:12px;font-weight:700;top:18px;left:20px}.chooser-close{font-size:25px;top:13px;right:17px}.jlpt-note{color:var(--muted);margin:18px 0 0;font-size:10px}.guide-page{padding-bottom:56px}.guide-sheet{border:1px solid var(--line);background:repeating-linear-gradient(transparent, transparent 27px, var(--rule) 28px), var(--paper);box-shadow:var(--shadow);border-radius:18px;overflow:clip visible}.guide-intro{border-bottom:1px solid var(--line);background:var(--paper);padding:28px 24px 22px}.guide-intro h1{letter-spacing:.03em;margin:0 0 17px;font-size:clamp(28px,5vw,42px)}.guide-start{text-align:center;padding:36px 62px 44px}.guide-start p{margin:0 0 18px;font-size:15px}.guide-start .info-home{min-width:44px;min-height:44px;color:var(--accent);text-underline-offset:3px;justify-content:center;align-items:center;gap:6px;padding:0 4px;font-size:16px;font-weight:800;text-decoration:underline;display:inline-flex}.guide-start .info-home:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.progress-daily{background:var(--sub);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 12px;padding:12px;display:flex}.progress-daily>div:first-child{min-width:0}.progress-daily .progress-label{color:var(--muted);font-size:14px;font-weight:700}.progress-daily strong{white-space:nowrap;color:var(--ink);font-variant-numeric:tabular-nums;font-size:20px;font-weight:800;display:block}.progress-daily strong small{color:var(--muted);font-size:14px;font-weight:700}.progress-daily .char-nav{flex-shrink:0;gap:6px;display:flex}.progress-daily .char-nav button{border:1px solid var(--line);background:var(--paper);width:34px;height:34px;color:var(--ink);cursor:pointer;border-radius:10px;place-items:center;padding:0;font-family:serif;font-size:16px;font-weight:800;display:grid;position:relative}.progress-daily .char-nav button:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.progress-daily .char-nav button:disabled{cursor:default}.progress-daily .char-nav .done{background:var(--accent);border-color:var(--accent);color:#fff;font-family:inherit;box-shadow:0 0 0 2px #347d7040,0 0 12px #347d7040}.progress-daily .char-nav .current{color:var(--ink);border-color:var(--accent);animation:soft-pulse var(--motion-slow) ease-out 1;box-shadow:0 0 0 2px #347d7044}.progress-daily .char-nav .current.done{color:#fff;background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 2px #347d7040,0 0 12px #347d7040}.progress-daily .char-nav .locked{opacity:.55}.progress-ordinal{font-variant-numeric:tabular-nums}.progress-writes{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.progress-writes h2{margin:0;font-size:16px;font-weight:800}.progress-writes strong{font-variant-numeric:tabular-nums;color:var(--ink);font-size:22px}.progress-writes strong small{color:var(--muted);font-size:14px;font-weight:700}.next-wrap{margin-top:12px}.focus-back-link{width:100%;min-height:44px;color:var(--accent);font:inherit;text-align:center;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;margin:8px 0 0;padding:8px 12px;font-size:14px;font-weight:800;text-decoration:underline;display:flex}@keyframes soft-pulse{0%{box-shadow:0 0 #347d7000}40%{box-shadow:0 0 0 4px #347d7040}to{box-shadow:0 0 0 2px #347d7044}}.lesson{background:var(--paper);border:1px solid var(--line);min-height:0;box-shadow:var(--shadow);border-radius:18px;display:block;overflow:hidden}.lesson-aside{border-bottom:1px solid var(--line);background:repeating-linear-gradient(#0000,#0000 27px,#e7ebe7 28px);grid-template-columns:72px 1fr;align-items:start;gap:12px;padding:12px 14px;display:grid}.lesson-aside .model-wrap{justify-items:center;gap:2px;width:72px;max-width:72px;display:grid;overflow:hidden}.lesson-aside .model,.model{aspect-ratio:1;border:1px solid var(--line);background-color:#fff;background-image:linear-gradient(90deg,#0000 49.7%,#d9ded9 50%,#0000 50.3%),linear-gradient(#0000 49.7%,#d9ded9 50%,#0000 50.3%);border-radius:12px;place-items:center;width:72px;height:72px;margin:0;font-family:serif;font-size:44px;line-height:1;display:grid;position:relative}.lesson-aside .replay,.lesson-aside .replay.is-compact{box-sizing:border-box;width:44px;max-width:72px;min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;margin:0;padding:0;font-size:16px;font-weight:700;line-height:1;display:grid}.lesson-aside .replay:after{display:none}.lesson-aside .reading-panel{gap:2px;min-width:0;display:grid}.lesson-aside .reading{gap:2px;min-width:0;margin:0;display:grid}.lesson-aside .reading-meta{color:var(--muted);margin:0 0 4px;font-size:12px;font-weight:700}.lesson-aside .reading div{grid-template-columns:auto 1fr;align-items:baseline;gap:8px;display:grid}.lesson-aside .reading dt{color:var(--muted);text-align:left;background:0 0;border-radius:0;margin:0;padding:0;font-size:12px;font-weight:700}.lesson-aside .reading dd{overflow-wrap:anywhere;word-break:keep-all;min-width:0;color:var(--ink);margin:0 0 4px;font-size:14px;font-weight:700;line-height:1.45}.lesson-aside .example{flex-wrap:wrap;align-items:baseline;gap:6px;margin:4px 0 0;font-size:14px;font-weight:700;display:flex}.lesson-aside .example b{color:var(--muted);background:0 0;border-radius:0;padding:0;font-size:12px;font-weight:700}.eyebrow{color:var(--muted);letter-spacing:0;margin:0 0 16px;font-size:14px;font-weight:700}dl{gap:9px;margin:0;display:grid}dl div{grid-template-columns:62px 1fr;align-items:center;gap:8px;display:grid}.history-detail dt,.match-result dt,.streak-hero-sub dt{color:var(--muted);text-align:left;background:0 0;border-radius:0;padding:0;font-size:11px}dd{overflow-wrap:anywhere;min-width:0;margin:0;font-size:14px;font-weight:700;line-height:1.45}.example{align-items:center;gap:10px;font-weight:700;display:flex}.lesson article{padding:14px}.instruction{grid-template-columns:38px 1fr auto;align-items:center;gap:10px;margin-bottom:12px;display:grid}.instruction h1{margin:0;font-size:22px}.instruction strong{color:var(--ink);font-size:30px}.instruction small{color:var(--muted);font-size:13px}.instruction em{color:var(--ink);font-size:30px}.grid{grid-template-columns:repeat(5,1fr);gap:50px 15px;padding-bottom:48px;display:grid}.cell{aspect-ratio:1;touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background-color:#ffffffd9;border:1.5px solid #bbb7ac;position:relative}.cell:before,.cell:after{content:"";z-index:0;pointer-events:none;background:#ccc6ba70;position:absolute}.cell:before{width:1px;top:0;bottom:0;left:50%}.cell:after{height:1px;top:50%;left:0;right:0}.cell.is-stroke{border-color:#a8c7bf}.cell.is-free{border-color:#e2c78a}.cell.filled{border-color:var(--accent);box-shadow:0 0 0 2px #347d7028}.cell.just-done{animation:cell-glow var(--motion) ease-out}@keyframes cell-glow{0%{box-shadow:0 0 #347d7000}40%{box-shadow:0 0 0 6px #347d7044}to{box-shadow:0 0 0 2px #347d7028}}.cell canvas{z-index:1;touch-action:none;width:100%;height:100%;position:absolute;inset:0}.cell>span,.cell .cell-n{z-index:2;color:var(--muted);pointer-events:none;font-size:12px;font-weight:800;position:absolute;top:6px;left:8px}.cell .cell-kind{font-size:11px;left:auto;right:8px}.cell button{z-index:3;color:#8f756f;opacity:0;pointer-events:none;touch-action:manipulation;background:#fffdf7;border:0;border-radius:6px;padding:4px 8px;font-size:11px;line-height:1.2;position:absolute;top:calc(100% + 3px);right:-1.5px}.cell button:after{content:"";width:44px;height:44px;position:absolute;top:0;right:0}.cell.filled button,.cell.has-drawing button{opacity:1;pointer-events:auto}.next{background:var(--accent);color:#fff;width:100%;min-height:52px;transition:transform var(--motion-fast);border:0;border-radius:12px;margin-top:16px;font-size:16px;font-weight:800;box-shadow:0 3px #2a655b}.next:active{transform:translateY(1px)}.next:disabled{color:#898984;box-shadow:none;background:#dddcd5}.focus-pad{box-sizing:border-box;aspect-ratio:1;flex-shrink:0;width:min(100%,280px);max-width:100%;height:auto;margin:0 auto 40px;position:relative}.focus-pad .cell{width:auto;height:auto;aspect-ratio:unset;border-width:2px;border-radius:14px;margin:0;position:absolute;inset:0}.focus-pad.is-stroke .cell{border-color:#a8c7bf}.focus-pad.is-free .cell{border-color:#e2c78a}.focus-pad.is-complete{opacity:.9}.phase-note{flex-wrap:wrap;gap:8px;margin:0 0 12px;display:flex}.phase{background:var(--sub);min-height:28px;color:var(--ink);border-radius:999px;align-items:center;padding:2px 10px;font-size:13px;font-weight:700;display:inline-flex}.phase.active{color:var(--accent);background:#d8ebe5}.phase.free.active{color:#7a5a1e;background:#f7e9c9}.write-rail{flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;margin:0 0 12px;display:flex}.done-chip{border:1.5px solid var(--accent);cursor:pointer;width:40px;height:40px;font:inherit;background:#f3f8f6;border-radius:10px;padding:0;position:relative;box-shadow:0 0 0 2px #347d7028}.done-chip .n{color:var(--muted);font-size:9px;font-weight:800;position:absolute;top:2px;left:4px}.done-chip .glyph{color:#24332f55;font-family:serif;font-size:18px;line-height:40px}.done-chip .pass{background:var(--accent);color:#fff;width:16px;height:16px;animation:pop-in var(--motion-fast) ease-out;border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid;position:absolute;bottom:-4px;right:-4px}@keyframes pop-in{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.write-rail .upcoming{border:1px dashed var(--line);width:28px;height:28px;color:var(--muted);font:inherit;cursor:default;background:#fff;border-radius:8px;place-items:center;padding:0;font-size:11px;font-weight:800;display:grid}.write-rail .upcoming.is-todo{cursor:pointer;border-style:solid;border-color:var(--line)}.write-rail .upcoming.is-todo:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.write-rail .rail-label{color:var(--muted);margin-left:auto;font-size:13px;font-weight:700}.write-status{background:var(--sub);border-radius:12px;margin:14px 0 0;padding:12px}.write-status-label{color:var(--muted);text-align:center;margin:0 0 8px;font-size:14px;font-weight:700}.write-status-bar{background:#d5dbd6;border-radius:999px;height:8px;overflow:hidden}.write-status-bar>i{background:var(--accent);border-radius:inherit;height:100%;transition:width var(--motion);display:block}.next span{margin-left:12px;font-size:22px}.site-footer{border-top:1px solid var(--line);color:var(--muted);text-align:left;margin-top:12px;padding:12px 0 16px;display:block}.home-page>.site-footer{box-sizing:border-box;width:min(1072px,100% - 48px);margin-inline:auto}main:has(>.site-footer){padding-bottom:0}.footer-meta{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.level-disclaimer{color:var(--muted);text-align:left;margin:8px 0 0;font-size:13px;line-height:1.6}.complete{text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;min-height:0;padding:28px 16px 16px;display:flex}.complete h1{margin:6px 0 14px;font-size:24px;font-weight:800}.today{flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 16px;display:flex}.today span{background:var(--sub);border:0;border-radius:10px;place-items:center;width:42px;height:42px;font-family:serif;font-size:22px;font-weight:700;display:grid}.tomorrow{color:var(--muted);background:0 0;border-radius:0;margin:16px 0 0;padding:0;font-size:14px;font-weight:700}.complete-stats{color:#7a5a1e;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;gap:10px;margin:0 0 18px;padding:0;display:flex}.complete-stats strong,.complete-stats span{color:#7a5a1e;background:#fff8e8;border:1.5px solid #e2c78a;border-radius:999px;align-items:center;min-height:32px;padding:4px 12px;font-size:13px;font-weight:800;display:inline-flex}.complete-actions{gap:10px;width:min(100%,320px);margin-bottom:8px;display:grid}.record-link,.share-button{border:1px solid var(--line);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;min-height:48px;padding:9px 15px;font-weight:800;text-decoration:none;display:inline-flex}.record-link{background:var(--gold);color:var(--ink);box-shadow:0 3px #c9a15a}.share-button{background:var(--paper);color:var(--ink)}.share-notice{color:#587064;font-size:13px;font-weight:700;margin:-10px 0 16px!important}.loading{color:#587064;flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:100vh;font-weight:700;display:flex}.loading p{margin:0}.loading-book{perspective:500px;filter:drop-shadow(0 5px 4px #705f4930);width:92px;height:58px;position:relative}.loading-page,.loading-turning-page{background:repeating-linear-gradient(#0000 0 10px,#abc5d040 10px 11px),#fffdf7;border:1px solid #cfc7b8;width:46px;height:58px;position:absolute;top:0}.loading-page-left{transform-origin:100%;border-radius:7px 1px 1px 7px;left:0;transform:rotateY(8deg)}.loading-page-right{transform-origin:0;border-radius:1px 7px 7px 1px;left:46px;transform:rotateY(-8deg)}.loading-turning-page{z-index:2;transform-origin:0;backface-visibility:hidden;border-radius:1px 7px 7px 1px;margin:0;animation:1.25s ease-in-out infinite loading-page-turn;left:46px}@keyframes loading-page-turn{0%,12%{opacity:0;transform:rotateY(0)}18%{opacity:1}78%{opacity:1}88%,to{opacity:0;transform:rotateY(-180deg)}}@media (prefers-reduced-motion:reduce){.loading-turning-page{animation:none;transform:rotateY(-28deg)}}.ad-slot{width:min(1120px,100% - 28px);min-height:0;margin:0 auto 24px;overflow:hidden}.kvg-model{border:1px solid var(--line);background:linear-gradient(90deg,#0000 49.7%,#d9ded9 50%,#0000 50.3%),linear-gradient(#0000 49.7%,#d9ded9 50%,#0000 50.3%),#fff}.kvg-loading{width:100%;height:100%;color:var(--ink);place-items:center;font-size:36px;line-height:1;display:grid}.kvg-outline,.kvg-quiz-outline{fill:none;stroke:#ded9cf;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px}.kvg-strokes{fill:none;stroke:#24303c;stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.kvg-done{stroke-dasharray:none;stroke-dashoffset:0;animation:none}.kvg-pending{opacity:0;visibility:hidden;pointer-events:none;transition:none;animation:none}.kvg-draw{transition:none;animation:none}.kvg-numbers{pointer-events:none}.kvg-number{fill:#6d645b;font-family:system-ui,sans-serif;font-size:10px;font-weight:700}.kvg-number-active{fill:#2f6fed}.replay:disabled{cursor:default;opacity:.7}.replay{color:#6d645b;background:#fffdf7;border:1px solid #c7bfb1;border-radius:99px;margin:0 auto 17px;padding:6px 12px;font-size:11px;font-weight:700;display:block}.check-note{color:var(--muted);margin:0 0 14px;font-size:14px;font-weight:700;line-height:1.6}.cell.checked{overflow:visible}.cell.checked .quiz{touch-action:none;width:100%;height:100%;display:block}.kvg-accepted,.kvg-active{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:5px}.kvg-accepted polyline,polyline.kvg-active{vector-effect:non-scaling-stroke;stroke-width:5px}.kvg-active.wrong{stroke:var(--danger)}.kvg-hint{fill:none;stroke:#73a286;stroke-linecap:round;stroke-linejoin:round;stroke-width:5px;opacity:.72;animation:.9s ease-in-out infinite alternate hint-pulse}@keyframes hint-pulse{to{opacity:.32}}.cell.checked .pass-mark{z-index:3;color:var(--accent);pointer-events:none;animation:pop-in var(--motion-fast) ease-out;font-size:18px;line-height:1;position:absolute;top:4px;right:5px}@media (prefers-reduced-motion:reduce){.cell.checked .pass-mark{animation:none}}.cell.checked .miss{z-index:3;background:var(--danger-soft);color:var(--danger);text-align:center;pointer-events:none;border-radius:3px;padding:3px;font-size:8px;font-style:normal;position:absolute;bottom:4px;left:4px;right:4px}.model.animated,.model.animated svg{width:72px!important;height:72px!important}.model.animated{place-items:center;margin-bottom:0;display:grid;overflow:hidden}.kvg-loading{font-size:36px}.stroke-credit{color:var(--muted);text-align:left;margin:8px 0 0;font-size:12px;line-height:1.5}.stroke-credit a{color:inherit;text-underline-offset:2px;text-decoration:underline}.kvg-load-error{color:#9a5148;text-align:center;place-items:center;padding:12px;font-size:10px;display:grid}.records-page{padding-bottom:44px}.records-page .record-tabs button[aria-selected=true],.records-page .tab-active{color:var(--accent);border-color:var(--accent)}.records-title{padding:28px 0 22px}.records-title .eyebrow,.history-heading .eyebrow,.share-card .eyebrow{margin-bottom:6px}.records-title h1{letter-spacing:.05em;margin:0;font-size:clamp(30px,5vw,46px)}.stats-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px;display:grid}.stat-card{align-items:center;gap:16px;min-height:116px;padding:22px;display:flex}.stat-card>span{font-size:32px}.stat-card strong{color:var(--ink);font-size:30px;line-height:1;display:block}.stat-card strong small{margin-left:3px;font-size:14px}.stat-card p{color:var(--muted);margin:7px 0 0;font-size:13px;font-weight:700}.records-columns{grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);gap:18px;margin-bottom:18px;display:grid}.calendar-card{padding:22px}.calendar-heading{grid-template-columns:38px 1fr 38px;align-items:center;margin-bottom:16px;display:grid}.calendar-heading h2{text-align:center;margin:0;font-size:19px}.calendar-heading button{border:1px solid var(--line);background:var(--paper);width:36px;height:36px;color:var(--ink);cursor:pointer;border-radius:50%}.calendar-grid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.calendar-weekdays{color:#77796f;text-align:center;margin-bottom:6px;font-size:12px;font-weight:700}.calendar-grid>button,.calendar-empty{min-height:43px}.calendar-grid>button{border:1px solid var(--line);background:var(--paper);color:#77796f;cursor:default;border-radius:9px;position:relative}.calendar-grid>button.studied{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);cursor:pointer;font-weight:900}.calendar-grid>button i{color:var(--accent);font-size:9px;font-style:normal;position:absolute;bottom:2px;right:4px}.calendar-note{color:var(--muted);justify-content:flex-end;align-items:center;gap:6px;margin:14px 0 0;font-size:12px;display:flex}.calendar-note i{border:1px solid var(--accent);background:var(--accent-soft);border-radius:4px;width:13px;height:13px}.share-card{flex-direction:column;justify-content:center;padding:24px;display:flex}.share-card h2{margin:0 0 9px;font-size:22px}.share-card>p:not(.eyebrow):not(.share-notice){color:#59635f;margin:0 0 18px;font-size:14px;font-weight:700}.share-options{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px;display:grid}.share-options button{border:1px solid var(--line);background:var(--paper);min-height:38px;color:var(--ink);cursor:pointer;border-radius:8px;font-size:12px;font-weight:800}.share-card .share-notice{margin:10px 0 0!important}.history-card{overflow:hidden}.history-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:16px;padding:24px 26px 20px;display:flex}.history-heading h2{margin:0;font-size:24px}.history-heading>span{color:var(--muted);font-size:13px}.history-item+.history-item{border-top:1px solid var(--line)}.history-summary{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:130px 1fr 32px;align-items:center;gap:18px;padding:18px 26px;display:grid}.history-summary:hover,.history-item.open .history-summary{background:var(--sub)}.history-date strong,.history-date small{display:block}.history-date strong{font-size:16px}.history-date small{color:#657f71;margin-top:5px;font-weight:800}.history-kanji{flex-wrap:wrap;gap:7px;display:flex}.history-kanji b{border:1px solid var(--line);background:#fff;place-items:center;width:42px;height:42px;font-family:serif;font-size:24px;font-weight:500;display:grid}.history-kanji em{color:var(--muted);font-size:14px;font-style:normal}.history-toggle{color:#758a7e;text-align:right;font-size:22px}.history-detail{background:var(--sub);padding:0 26px 22px 174px}.history-detail dl{gap:6px;max-width:520px;margin:0 0 16px;display:grid}.history-detail dl>div{border-bottom:1px dashed var(--line);grid-template-columns:44px 1fr;align-items:center;gap:12px;padding-bottom:6px;display:grid}.history-detail dt{font-family:serif;font-size:26px}.history-detail dd{grid-template-columns:1fr 1fr;gap:8px;margin:0;font-size:14px;display:grid}.history-detail dd span{word-break:keep-all}.history-detail dd span:first-child:before{content:"くん　";color:#7c817a;font-size:11px}.history-detail dd span:last-child:before{content:"おん　";color:#7c817a;font-size:11px}.history-detail>p{color:var(--muted);margin:0 0 16px;font-size:14px}.load-more{width:calc(100% - 52px);margin:18px 26px 24px}.history-empty{text-align:center;padding:48px 24px}.history-empty strong{font-size:19px}.history-empty p{color:var(--muted);margin:9px 0 20px}@media (width<=760px){main{padding:0 14px 24px}header{height:62px}.brand{font-size:14px}.brand i{width:30px;height:30px}.header-actions{gap:5px}.menu-popover{position:fixed;top:58px;right:12px}.chooser{border-radius:18px;padding:32px 18px 24px}.chooser h1{font-size:22px}.level-choices{gap:8px}.level-choices button{min-height:92px;padding:10px 5px}.level-choices strong{font-size:15px}.progress-daily{flex-wrap:wrap;gap:10px}.progress-daily .char-nav button{width:32px;height:32px;font-size:14px}.lesson{border-radius:14px}.lesson-aside{grid-template-columns:72px 1fr;padding:12px}.lesson article{padding:14px 12px 18px}.instruction{grid-template-columns:30px 1fr auto;margin-bottom:10px}.instruction h1{font-size:17px}.instruction strong{font-size:24px}.grid{grid-template-columns:repeat(2,1fr);gap:50px 11px}.focus-pad{width:100%;max-width:min(100%,280px)}.next{z-index:5;margin-top:20px;position:sticky;bottom:10px}.complete{min-height:0;padding:24px 14px}.complete h1{font-size:22px}.home-page>.site-footer{width:calc(100% - 28px)}.complete-actions{grid-template-columns:1fr;width:100%;display:grid}.records-title{padding:20px 2px 16px}.records-title h1{font-size:29px}.stats-grid{gap:7px}.stat-card{text-align:center;min-height:104px;padding:13px 9px;display:block}.stat-card>span{font-size:22px}.stat-card strong{margin-top:7px;font-size:24px}.stat-card strong small{font-size:11px}.stat-card p{font-size:10px}.records-columns{grid-template-columns:1fr;gap:12px}.calendar-card,.share-card{padding:16px}.calendar-grid{gap:4px}.calendar-grid>button,.calendar-empty{min-height:38px}.share-card{min-height:220px}.history-heading{padding:20px 16px 16px}.history-heading h2{font-size:20px}.history-summary{grid-template-columns:78px 1fr 24px;gap:8px;padding:15px 14px}.history-date strong{font-size:13px}.history-kanji{gap:4px}.history-kanji b{width:32px;height:32px;font-size:19px}.history-detail{padding:0 14px 18px}.history-detail dl{max-width:none}.history-detail dd{font-size:12px}.practice-again{width:100%}.load-more{width:calc(100% - 28px);margin:14px}.guide-sheet{background:repeating-linear-gradient(transparent, transparent 27px, var(--rule) 28px), var(--paper);border-radius:14px;overflow-x:hidden}.guide-intro{padding:28px 18px 24px}.guide-start{padding:28px 18px 34px}.about-section{padding:28px 18px}.about-toc{gap:8px}}.match-sheet{width:min(100%,560px);margin:0 auto;padding:8px 16px 32px}.match-intro h1{margin:4px 0 8px;font-size:1.9rem}.match-intro h2{margin:22px 0 10px;font-size:1rem}.match-courses{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.match-courses button{border:2px solid var(--line);background:var(--paper);min-height:52px;color:var(--ink);font:inherit;cursor:pointer;border-radius:14px;font-weight:700}.match-courses button.is-current{border-color:var(--accent);background:var(--accent-soft)}.match-start{margin-top:20px}.match-secondary{margin-top:10px}.match-timer.is-low{color:var(--danger)}.match-status{background:var(--sub);border-radius:14px 14px 0 0;grid-template-columns:1fr auto auto;align-items:center;gap:8px;margin:4px 0 0;padding:10px 12px 8px;display:grid}.match-timer{font-variant-numeric:tabular-nums;color:var(--ink);font-size:20px;font-weight:800}.match-progress{background:var(--paper);border:1px solid var(--line);border-radius:999px;align-items:center;min-height:28px;padding:2px 10px;font-size:13px;font-weight:800;display:inline-flex}.match-bar{background:#d5dbd6;border-radius:0 0 14px 14px;height:6px;margin:0 0 12px;padding:0;overflow:hidden}.match-bar i{background:var(--accent);height:100%;transition:width var(--motion-fast) linear;border-radius:inherit;display:block}.match-board{grid-template-columns:1fr 1fr;gap:10px;display:grid}.match-col{grid-auto-rows:1fr;gap:10px;display:grid}.match-card{border:2px solid var(--line);min-height:clamp(48px,20dvh - 50px,84px);color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#fff;border-bottom-width:4px;border-radius:14px;justify-content:center;align-items:center;padding:8px;animation:.3s ease-out match-in;display:flex}.match-kanji{font-family:Klee One,Hiragino Mincho ProN,serif;font-size:clamp(1.8rem,5.5dvh,2.6rem)}.match-reading{word-break:keep-all;font-size:1.35rem;font-weight:700}.match-card.is-selected{background:#eef4fd;border-color:#5b8bd0}.match-card.is-wrong{border-color:var(--danger);background:var(--danger-soft);color:var(--danger);animation:.38s match-shake}.match-card.is-correct-flash{border-color:var(--accent);background:var(--accent-soft)}.match-card.is-matched{border-color:var(--accent);background:var(--accent-soft);color:#2a655b;pointer-events:none;animation:.6s ease-in forwards match-out}.match-card.is-empty{cursor:default;background:0 0;border-style:dashed;border-color:#ebe4d6;animation:none}.match-card[aria-disabled=true]{cursor:default}.match-result{text-align:center;padding-top:24px}.match-result .stamp{width:128px;height:128px;margin:0 auto 18px;font-size:1.15rem}.match-result .stamp.is-fail{color:var(--muted);border-color:var(--muted)}.match-result dl{width:min(100%,280px);margin:0 auto}.match-result dl div{background:var(--paper);border:2px solid var(--line);border-radius:14px;padding:12px 6px;display:block}.match-result dt{color:#6b7480;background:0 0;border-radius:0;padding:0;font-size:.85rem}.match-result dd{white-space:nowrap;margin:4px 0 0;font-size:1.4rem;font-weight:800}@keyframes match-out{0%,35%{opacity:1;transform:scale(1.04)}to{opacity:0;transform:scale(.92)}}@keyframes match-in{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}@keyframes match-shake{0%,to{transform:none}30%{transform:translate(-3px)}60%{transform:translate(3px)}}@media (prefers-reduced-motion:reduce){.match-card{animation:none!important}.match-card.is-matched{opacity:.4}}.match-lengths button{flex-direction:column;justify-content:center;align-items:center;line-height:1.2;display:flex}.match-lengths small{color:#6b7480;font-size:.8rem;font-weight:500}.match-records{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 14px;margin:18px 0 0;display:flex}.match-records p{margin:0}.match-best{color:var(--ink);font-size:14px}.match-best b{font-size:16px}.match-new-best{color:#8a6200;background:#fff4c7;border:2px solid #f0c63a;border-radius:99px;flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;margin:0 0 4px;padding:6px 14px;font-weight:800;animation:.3s ease-out match-in;display:inline-flex}.match-result .match-records{margin:0 0 14px}.match-play .match-status{margin-top:0}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.match-card{position:relative}.match-mark{font-size:1rem;font-weight:900;line-height:1;position:absolute;top:6px;right:10px}.match-result dd small{color:#6b7480;font-size:.75rem;font-weight:600;display:block}.match-board.is-locked .match-card:not(.is-wrong){opacity:.55}.calendar-grid>button.match-day{border-color:var(--accent)}.calendar-grid>button.match-day:not(.studied){background:var(--accent-soft);border-color:var(--accent);color:var(--accent);cursor:pointer;font-weight:800}.calendar-grid>button .match-dot{color:var(--accent);font-size:9px;font-style:normal;position:absolute;bottom:2px;left:4px}.calendar-note{flex-wrap:wrap}.calendar-note .match-legend{color:var(--accent);margin-left:10px;font-size:12px;font-style:normal}.match-records-card{margin-top:18px;padding:18px 14px 20px;scroll-margin-top:16px}.match-records-card .history-heading{border:0;padding:0 0 4px}.match-stats{grid-template-columns:repeat(2,1fr);margin:10px 0 4px}.match-subhead{margin:18px 0 8px;font-size:15px}.match-bests{gap:6px;margin:0;padding:0;list-style:none;display:grid}.match-bests li{border:1px solid var(--line);background:var(--paper);border-radius:10px;justify-content:space-between;gap:8px;padding:10px 12px;font-size:14px;display:flex}.match-filters{flex-wrap:wrap;gap:10px;margin-bottom:10px;display:flex}.match-filters label{align-items:center;gap:6px;font-size:13px;font-weight:700;display:flex}.match-filters select{border:1px solid var(--line);background:var(--paper);min-height:44px;font:inherit;border-radius:10px;padding:0 10px}.match-history{gap:8px;margin:0;padding:0;list-style:none;display:grid}.match-history li{border:1px solid var(--line);background:var(--paper);border-radius:10px;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 12px;font-size:14px;display:grid}.match-history .match-when{color:#77796f;grid-column:1;font-size:12px}.match-history .match-what{grid-column:1;font-weight:700}.match-history .match-outcome{text-align:right;flex-direction:column;grid-area:1/2/span 2;justify-content:center;display:flex}.match-history .match-outcome span{color:#77796f;font-size:12px}.match-history li.is-cleared b{color:#3f7d00}.match-history li.is-failed b{color:var(--danger)}.match-records-link{text-align:center;width:100%;color:var(--accent);flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;min-height:44px;margin-top:14px;font-weight:700;text-decoration:none;display:inline-flex}.match-share{text-align:center;height:auto;min-height:0;margin:16px 0 6px;padding:16px}.match-share h2,.match-share h3{margin:0 0 10px;font-size:15px}.hub{gap:14px;max-width:560px;margin:4px auto 0;display:grid}.hub-today{border:1px solid var(--line);background:var(--paper);border-radius:14px;margin:4px 0 2px;padding:16px}.hub-eyebrow{color:var(--muted);margin:0 0 6px;font-size:14px;font-weight:700}.hub-tagline{color:var(--ink);letter-spacing:0;margin:0 0 10px;font-size:clamp(20px,5.5vw,26px);font-weight:800;line-height:1.3}.hub-lead{color:var(--muted);margin:0 0 14px;font-size:14px;line-height:1.5}.hub-meta{flex-wrap:wrap;gap:8px;margin:0 0 14px;display:flex}.hub-pill{background:var(--sub);min-height:28px;color:var(--ink);border-radius:999px;align-items:center;padding:2px 10px;font-size:13px;font-weight:700;display:inline-flex}.hub-pill.is-done{color:var(--accent);background:#d8ebe5}.hub-links{flex-wrap:wrap;justify-content:center;gap:6px 18px;margin:8px 0 0;font-size:14px;display:flex}.hub-links a{color:var(--accent);text-underline-offset:3px;font-weight:800}.mode-grid ul{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:18px 10px;margin:6px 0 0;padding:0;list-style:none;display:grid}.mode-tile{border:1px solid var(--line);background:var(--paper);height:100%;color:var(--ink);-webkit-tap-highlight-color:transparent;border-radius:14px;align-content:start;justify-items:center;gap:8px;padding:10px 12px;text-decoration:none;display:grid;position:relative}.mode-tile.is-primary{background:linear-gradient(180deg, #fbfffe 0%, var(--paper) 100%);border-color:#9bc2b8}.mode-tile:hover{background:var(--sub)}.mode-tile.is-primary:hover{background:linear-gradient(180deg, #f3faf7 0%, var(--paper) 100%);border-color:var(--accent)}.mode-icon{--tone:var(--accent);--tone-line:#9bc2b8;--tone-soft:#f3f8f6;border:1.5px solid var(--tone-line);background:var(--paper);width:76px;height:76px;transition:border-color var(--motion-fast), transform var(--motion-fast);border-radius:18px;place-items:center;display:grid}.mode-tile.is-blue .mode-icon{--tone:#35596b;--tone-line:#9fb6c2;--tone-soft:#e3ecf1}.mode-icon svg{width:64px;height:64px;display:block;overflow:visible}.mi-frame{fill:none;stroke:var(--tone);stroke-width:2.25px;stroke-linecap:round;stroke-linejoin:round}.mi-guide{fill:none;stroke:var(--tone-line);stroke-width:1px;stroke-dasharray:2 2}.mi-kana{fill:var(--tone);stroke:var(--tone);stroke-width:.9px;stroke-linejoin:round}.mi-card{fill:var(--paper);stroke:var(--tone);stroke-width:2.25px;stroke-linejoin:round}.mi-card-soft{fill:var(--tone-soft)}.mi-bolt{fill:#e9b949;stroke:var(--tone);stroke-width:1.25px;stroke-linejoin:round}.mi-wood{fill:#f3dcb6;stroke:var(--tone);stroke-width:1.25px;stroke-linejoin:round}.mi-lead{fill:var(--ink)}.mi-body{fill:var(--tone)}.mi-cap{fill:var(--tone-line)}.mode-name{text-align:center;white-space:nowrap;font-size:14px;font-weight:800;line-height:1.3}.mode-done{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;font-weight:800;display:grid;position:absolute;top:0;right:calc(50% - 46px)}.mode-tile.is-blue .mode-done{background:#35596b}.mode-tile:hover .mode-icon{border-color:var(--tone)}.mode-tile:active .mode-icon{transform:translateY(1px)}.mode-tile:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.mode-text{justify-items:center;gap:2px;min-width:0;display:grid}.mode-grid.is-list ul{grid-template-columns:1fr;gap:6px}.mode-grid.is-list .mode-tile{grid-template-columns:76px 1fr;place-items:center start;gap:14px;padding:10px 12px}.mode-grid.is-list .mode-text{justify-items:start;gap:3px}.mode-grid.is-list .mode-name{text-align:left;font-size:16px}.mode-blurb{color:var(--muted);text-wrap:pretty;font-size:13px;font-weight:500;line-height:1.45}.mode-grid.is-list .mode-done{top:0;left:62px;right:auto}@media (width>=760px){.hub{max-width:760px}.mode-grid ul{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:24px 14px}.mode-icon{border-radius:20px;width:88px;height:88px}.mode-icon svg{width:74px;height:74px}.mode-done{right:calc(50% - 52px)}.mode-grid.is-list ul{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px 24px}.mode-grid.is-list .mode-tile{grid-template-columns:88px 1fr}.mode-grid.is-list .mode-done{left:72px}}@media (prefers-reduced-motion:reduce){.mode-icon{transition:none}.mode-tile:active .mode-icon{transform:none}.progress-daily .char-nav .current,.cell.just-done,.done-chip .pass,.ui-btn:active{animation:none!important}.ui-btn:active{transform:none!important}}.streak-hero{grid-template-columns:auto 1fr;align-items:center;gap:6px 18px;margin:4px 0 16px;padding:18px 20px;display:grid}.streak-hero-main{align-items:baseline;gap:6px;display:flex}.streak-hero-main span{align-self:center;font-size:28px}.streak-hero-main strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:clamp(52px,17vw,72px);font-weight:800;line-height:1}.streak-hero-main p{margin:0;font-size:16px;font-weight:800;display:grid}.streak-hero-main small{color:var(--muted);font-size:12px;font-weight:600}.streak-hero-sub{text-align:right;justify-self:end;gap:6px;margin:0;display:grid}.streak-hero-sub div{display:grid}.streak-hero-sub dt{color:var(--muted);font-size:12px}.streak-hero-sub dd{margin:0;font-size:17px;font-weight:800}.streak-hero-note{color:var(--muted);grid-column:1/-1;margin:4px 0 0;font-size:12.5px;line-height:1.5}.record-tabs{background:var(--sub);border-radius:14px;grid-template-columns:1fr 1fr;gap:4px;margin:22px 0 14px;padding:4px;scroll-margin-top:12px;display:grid}.record-tabs [role=tab]{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;font-size:15px;font-weight:800}.record-tabs [role=tab][aria-selected=true]{background:var(--paper);color:var(--ink);box-shadow:0 2px 8px #413a2d1f}.record-tabs [role=tab]:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.record-panel{gap:18px;display:grid}.record-panel[hidden]{display:none}.record-panel>*{margin-top:0;margin-bottom:0}@media (width<=380px){.streak-hero{gap:6px 10px;padding:16px}.streak-hero-sub dd{font-size:15px}}.records-columns{grid-template-columns:minmax(0,1fr);max-width:760px}.record-panel .share-card{min-height:0}.streak-hero .streak-hero-sub dt{all:unset;color:var(--muted);white-space:nowrap;font-size:12px;display:block}.streak-hero .streak-hero-sub dd{all:unset;white-space:nowrap;font-size:17px;font-weight:800;display:block}.streak-hero .streak-hero-sub div{all:unset;display:grid}.hub-links a{flex-wrap:nowrap;align-items:center;gap:8px;min-height:44px;display:inline-flex}.hub-today>.ui-btn,.hub-links a .ui-icon,.match-new-best .ui-icon,.ui-label-row .ui-icon{flex-shrink:0}.calendar-grid>button,.calendar-grid>.calendar-empty,.brand{min-height:44px}.hub-intro h1.hub-tagline{color:var(--ink);letter-spacing:0;margin:0;font-size:clamp(22px,6vw,28px);font-weight:800;line-height:1.35}.menu-popover>a.menu-back{border-top:1px solid var(--line);border-radius:0 0 8px 8px;margin-top:4px}.match-play{position:relative}.match-pause{padding:0;font-size:13px}.match-board.is-paused{filter:blur(14px);visibility:hidden;pointer-events:none}.match-paused{z-index:10;text-align:center;align-content:center;justify-items:center;gap:12px;padding:20px;display:grid;position:absolute;inset:56px 0 0}.match-paused-title{margin:0;font-size:1.3rem;font-weight:800}.match-paused p{color:var(--muted);margin:0}.match-paused .match-start,.match-paused .match-secondary{width:min(260px,100%)}.match-page .header-actions{align-items:center;display:flex}.records-page .header-actions,.about-page .header-actions{margin-left:auto}.record-tabs .tab-mark{color:#4f7d63;font-style:normal}.chooser-close{justify-content:center;align-items:center;width:44px;height:44px;padding:0;line-height:1;display:inline-flex;top:4px;right:6px}.replay{position:relative}.replay:after{content:"";height:44px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.about-toc a{align-items:center;min-height:44px;display:inline-flex}.hub-main+.seo-overview{margin-top:4px}@media (width>=761px){.hub-main~.seo-overview{max-width:1072px;margin-inline:auto}}.howto-button{font-size:18px}.howto-backdrop{z-index:60}.howto-dialog{width:min(420px,100%);max-height:min(640px,100dvh - 32px);padding:14px 14px 16px;overflow:auto}.howto-bar{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.howto-bar h2,.howto-title{text-align:start;flex:1;margin:0;font-size:18px;font-weight:800;line-height:1.3}.howto-close{width:44px;height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:99px;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:28px;line-height:1;display:inline-flex}.howto-viewport{touch-action:pan-y;flex-direction:column;align-items:center;display:flex;overflow:hidden}.howto-track{width:100%;transition:transform .28s;display:flex}.howto-slide{flex-direction:column;flex:0 0 100%;align-items:center;min-width:0;margin:0;display:flex}.howto-pair{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.howto-pair img{background:#eeeae0;border-radius:12px;width:100%;height:auto}@media (prefers-reduced-motion:reduce){.howto-track{transition:none}.howto-pair{grid-template-columns:1fr}.howto-pair img[src$=\.gif]{display:none}}.howto-slide figcaption{color:var(--ink);text-align:center;margin:10px 4px 0;font-size:15px;font-weight:800;line-height:1.35}.howto-advance{flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;width:min(100%,240px);margin-block:12px 4px;margin-inline:auto;display:flex}.howto-nav{grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;width:100%;margin-top:10px;display:grid}.howto-arrow{width:44px;height:44px;padding:0;font-size:26px}.howto-arrow:disabled{opacity:.35;cursor:default}.howto-dots{justify-content:center;gap:8px;display:flex}.howto-dots button{cursor:pointer;background:0 0;border:0;border-radius:99px;width:44px;height:44px}.howto-dots button:before{content:"";background:#d0cbc0;border-radius:99px;width:8px;height:8px;margin:auto;display:block}.howto-dots button.is-current:before,.howto-dots button[aria-selected=true]:before{background:var(--accent)}.match-start[aria-disabled=true]{cursor:default;opacity:.72}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ease{syntax:"*";inherits:false}
