@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@600;700;800;900;1000&display=swap');
:root{--ink:#273641;--muted:#7b858b;--orange:#ed6538;--paper:#faf9f6;--line:#e9e8e2;--green:#38836b;--font:'Nunito',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #2864ad;outline-offset:4px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:246px;padding:38px 22px 20px;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-family:var(--font);font-size:22px;font-weight:1000;letter-spacing:.5px;margin:0 9px 53px}.brand-symbol{background:var(--orange);color:white;display:grid;place-items:center;width:43px;height:45px;border-radius:14px 14px 16px 5px;font-size:29px;font-weight:700}.brand small{display:block;font-family:'DM Sans',sans-serif;font-size:8px;letter-spacing:1.7px;color:var(--muted);margin-top:2px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#a2a8ac;margin:0 13px 14px;font-weight:700}.nav-item{border:0;width:100%;background:transparent;color:#7b858c;padding:15px 14px;border-radius:12px;display:flex;gap:13px;text-align:left;align-items:center;font-size:12px;font-weight:700;margin:5px 0}.nav-item>span{font-size:22px;line-height:20px;width:23px;text-align:center}.nav-item:hover{background:#faf7f2;color:var(--orange)}.nav-item.active{background:#fff0e8;color:#db6037}.sidebar-bottom{margin-top:auto}.belt-mini{display:flex;align-items:center;border-bottom:1px solid var(--line);padding:20px 4px;gap:8px}.belt-mini b{font-size:10px}.belt-mini p{font-size:9px;color:var(--muted);margin:5px 0}.belt-icon{font-size:25px}.app{margin-left:246px}.topbar{height:89px;padding:0 48px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fffdfb}.breadcrumb{font-size:11px;color:#9ba1a5}.breadcrumb span{padding:0 13px;color:#c0c4c5}.breadcrumb b{color:#6a747b;font-weight:500}.stats{display:flex;align-items:center;gap:23px;font-size:16px}.stats>span:first-child{color:#df7846}.stats>span:nth-child(2){color:#d39e33}.stat-label{font-size:10px;font-weight:600}.avatar{border:1px solid #e8e9e6;background:#f1f2ec;border-radius:50%;width:38px;height:38px;font-size:22px}main{max-width:1320px;margin:auto;padding:36px 48px 10px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:800;color:var(--orange)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--font)}h1{font-size:28px;letter-spacing:-1px;margin:9px 0 6px;font-weight:1000}.intro{color:var(--muted);font-size:12px;margin-bottom:25px}.hero{position:relative;overflow:hidden;min-height:235px;display:flex;align-items:center;background:#f7e7d5;border:1px solid #f0dfcc;border-radius:20px;padding:30px 34px;margin-bottom:29px}.hero:before{content:'';position:absolute;right:-50px;top:-135px;width:500px;height:500px;border-radius:50%;border:1px solid #eed9c0}.hero:after{content:'';position:absolute;right:65px;top:-55px;width:310px;height:310px;border-radius:50%;border:1px solid #eed9c0}.hero-copy{z-index:1;width:63%}.hero .tag{display:inline-block;color:#94704e;font-size:8px;letter-spacing:1.5px;font-weight:800;background:#fffbf4b3;border-radius:5px;padding:7px 10px}.hero h2{font-size:33px;line-height:1.12;letter-spacing:-.9px;margin:14px 0 10px;font-weight:1000}.hero p{color:#8c7b68;font-size:11px;line-height:1.8;max-width:310px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:28px;border:0;background:var(--orange);color:#fff;font-weight:800;font-size:12px;border-radius:10px;padding:14px 20px;box-shadow:0 4px 0 #c9532e;transition:transform .15s,filter .15s}.primary:hover{filter:brightness(1.04);transform:translateY(-1px)}.primary:active{transform:translateY(3px);box-shadow:0 1px 0 #c9532e}.hero-art{position:absolute;width:270px;height:235px;right:24px;bottom:-4px;z-index:1}.hero-art svg{width:100%;height:100%}.hero-art .speech{position:absolute;right:8px;top:24px;background:white;padding:9px 13px;font-family:var(--font);font-weight:1000;border-radius:12px 12px 12px 0;font-size:13px;transform:rotate(7deg);box-shadow:0 3px 0 #e8d7c0}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:27px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:15px}.section-head h2{font-size:18px;font-weight:900;margin:0;letter-spacing:-.4px}.section-head .tiny{font-size:9px;color:#999f9f}.unit-head{border-radius:13px;background:#eef2e9;padding:17px 19px;display:flex;align-items:center;gap:13px;border:1px solid #e1e8da}.unit-symbol{font-size:20px;background:#dee8d5;border:1px solid #d5dfcc;border-radius:10px;padding:10px}.unit-head .eyebrow{font-size:8px;color:#6b8261;letter-spacing:1.3px}.unit-head h3{font-size:16px;margin:3px 0 2px}.unit-head p{font-size:10px;color:#84907c;margin:0}.lesson-list{margin-top:8px;position:relative}.lesson-card{display:flex;position:relative;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 17px;margin:11px 0;text-align:left;width:100%;transition:transform .15s,border-color .15s}.lesson-card:hover{transform:translateX(3px);border-color:#e2a582}.lesson-card.featured{border:1.5px solid #ed8a63;box-shadow:0 3px 0 #fae7dc}.lesson-icon{width:49px;height:49px;display:grid;place-items:center;flex-shrink:0;border-radius:14px;background:var(--tint);color:var(--color);font-size:24px;border:1px solid #00000008}.lesson-copy{flex:1}.lesson-copy h3{font-size:13px;margin:0 0 4px;font-weight:900}.lesson-copy p{font-size:10px;color:#90979b;margin:0}.lesson-meta{font-size:8px;color:var(--orange);font-weight:700;margin-top:5px;letter-spacing:.3px}.card-end{display:flex;flex-direction:column;align-items:center;gap:5px;color:#b1b6b9}.play-circle{font-size:11px;border:1px solid #e9ded7;border-radius:50%;height:27px;width:27px;display:grid;place-items:center;color:var(--orange)}.completed .play-circle{background:#e9f4ed;color:var(--green);border-color:#d5eadd}.side-card{border:1px solid var(--line);border-radius:15px;background:#fff;padding:20px;margin-bottom:18px}.side-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.side-title h3{font-size:13px;margin:0;font-weight:900}.side-title>span{font-size:20px}.goal-main{font-family:var(--font);font-size:24px;font-weight:1000;margin-bottom:5px}.goal-main small{font-size:11px;color:#9b9d9b;font-weight:600}.side-card p{font-size:10px;color:#959b9d;line-height:1.7}.track{background:#f2f0e9;height:8px;border-radius:8px;overflow:hidden}.track>span{height:100%;background:#e9b458;display:block;border-radius:8px;transition:width .3s}.week{display:flex;justify-content:space-between;margin-top:18px}.day{font-size:8px;color:#a0a5a5;text-align:center}.day>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f5f4ef;margin-top:7px;color:#c0c1b8;font-size:11px}.day.today>span{background:#fff2db;color:#ce9e38;border:1px solid #efd3a1}.day.done>span{background:#e4f2e9;color:#438166}.challenge{background:#f1f4ed;border-color:#e4e8de}.challenge-illustration{font-size:37px;text-align:center;margin:4px 0 9px}.challenge h3{text-align:center;font-size:15px;margin-bottom:8px}.challenge p{text-align:center;color:#89947e}.outline{border:1px solid #d3dfcb;background:#fff;color:#6b8562;border-radius:8px;padding:10px 15px;font-size:10px;font-weight:800;width:100%}.quote{border:0;background:#fff5e9;text-align:center}.quote .flower{color:#d9a86c;font-size:27px}.quote p{font-family:var(--font);font-size:12px;color:#9d7952;font-weight:800;line-height:1.7;margin:8px 0}.quote small{font-size:8px;color:#b39b80}.under-trail{font-size:10px;color:#9da4a4;text-align:center;margin:21px 0;line-height:1.8}footer{max-width:1320px;margin:auto;padding:25px 48px;color:#a5aaa8;font-size:9px;display:flex;justify-content:space-between;gap:15px}footer span{letter-spacing:1px}.word-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.word-card{padding:23px;background:white;border:1px solid var(--line);border-radius:15px}.japanese{font-size:27px;color:var(--orange);margin-bottom:12px}.word-card h3{font-size:16px;margin-bottom:5px}.word-card p{font-size:12px;color:var(--muted);line-height:1.6}.audio{border:1px solid #f2d8c5;border-radius:9px;padding:9px 13px;background:#fff8f1;color:#c96c3c;font-size:11px;font-weight:700}.awards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.award{border:1px solid var(--line);border-radius:16px;background:#fff;padding:25px;text-align:center}.award.locked{filter:grayscale(1);opacity:.65}.award .medal{font-size:48px}.award h3{margin:12px 0 7px;font-size:15px}.award p{font-size:12px;color:var(--muted);line-height:1.7}.summary{display:flex;gap:30px;margin:24px 0;background:#f8ead7;border:1px solid #eddcc4;padding:24px;border-radius:15px}.summary b{font-family:var(--font);font-size:28px;display:block}.summary small{color:#998773}.info-panel{background:#fff;padding:30px;border:1px solid var(--line);border-radius:15px;margin-bottom:20px;line-height:1.9}.info-panel h2{font-size:20px}.info-panel p,.info-panel li{color:#727d83;font-size:13px}.info-panel a{color:#b65c37}.info-panel li{margin-bottom:9px}.danger{color:#ae654d;border-color:#edd2c8;background:#fff8f4;width:auto}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dojo-values{display:grid;gap:12px}.value{display:flex;align-items:start;gap:13px;border:1px solid #e9e8e2;background:white;padding:17px;border-radius:12px}.value b{color:var(--orange);font-family:var(--font);font-size:20px}.value p{font-size:12px;line-height:1.8;margin:0;color:#7c8589}dialog{width:min(720px,calc(100% - 28px));border:0;border-radius:23px;padding:26px 32px;box-shadow:0 30px 120px #182d3850;color:var(--ink);background:#fffdf9;max-height:92dvh;overflow:auto}dialog::backdrop{background:#243644a8;backdrop-filter:blur(6px)}.lesson-top{display:flex;align-items:center;gap:17px}.icon-button{border:0;background:#f1efe9;border-radius:50%;width:31px;height:31px;color:#8b9395}.lesson-progress{height:10px;border-radius:10px;background:#ecece3;flex:1;overflow:hidden}.lesson-progress span{display:block;height:100%;border-radius:10px;background:#7ead73;transition:width .3s}#lesson-count{font-size:11px;color:#939a95}#lesson-content{padding:32px 10px 25px;min-height:340px}#lesson-content h2{font-size:25px;line-height:1.3;margin:8px 0 16px;font-weight:1000}#lesson-content p{color:#808a8b;line-height:1.8;font-size:13px}.learn-box{border:1px solid #ecd9bc;background:#faf0df;border-radius:14px;padding:24px;margin:20px 0}.learn-box .japanese{font-size:42px;margin:0}.learn-box h3{font-size:22px;margin:8px 0}.learn-box p{margin:8px 0}.options{display:grid;gap:10px;margin-top:24px}.option{background:#fff;border:2px solid #ecece5;border-bottom-width:4px;border-radius:12px;padding:14px 16px;color:#5c686d;text-align:left;font-size:13px;display:flex;align-items:center;gap:13px}.option>span{border:1px solid #e0e4df;border-radius:6px;width:23px;height:23px;display:grid;place-items:center;font-size:10px;flex-shrink:0}.option.selected{border-color:#df9f6d;background:#fff4e7;color:#ac632d}.option.right{border-color:#8ab99a;background:#eff7ee;color:#47774c}.option.wrong{border-color:#dba58c;background:#fff2ec;color:#a1684e}.lesson-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:22px;gap:15px}.lesson-bottom>span{font-size:10px;color:#9b9d92;max-width:250px}#feedback{border-radius:10px;font-size:12px;line-height:1.8;margin:0 10px 18px}#feedback:not(:empty){padding:14px 16px;background:#eff6eb;color:#658257}#feedback.retry{background:#fff0e3;color:#a56b3d}.finish{text-align:center}.finish .big-medal{font-size:80px}.finish .finish-stats{display:flex;gap:15px;justify-content:center;margin:24px 0}.finish-stats>div{border:1px solid #eadfc5;background:#fff6e6;border-radius:12px;padding:17px 22px;color:#bd8e35;font-weight:800}.finish-stats small{display:block;font-size:9px;letter-spacing:1px;margin-bottom:6px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:13px 20px;box-shadow:0 5px 20px #0002;z-index:20;font-size:12px;display:none}.practice-banner{background:#f0f4ec;border:1px solid #dce6d6;padding:24px;border-radius:15px;margin-bottom:25px}.practice-banner h2{margin-bottom:8px}.practice-banner p{color:#7c8d74;font-size:12px;line-height:1.8}.practice-banner .primary{background:#6b9366;box-shadow:0 4px 0 #527c4d}.kbd{font-size:9px;background:#f4f3ed;padding:2px 5px;border-radius:3px}.animate-in{animation:enter .35s ease}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1500px){.hero{min-height:260px}.hero-art{right:90px;width:300px;height:260px}.hero h2{font-size:40px}.hero-copy{width:60%}}@media(max-width:1150px){.sidebar{width:215px;padding-left:15px;padding-right:15px}.app{margin-left:215px}main{padding:28px}.topbar{padding:0 28px}.dashboard{grid-template-columns:minmax(0,1fr) 230px;gap:19px}.hero h2{font-size:29px}.hero-art{right:0;width:220px}.hero-copy{width:65%}.hero p{max-width:235px}footer{padding:25px 28px}.word-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.sidebar{width:188px;padding:28px 12px}.app{margin-left:188px}.brand{font-size:18px;gap:8px;margin-left:0}.brand small{font-size:6px}.brand-symbol{width:37px;height:40px;font-size:25px}.nav-label{font-size:7px;letter-spacing:1px}.nav-item{font-size:10px;padding:13px 9px;gap:8px}.dashboard{grid-template-columns:1fr}.right-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quote{display:none}.hero-art{width:210px;right:-13px}.hero h2{font-size:27px}.hero{padding:24px;min-height:235px}.hero-copy{width:65%}.hero p{max-width:200px}.awards-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){body{font-size:13px}.sidebar{top:auto;bottom:0;left:0;right:0;width:auto;height:70px;padding:5px 9px;background:#fffcf8;border-top:1px solid var(--line);border-right:0}.brand,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,1fr)}.nav-item{flex-direction:column;gap:3px;font-size:8px;padding:7px 3px;margin:0;border-radius:10px}.nav-item>span{font-size:21px}.app{margin-left:0;margin-bottom:70px}.topbar{height:65px;padding:0 20px}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 8px}.stats{gap:12px;font-size:14px}.stat-label{display:none}.avatar{height:32px;width:32px;font-size:18px}main{padding:25px 18px 5px}.eyebrow{font-size:9px}h1{font-size:25px}.intro{font-size:11px;line-height:1.7;max-width:285px;margin-bottom:20px}.hero{padding:22px 20px;min-height:250px;margin-bottom:27px}.hero h2{font-size:28px}.hero .tag{font-size:7px}.hero-copy{width:72%}.hero p{max-width:190px;font-size:10px}.hero-art{width:170px;height:195px;right:-21px;bottom:-8px}.hero-art .speech{font-size:10px;right:25px;top:3px}.hero .primary{padding:13px 15px;font-size:10px;gap:14px}.hero:after{right:-100px}.right-col{gap:12px}.side-card{padding:15px}.side-title h3{font-size:11px}.side-title>span{font-size:16px}.day>span{width:19px;height:19px}.goal-main{font-size:21px}.challenge h3{font-size:13px}.challenge p{font-size:9px}.challenge-illustration{font-size:30px}.word-grid{gap:10px}.word-card{padding:17px}.word-card h3{font-size:14px}.word-card p{font-size:11px}.awards-grid{gap:10px}.award{padding:20px 10px}.award h3{font-size:13px}.award p{font-size:11px}.two-col{grid-template-columns:1fr}.info-panel{padding:22px}footer{padding:20px 22px;font-size:8px;line-height:1.8}footer span{white-space:nowrap}.lesson-card{gap:12px;padding:13px}.lesson-icon{width:44px;height:44px}.lesson-copy h3{font-size:12px}.section-head h2{font-size:17px}.section-head .tiny{font-size:8px}dialog{padding:20px 15px;border-radius:18px}#lesson-content{padding:25px 7px 15px;min-height:320px}#lesson-content h2{font-size:22px}.lesson-bottom>span{max-width:150px}.lesson-bottom .primary{padding:13px 16px;gap:10px}.summary{gap:22px;padding:20px}.summary b{font-size:23px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
