.learn{background:var(--bg);flex-direction:column;min-height:100svh;display:flex}.learn [tabindex="-1"]:focus{outline:none}.learn-top{z-index:10;background:var(--surface);box-shadow:0 2px 0 var(--border);position:sticky;top:0}.learn-top-in{align-items:center;gap:var(--s-3);width:min(688px,100%);min-height:64px;padding:var(--s-2) var(--s-4) var(--s-2) var(--s-2);margin:0 auto;display:flex}.learn-close{width:48px;height:48px;color:var(--ink-soft)}.learn-top-main{align-items:center;gap:var(--s-3);flex:1;min-width:0;display:flex}.learn-progress{flex:1}.learn-count{text-align:right;min-width:3.5ch;color:var(--ink-mute);flex:none;font-size:15px;font-weight:700}.learn-top-title{min-width:0;color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:15px;font-weight:700;overflow:hidden}.learn-top-end{gap:var(--s-1);margin-right:calc(-1 * var(--s-2));flex:none;display:flex}.learn-top-end .appbar-btn{width:48px;height:48px;color:var(--ink-soft)}.learn-body{width:min(680px,100%);padding:var(--s-5) var(--s-5) var(--s-7);flex:1;margin:0 auto}.has-feedback .learn-body{padding-bottom:340px}.learn-foot{z-index:10;padding:var(--s-3) var(--s-5) calc(var(--s-2) + env(safe-area-inset-bottom));background:var(--surface);border-top:2px solid var(--border);position:sticky;bottom:0}.learn-foot-in{width:min(640px,100%);margin:0 auto}.learn-foot{transition:transform .28s var(--ease), opacity .2s var(--ease), visibility 0s}.learn-foot.is-hidden{opacity:0;visibility:hidden;transition:transform .28s var(--ease), opacity .2s var(--ease), visibility 0s .28s;transform:translateY(100%)}@media (prefers-reduced-motion:reduce){.learn-foot,.learn-foot.is-hidden{transition:none}}.learn-foot kbd{font:inherit;opacity:.75;border:1px solid;border-radius:6px;padding:0 6px;font-size:13px;display:none}.learn-kicker{color:var(--ink-mute);font-size:15px;font-weight:700}.learn-lead{max-width:44ch;color:var(--ink-soft)}.learn-hint{margin-top:var(--s-3);color:var(--ink-mute);font-size:13px;display:none}.learn-empty{margin-top:var(--s-7);text-align:center;color:var(--ink-soft)}.learn-title{margin-bottom:var(--s-4)}.learn-ask{align-items:flex-end;gap:var(--s-3);display:flex}.learn-ask-mascot{flex:none;width:56px}.learn-ask .learn-kicker{padding-bottom:var(--s-2)}.learn-q{margin:var(--s-3) 0 var(--s-6);text-wrap:pretty;font-size:24px;line-height:1.25}.learn-choices .choice{min-height:64px;font-size:17px}.learn-choices .choice-title{font-weight:400}.learn-choices .choice.is-correct .choice-title,.learn-choices .choice.is-missed .choice-title{font-weight:700}.learn-choices .choice.is-missed .choice-lead{border-color:var(--green);color:var(--green-ink)}.learn-intro{justify-items:center;gap:var(--s-2);width:min(640px, calc(100% - 2 * var(--s-4)));padding:var(--s-7) var(--s-5);border:2px solid var(--border);border-radius:var(--r-l);background:var(--surface);text-align:center;flex:none;margin:auto;display:grid}.learn-intro-tile,.learn-intro .ch-tile{width:64px;height:64px;margin-bottom:var(--s-2);border-radius:var(--r-l)}.learn-intro-tile .icon,.ch-tile .icon{width:30px;height:30px}.learn-intro h1{max-width:20ch;font-size:30px}.learn-facts{justify-content:center;gap:var(--s-2);margin-top:var(--s-2);flex-wrap:wrap;display:flex}.learn-facts .chip{min-height:32px}.learn-video-btn{margin-top:var(--s-4)}.learn-result{justify-items:center;gap:var(--s-2);padding:var(--s-6) var(--s-5);border:2px solid var(--border);border-radius:var(--r-l);background:var(--surface);text-align:center;display:grid}.ch .learn-result{border-color:var(--ch-line);background:#ffffff0d}.learn-result-mascot{width:120px}.learn-score{font-size:64px;font-weight:800;line-height:1}.learn-score-total{color:var(--ink-mute);font-size:32px}.learn-verdict{font-family:var(--display);font-size:24px;font-weight:700;line-height:1.2}.learn-result-facts{justify-items:center;gap:var(--s-3);margin-top:var(--s-2);display:grid}.learn-result-note{color:var(--ink-mute);font-size:15px}.learn-points{align-items:center;gap:var(--s-2);min-height:48px;padding:0 var(--s-5) 0 var(--s-4);border-radius:var(--r-full);display:inline-flex}.learn-points .learn-bonus{color:var(--brand-text)}.learn-points .learn-bonus .icon{color:var(--brand)}.learn-points .learn-points-bonus{margin-left:var(--s-2);padding:2px var(--s-2);border-radius:var(--r-full);background:var(--brand-soft);color:var(--brand-text);font-size:13px;font-weight:800}.learn-points{background:var(--brand-soft);color:var(--brand-text);font-family:var(--display);font-size:24px;font-weight:700;line-height:1}.learn-points .icon{width:24px;height:24px;color:var(--brand-edge);fill:var(--brand)}.learn-actions{gap:var(--s-2);width:100%;margin-top:var(--s-5);display:grid}.learn-actions .btn{font-family:inherit}.learn-tally{justify-content:center;gap:var(--s-2);margin-top:var(--s-2);flex-wrap:wrap;display:flex}.learn-tally-item{min-height:32px;padding:0 var(--s-3);border:2px solid var(--border);border-radius:var(--r-full);color:var(--ink-soft);align-items:center;gap:6px;font-size:15px;font-weight:700;display:inline-flex}.learn-tally-item .icon{stroke-width:2.5px;width:18px;height:18px}.learn-tally-item.is-known .icon{color:var(--green)}.learn-tally-item.is-review .icon{color:var(--red)}.learn-review{margin-top:var(--s-7)}.learn-review-title{margin-bottom:var(--s-3);scroll-margin-top:80px;font-size:24px}.learn-mistakes{gap:var(--s-3);list-style:none;display:grid}.learn-mistake{gap:var(--s-2);padding:var(--s-4);border:2px solid var(--border);border-radius:var(--r-l);background:var(--surface);display:grid}.learn-mistake-q{font-weight:700;line-height:1.4}.learn-mistake-num{color:var(--ink-mute)}.learn-mistake-you,.learn-mistake-right{align-items:flex-start;gap:var(--s-2);font-size:15px;line-height:1.45;display:flex}.learn-mistake-you{color:var(--ink-soft)}.learn-mistake-right{color:var(--green-ink);font-weight:700}.learn-mistake-you .icon,.learn-mistake-right .icon{stroke-width:2.5px;width:18px;height:18px;margin-top:2px}.learn-mistake-you .icon{color:var(--red)}.learn-reread{margin-top:var(--s-7);border:2px solid var(--border);border-radius:var(--r-l)}.learn-reread summary{justify-content:space-between;align-items:center;gap:var(--s-3);min-height:56px;padding:0 var(--s-4);cursor:pointer;border-radius:var(--r-l);font-weight:700;list-style:none;display:flex}.learn-reread summary::-webkit-details-marker{display:none}.learn-reread summary .icon{width:20px;height:20px;color:var(--ink-mute);transition:transform .2s var(--ease)}.learn-reread[open] summary .icon{transform:rotate(90deg)}.learn-reread .md{padding:0 var(--s-4) var(--s-5);margin:0}.learn-sheet{border-radius:var(--r-l) var(--r-l) 0 0;background:var(--surface);width:min(720px,100%);max-width:100%;height:min(88svh,900px);max-height:100svh;color:var(--ink);box-shadow:var(--shadow-float);border:0;margin:auto auto 0;padding:0}.learn-sheet[open]{animation:sheet-in .25s var(--ease)}.learn-sheet::backdrop{background:#1c1a1773}.learn-sheet-head{z-index:1;justify-content:space-between;align-items:center;gap:var(--s-3);padding:var(--s-2) var(--s-2) var(--s-2) var(--s-5);background:var(--surface);border-bottom:2px solid var(--border);display:flex;position:sticky;top:0}.learn-sheet-head h2{font-size:20px}.learn-sheet-head .appbar-btn{width:48px;height:48px}.learn-sheet-body{padding:0 var(--s-5) var(--s-7)}.learn-sheet-body .md{margin-top:var(--s-5)}.rv-body{flex-direction:column;display:flex}.rv-stage{margin-top:var(--s-4);perspective:1200px}.rv-card{border-radius:var(--r-l);width:100%;font:inherit;color:inherit;text-align:center;cursor:pointer;background:0 0;border:0;padding:0;display:block}.rv-inner{min-height:clamp(300px,50svh,440px);transform-style:preserve-3d;transition:transform .3s var(--ease);display:grid;position:relative}.rv-card.is-flipped .rv-inner{transform:rotateY(180deg)}.rv-face{align-items:center;gap:var(--s-4);padding:var(--s-6) var(--s-5);border:2px solid var(--border);border-radius:var(--r-l);background:var(--surface);box-shadow:0 4px 0 var(--border);backface-visibility:hidden;flex-direction:column;grid-area:1/1;display:flex}.rv-card:hover .rv-face{border-color:var(--border-strong)}.rv-back{border-color:#bfe3cd;transform:rotateY(180deg);box-shadow:0 4px #bfe3cd}.rv-tag{min-height:28px;padding:0 var(--s-3);border-radius:var(--r-full);background:var(--surface-2);color:var(--ink-soft);align-items:center;font-size:13px;font-weight:700;display:inline-flex}.rv-back .rv-tag{background:var(--green-soft);color:var(--green-ink)}.rv-text{font-family:var(--display);text-wrap:pretty;flex:1;justify-content:center;align-items:center;font-size:24px;font-weight:700;line-height:1.3;display:flex}.rv-back .rv-text{font-size:30px}.rv-tap{align-items:center;gap:var(--s-2);color:var(--ink-mute);font-size:15px;display:inline-flex}.rv-tap .icon{width:18px;height:18px}.rv-choices{gap:var(--s-3);grid-template-columns:1fr 1fr;display:grid}.rv-choices .btn{min-width:0;padding:0 var(--s-3);font-family:inherit}.learn-foot .btn-main,.rv-choices .btn{font-family:inherit}.ch{--icon-w:var(--slate);--ch-ink:#f4f1e8;--ch-mute:#c9d3cc;--ch-line:#ffffff29;--ch-bar:#1b2c24;--appbar-btn-hover:#ffffff1f;background:var(--slate);color:var(--ch-ink)}.ch :focus-visible{outline-color:var(--yellow)}.ch .feedback :focus-visible{outline-color:var(--ink)}.ch h1{color:#fffdf4}.ch .learn-intro{border-color:var(--ch-line);background:#ffffff0d}.ch .learn-top{background:var(--ch-bar);box-shadow:0 1px #ffffff14}.ch .learn-close{color:var(--ch-mute)}.ch .progress{background:#ffffff24}.ch .progress>span{background:var(--yellow)}.ch .learn-count,.ch .learn-top-title,.ch .learn-kicker,.ch .learn-lead,.ch .learn-result-note,.ch .learn-empty,.ch .learn-score-total{color:var(--ch-mute)}.ch .chip{color:var(--ch-ink);background:#ffffff1a}.ch .learn-foot{background:var(--ch-bar);border-top-color:#ffffff14}.ch .btn:not(.btn-main,.btn-success,.btn-danger){--face:#ffffff14;--edge:#ffffff38;--text:#fff}.ch .btn:disabled{--face:#ffffff14;--edge:#ffffff1a;--text:#a9b8af}.ch .btn-ghost{color:var(--yellow)}.ch .btn-ghost:hover{background:#ffffff14}.ch .choice{border-color:var(--ch-line);box-shadow:0 3px 0 var(--ch-line);color:#fffdf4;background:#ffffff0f}.ch .choice:hover{border-color:#ffffff57}.ch .choice:active{box-shadow:0 1px 0 var(--ch-line)}.ch .choice:has(input:focus-visible){outline-color:var(--yellow)}.ch .choice-lead{color:var(--yellow);background:0 0;border-color:#ffffff3d}.ch .choice:not(.is-correct,.is-wrong):has(input:checked){border-color:var(--yellow);box-shadow:0 3px 0 var(--yellow);background:#ffd54d1f}.ch .choice:not(.is-correct,.is-wrong):has(input:checked) .choice-lead{border-color:var(--yellow)}:is(.ch .choice.is-correct,.ch .choice.is-correct:has(input:checked)){background:#2c7550;border-color:#9be3b8;box-shadow:0 3px #9be3b8}:is(.ch .choice.is-correct .choice-lead,.ch .choice.is-correct:has(input:checked) .choice-lead){color:#fff;border-color:#9be3b8}:is(.ch .choice.is-wrong,.ch .choice.is-wrong:has(input:checked)){background:#a9282d;border-color:#ffb4b0;box-shadow:0 3px #ffb4b0}:is(.ch .choice.is-wrong .choice-lead,.ch .choice.is-wrong:has(input:checked) .choice-lead){color:#fff;border-color:#ffb4b0}.ch .choice.is-missed{background:#9be3b81a;border-color:#9be3b8}.ch .choice.is-missed .choice-lead{color:#9be3b8;border-color:#9be3b8}.ch .choice:has(input:disabled):active{box-shadow:0 3px 0 var(--ch-line)}.ch-tile{background:var(--yellow);color:var(--ink);place-items:center;display:grid}.ch-record{margin-top:var(--s-2);color:var(--yellow);font-weight:700}.ch-duel{justify-content:center;align-items:center;gap:var(--s-2);min-height:48px;padding:0 var(--s-3);color:var(--yellow);text-underline-offset:4px;font-weight:700;text-decoration:underline;display:inline-flex}.ch-duel .icon{width:18px;height:18px}.learn-actions .ch-duel{justify-self:center}.ch-clock{justify-content:space-between;align-items:center;gap:var(--s-3);margin-bottom:var(--s-5);flex-wrap:wrap;display:flex}.ch-time{align-items:center;gap:var(--s-2);min-height:48px;padding:0 var(--s-5) 0 var(--s-4);border-radius:var(--r-full);font-family:var(--display);color:#fff;background:#ffffff1a;font-size:30px;font-weight:800;line-height:1;transition:background-color .2s,opacity .2s;display:inline-flex}.ch-time .icon{width:22px;height:22px;color:var(--yellow)}.ch-time small{opacity:.8;margin-left:-4px;font-size:17px;font-weight:700}.ch-time.is-urgent{background:var(--red-ink)}.ch-time.is-urgent .icon{color:#fff}.ch-time.is-paused{opacity:.6}.ch-combo{min-height:36px;padding:0 var(--s-3);border-radius:var(--r-full);background:var(--yellow);color:var(--ink);opacity:0;transition:opacity .2s, transform .2s var(--ease);align-items:center;gap:6px;font-size:15px;font-weight:700;display:inline-flex;transform:scale(.8)}.ch-combo .icon{width:16px;height:16px}.ch-combo[data-on]{opacity:1;transform:none}.ch-timeline{border-radius:var(--r-full);background:#ffffff1f;flex-basis:100%;height:6px;overflow:hidden}.ch-timeline span{border-radius:inherit;background:var(--ch-ink);transform-origin:0;height:100%;transition:transform 1s linear;display:block}.ch-time.is-urgent~.ch-timeline span{background:#ff8a80}.ch .learn-points{background:var(--yellow);color:var(--ink)}.ch .learn-points .icon{color:var(--ink);fill:var(--ink);--icon-w:var(--yellow)}.ch .learn-mistake{border-color:var(--ch-line);background:#ffffff0f}.ch .learn-mistake-you,.ch .learn-mistake-num{color:var(--ch-mute)}.ch .learn-mistake-you .icon{color:#ffb4b0}.ch .learn-mistake-right{color:#9be3b8}.video-open{gap:var(--s-2);font-family:inherit}.video-open .icon{width:20px;height:20px}.video-open{justify-content:center;gap:var(--s-3);min-height:60px;padding-block:var(--s-2);text-align:left}.video-open .icon{width:26px;height:26px;color:var(--brand)}.video-open-text{gap:2px;line-height:1.2;display:grid}.video-open-title{white-space:nowrap}.video-open-meta{color:var(--ink-mute);font-size:14px;font-weight:600}.learn-hearts .icon{color:var(--brand)}.ch .video-open .num{color:var(--ch-mute)}.ch .video-open .icon{color:var(--yellow)}.video-sheet{background:#111;border:0;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:0}.video-sheet[open]{place-items:center;display:grid}.video-sheet::backdrop{background:#111}.video-sheet-player{width:min(100%,1100px)}.video-sheet .player{border-radius:0}.video-close{z-index:1;top:calc(var(--s-3) + env(safe-area-inset-top));left:var(--s-3);--appbar-btn:#ffffff24;--appbar-btn-hover:#ffffff3d;color:#fff;width:48px;height:48px;position:fixed}.video-close:focus-visible{outline-color:#fff}@media (hover:hover) and (pointer:fine){.learn-hint{display:block}.learn-foot kbd{display:inline}}@media (width>=720px){.learn-body{padding-top:var(--s-7)}.learn-q{font-size:30px}.learn-intro h1{font-size:40px}.learn-ask-mascot{width:64px}.learn-sheet{border-radius:var(--r-l);height:min(84svh,900px);margin:auto}.learn-actions{grid-template-columns:1fr 1fr}.learn-actions>:only-child,.learn-actions .ch-duel{grid-column:1/-1}}@media (width<=380px){.learn-body,.learn-foot{padding-left:var(--s-4);padding-right:var(--s-4)}.learn-q{font-size:24px}.rv-back .rv-text{font-size:26px}}@media (prefers-reduced-motion:reduce){.rv-card .rv-inner,.rv-card.is-flipped .rv-inner{transform:none}.rv-card .rv-back{opacity:0;transform:none}.rv-card .rv-face{transition:opacity .2s linear!important}.rv-card.is-flipped .rv-front{opacity:0}.rv-card.is-flipped .rv-back{opacity:1}.ch-combo,.ch-time,.ch-timeline span,.learn-reread summary .icon{transition:none}}
