:root{--paper:#fbfbfa;--card:#fff;--ink:#17191c;--mute:#5c6168;--faint:#8e9298;--line:#e2e2de;--soft:#eeeeeb;--track:#d2d2ce;--fr:#2548b5;--fr-mid:#9db0ea;--fr-soft:#e5eafa;--on-fr:#fff;--good:#1b7f56;--good-soft:#e2f2ea;--bad:#b3261e;--bad-soft:#fbe6e4;--sans:-apple-system, "SF Pro Text", Inter, system-ui, sans-serif;--serif:ui-serif, "New York", "Iowan Old Style", Charter, Georgia, serif;--study:var(--serif)}.zh{--fr:#c4361c;--fr-mid:#eba797;--fr-soft:#fbe8e3;--study:"PingFang SC", "Hiragino Sans GB", "Noto Sans SC", var(--sans)}.dark{--paper:#0f1422;--card:#171d2e;--ink:#f1f2f4;--mute:#9aa2b5;--faint:#6b7387;--line:#252c40;--soft:#1a2134;--track:#2b334a;--fr:#8faeff;--fr-mid:#4c68b8;--fr-soft:#1b2747;--on-fr:#0f1422}.dark.zh{--paper:#1a1110;--card:#261816;--line:#3a2622;--soft:#2a1b18;--track:#46302b;--mute:#b9a6a2;--faint:#8a7570;--fr:#ff8466;--fr-mid:#a8503c;--fr-soft:#3a1d16;--on-fr:#1a1110}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%}html{background:#e4e4e0}body{color:var(--ink);font:15px/1.45 var(--sans);-webkit-font-smoothing:antialiased;overscroll-behavior:none;margin:0}p,h1,h2,h3{margin:0}button{font:inherit;color:inherit;cursor:pointer;text-align:inherit;background:0 0;border:0;padding:0}button:disabled{opacity:.45;cursor:default}:focus-visible{outline:2px solid var(--fr);outline-offset:2px}input{font:inherit;color:inherit}svg.i{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}svg.i.f{fill:currentColor;stroke:none}.screen{background:var(--paper);max-width:460px;height:100%;color:var(--ink);flex-direction:column;margin:0 auto;display:flex;position:relative;overflow:hidden}.bd{min-height:0;padding:calc(env(safe-area-inset-top) + 14px) 20px 16px;-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;display:flex;overflow-y:auto}.ft{padding:10px 20px calc(env(safe-area-inset-bottom) + 16px);flex:none}.tabs{border-top:1px solid var(--line);padding:0 20px calc(env(safe-area-inset-bottom) + 6px);flex:none;display:flex}.tabs button{text-align:center;color:var(--faint);border-top:2px solid #0000;flex:1;margin-top:-1px;padding:11px 0 10px;font-size:13px;font-weight:600}.tabs button.on{color:var(--ink);border-top-color:var(--ink)}.grow{flex:1;min-height:0}.mute{color:var(--mute)}.small{font-size:13px}.h{letter-spacing:-.02em;font-size:28px;font-weight:700;line-height:1.15}.lab{color:var(--mute);margin:22px 0 6px;font-size:13px;font-weight:600}.center{flex-direction:column;justify-content:center;display:flex}.btn{background:var(--ink);height:52px;color:var(--paper);white-space:nowrap;border-radius:13px;justify-content:center;align-items:center;gap:8px;width:100%;font-size:16px;font-weight:600;display:flex}.btn.q{background:var(--soft);color:var(--ink)}.btn.sm{border-radius:10px;flex:none;width:auto;height:38px;padding:0 16px;font-size:14px}.btn.fr{background:var(--fr);color:var(--on-fr)}.btns{gap:8px;display:flex}.link{color:var(--mute);text-align:center;width:100%;padding:12px 0 0;font-size:14px;font-weight:600;display:block}.art{background:var(--fr-soft);width:44px;height:44px;color:var(--fr);object-fit:cover;border-radius:9px;flex:none;place-items:center;font-size:14px;font-weight:700;display:grid}.art.lg{border-radius:12px;width:60px;height:60px;font-size:18px}.strip{flex:none;gap:2px;height:6px;display:flex}.strip i{flex:var(--w,1) 1 0;background:var(--track);border-radius:2px;min-width:2px;position:relative;overflow:hidden}.strip i.s{background:var(--ink)}.strip i.r{background:var(--fr)}.strip i.y:after{content:"";width:var(--f);background:var(--fr-mid);position:absolute;inset:0 auto 0 0}.strip i.x{background:repeating-linear-gradient(135deg, var(--track) 0 2px, transparent 2px 4px)}.item{border-top:1px solid var(--line);align-items:center;gap:12px;width:100%;padding:11px 0;display:flex}.item.first{border-top:0}.item .tx{flex:1;min-width:0}.item .t1{white-space:nowrap;text-overflow:ellipsis;font-weight:600;display:block;overflow:hidden}.item .t2{color:var(--mute);white-space:nowrap;text-overflow:ellipsis;font-size:13px;display:block;overflow:hidden}.item .strip{margin-top:7px}.round{background:var(--fr);width:40px;height:40px;color:var(--on-fr);border-radius:50%;flex:none;place-items:center;display:grid}.round svg{width:17px;height:17px}.round.q{background:var(--soft);color:var(--ink)}.round.md{width:58px;height:58px}.round.md svg{width:24px;height:24px}.notice{background:var(--soft);color:var(--mute);border-radius:10px;margin-top:14px;padding:9px 12px;font-size:13px}.field{border:1.5px solid var(--track);background:var(--card);border-radius:13px;width:100%;height:52px;padding:0 14px;font-size:16px}.field:focus{border-color:var(--ink);outline:none}.problem{color:var(--bad);margin-top:10px;font-size:14px}.top{flex:none;align-items:center;gap:12px;min-height:32px;display:flex}.top .bar{background:var(--track);border-radius:2px;flex:1;height:4px;overflow:hidden}.top .bar i{background:var(--ink);height:100%;transition:width .25s;display:block}.top .n{color:var(--mute);font-size:13px;font-weight:600}.top button{place-items:center;width:32px;height:32px;margin-left:-6px;display:grid}.where{color:var(--mute);white-space:nowrap;text-overflow:ellipsis;flex:none;margin-top:8px;font-size:13px;overflow:hidden}.study{font-family:var(--study)}.sent{font-family:var(--study);font-size:25px;line-height:1.4}.sent.long{font-size:20px}.sent mark{background:var(--fr-soft);color:var(--fr);-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:5px;padding:1px 4px}.term{font-family:var(--study);font-size:34px;line-height:1.15}.rule{background:var(--line);flex:none;height:1px;margin:18px 0}.english{font-size:17px;line-height:1.5}.english b{color:var(--fr)}.blank{border-bottom:2px solid var(--ink);min-width:96px;display:inline-block}.gloss{color:var(--mute);margin-top:12px;font-size:14px;line-height:1.5}.gloss .study{color:var(--ink);font-size:16px}.tags{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.tag{background:var(--soft);border-radius:10px;align-items:center;gap:6px;padding:8px 12px;font-size:13px;font-weight:600;display:inline-flex}.tag svg{width:14px;height:14px}.tag.on{background:var(--ink);color:var(--paper)}.pills{flex-wrap:wrap;gap:6px;margin:14px 0;display:flex}.pill{font-family:var(--study);background:var(--fr-soft);color:var(--fr);border-radius:13px;padding:4px 11px;font-size:14px}.rate{gap:6px;display:flex}.rate button{background:var(--soft);border-radius:13px;flex-direction:column;flex:1;justify-content:center;align-items:center;height:58px;font-size:14px;font-weight:600;line-height:1.25;display:flex}.rate button small{color:var(--mute);font-size:12px;font-weight:500}.rate button.again{background:var(--bad-soft);color:var(--bad)}.rate button.again small{color:var(--bad)}.rate button.good{background:var(--ink);color:var(--paper)}.rate button.good small{color:var(--track)}.playrow{flex:none;align-items:center;gap:12px;margin-top:18px;display:flex}.wave{flex:1;align-items:center;gap:3px;height:44px;display:flex;overflow:hidden}.wave i{background:var(--track);border-radius:2px;flex:none;width:3px}.dict{font-family:var(--study);margin-top:20px;font-size:23px;line-height:1.8}.gap{border-bottom:2px solid var(--ink);vertical-align:baseline;min-width:64px;height:1.1em;display:inline-block}.gapword{font:inherit;background:var(--soft);border-radius:7px;padding:0 7px;line-height:1.35;display:inline-block}.gapword.miss{background:var(--bad-soft);color:var(--bad)}.note{background:var(--soft);border-radius:11px;margin-top:14px;padding:11px 13px;font-size:14px}.sec{border-top:1px solid var(--line);align-items:center;gap:12px;width:100%;padding:12px 0;display:flex}.sec .k{text-align:center;flex:none;place-items:center;width:20px;font-size:14px;font-weight:700;display:grid}.sec .tx{flex:1;min-width:0}.sec .t1{font-weight:600;display:block}.sec .t2{color:var(--mute);font-size:13px;display:block}.sec.dim .t1,.sec.dim .k{color:var(--faint);font-weight:500}.sec .mini{background:var(--track);border-radius:2px;height:4px;margin-top:7px;overflow:hidden}.sec .mini i{background:var(--fr-mid);height:100%;display:block}.lines{min-height:0;font-family:var(--study);color:var(--faint);-webkit-overflow-scrolling:touch;flex:1;padding:8px 20px 40vh;font-size:19px;line-height:1.45;overflow-y:auto}.lines .ln{width:100%;padding:7px 0;transition:color .2s;display:block}.lines .ln.now{color:var(--ink)}.lines .ln .en{font-family:var(--sans);color:var(--mute);margin-top:3px;font-size:14px;line-height:1.4;display:block}.lines .ln:not(.now) .en{color:var(--faint)}.lines u{-webkit-text-decoration-color:var(--fr);text-decoration-color:var(--fr);text-underline-offset:4px;cursor:pointer;text-decoration-thickness:2px}.lines .speaker{font-family:var(--sans);color:var(--faint);margin-top:10px;font-size:12px;font-weight:600;display:block}.pop{font-family:var(--sans);background:var(--fr);color:var(--on-fr);border-radius:11px;margin:6px 0 4px;padding:9px 13px;font-size:14px;line-height:1.35;display:block}.pop b{font-family:var(--study);font-size:16px;display:block}.dock{border-top:1px solid var(--line);padding:14px 20px calc(env(safe-area-inset-bottom) + 12px);flex:none}.scrub{appearance:none;--p:0%;background:0 0;width:100%;height:20px;margin:0;display:block}.scrub::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--fr) var(--p), var(--track) var(--p));border-radius:2px;height:4px}.scrub::-moz-range-track{background:var(--track);border-radius:2px;height:4px}.scrub::-moz-range-progress{background:var(--fr);border-radius:2px;height:4px}.scrub::-webkit-slider-thumb{appearance:none;background:var(--fr);border-radius:50%;width:14px;height:14px;margin-top:-5px}.scrub::-moz-range-thumb{background:var(--fr);border:0;border-radius:50%;width:14px;height:14px}.times{color:var(--mute);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:12px;display:flex}.ctl{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.ctl .side{border-radius:50%;place-items:center;width:48px;height:48px;font-size:13px;font-weight:700;display:grid}.ctl .side.on{color:var(--fr)}.listen-top{padding:calc(env(safe-area-inset-top) + 12px) 14px 8px;flex:none;align-items:center;gap:10px;display:flex}.listen-top .name{text-align:center;color:var(--mute);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:13px;overflow:hidden}.listen-top button{border-radius:9px;place-items:center;min-width:36px;height:36px;font-size:13px;font-weight:700;display:grid}.listen-top button.on{background:var(--soft)}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
