:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans-serif;font-synthesis:none;color:#313337;background:#f5f6f8;--orange:#ff870d;--ink:#313337;--muted:#777d86;--line:#eceef1}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #b76200;outline-offset:4px}[hidden]{display:none!important}.app-shell{max-width:520px;min-height:100dvh;margin:0 auto;background:#fff;border-left:1px solid var(--line);border-right:1px solid var(--line)}.app-header{height:82px;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;color:var(--orange);font-size:25px;font-weight:850;letter-spacing:-.07em;display:flex;gap:4px;align-items:end}.brand-dot{height:6px;width:6px;border-radius:50%;background:var(--orange);margin-bottom:6px}.icon-button{width:44px;height:44px;flex-shrink:0;border:0;background:none;border-radius:50%;display:grid;place-items:center;color:#838892;font-size:28px}.icon-button:hover{background:#f5f6f8}.icon-button svg{width:23px;height:23px}main{padding:4px 28px 0}.home-heading{display:flex;justify-content:space-between;align-items:center;margin:12px 0 26px}h1{font-size:26px;letter-spacing:-.035em;margin:0;font-weight:750}#date{font-size:14px;color:var(--muted)}.daily-summary{margin-bottom:28px}.daily-line{display:flex;justify-content:space-between;font-size:14px;align-items:baseline}.daily-line>span:first-child{font-weight:650}.daily-line strong{font-size:23px;font-weight:750;font-variant-numeric:tabular-nums}.muted{color:var(--muted)}progress{appearance:none;display:block;width:100%;height:9px;border:0;border-radius:9px;overflow:hidden;background:#f0f1f3}progress::-webkit-progress-bar{background:#f0f1f3}progress::-webkit-progress-value{background:var(--orange);border-radius:9px;transition:width .2s}progress::-moz-progress-bar{background:var(--orange);border-radius:9px}#daily-progress{margin-top:12px}#goal-message{font-size:13px;color:var(--muted);margin:10px 0 0}.course{border:1px solid #e7e9ed;border-radius:20px;overflow:hidden;box-shadow:0 3px 0 #f3f4f6}.course-art{height:203px;background:#fff3df;position:relative;display:flex;align-items:center;justify-content:center;gap:14px}.book{width:125px;height:161px;transform:rotate(-8deg);background:#ff961c;border-radius:3px 9px 9px 3px;border-left:7px solid #e97d0b;box-shadow:7px 7px 0 #e7b25d24;display:flex;flex-direction:column;padding:15px 12px;color:#fff;z-index:1}.book>span:first-child{font-size:11px;font-weight:750}.book strong{font-size:32px;letter-spacing:.06em;line-height:1.18;margin-top:10px}.book-bottom{font-size:11px;font-weight:700;margin-top:auto}.course-art img{width:144px;height:144px;object-fit:contain;mix-blend-mode:multiply;transform:rotate(7deg)}.course-body{padding:22px}.course-meta{display:flex;justify-content:space-between;color:#8c9098;font-size:13px}.course-body h2{font-size:19px;font-weight:750;letter-spacing:-.025em;margin:10px 0 8px}.course-body p{font-size:14px;color:var(--muted);margin:0}.primary{width:100%;min-height:55px;border:0;border-bottom:3px solid #e87300;border-radius:13px;background:var(--orange);color:white;font-size:17px;font-weight:750;padding:14px 18px;transition:transform .12s,background .12s}.primary:hover{background:#f67f07}.primary:active{transform:translateY(2px);border-bottom-width:1px}.course .primary{margin-top:23px}.setting-row{margin-top:26px;width:100%;padding:18px 0;background:none;border:0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:15px;color:var(--ink);gap:15px}.setting-row>span:last-child{color:var(--muted)}.chevron{margin-left:12px;font-size:25px;vertical-align:-2px;color:#abb0b7}.home-note{font-size:12px;color:#9399a1;line-height:1.8;margin:19px 0}footer{display:flex;gap:10px;justify-content:center;align-items:center;font-size:12px;color:#b0b4bb;padding:18px 20px 25px}footer>span:first-child{font-weight:750}.lesson-mode .app-header,.lesson-mode footer{display:none}.lesson-mode main{padding-top:0}.lesson-top{display:flex;align-items:center;gap:14px;padding:17px 0}.lesson-top .icon-button{margin-left:-10px}.lesson-top progress{height:11px;flex:1}.lesson-top>span{font-size:14px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.word-area{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px 0 30px}.word-area>span{font-size:13px;color:#969ba2}.word-area h2{font-size:42px;line-height:1.5;letter-spacing:.015em;margin:18px 0;font-weight:750;overflow-wrap:anywhere;text-align:center}.word-area p{font-size:14px;color:#9399a1;margin:0}.word-area #word-context:not(:empty){color:#707680;font-size:13px;margin:-10px 0 17px}.answers{display:flex;flex-direction:column;gap:12px}.answer{display:flex;align-items:center;justify-content:center;position:relative;width:100%;min-height:62px;padding:16px 45px;border:1px solid #dfe3e9;border-bottom:3px solid #dfe3e9;border-radius:13px;background:#fff;color:var(--ink);font-size:16px;font-weight:600;line-height:1.65;transition:background .15s,transform .12s}.answer:not(:disabled):hover{background:#fff9f0;border-color:#ffb767}.answer:not(:disabled):active{transform:translateY(2px)}.answer .letter{position:absolute;left:17px;font-size:13px;color:#a1a7ae;font-weight:500}.answer.correct{border-color:#43b77b;background:#f0fbf5;color:#238453}.answer.correct .letter{color:#238453;font-size:18px}.answer.wrong{border-color:#eb7470;background:#fff3f2;color:#bd4c48}.answer.wrong .letter{color:#bd4c48;font-size:18px}.answer:disabled{cursor:default}.answer:disabled:not(.correct):not(.wrong){color:#90959d;border-color:#eceef1}.feedback-area{padding:19px 0 max(24px,env(safe-area-inset-bottom));min-height:100px}#feedback{font-size:14px;line-height:1.85;color:#6b7179}#feedback strong{display:block;font-size:18px;color:#238453;margin-bottom:6px}.incorrect #feedback strong{color:#c4554e}#feedback>div:first-of-type{font-weight:700;color:var(--ink)}#next{margin-top:18px}#result{text-align:center;padding:30px 0 20px}#result img{width:160px;height:160px;object-fit:contain}#result h2{font-size:24px;margin:16px 0 10px}#result p{color:var(--muted);font-size:15px;line-height:1.8}#result .score{font-size:64px;font-weight:800;line-height:1.5;letter-spacing:-.05em;color:var(--orange);margin:24px 0}#result .score span{font-size:18px;color:#858b93;letter-spacing:0;margin-left:7px}.result-label{font-size:14px;color:var(--muted)}.secondary{width:100%;min-height:52px;border:0;border-radius:12px;color:var(--muted);background:#f3f5f7;margin-top:12px;font-weight:650}dialog{width:calc(100% - 36px);max-width:410px;border:0;border-radius:22px;padding:26px;box-shadow:0 20px 90px #0002;color:var(--ink)}dialog::backdrop{background:#20263066}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-top h2{font-size:20px;margin:0}dialog p{font-size:15px;line-height:1.8;color:var(--muted)}select{width:100%;min-height:54px;border:1px solid #dfe3e9;border-radius:10px;padding:12px;font-size:18px;background:white;color:var(--ink)}.storage-note{font-size:12px;line-height:1.8;margin:17px 0 24px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:540px){:root{background:#fff}.app-shell{border:0}.app-header{height:72px;padding:0 24px}main{padding:4px 24px 0}.home-heading{margin-top:10px}.course-art{height:185px}.book{height:150px;width:117px}.course-art img{height:132px;width:132px}.word-area{min-height:clamp(180px,31dvh,275px)}.word-area h2{font-size:38px}}@media(max-width:350px){main{padding-left:18px;padding-right:18px}.course-body{padding:18px}.course-body h2{font-size:17px}.course-art{gap:0}.answer{font-size:15px;padding-left:34px;padding-right:34px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Flat course title treatment, not a simulated physical book. */
.book{background:transparent;border:0;box-shadow:none;transform:none;color:#a44f00;padding:0;width:135px;height:145px}.book strong{font-size:38px;line-height:1.2;margin-top:8px;color:#bb5900}.book>span:first-child,.book-bottom{font-size:12px}.course-art{gap:16px}.course-art img{transform:none}
