﻿:root{--bg:#f7f8f4;--surface:#fff;--text:#272e28;--muted:#7d847b;--line:#e7eae2;--green:#526747;--green-dark:#3e5335;--soft:#edf2e7;--lavender:#eeedf7;--peach:#faf0e5;--red:#ae524c;--shadow:0 5px 24px #35432b04;--sidebar:240px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',system-ui,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.55}body.dark{--bg:#181e1a;--surface:#222a24;--text:#e7ece2;--muted:#a4afa1;--line:#354035;--green:#a2b98b;--green-dark:#c0d3ae;--soft:#303e2c;--lavender:#353340;--peach:#3b342a;--red:#ed9d96;color-scheme:dark}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #a3b78a;outline-offset:4px}button{transition:background .18s,transform .18s,border-color .18s}button:active:not(:disabled){transform:translateY(1px)}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.kana{font-family:'Noto Sans JP','Yu Gothic','Meiryo',sans-serif;font-weight:400}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--surface);border-right:1px solid var(--line);padding:35px 20px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:0 14px;font-family:'Segoe UI',sans-serif,sans-serif;font-weight:650;font-size:34px;letter-spacing:-1.8px}.brand-icon{width:37px;height:39px;display:grid;place-items:center;background:var(--green);color:var(--surface);border-radius:12px 12px 12px 2px;font-family:'Noto Sans JP';font-size:23px;letter-spacing:0}.brand-sub{font-size:9px;letter-spacing:2.3px;color:var(--muted);margin:7px 0 34px 16px;text-transform:uppercase}.nav-label{font-size:10px;font-weight:600;letter-spacing:1.7px;color:var(--muted);padding:18px 15px 8px}.nav-link{display:flex;align-items:center;gap:12px;padding:11px 15px;margin:3px 0;border-radius:9px;color:var(--muted);font-size:13px;font-weight:500}.nav-link.active{color:var(--green);background:var(--soft);font-weight:650}.nav-link:hover{background:var(--bg);color:var(--green)}.nav-link .count{margin-left:auto;font-size:10px;background:var(--peach);color:#a47d40;padding:1px 7px;border-radius:5px}.sidebar-bottom{margin-top:auto;padding-top:20px}.sidebar-tip{margin:17px 8px;background:var(--soft);padding:15px;border-radius:12px;font-size:11px;color:var(--green)}.sidebar-tip b{display:block;font-size:12px;margin-bottom:3px}.user{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:18px 8px 0}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eee9dc;color:#7c775c;font-size:13px;font-weight:600}.user b{font-size:12px;display:block}.user small{font-size:10px;color:var(--muted)}.user>a{margin-left:auto;color:var(--muted)}.main{margin-left:var(--sidebar);min-height:100vh}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:var(--surface)}.breadcrumb{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:12px}.breadcrumb span:last-child{color:var(--text)}.top-actions{display:flex;align-items:center;gap:20px}.streak-pill{display:flex;gap:7px;align-items:center;color:#b68c56;font-size:12px;font-weight:600}.icon-btn{border:1px solid var(--line);background:var(--surface);width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center}.icon-btn:hover{background:var(--soft)}.content{max-width:1450px;padding:34px 42px 30px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px;gap:16px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;text-transform:uppercase;color:var(--green);margin-bottom:7px}h1,h2,h3,p{margin:0}h1{font-family:'Segoe UI',sans-serif,sans-serif;font-size:29px;letter-spacing:-.8px;font-weight:550;line-height:1.25}.subtitle{margin-top:8px;font-size:12px;color:var(--muted)}h2{font-family:'Segoe UI',sans-serif,sans-serif;font-size:18px;font-weight:550;letter-spacing:-.35px}h3{font-size:14px;font-weight:600}.date{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:24px}.stack{display:flex;flex-direction:column;gap:24px}.hero{border-radius:16px;position:relative;overflow:hidden;min-height:254px;padding:30px 32px;background:#e9eedf;color:#34452d;isolation:isolate}.dark .hero{background:#34432b;color:#edf1e5}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 40%,#7e92650a);z-index:-1}.hero-copy{max-width:65%;position:relative;z-index:2}.tag{font-size:9px;letter-spacing:1.9px;font-weight:650;display:inline-flex;align-items:center;gap:6px;margin-bottom:13px}.hero h2{font-size:30px;line-height:1.2;letter-spacing:-.8px;margin-bottom:12px}.hero p{font-size:12px;line-height:1.8;max-width:310px;color:#69745f}.dark .hero p{color:#c0ccb4}.hero .button{margin-top:22px}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid transparent;padding:11px 17px;background:var(--green);color:var(--surface);font-weight:550;font-size:12px;border-radius:8px;min-height:42px}.button:hover{background:var(--green-dark)}.button svg{width:16px;height:16px}.button.secondary{border-color:var(--line);background:var(--surface);color:var(--text)}.button.secondary:hover{background:var(--soft)}.button.ghost{background:transparent;color:var(--green);padding:8px 0;min-height:32px}.hero-art{position:absolute;right:-5px;bottom:0;width:43%;height:100%;overflow:visible;z-index:0;stroke:none}.hero-symbol{position:absolute;right:87px;top:26px;color:#6e8055;font-family:'Noto Sans JP';font-size:97px;line-height:1.2;transform:rotate(-9deg);z-index:1;opacity:.8}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.card{border:1px solid var(--line);border-radius:13px;background:var(--surface);padding:22px;box-shadow:var(--shadow)}.metric{padding:19px 20px}.metric-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.metric-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:var(--soft);color:var(--green)}.metric:nth-child(2) .metric-icon{background:var(--lavender);color:#8b7ca1}.metric:nth-child(3) .metric-icon{background:var(--peach);color:#b38b5d}.metric-number{font-family:'Segoe UI',sans-serif;font-size:29px;letter-spacing:-.9px;line-height:1.4;margin-top:5px}.metric-number small{font-family:'DM Sans';font-size:12px;color:var(--muted);letter-spacing:0}.metric-foot{font-size:10px;color:var(--muted);margin-top:4px}.metric-foot em{font-style:normal;color:var(--green)}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:12px}.text-link{color:var(--green);font-size:11px;display:flex;align-items:center;gap:6px;font-weight:550}.text-link svg{width:14px;height:14px}.course-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.course{padding:20px;position:relative;overflow:hidden}.course-icon{width:42px;height:42px;border-radius:11px;background:var(--soft);color:var(--green);display:grid;place-items:center;font-size:25px;margin-bottom:16px}.course.k .course-icon{background:var(--lavender);color:#827396}.course-head{display:flex;justify-content:space-between;align-items:center}.badge{font-size:9px;font-weight:500;color:var(--green);background:var(--soft);border-radius:5px;padding:3px 7px;white-space:nowrap}.badge.neutral{background:var(--bg);color:var(--muted)}.course p{font-size:11px;color:var(--muted);margin-top:5px}.course .progress{margin-top:19px}.progress{height:5px;border-radius:4px;background:var(--line);overflow:hidden}.progress>span{display:block;background:var(--green);height:100%;border-radius:4px;transition:width .4s}.course.k .progress>span{background:#9988ad}.progress-label{display:flex;justify-content:space-between;margin-top:7px;font-size:10px;color:var(--muted)}.course .button{width:100%;margin-top:20px;font-size:11px}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.practice-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:11px;position:relative}.practice-tile:hover{border-color:var(--green);transform:translateY(-2px)}.practice-tile>svg{width:23px;height:23px;color:var(--green);margin-bottom:16px}.practice-tile b{font-size:12px;font-weight:550}.practice-tile small{font-size:10px;color:var(--muted);margin-top:4px}.practice-tile .arrow{position:absolute;right:13px;top:17px;color:var(--muted);font-size:15px}.daily{padding:21px}.daily-head{display:flex;align-items:center;justify-content:space-between}.daily-head svg{color:var(--muted);width:17px;height:17px}.ring{position:relative;width:126px;height:126px;margin:24px auto 20px;border-radius:50%;background:conic-gradient(var(--green) calc(var(--percent)*1%),var(--soft) 0);display:grid;place-items:center}.ring:before{content:'';position:absolute;inset:9px;background:var(--surface);border-radius:50%}.ring-content{position:relative;text-align:center}.ring-content strong{font-family:'Segoe UI',sans-serif;font-size:31px;font-weight:500}.ring-content small{display:block;font-size:10px;color:var(--muted)}.daily-note{text-align:center;color:var(--muted);font-size:11px}.daily-note b{color:var(--text);font-weight:500}.week{display:flex;justify-content:space-between;margin-top:23px;padding-top:19px;border-top:1px solid var(--line)}.day{display:flex;flex-direction:column;gap:7px;align-items:center;font-size:9px;color:var(--muted)}.day span{width:25px;height:25px;background:var(--bg);display:grid;place-items:center;border-radius:50%;font-size:11px}.day.today span{border:1px solid var(--green);color:var(--green);background:var(--soft)}.day.done span{background:var(--green);color:var(--surface)}.review-card{background:#f4f1e9;border-color:#eae5d9}.dark .review-card{background:#343126;border-color:#454031}.review-head{display:flex;gap:8px;align-items:center}.review-head svg{color:#ad8b51;width:18px;height:18px}.review-card p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:11px}.mini-kana{display:flex;gap:8px;margin:15px 0}.mini-kana span{background:var(--surface);border:1px solid var(--line);border-radius:7px;width:40px;height:42px;display:grid;place-items:center;font-size:23px}.review-card .button{width:100%;background:transparent;color:#8b7348;border:1px solid #d9cbae}.quote{padding:5px 14px;text-align:center}.quote .kana{font-size:20px;color:var(--green);letter-spacing:4px}.quote p{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.8}.quote small{display:block;font-size:9px;color:var(--muted);margin-top:8px}.footer{display:flex;justify-content:space-between;margin-top:30px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.footer span:last-child{display:flex;gap:5px;align-items:center}.footer svg{width:12px;height:12px}.onboarding-strip{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);background:var(--surface);padding:14px 18px;border-radius:10px;margin-bottom:22px;gap:15px}.onboarding-strip p{font-size:12px}.onboarding-strip small{color:var(--muted);font-size:10px}.onboarding-strip .button{min-width:140px}.bottom-nav{display:none}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.intro-card{padding:26px;margin-bottom:24px;background:var(--soft)}.intro-card p{color:var(--muted);margin-top:8px;max-width:780px;font-size:13px}.intro-card .kana{font-size:23px;margin-top:16px;color:var(--green)}.tabs,.filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}.tabs a,.filter{border:1px solid var(--line);background:var(--surface);padding:8px 15px;border-radius:7px;font-size:12px;min-height:38px}.tabs a.active,.filter.active{background:var(--green);color:var(--surface);border-color:var(--green)}.unit-list{display:flex;flex-direction:column;gap:12px}.unit{display:flex;align-items:center;gap:18px;padding:20px}.unit-index{height:40px;width:40px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--green);font-family:'Segoe UI',sans-serif;font-size:17px;flex-shrink:0}.unit-body{flex:1}.unit .kana{font-size:22px;letter-spacing:8px;margin:5px 0}.unit small{font-size:10px;color:var(--muted)}.unit-locked{opacity:.6}.unit .button{flex-shrink:0}.table-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.kana-cell{position:relative;min-height:100px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.kana-cell:hover{border-color:var(--green);background:var(--soft)}.kana-cell .kana{font-size:30px}.kana-cell small{font-size:11px;color:var(--muted)}.kana-cell:after{content:'';width:5px;height:5px;border-radius:50%;position:absolute;top:10px;right:10px;background:var(--line)}.kana-cell.learning:after{background:#e0b268}.kana-cell.learned:after{background:#8bab78}.kana-cell.mastered:after{background:var(--green);box-shadow:0 0 0 3px var(--soft)}.kana-cell.review:after{background:#c7796a}.legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:20px;font-size:10px;color:var(--muted)}.legend span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--color);margin-right:5px}.search-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px}.search-row input{border:1px solid var(--line);border-radius:8px;padding:10px 14px;background:var(--surface);color:var(--text);width:250px}.study-shell{max-width:760px;margin:0 auto}.study-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.study-phases{display:flex;justify-content:space-between;margin:20px 0;font-size:10px;color:var(--muted);gap:8px}.study-phases .active{color:var(--green);font-weight:700}.study-card{text-align:center;padding:36px 30px}.study-card .big-kana{font-size:116px;line-height:1.5;display:block}.study-romaji{font-family:'Segoe UI',sans-serif;font-size:29px;color:var(--green)}.study-card .pronunciation{font-size:12px;color:var(--muted);margin:12px auto;max-width:420px}.example{padding:16px;border:1px solid var(--line);border-radius:9px;margin:20px auto;max-width:400px;background:var(--bg)}.example .kana{font-size:25px;display:block;margin-bottom:5px}.example small{color:var(--muted);font-size:12px}.study-controls{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px auto 0;max-width:500px}.option{background:var(--surface);border:1px solid var(--line);border-radius:10px;min-height:65px;padding:12px;font-size:23px;position:relative}.option:hover:not(:disabled){border-color:var(--green);background:var(--soft)}.option.correct{background:var(--soft);border:2px solid var(--green)}.option.wrong{background:var(--peach);border:2px solid var(--red)}.option small{position:absolute;left:10px;top:8px;font:9px 'DM Sans';color:var(--muted)}.feedback{min-height:28px;font-size:13px;margin-top:18px;color:var(--green)}.feedback.error{color:var(--red)}.flashcard{width:100%;min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow);padding:25px}.flashcard .kana{font-size:95px}.flashcard p{font-size:13px;margin-top:14px;color:var(--muted)}.flashcard small{margin-top:25px;color:var(--muted);font-size:11px}.rating{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.rating button{padding:14px 7px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:12px}.rating button:hover{background:var(--soft)}.rating small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.practice-setup{max-width:900px}.mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 30px}.mode{border:1px solid var(--line);background:var(--surface);padding:18px;text-align:left;border-radius:10px;min-height:98px}.mode.active{border-color:var(--green);background:var(--soft)}.mode svg{display:block;margin-bottom:10px;color:var(--green)}.mode small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px}.field select,.field input{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;padding:11px;min-height:44px}.group-picks{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.group-picks label{padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font-size:11px}.group-picks input{accent-color:var(--green)}.empty{text-align:center;padding:55px 20px}.empty svg{height:40px;width:40px;color:var(--green);margin-bottom:15px}.empty p{color:var(--muted);margin:10px auto 20px;max-width:400px;font-size:13px}.summary-score{font-size:65px;font-family:'Segoe UI',sans-serif;color:var(--green);margin:20px 0 10px}.summary-stats{display:flex;justify-content:center;gap:40px;margin:20px}.summary-stats b{font-size:22px;font-family:'Segoe UI',sans-serif;display:block}.summary-stats small{color:var(--muted);font-size:11px}.settings{max-width:820px}.setting{display:flex;justify-content:space-between;align-items:center;padding:21px 0;border-bottom:1px solid var(--line);gap:20px}.setting:last-child{border:0}.setting p{color:var(--muted);font-size:11px;margin-top:4px}.setting select{min-height:40px;max-width:220px;border:1px solid var(--line);background:var(--bg);color:var(--text);padding:8px;border-radius:7px}.switch{appearance:none;width:41px;height:24px;border-radius:20px;background:var(--line);position:relative;flex-shrink:0;cursor:pointer}.switch:after{content:'';position:absolute;top:3px;left:3px;background:var(--surface);height:18px;width:18px;border-radius:50%;transition:transform .2s}.switch:checked{background:var(--green)}.switch:checked:after{transform:translateX(17px)}.achievements{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.achievement{text-align:center;padding:30px 20px}.achievement-icon{background:var(--soft);color:var(--green);height:64px;width:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px}.achievement-icon svg{height:29px;width:29px}.achievement.locked{opacity:.55}.achievement p{font-size:11px;color:var(--muted);margin:9px 0 16px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.stat-grid .metric-number{font-size:27px}.chart{display:flex;height:160px;gap:12px;align-items:flex-end;margin-top:25px}.bar-col{display:flex;flex:1;height:100%;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;font-size:9px;color:var(--muted)}.bar-col .bar{width:70%;max-width:40px;border-radius:4px 4px 0 0;background:var(--green);min-height:2px}.activity-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.activity-row small{font-size:10px;color:var(--muted);display:block}.confusion-pair{display:flex;align-items:center;gap:15px}.confusion-pair .kana{font-size:28px}.error-list .card{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.error-list p{color:var(--muted);font-size:11px}dialog{width:min(560px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:18px;padding:30px;box-shadow:0 20px 80px #0002}dialog::backdrop{background:#202b2566;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-kana{text-align:center;font-size:100px}.modal-detail{text-align:center}.modal-detail p{font-size:12px;color:var(--muted);margin:10px 0}.modal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.modal-stats div{padding:12px;background:var(--bg);border-radius:8px}.modal-stats b{display:block;font-size:20px}.modal-stats small{font-size:10px;color:var(--muted)}.onboarding{text-align:center}.onboarding .brand-icon{margin:5px auto 20px;width:58px;height:58px;font-size:35px}.onboarding h2{font-size:28px}.onboarding>p{color:var(--muted);font-size:13px;margin:12px auto 23px;max-width:400px}.onboarding-step{display:flex;gap:15px;text-align:left;padding:14px 0}.onboarding-step>.kana{background:var(--soft);border-radius:8px;width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;font-size:25px;color:var(--green)}.onboarding-step p{font-size:12px;color:var(--muted);margin-top:4px}.onboarding .button{width:100%;margin-top:22px}.canvas-wrap{width:260px;max-width:100%;aspect-ratio:1;position:relative;margin:20px auto;background:linear-gradient(90deg,transparent 49.7%,var(--line) 50%,transparent 50.3%),linear-gradient(transparent 49.7%,var(--line) 50%,transparent 50.3%);border:1px solid var(--line);border-radius:10px;overflow:hidden}.canvas-guide{position:absolute;inset:0;display:grid;place-items:center;font-size:180px;color:var(--line);pointer-events:none}canvas{position:relative;display:block;width:100%;height:100%;touch-action:none}.stroke-guides{display:flex;gap:10px;justify-content:center;margin:15px 0;min-height:80px}.stroke-guides img{width:120px;height:120px;background:#fff;border-radius:8px;border:1px solid var(--line)}.stroke-error{font-size:11px;color:var(--muted);max-width:400px;margin:auto}.tip{font-size:11px;color:var(--muted);background:var(--bg);padding:13px;border-radius:8px;margin:15px 0}.menu-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px}.menu-panel .nav-link{border:1px solid var(--line)}#toast{position:fixed;bottom:24px;left:calc(50% + var(--sidebar)/2);transform:translateX(-50%) translateY(20px);background:var(--text);color:var(--surface);padding:13px 20px;border-radius:10px;z-index:1000;max-width:min(450px,90vw);width:max-content;font-size:12px;opacity:0;pointer-events:none;transition:.25s}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.reduced-motion *{scroll-behavior:auto}.reduced-motion *{transition:none!important;animation:none!important}body:not(.reduced-motion) .content{animation:appear .3s ease}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(min-width:1500px){:root{--sidebar:258px}.content{padding:42px 55px}.layout{grid-template-columns:minmax(0,1fr) 310px;gap:28px}.hero{min-height:280px}.hero h2{font-size:35px}.hero p{font-size:13px}.hero-symbol{font-size:110px;right:100px}.hero .button{margin-top:26px}.card{padding:24px}.sidebar{padding-top:40px}.nav-link{padding:12px 17px}.sidebar-tip{padding:18px}}
@media(max-width:1200px){:root{--sidebar:206px}.sidebar{padding:28px 12px 15px}.content{padding:28px}.topbar{padding:0 28px}.layout{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.stack{gap:20px}.hero{padding:25px}.hero h2{font-size:27px}.hero-copy{max-width:72%}.hero-art{width:38%}.hero-symbol{right:40px;font-size:80px;top:40px}.card{padding:18px}.course-head{gap:8px;flex-wrap:wrap}.metric{padding:15px}.metric-top{font-size:10px}.practice-tile{padding:15px}.practice-tile small{font-size:9px}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1000px){.layout{grid-template-columns:1fr}.aside-stack{display:grid;grid-template-columns:1fr 1fr;gap:18px}.quote{display:none}.daily .ring{width:100px;height:100px;margin:18px auto}.daily .week{margin-top:15px;padding-top:12px}.review-card{align-content:center}.hero{min-height:250px}.hero-copy{max-width:65%}.hero-art{width:42%}.hero-symbol{right:80px;font-size:100px}.achievements{grid-template-columns:1fr 1fr}.mode-grid{grid-template-columns:1fr 1fr}.date{display:none}.unit .kana{letter-spacing:5px}.unit{gap:12px;padding:16px}.two-col{grid-template-columns:1fr}}
@media(max-width:700px){:root{--sidebar:0px}.sidebar{display:none}.topbar{height:64px;padding:0 20px}.breadcrumb{font-size:11px}.breadcrumb:before{content:'ã‚';background:var(--green);color:var(--surface);font-family:'Noto Sans JP';border-radius:7px;width:27px;height:29px;display:grid;place-items:center;font-size:18px}.breadcrumb svg,.breadcrumb>span:first-child{display:none}.top-actions{gap:12px}.streak-pill{font-size:10px}.icon-btn{width:34px;height:34px}.content{padding:25px 20px 100px}.page-heading{margin-bottom:22px}h1{font-size:26px}.subtitle{font-size:11px;line-height:1.8}.eyebrow{font-size:9px}.hero{padding:25px;min-height:264px}.hero h2{font-size:28px}.hero-copy{max-width:74%}.hero p{font-size:11px;max-width:220px}.hero-art{width:41%;opacity:.8}.hero-symbol{right:18px;top:40px;font-size:82px;opacity:.35}.hero .button{margin-top:22px}.metric-grid{gap:9px}.metric{padding:12px}.metric-top{display:block;min-height:20px;font-size:9px}.metric-icon{display:none}.metric-number{font-size:24px;margin-top:7px}.metric-number small{font-size:9px}.metric-foot{font-size:9px;line-height:1.6}.course-grid{gap:12px}.course{padding:17px}.course h3{font-size:13px}.course p{font-size:10px}.course-head .badge{font-size:8px}.course .button{font-size:10px;padding:9px 8px}.practice-grid{gap:9px}.practice-tile{padding:14px 11px;min-height:120px}.practice-tile b{font-size:11px}.practice-tile small{font-size:9px;line-height:1.6}.practice-tile>svg{width:21px;height:21px}.aside-stack{gap:14px}.daily{padding:17px}.daily h2,.review-card h2{font-size:15px}.review-card{padding:17px}.review-card p{font-size:10px}.mini-kana{gap:5px}.mini-kana span{width:32px;height:36px;font-size:20px}.daily .week{gap:2px}.day span{width:19px;height:19px;font-size:9px}.day{font-size:8px}.daily-note{font-size:10px}.review-card .button{font-size:10px;padding:10px 7px}.footer{font-size:9px}.footer span:last-child{display:none}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;border-top:1px solid var(--line);background:var(--surface);padding:9px 7px max(9px,env(safe-area-inset-bottom));z-index:30}.bottom-nav a,.bottom-nav button{border:0;background:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:var(--muted);font-size:9px;padding:3px 10px;min-width:48px}.bottom-nav .active{color:var(--green)}.bottom-nav svg{width:20px;height:20px}.onboarding-strip{padding:12px;align-items:flex-start}.onboarding-strip .button{min-width:auto;padding:8px 10px;font-size:10px}.onboarding-strip p{font-size:11px}.onboarding-strip small{font-size:9px}.unit{flex-wrap:wrap}.unit .button{width:100%;margin-left:52px}.unit .kana{font-size:22px;letter-spacing:7px}.unit-body{min-width:170px}.table-grid{gap:7px}.kana-cell{min-height:85px;padding:9px}.kana-cell .kana{font-size:27px}.kana-cell small{font-size:10px}.filters{gap:5px}.filter{font-size:10px;padding:8px 11px}.search-row{align-items:stretch;flex-direction:column}.search-row input{width:100%}.study-card{padding:25px 18px}.study-card .big-kana{font-size:96px}.study-phases{font-size:9px;gap:5px}.study-top h2{font-size:16px}.options{gap:10px}.option{min-height:64px}.study-controls .button{font-size:11px}.rating{gap:7px}.rating button{font-size:10px}.rating small{font-size:8px}.form-grid{grid-template-columns:1fr}.mode-grid{gap:10px}.mode{padding:15px;font-size:12px}.achievements{gap:12px}.achievement{padding:23px 13px}.achievement h3{font-size:12px}.achievement p{font-size:10px}.stat-grid{gap:12px}.setting{align-items:flex-start}.setting select{max-width:150px;font-size:11px}.setting h3{font-size:12px}.error-list .card{gap:15px;flex-wrap:wrap}.error-list .button{font-size:10px}.flashcard{min-height:310px}#toast{bottom:90px;left:50%}.intro-card{padding:20px}.intro-card p{font-size:12px}.intro-card .kana{font-size:18px}.date{display:none}.summary-stats{gap:25px}dialog{padding:23px}.onboarding h2{font-size:25px}}
@media(max-width:370px){.content{padding-left:14px;padding-right:14px}.hero{padding:22px}.hero h2{font-size:25px}.aside-stack{grid-template-columns:1fr}.metric-number{font-size:22px}.study-phases{font-size:8px}}
.layout>*{min-width:0}.stack>*{min-width:0}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid,.practice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-art{overflow:hidden}.canvas-guide[hidden]{display:none}.sidebar{overflow-y:auto}.brand-sub{font-size:8px;letter-spacing:1.5px}.breadcrumb:before{font-family:'Yu Gothic','Meiryo',sans-serif}@media(max-width:700px){.breadcrumb:before{content:'あ'}.section-title h2{font-size:17px}.text-link{font-size:10px;flex-shrink:0}.course-head .badge{white-space:normal}.unit-body{min-width:0}.hero-copy{max-width:77%}.hero h2{font-size:27px}.hero-art{width:40%}.hero-symbol{right:12px}}


.two-col>*{min-width:0}.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:1000px){.two-col{grid-template-columns:minmax(0,1fr)}}@media(max-width:700px){.unit .button{margin-left:0}.unit .kana{letter-spacing:5px;overflow-wrap:anywhere}.menu-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-panel .nav-link{padding:10px;font-size:12px}.setting>div{min-width:0}}

@media(max-width:700px){.icon-btn{width:44px;height:44px;min-width:44px}.button,.filter{min-height:44px}.rating button{min-height:50px}.group-picks label{min-height:44px;display:inline-flex;align-items:center;gap:5px}.bottom-nav a,.bottom-nav button{min-height:48px}.top-actions{gap:9px}.topbar .icon-btn{width:40px;height:40px;min-width:40px}.streak-pill{font-size:9px}.study-phases{flex-wrap:wrap;row-gap:10px}.study-top .icon-btn{width:40px;height:40px;min-width:40px}}

[data-audio][aria-busy=true]{opacity:.6;cursor:progress}
