:root{--radius:20px;--shadow:0 6px 26px #173f2e09;--bg:#f4f7f5;--green:#12604e;--light:#e1f2e9;--ink:#19332b}.dark{--bg:#132620;--paper:#1d322b;--ink:#eef7f1;--muted:#b4c9bf;--line:#355148;--green:#82d8b4;--light:#2c4c3e}body{font-size:17px}.main{max-width:1450px}.hero3{position:relative;overflow:hidden;background:#174e40;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:26px;padding:clamp(22px,4vw,48px);margin-bottom:18px}.hero3 h1{font-size:clamp(34px,5vw,57px);line-height:1.14;letter-spacing:-1.5px;margin:10px 0}.hero3 .tiny{color:#bfdfd1}.hero3 p{color:#d9eee4}.hero3 .primary{background:#d1f5e3;color:#104a38;border-color:transparent}.heroGlyph3{font-family:"Hiragino Sans","Noto Sans CJK JP",sans-serif;font-size:clamp(130px,19vw,270px);line-height:1;color:#b4e5ca;opacity:.75}.stats3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.stats3 .card{margin:0;display:flex;flex-direction:column;gap:4px}.stats3 strong{font-size:clamp(27px,4vw,48px);font-weight:800;color:var(--green);line-height:1.25}.stats3 .muted{font-size:13px}.next3{display:flex;align-items:center;gap:18px;justify-content:space-between}.next3>div{flex:1}.next3 h2{margin:4px 0}.tiles3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile3{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;margin:0;color:var(--ink);min-height:130px}.tile3 span{font-size:32px;line-height:1;color:var(--green)}.tile3 b{font-size:19px}.section3{margin-top:24px}.kanjigrid .radcard{min-height:175px}.kanjigrid .radcard b{font-size:clamp(58px,7vw,92px);line-height:1.2}.radgrid:not(.kanjigrid) .radcard b{font-size:54px}.memory-layout .kanjibox{font-family:"Hiragino Sans","Noto Sans CJK JP","Yu Gothic",sans-serif;font-size:clamp(165px,20vw,310px);font-weight:500;min-height:320px;line-height:1.1}.memory-layout .memoryhero{grid-template-columns:1fr!important}.memory-layout .study-picture{min-height:170px}.memory-layout .study-picture svg{max-height:190px}.memory-layout h2{font-size:clamp(26px,3vw,37px)}.memory-verse{font-size:clamp(20px,2.2vw,27px);font-weight:650}.memory-layout .memorynote{padding:18px}.memory-actions button{font-size:17px;min-height:56px}.parts3{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px;background:#f5f7f4;color:#1e4236;border-radius:16px;padding:18px}.parts3 svg{width:min(100%,300px);height:auto}.partLegend3{display:flex;gap:12px;flex-wrap:wrap;max-width:280px}.partLegend3 span{font-size:42px;font-weight:600}.bigGlyph3{font-size:clamp(90px,20vw,200px);line-height:1.1;white-space:pre-wrap}.review3 .largejp{font-size:clamp(72px,13vw,185px)}body[data-page=kanji] .largejp{font-size:clamp(140px,18vw,270px)}.foodGrid3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.foodGrid3 .card{margin:0}.examPrompt3{white-space:pre-wrap;font-size:23px;line-height:1.7;margin:20px 0}.examPrompt3.bigGlyph3{font-size:clamp(95px,18vw,180px);text-align:center;line-height:1.2}.quicknav button{font-size:12px}.nav{font-size:15px}.btn{min-height:46px}.field{min-height:46px}.study-tabs .btn{font-weight:650}
@media(max-width:760px){.main{padding:12px 12px calc(100px + env(safe-area-inset-bottom,0px))}.hero3{padding:22px 18px}.hero3 h1{font-size:34px}.heroGlyph3{font-size:110px;position:absolute;right:-8px;top:12px;opacity:.24;pointer-events:none}.hero3>div:first-child{position:relative;z-index:1}.stats3{gap:7px}.stats3 .card{padding:11px 8px}.stats3 .muted,.stats3 small{font-size:11px;line-height:1.4}.stats3 strong{font-size:29px}.tiles3{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tile3{min-height:115px;padding:14px}.tile3 b{font-size:17px}.next3{display:block}.next3 .btn{width:100%;margin-top:12px}.memory-layout .kanjibox{font-size:clamp(165px,58vw,250px);min-height:250px}.memory-layout .study-picture{min-height:140px}.memory-layout .study-picture svg{max-height:155px}.memory-layout .memoryhero{gap:8px}.memory-layout .memorynote{padding:15px}.memory-layout h2{font-size:26px}.kanjigrid .radcard{min-height:160px}.kanjigrid .radcard b{font-size:75px}.foodGrid3{grid-template-columns:1fr}.study-tabs .btn{font-size:12px}.memory-actions button{font-size:15px}.review3 .largejp{font-size:clamp(80px,40vw,170px)}body[data-page=kanji] .largejp{font-size:clamp(140px,50vw,230px)}}
.meaningEarly3{display:none}@media(max-width:760px){.meaningEarly3{display:block;text-align:center;padding:4px 6px 8px}.meaningEarly3 h2{margin:0;font-size:24px;line-height:1.28}.meaningEarly3 .tiny{font-size:11px;margin-top:6px}.meaningDesktop3{display:none}.memory-layout .kanjibox{min-height:235px;font-size:clamp(165px,56vw,245px)}.memory-layout .study-picture svg{max-height:145px}}
