/* Lesson cards are native links across their whole surface. */
.vocab-roadmap .vocab-unit-card{padding:0;transition:border-color .15s,background .15s}
.vocab-unit-open{display:block;padding:14px;height:100%;border-radius:9px}
.vocab-unit-open:focus-visible{outline:3px solid #bd9d4c;outline-offset:3px}
.vocab-roadmap .vocab-unit-card:hover{border-color:#96ad83;background:#f7fbf2}
.vocab-unit-open>p{margin-top:2px;overflow:hidden;color:#7b8c6e;font-size:10px;white-space:nowrap;text-overflow:ellipsis}
.vocab-unit-open>small{display:block;color:#7a8871;font-size:10px}
.vocab-unit-open .vocab-unit-actions{font-size:10px;color:#507245;justify-content:space-between;gap:8px}
.vocab-unit-open .vocab-unit-actions strong{font-weight:600}
.vocab-lesson{--vl-border:#dce5d5;--vl-soft:#f0f5e8;--vl-ink:#3e5c38;--vl-muted:#738267;color:var(--vl-ink)}
.vl-navigation{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:19px}
.vl-navigation>label{display:flex;align-items:center;gap:10px;min-width:0;font-size:10px;color:var(--vl-muted)}
.vl-navigation .select{font-size:11px;padding:8px 11px;max-width:270px}
.vl-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:#edf3e5;border:1px solid #dce6d1;border-radius:17px;padding:27px 30px}
.vl-hero .eyebrow{font-size:9px;color:#7d906b}.vl-hero h1{font-size:31px;line-height:1.5;margin:6px 0;letter-spacing:-.7px}
.vl-hero p.jp{font-size:18px;color:#7e906d}.vl-hero p:not(.jp){font-size:12px;color:#6f8060;margin-top:8px}
.vl-hero-mark{display:flex;flex-direction:column;align-items:center;padding:0 15px;flex-shrink:0}.vl-hero-mark>span{font-size:62px;color:#b3c3a4;line-height:1.3;font-family:'Noto Sans JP',sans-serif}.vl-hero-mark>small{font-size:9px;color:#839673}
.vl-learning-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:16px 0 24px;font-size:11px;color:var(--vl-muted)}
.vl-learning-strip strong{color:#4c6d3d;font-size:14px}.vl-learning-strip .toggle{font-size:11px}
.vl-method-section{margin-bottom:27px}.vl-method-intro{display:flex;align-items:baseline;gap:15px;margin-bottom:12px}.vl-method-intro h2{font-size:16px;letter-spacing:-.2px}.vl-method-intro p{font-size:10px;color:var(--vl-muted)}
.vl-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.vl-method{display:flex;align-items:center;gap:12px;padding:13px 14px;text-align:left;border:1px solid var(--vl-border);background:#fffef9;border-radius:10px;min-width:0}
.vl-method-symbol{display:grid;place-items:center;width:31px;height:35px;flex-shrink:0;font-size:23px;font-family:'Noto Sans JP',sans-serif;color:#92a47f}
.vl-method>span:last-child{min-width:0}.vl-method strong{display:block;font-size:12px;font-weight:600;line-height:1.6}.vl-method small{display:block;font-size:9px;line-height:1.8;color:#859477;margin-top:3px}
.vl-method:hover{border-color:#abc096}.vl-method.selected{border-color:#98b181;background:#e7efde;box-shadow:inset 0 0 0 1px #b7cbaa}.vl-method.selected .vl-method-symbol{color:#5f804a}
.vl-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px}.vl-section-head .eyebrow{color:#92a180;font-size:8px}.vl-section-head h2{font-size:21px;margin:4px 0}.vl-section-head p{font-size:11px;color:var(--vl-muted)}
.vl-word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.vl-word-card{display:flex;flex-direction:column;min-width:0;padding:21px;border:1px solid var(--vl-border);border-radius:14px;background:#fffef9}
.vl-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8px;color:#8c9a7e;letter-spacing:.2px}
.vl-word{font-size:28px;line-height:2.4;margin-top:9px;color:#486c3b;overflow-wrap:anywhere}
.vocab-lesson ruby{display:ruby;ruby-position:over;ruby-align:center}.vocab-lesson rt{display:ruby-text;color:#768968;font-size:clamp(10px,.46em,13px);line-height:1.3;font-weight:400;letter-spacing:0}
.vl-kana,.vl-romaji{font-size:11px;line-height:1.9;color:var(--vl-muted);overflow-wrap:anywhere}.vl-kana>span,.vl-romaji>span{margin-right:7px}.vl-kana b{font-size:14px;font-weight:500;color:#527145}
.vl-romaji{font-size:10px;margin-top:3px}.vl-word-card>h3{font-size:14px;line-height:1.9;font-weight:600;margin:13px 0 4px}
.vl-example{border:1px solid #e3e9dc;border-radius:8px;margin-top:13px;background:#f8faf3}.vl-example summary{cursor:pointer;padding:9px 12px;font-size:10px;color:#6e855e}.vl-example>div{position:relative;border-top:1px solid #e3e9dc;padding:10px 42px 13px 12px}.vl-example p.jp{font-size:15px;line-height:2.4;overflow-wrap:anywhere}.vl-example p:not(.jp){font-size:11px;color:#748666;line-height:1.85;margin-top:4px}.vl-example .icon-button{position:absolute;right:5px;top:10px}
.vl-word-bottom{margin-top:auto;padding-top:18px}.vl-word-bottom .btn{font-size:10px}.vl-word-bottom [aria-pressed=true]{background:#e9f1df;border-color:#b6c9a6}
.vocab-lesson .icon-button{color:#749261;background:#f1f6e9;border:1px solid #dce7d1;min-width:32px;height:32px;font-size:19px}.vocab-lesson .icon-button:hover{background:#e3edd7}
.vl-exercise,.vl-summary{max-width:780px;margin:0 auto;padding:28px;border:1px solid var(--vl-border);border-radius:17px;background:#fffef9;scroll-margin-top:105px}
.vl-exercise-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.vl-exercise-top h2{font-size:18px}.vl-exercise-top>span{font-size:11px;color:var(--vl-muted);white-space:nowrap}
.vl-round-progress{height:5px;background:#eaf0e1;border-radius:4px;overflow:hidden;margin:15px 0 26px}.vl-round-progress>span{display:block;height:100%;border-radius:4px;background:#9bb786}
.vl-prompt{text-align:center;font-size:15px;line-height:1.8;font-weight:500;margin-bottom:22px;color:#6f825e}
.vl-flash{width:100%;max-width:490px;min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px;margin:0 auto;border:1px solid #d6e1c9;border-radius:17px;background:#eff4e7;text-align:center;box-shadow:0 7px 15px #3d542508}
.vl-flash.is-flipped{background:#f7f6ed}.vl-flash:disabled{opacity:1;cursor:default}.vl-flash-label{font-size:9px;letter-spacing:1.2px;color:#90a27d}.vl-flash-word{font-size:36px;line-height:2.1;overflow-wrap:anywhere;max-width:100%}.vl-flash>strong{font-size:17px;font-weight:500}.vl-flash>small{font-size:11px;color:#91a07f}.vl-flash-kana{font-size:17px;color:#7a9168}
.vl-flash-grades{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:21px;flex-wrap:wrap}
.vl-picture-wrap{max-width:360px;margin:0 auto}.vl-picture{display:block;width:100%;height:auto}.vl-picture-note{text-align:center;color:#879578;font-size:10px;margin:10px 0 21px;line-height:1.8}
.vl-choices{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}.vl-choice{padding:16px 19px;min-height:57px;text-align:left;border:1px solid #dce5d3;border-radius:10px;background:#f9fbf5;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.vl-choice:hover:not(:disabled){background:#eef4e5;border-color:#9db78a}.vl-choice:disabled{opacity:1;cursor:default}.vl-choice.is-correct{background:#e5efda;border-color:#95b37f;color:#4d6e3b}.vl-choice.is-correct:before{content:'✓ ';font-weight:700}.vl-choice.is-wrong{background:#f8e9df;border-color:#d3a38b;color:#a16e57}
.vl-feedback{position:relative;border:1px solid #dce6d1;background:#f2f7ea;border-radius:11px;padding:18px 49px 18px 20px;margin-top:22px}.vl-feedback.needs-review{background:#fbf5e9;border-color:#e8d8b8}.vl-feedback>strong{display:block;font-size:12px;margin-bottom:12px;color:#688452}.vl-feedback.needs-review>strong{color:#a0854d}.vl-feedback>p.jp{font-size:23px;line-height:2.4;overflow-wrap:anywhere}.vl-feedback>p:not(.jp,.vl-kana,.vl-romaji){font-size:14px;line-height:1.8;margin-bottom:10px}.vl-feedback>.icon-button{position:absolute;right:13px;top:17px}.vl-feedback .vl-example{background:#fffef7}.vl-next{display:flex;justify-content:flex-end;margin-top:20px}
.vl-listen{text-align:center;background:#f3f6ed;border:1px solid #e3ead9;border-radius:14px;padding:29px}.vl-listen-button{display:grid;place-items:center;height:82px;width:82px;margin:0 auto;border-radius:50%;background:#688b54;color:#fff;font-size:44px;border:6px solid #e5eddc}.vl-listen-button:hover{background:#557b41}.vl-listen p{font-size:11px;color:#839575;margin-top:14px}
.vl-type-word{text-align:center;padding:22px;margin-bottom:22px;border:1px solid #e4e9d8;background:#f4f6ee;border-radius:12px}.vl-type-word>p{font-size:33px;line-height:1.8;overflow-wrap:anywhere}.vl-type-word>span{font-size:13px;color:#82946f}.vl-exercise form>label{display:block;font-size:12px;margin-bottom:9px}.vl-exercise form>.field{font-size:20px;width:100%;padding:13px 16px}.vl-exercise .romaji-input-toolbar{margin-top:11px}.vl-type-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:19px}
.vl-match-instructions h3{font-size:15px;font-weight:500}.vl-match-instructions p{font-size:11px;color:#839575;margin-top:5px}.vl-match-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:22px}.vl-match-column{display:grid;grid-template-rows:auto repeat(var(--vl-pairs,4),minmax(76px,auto));gap:12px;align-content:start}.vl-match-column>span{font-size:9px;color:#899b79;letter-spacing:1px}.vl-match-card{position:relative;min-height:76px;border:1px solid #dce5d1;border-radius:9px;background:#f8faf3;padding:15px 13px;text-align:center;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.vl-match-card>.jp{font-size:19px;line-height:2.4}.vl-match-card.is-selected{border-color:#8da774;background:#eaf2de;box-shadow:0 0 0 2px #d8e5c9}.vl-match-card.is-wrong{border-color:#d4ab92;background:#fbefe5}.vl-match-card.is-matched{background:#e5eedb;border-color:#bbceab;opacity:.65;color:#738b61;cursor:default}.vl-match-check{position:absolute;top:3px;right:8px;color:#789d5d}.vl-match-message{font-size:12px;color:#779360;line-height:1.8;margin:18px 0;min-height:22px}.vl-match-message.needs-review{color:#ac805b}
.vl-summary{text-align:center;padding:39px 30px}.vl-summary>.eyebrow{font-size:9px;color:#90a07f}.vl-summary h2{font-size:23px;margin:10px 0 22px}.vl-score{font-size:68px;line-height:1.2;color:#73945b;font-weight:600;letter-spacing:-2px}.vl-score>small{font-size:24px;font-weight:400;color:#9baa8c}.vl-summary>p{font-size:13px;color:#829371;line-height:1.9;margin-top:7px}.vl-review-list{max-width:500px;text-align:left;margin:28px auto;border:1px solid #e2e8d8;border-radius:10px;padding:17px 21px;background:#f6f8f0}.vl-review-list h3{font-size:13px;margin-bottom:13px}.vl-review-list>p{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:7px 0;border-top:1px solid #e5ebdd;font-size:12px}.vl-review-list .jp{font-size:18px;line-height:2.4}.vl-review-list p>span:last-child{text-align:right;color:#81966e}.vl-summary-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:11px;margin-top:26px}.vl-summary .vl-progress-note{font-size:10px;margin-top:22px}
.vl-bottom-nav{display:flex;justify-content:space-between;gap:15px;margin:30px 0 0;padding-top:20px;border-top:1px solid #e1e7d8;font-size:11px;color:#7b9169}.vl-bottom-nav a:hover{text-decoration:underline}
@media(min-width:1250px){.vl-methods{grid-template-columns:repeat(6,minmax(0,1fr))}.vl-method{display:block;padding:13px}.vl-method-symbol{margin-bottom:6px}.vl-method small{font-size:9px}}
@media(max-width:1050px){.vl-word-grid{grid-template-columns:1fr 1fr}.vl-method{padding:11px;gap:8px}.vl-method small{font-size:8px}.vl-method strong{font-size:11px}.vl-hero{padding:24px}.vl-hero h1{font-size:28px}}
@media(max-width:760px){.vl-method small{display:none}.vl-method{padding:10px;gap:7px;min-height:51px}.vl-method-symbol{font-size:20px;width:25px;height:29px}.vl-method strong{font-size:10px}.vl-method-intro{display:block}.vl-method-intro p{margin-top:3px}.vl-hero-mark{display:none}.vl-hero{padding:21px}.vl-hero h1{font-size:27px}.vl-navigation .select{max-width:205px}.vl-word-card{padding:19px}.vl-method-section{margin-bottom:22px}.vl-exercise,.vl-summary{padding:23px}.vl-word{font-size:26px}.vl-match-grid{gap:14px}.vl-match-card>.jp{font-size:18px}.vl-feedback{padding-left:16px}.vl-section-head>div>p{font-size:10px}.vl-section-head>.btn{font-size:10px;flex-shrink:0}}
@media(max-width:560px){.vl-navigation{gap:12px;align-items:flex-start}.vl-navigation>.text-button{font-size:10px}.vl-navigation>label>span{display:none}.vl-navigation .select{max-width:167px;font-size:10px}.vl-hero h1{font-size:26px}.vl-hero p.jp{font-size:16px}.vl-hero p:not(.jp){font-size:11px}.vl-hero .eyebrow{font-size:8px}.vl-learning-strip{font-size:10px;margin-bottom:19px}.vl-learning-strip strong{font-size:12px}.vl-learning-strip .toggle{font-size:10px}.vl-methods{gap:6px}.vl-method-symbol{font-size:19px;width:21px}.vl-method{padding:9px 7px;gap:4px}.vl-method strong{font-size:9px}.vl-section-head{align-items:flex-start;gap:11px}.vl-section-head h2{font-size:18px}.vl-word-grid{grid-template-columns:1fr}.vl-word-card{padding:21px}.vl-word{font-size:29px}.vl-word-card>h3{font-size:15px}.vl-card-top{font-size:9px}.vl-kana b{font-size:15px}.vl-word-bottom .btn{font-size:11px}.vl-exercise,.vl-summary{padding:19px}.vl-exercise-top h2{font-size:17px}.vl-exercise-top>span{font-size:10px}.vl-prompt{font-size:13px}.vl-round-progress{margin-bottom:22px}.vl-choices{gap:9px}.vl-choice{padding:13px 12px;font-size:12px}.vl-picture-note{font-size:9px}.vl-feedback>p.jp{font-size:22px}.vl-feedback>p:not(.jp,.vl-kana,.vl-romaji){font-size:13px}.vl-flash{min-height:230px;padding:23px 17px}.vl-flash-word{font-size:31px}.vl-flash>strong{font-size:15px}.vl-flash-grades{gap:8px}.vl-flash-grades .btn{font-size:10px;padding:10px 12px}.vl-exercise .romaji-input-toolbar{flex-wrap:wrap;gap:8px}.vl-exercise .romaji-input-toolbar>small{flex-basis:100%}.vl-type-actions .btn{font-size:10px}.vl-match-grid{gap:11px}.vl-match-card{font-size:11px;padding:12px 7px;min-height:80px}.vl-match-column{grid-template-rows:auto repeat(var(--vl-pairs,4),minmax(80px,auto));gap:10px}.vl-match-card>.jp{font-size:17px}.vl-match-instructions h3{font-size:13px}.vl-match-instructions p{font-size:10px}.vl-match-column>span{font-size:8px;letter-spacing:.4px}.vl-match-message{font-size:11px}.vl-summary h2{font-size:21px}.vl-review-list{padding:14px}.vl-review-list>p{font-size:11px;gap:12px}.vl-review-list .jp{font-size:16px}.vl-summary-actions .btn{font-size:10px}.vl-bottom-nav{font-size:10px;gap:10px;align-items:center}.vl-bottom-nav>a:nth-child(2){text-align:center;max-width:48%}}
@media(max-width:370px){.vl-navigation .select{max-width:143px}.vl-method-symbol{display:none}.vl-method{justify-content:center;min-height:43px}.vl-method strong{font-size:9px}.vl-hero{padding:19px}.vl-hero h1{font-size:25px}.vl-exercise,.vl-summary{padding:16px}.vl-section-head{display:block}.vl-section-head>.btn{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.vocab-unit-card,.vocab-lesson *{animation:none!important;transition:none!important}}

/* Keep the small navigation and reading aids legible on compact screens. */
.vl-card-top,.vl-method small,.vl-picture-note,.vl-exercise-top>span,.vl-section-head p{color:#6c7d60}
.vl-card-top{font-size:10px}.vl-method small{font-size:10px}.vl-hero .eyebrow{color:#657f53}
@media(max-width:760px){.vl-method strong{font-size:11px}}
@media(max-width:370px){.vl-method strong{font-size:10px}}
