:root{color:#263b36;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#263b36;--muted:#7d8984;--paper:#f7f7f2;--white:#fffefa;--green:#355f51;--green-dark:#24443c;--mint:#e7f1e9;--line:#e7e8df;--coral:#bd665d;--shadow:0 16px 50px #2e41360e;background:#f7f7f2;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,PingFang TC,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,a{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #9bbba8}button:disabled{cursor:not-allowed;opacity:.5}::selection{color:var(--green-dark);background:#dceadf}.app-shell{min-height:100vh}.site-header{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fafaf6e6;border-bottom:1px solid #32483d14;align-items:center;gap:42px;height:76px;padding:0 max(24px,50vw - 600px);display:flex}.brand{min-width:222px;color:var(--ink);align-items:center;gap:10px;text-decoration:none;display:inline-flex}.brand img{border-radius:12px;width:40px;height:40px}.brand span{gap:2px;display:grid}.brand strong{letter-spacing:-.4px;font-family:Georgia,Times New Roman,serif;font-size:17px}.brand small{color:var(--muted);letter-spacing:.1em;font-size:10px}.top-nav{flex:1;align-items:center;gap:30px;height:100%;display:flex}.nav-link{height:100%;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 2px;font-size:13px;transition:color .16s;position:relative}.nav-link:hover,.nav-link.active{color:var(--green-dark)}.nav-link.active:after{background:var(--green);content:"";height:2px;position:absolute;bottom:0;left:0;right:0}.header-actions{align-items:center;gap:16px;display:flex}.header-progress{color:var(--green);align-items:center;gap:8px;font-size:13px;font-weight:700;display:inline-flex}.header-progress small{color:#9aa49f;font-size:11px;font-weight:500}.progress-dot{background:#82a48f;border-radius:100%;width:8px;height:8px}.install-button{background:var(--white);color:var(--green);cursor:pointer;border:1px solid #dce3da;border-radius:999px;align-items:center;gap:7px;padding:9px 14px;font-size:11px;font-weight:700;transition:all .16s;display:inline-flex}.install-button:hover{background:var(--mint);border-color:#9eb7a5}.install-symbol{font-size:15px;line-height:1}.main-content{width:min(1200px,100% - 48px);margin:0 auto;padding:46px 0 20px}.welcome-row{justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px;display:flex}.eyebrow{color:#82948a;letter-spacing:.2em;margin:0 0 9px;font-size:9px;font-weight:800}h1,h2,h3,p{margin-top:0}h1{color:var(--ink);letter-spacing:-.055em;margin-bottom:9px;font-family:Georgia,Noto Serif TC,Songti TC,serif;font-size:clamp(28px,3.4vw,39px);font-weight:500;line-height:1.2}.welcome-copy{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.welcome-stat{align-items:center;gap:12px;min-width:225px;padding:13px 16px;display:flex}.stat-symbol{width:44px;height:44px;color:var(--green);background:#edf1e9;border-radius:14px;place-items:center;font-family:Noto Serif JP,Hiragino Mincho ProN,serif;font-size:24px;display:grid}.welcome-stat div{gap:4px;display:grid}.welcome-stat strong{color:var(--green-dark);font-size:19px}.welcome-stat strong span{color:#a3ada5;font-size:12px;font-weight:500}.welcome-stat small{color:var(--muted);font-size:10px}.card-surface{background:var(--white);box-shadow:var(--shadow);border:1px solid #384c4014;border-radius:18px}.notice{color:#829188;min-height:28px;margin-bottom:10px;font-size:11px;line-height:1.6}.workspace-grid{grid-template-columns:minmax(0,1.65fr) minmax(310px,.95fr);align-items:start;gap:19px;display:grid}.chart-panel,.practice-panel,.progress-page{padding:24px}.panel-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.panel-heading h2{color:var(--ink);letter-spacing:-.04em;margin:0;font-family:Georgia,Noto Serif TC,Songti TC,serif;font-size:21px;font-weight:500}.panel-heading .eyebrow{margin-bottom:6px}.chart-count{color:#728078;background:#f2f4ee;border-radius:99px;padding:7px 10px;font-size:10px}.section-copy{color:var(--muted);margin:10px 0 18px;font-size:11px;line-height:1.6}.kana-chart-wrap{overscroll-behavior-inline:contain;width:100%;overflow-x:auto}.kana-chart{border-collapse:separate;border-spacing:4px;table-layout:fixed;width:100%}.kana-chart thead th{color:#8c9891;text-align:center;text-transform:uppercase;height:29px;font-size:10px;font-weight:600}.kana-chart thead th:first-child{width:54px}.kana-chart tbody th{color:#62716a;text-align:left;padding:0 3px;font-size:11px;font-weight:700}.kana-chart tbody th span,.kana-chart tbody th small{display:block}.kana-chart tbody th small{color:#a1aaa3;letter-spacing:.08em;margin-top:3px;font-size:8px;font-weight:500}.kana-chart td{height:68px;padding:0}.kana-cell{cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fafbf7;border:1px solid #e9ece5;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:100%;height:64px;transition:transform .14s,border-color .14s,background .14s,box-shadow .14s;display:flex;position:relative}.kana-cell:hover{background:#f2f7f1;border-color:#bdd0c1;transform:translateY(-2px);box-shadow:0 5px 12px #304b3912}.kana-cell:active{transform:scale(.96)}.kana-cell.is-known{background:#edf5ed;border-color:#c7ddca}.kana-glyph{color:#2d4039;font-family:Hiragino Mincho ProN,Yu Mincho,Noto Serif JP,serif;font-size:23px;line-height:1.1}.kana-romaji{color:#839189;letter-spacing:.02em;font-size:9px}.known-dot{color:#679272;font-size:9px;font-weight:800;position:absolute;top:4px;right:5px}.kana-empty{color:#e4e7df;text-align:center;display:block}.chart-legend{color:#86928a;gap:19px;margin-top:12px;font-size:10px;display:flex}.chart-legend span{align-items:center;gap:6px;display:inline-flex}.legend-swatch{background:#edf5ed;border:1px solid #c7ddca;border-radius:3px;width:9px;height:9px}.practice-panel{padding:23px}.panel-heading.compact{align-items:center;margin-bottom:19px}.panel-heading.compact h2{font-size:19px}.sparkle{color:#c28c61;font-size:24px}.setup-section{border-top:1px solid #f0f0e9;padding:16px 0}.setup-section:first-of-type{border-top:0}.setup-label{justify-content:space-between;align-items:center;gap:12px;display:flex}.setup-label strong,.setup-title{color:#45574f;font-size:11px;font-weight:700}.text-button{color:#688a72;cursor:pointer;background:0 0;border:0;padding:4px 0;font-size:10px}.text-button:hover{color:var(--green-dark);text-decoration:underline}.row-picker{flex-wrap:wrap;gap:7px;margin-top:11px;display:flex}.row-chip{color:#77837d;cursor:pointer;background:#fff;border:1px solid #e6e9e1;border-radius:9px;min-width:47px;min-height:36px;font-size:11px;transition:all .14s}.row-chip:hover{border-color:#afc7b5}.row-chip.selected{color:#446b50;background:#edf5ed;border-color:#abc5b0;font-weight:700}.selection-note{color:#a0aaa3;margin:8px 0 0;font-size:9px}.mode-list{gap:7px;margin-top:10px;display:grid}.mode-option{cursor:pointer;text-align:left;background:#fff;border:1px solid #eceee7;border-radius:11px;align-items:center;gap:10px;min-height:54px;padding:8px 10px;transition:all .14s;display:flex}.mode-option:hover{border-color:#c8d6ca}.mode-option.selected{background:#f2f7f0;border-color:#aac3ae}.mode-symbol{color:#617b67;background:#f1f3ec;border-radius:10px;flex:none;place-items:center;width:33px;height:33px;font-size:17px;display:grid}.mode-option.selected .mode-symbol{color:var(--green);background:#e3eee2}.mode-text{flex:1;gap:3px;display:grid}.mode-text strong{color:#46574f;font-size:10px}.mode-text small{color:#909a93;font-size:9px}.radio-dot{border:1px solid #cbd3cb;border-radius:50%;width:14px;height:14px}.mode-option.selected .radio-dot{border:4px solid var(--green)}.count-picker{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px;display:grid}.count-option{color:#77837d;cursor:pointer;background:#fff;border:1px solid #e8ebe4;border-radius:8px;min-height:34px;font-size:10px;transition:all .14s}.count-option:hover{border-color:#b6cbb9}.count-option.selected{color:#41654b;background:#edf5ed;border-color:#aac3ae;font-weight:700}.practice-summary{color:#849088;background:#f4f5ef;border-radius:10px;justify-content:space-between;gap:12px;margin:2px 0 11px;padding:11px 12px;font-size:10px;display:flex}.practice-summary strong{color:#52675a;font-size:10px}.primary-button,.secondary-button{cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:43px;padding:0 17px;font-size:11px;font-weight:700;transition:transform .14s,background .14s,border-color .14s,box-shadow .14s;display:inline-flex}.primary-button{background:var(--green);color:#fff}.primary-button:hover:not(:disabled){background:var(--green-dark);transform:translateY(-1px);box-shadow:0 6px 15px #274d3a29}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled){transform:scale(.98)}.start-button{justify-content:space-between;width:100%;min-height:46px;padding:0 16px}.start-button span{font-size:18px;font-weight:400}.secondary-button{color:#53685a;background:#fff;border-color:#e5e9e2}.secondary-button:hover{background:#f5f8f3;border-color:#bdcfc0}.privacy-note{color:#a2aba4;text-align:center;margin:10px 0 0;font-size:9px}.site-footer{color:#9aa49d;justify-content:space-between;gap:14px;padding:25px 1px 4px;font-size:9px;display:flex}.site-footer b{color:#c18e66;font-size:12px}.focus-panel{width:min(100%,720px);min-height:520px;margin:0 auto;padding:26px clamp(18px,5vw,50px) 32px}.focus-topline{color:#85928a;justify-content:space-between;align-items:center;gap:14px;font-size:10px;display:flex}.back-button{color:#688373;cursor:pointer;background:0 0;border:0;padding:6px 0;font-size:11px}.back-button:hover{color:var(--green-dark)}.focus-progress{background:#edf0e9;border-radius:9px;height:5px;margin-top:12px;overflow:hidden}.focus-progress span{border-radius:inherit;background:#7c9d82;height:100%;transition:width .25s;display:block}.focus-eyebrow{text-align:center;margin:25px 0 10px}.flashcard{cursor:pointer;background:radial-gradient(at 50% 35%,#fff 0%,#fcfcf8 75%);border:1px solid #e9ece4;border-radius:19px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:min(100%,500px);min-height:320px;margin:0 auto;transition:border .15s,transform .15s;display:flex}.flashcard:hover{border-color:#cbd9cc;transform:translateY(-2px)}.flash-kana{color:#2d433a;font-family:Hiragino Mincho ProN,Yu Mincho,Noto Serif JP,serif;font-size:clamp(90px,19vw,138px);line-height:1.05}.flash-answer{color:#9aa59e;min-height:29px;font-size:13px}.flash-answer.visible{color:var(--green);font-size:21px;font-weight:700}.flash-hint{color:#adb5ad;letter-spacing:.16em;font-size:8px}.focus-actions,.card-navigation,.result-actions{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:14px;display:flex}.marked-known{color:#497151;background:#edf5ed;border-color:#bcd3bd}.card-navigation{justify-content:space-between;margin-top:18px}.card-navigation .primary-button,.card-navigation .secondary-button{flex:1}.quiz-panel{min-height:470px}.quiz-score{color:#89958d;justify-content:space-between;align-items:baseline;margin-top:18px;font-size:10px;display:flex}.quiz-score strong{color:var(--green);font-size:17px}.quiz-score small{color:#a2aaa3;font-size:10px;font-weight:500}.quiz-panel .focus-eyebrow{margin:15px 0 8px}.quiz-question{cursor:pointer;background:#fcfcf8;border:1px solid #e9ece4;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:min(100%,500px);min-height:194px;margin:0 auto 14px;display:flex}.quiz-question>span{color:#2d433a;font-family:Hiragino Mincho ProN,Yu Mincho,Noto Serif JP,serif;font-size:88px;line-height:1}.quiz-question small{color:#8a978f;align-items:center;gap:5px;font-size:10px;display:inline-flex}.answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:min(100%,500px);margin:0 auto;display:grid}.answer-option{color:#3c5147;cursor:pointer;background:#fff;border:1px solid #e7eae3;border-radius:11px;min-height:56px;font-size:17px;font-weight:700;transition:transform .13s,border .13s,background .13s;position:relative}.answer-option:hover:not(:disabled){background:#f7faf5;border-color:#b2c8b5;transform:translateY(-1px)}.answer-option.correct{color:#397249;background:#eaf5e9;border-color:#9cc3a1}.answer-option.incorrect{color:#a94f48;background:#fbefed;border-color:#d9a49d}.answer-option span{font-size:15px;position:absolute;top:50%;right:15px;transform:translateY(-50%)}.answer-feedback{border:1px solid;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:12px 13px;display:flex}.feedback-correct{color:#497650;background:#f0f7ef;border-color:#cce0ce}.feedback-incorrect{color:#a65d54;background:#fdf4f2;border-color:#efd3cf}.answer-feedback>div{gap:4px;display:grid}.answer-feedback strong{font-size:11px}.answer-feedback>div>span{font-size:10px}.answer-feedback .primary-button{min-width:96px;min-height:38px;padding:0 12px}.result-panel{text-align:center;width:min(100%,650px);margin:0 auto;padding:38px clamp(18px,5vw,48px)}.result-badge{width:66px;height:66px;color:var(--green);background:#f0f4eb;border:1px solid #e2eadd;border-radius:22px;place-items:center;margin:0 auto 20px;font-family:Noto Serif JP,serif;font-size:31px;display:grid}.result-panel>.eyebrow{margin-bottom:8px}.result-panel h2{color:var(--ink);margin-bottom:7px;font-family:Georgia,Noto Serif TC,serif;font-size:24px;font-weight:500}.result-subtitle{color:#919c95;margin-bottom:22px;font-size:11px}.result-score{background:#f3f5ef;border-radius:15px;gap:4px;min-width:190px;padding:15px 26px;display:inline-grid}.result-score strong{color:var(--green);font-size:33px}.result-score strong span{color:#a0aba2;font-size:17px;font-weight:500}.result-score small{color:#7f9084;font-size:10px}.result-stats{border:1px solid #eceee8;border-radius:12px;grid-template-columns:repeat(3,1fr);margin:18px 0;padding:13px 0;display:grid}.result-stats div{border-right:1px solid #eceee8;gap:4px;display:grid}.result-stats div:last-child{border:0}.result-stats strong{color:#506a57;font-size:18px}.result-stats span{color:#95a097;font-size:9px}.wrong-review{text-align:left;border-top:1px solid #eff0ea;margin-top:20px;padding-top:15px}.wrong-review .setup-label>span{color:var(--coral);font-size:10px}.wrong-list{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.wrong-list button{color:#a76057;cursor:pointer;background:#fff8f6;border:1px solid #efdfda;border-radius:9px;align-items:center;gap:8px;padding:7px 9px;display:inline-flex}.wrong-list button span:first-child{font-family:Noto Serif JP,serif;font-size:19px}.wrong-list button span:nth-child(2){font-size:10px}.result-actions{margin-top:22px}.progress-page{min-height:350px;padding:clamp(20px,4vw,34px)}.danger-text{color:#ad6358}.progress-meter{gap:11px;margin:28px 0;display:grid}.progress-meter>div:first-child{color:#829088;font-size:11px}.progress-meter strong{color:var(--green);font-size:22px}.meter-track{background:#edf0e9;border-radius:99px;height:9px;overflow:hidden}.meter-track span{border-radius:inherit;background:#7d9f83;height:100%;transition:width .2s;display:block}.known-groups{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.known-group{border:1px solid #eceee8;border-radius:12px;padding:13px}.known-group h3{color:#51665a;justify-content:space-between;align-items:center;margin:0 0 10px;font-size:12px;display:flex}.known-group h3 small{color:#9ba69d;font-size:9px;font-weight:500}.known-grid{flex-wrap:wrap;gap:6px;display:flex}.known-entry{position:relative}.known-kana{color:#4a7553;cursor:pointer;background:#f0f6ee;border:1px solid #d7e5d8;border-radius:9px;place-items:center;min-width:43px;min-height:49px;display:grid}.known-kana strong{font-family:Noto Serif JP,serif;font-size:20px;font-weight:500}.known-kana small{font-size:8px}.known-remove{color:#96594f;cursor:pointer;background:#efd8d2;border:1px solid #fff;border-radius:50%;place-items:center;width:17px;height:17px;font-size:13px;line-height:1;display:grid;position:absolute;top:-5px;right:-5px}.empty-progress{text-align:center;justify-items:center;padding:30px 15px;display:grid}.empty-progress>span{color:#819a83;font-family:Noto Serif JP,serif;font-size:54px}.empty-progress strong{color:#4c6053;margin-top:10px;font-size:13px}.empty-progress p{color:#929d95;max-width:340px;margin:7px 0 0;font-size:10px;line-height:1.8}.progress-tip{color:#a0aaa2;margin:22px 0 0;font-size:9px}.install-dialog{background:var(--white);width:min(430px,100% - 28px);color:var(--ink);border:1px solid #e3e8df;border-radius:18px;padding:24px;box-shadow:0 20px 70px #18292133}.dialog-backdrop{z-index:20;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1e302757;place-items:center;padding:14px;display:grid;position:fixed;inset:0}.dialog-x{float:right;color:#87948b;cursor:pointer;background:0 0;border:0;font-size:22px}.install-dialog h2{margin:0 0 8px;font-family:Georgia,Noto Serif TC,serif;font-size:21px;font-weight:500}.install-dialog p,.install-dialog li{color:#718078;font-size:12px;line-height:1.75}.install-dialog ol{padding-left:19px}.dialog-close{width:100%;margin-top:17px;display:flex}@media (width<=900px){.site-header{gap:20px}.brand{min-width:190px}.workspace-grid{grid-template-columns:minmax(0,1fr) minmax(285px,.86fr);gap:13px}.chart-panel,.practice-panel{padding:18px}.kana-chart{border-spacing:3px}.kana-chart tbody th{font-size:10px}.kana-cell{height:59px}.kana-chart td{height:62px}}@media (width<=720px){body{background:#f7f7f2}.site-header{z-index:5;gap:12px;height:62px;padding:0 16px;position:sticky;top:0}.brand{flex:1;gap:8px;min-width:0}.brand img{border-radius:10px;width:35px;height:35px}.brand strong{font-size:14px}.brand small{font-size:9px}.top-nav{flex:0 auto;justify-content:end;gap:14px}.nav-link{white-space:nowrap;font-size:10px}.header-actions{gap:8px}.header-progress{gap:5px;font-size:11px}.header-progress small{font-size:9px}.install-button{justify-content:center;width:34px;height:34px;padding:0}.install-button .install-label{display:none}.main-content{width:min(100% - 24px,560px);padding-top:26px}.welcome-row{align-items:center;gap:12px;margin-bottom:18px}.welcome-row h1{max-width:400px;font-size:clamp(24px,7vw,32px)}.welcome-copy{max-width:350px;font-size:11px}.welcome-stat{gap:8px;min-width:0;padding:9px}.stat-symbol{border-radius:11px;width:34px;height:34px;font-size:19px}.welcome-stat strong{font-size:16px}.welcome-stat small{max-width:98px;font-size:8px;line-height:1.4}.notice{min-height:25px;margin-bottom:7px;font-size:10px}.workspace-grid{flex-direction:column;gap:12px;display:flex}.chart-panel,.practice-panel{border-radius:15px;width:100%;padding:16px 13px}.panel-heading h2{font-size:19px}.section-copy{margin:8px 0 13px;font-size:10px}.kana-chart{border-spacing:2px}.kana-chart thead th{height:22px;font-size:9px}.kana-chart thead th:first-child{width:39px}.kana-chart tbody th{padding:0 1px;font-size:9px}.kana-chart tbody th small{font-size:7px}.kana-chart td{height:55px}.kana-cell{border-radius:8px;min-width:0;height:52px}.kana-glyph{font-size:clamp(17px,5.5vw,21px)}.kana-romaji{font-size:8px}.known-dot{font-size:8px;top:2px;right:3px}.chart-legend{margin-top:8px;font-size:9px}.practice-panel{padding:17px}.panel-heading.compact{margin-bottom:11px}.panel-heading.compact h2{font-size:17px}.setup-section{padding:12px 0}.row-picker{gap:6px}.row-chip{min-width:45px;min-height:36px}.site-footer{padding-top:20px;font-size:8px}.focus-panel{border-radius:15px;min-height:auto;padding:18px 14px 20px}.flashcard{min-height:min(49vh,310px)}.flash-kana{font-size:clamp(88px,24vw,122px)}.quiz-panel{min-height:min(76vh,610px)}.quiz-question{min-height:min(28vh,190px)}.quiz-question>span{font-size:78px}.answer-option{min-height:53px}.answer-feedback{flex-direction:column;align-items:flex-start}.answer-feedback .primary-button{width:100%}.card-navigation{gap:7px}.card-navigation .primary-button,.card-navigation .secondary-button{min-height:42px;padding:0 9px;font-size:10px}.result-panel{padding:27px 16px}.result-panel h2{font-size:21px}.result-actions>*{flex:42%}.progress-page{padding:19px 15px}}@media (width<=380px){.site-header{gap:7px;padding:0 10px}.brand{gap:6px}.brand img{width:31px;height:31px}.brand strong{font-size:12px}.brand small{font-size:8px}.top-nav{gap:9px}.nav-link{font-size:9px}.header-progress{font-size:10px}.main-content{width:calc(100% - 18px)}.welcome-row{align-items:flex-start}.welcome-stat{margin-top:8px}.stat-symbol{display:none}.welcome-stat small{max-width:68px}.chart-panel{padding-left:9px;padding-right:9px}.kana-chart thead th:first-child{width:34px}.kana-chart tbody th{font-size:8px}.kana-cell{height:48px}.kana-chart td{height:51px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
