:root{color:#2d251c;font-synthesis:none;-webkit-text-size-adjust:100%;--ink:#2d251c;--muted:#695b48;--line:#d8cbb6;--gold-paper:#f3dda7;--paper:#fffaf1;--accent:#8a4a1a;--focus:#8d431d;--success:#315d39;--error:#8c3b28;--serif:"Iowan Old Style", Baskerville, Georgia, serif;background:#f8f4eb;font-family:PingFang SC,Noto Sans CJK SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-height:100vh;margin:0}button{font:inherit;cursor:pointer}button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}h1,h2,p{margin:0}.shell{max-width:860px;padding:env(safe-area-inset-top) clamp(18px, 5vw, 48px) calc(32px + env(safe-area-inset-bottom));margin:0 auto}.masthead{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:64px;display:flex}.brand{white-space:nowrap;align-items:center;gap:9px;font-size:15px;font-weight:700;display:inline-flex}.book-mark{width:23px;height:18px;color:var(--accent);display:inline-block;position:relative}.book-mark:before,.book-mark:after{content:"";border:1.5px solid;border-radius:2px 2px 1px 1px;width:10px;height:13px;position:absolute;top:2px}.book-mark:before{left:1px;transform:skewY(10deg)}.book-mark:after{right:1px;transform:skewY(-10deg)}.masthead time,.page-heading p,.review p{color:var(--muted);font-size:14px;line-height:1.6}main{padding-block-start:clamp(28px,6vw,60px);padding-block-end:clamp(28px,6vw,60px)}.page-heading{margin-bottom:24px}.page-heading h1{letter-spacing:-.055em;font-size:clamp(2rem,7vw,3.1rem);font-weight:750;line-height:1.12}.page-heading p{margin-top:9px}.today-layout{gap:24px;display:grid}.plan,.result-sheet{background:var(--gold-paper);border:1px solid #dfc178;border-radius:18px 18px 18px 4px;justify-items:start;gap:18px;padding:clamp(20px,5vw,34px);display:grid}.plan h2,.review h2,.question h2{font-size:17px;font-weight:670}.plan-count{color:var(--ink);font-variant-numeric:tabular-nums;align-items:baseline;gap:8px;display:flex}.plan-count strong{font-family:var(--serif);letter-spacing:-.065em;font-size:clamp(3.3rem,10vw,5rem);font-weight:500;line-height:.9}.plan-count span{color:#604a2d;font-size:15px}progress{-webkit-appearance:none;appearance:none;width:100%;height:5px;color:var(--accent);background:#e7d4b2;border:0;border-radius:4px;display:block}.plan progress{background:#dfc481}progress::-webkit-progress-bar{background:0 0}progress::-webkit-progress-value{background:var(--accent);border-radius:4px}progress::-moz-progress-bar{background:var(--accent);border-radius:4px}.button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:18px;min-height:46px;padding:10px 18px;font-weight:650;line-height:1.4;display:inline-flex}.button span{font-size:19px;line-height:1}.button-primary{background:var(--ink);color:var(--paper)}.button-primary:active{background:#523923}.button-secondary{color:var(--ink);background:0 0;border-color:#a6906c}.plan .button,.result-sheet .button{margin-top:3px}.plan-note{color:#5d4526;font-size:14px}.review{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:17px 0;display:flex}.review p{margin-top:5px}.study,.result{max-width:610px;margin-inline-start:auto;margin-inline-end:auto}.study-nav{justify-content:space-between;align-items:center;gap:14px;margin:-7px 0 12px;display:flex}.back-button{min-height:44px;color:var(--accent);background:0 0;border:0;padding:6px 2px;font-size:14px;font-weight:620}.word-position{color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px}.word-sheet{background:var(--gold-paper);border:1px solid #dfc178;border-radius:18px 18px 18px 4px;gap:12px;margin-top:22px;padding:clamp(20px,6vw,36px);animation:.235s cubic-bezier(.16,1,.3,1) both enter-sheet;display:grid}@keyframes enter-sheet{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.word-sheet h1{width:-moz-fit-content;width:fit-content;font-family:var(--serif);letter-spacing:-.04em;overflow-wrap:anywhere;font-size:clamp(2.65rem,10vw,4.7rem);font-weight:600;line-height:1}.pronunciation{color:#604a2d;font-size:17px}.meaning{margin-top:4px;font-size:21px;font-weight:650}.example{border-top:1px solid #d6b66f;gap:5px;padding-top:13px;line-height:1.55;display:grid}.example [lang=en]{font-family:var(--serif);font-size:19px}.translation{color:#604a2d;font-size:14px}.study-action{width:100%;margin-top:16px}.question{margin-top:22px}.answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:11px;display:grid}.answer{border:1px solid var(--line);background:var(--paper);min-height:48px;color:var(--ink);text-align:left;border-radius:9px;padding:10px 12px;font-size:16px;line-height:1.45}.answer:disabled{cursor:default;opacity:1}.answer-correct{color:var(--success);background:#eaf1e5;border-color:#88a181}.answer-incorrect{color:var(--error);background:#f8e9e3;border-color:#c49786}.feedback,.storage-notice{color:var(--error);margin-top:14px;font-size:14px;line-height:1.6}.feedback-correct{color:var(--success)}.result-sheet>p:not(.plan-count){color:#5d4526;line-height:1.55}@media (min-width:650px){.today-layout{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);align-items:start;gap:34px}.review{padding-top:19px}.study-action{width:auto}}@media (hover:hover){.button-secondary:hover,.answer:not(:disabled):hover{border-color:var(--accent)}.button-primary:hover{background:#493524}}@media (prefers-reduced-motion:reduce){.word-sheet{animation:none}}
