/* V5 focused reading and listening, iPhone + MacBook responsive. */
.v50welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 27px;background:linear-gradient(115deg,#174f41,#297f61);color:#fff;border-radius:22px;margin-bottom:18px;overflow:hidden}
.v50welcome h2{color:#fff;font-size:clamp(23px,3.2vw,31px);line-height:1.3;margin:8px 0}.v50welcome p{color:#e6f5ee;max-width:620px}.v50welcome span{letter-spacing:.15em;font-weight:700;font-size:12px;color:#cbe8d7}.v50welcome .btn{background:#fff;color:#174f41;border:0;min-height:42px}.v50welcome .btn.primary{background:#b8ead1;color:#144d37}.v50welcomechar{font-family:serif;font-size:110px;opacity:.3;line-height:1}
.v50modes{display:flex;flex-wrap:wrap;gap:9px;margin:8px 0 18px}.v50modes .btn{white-space:normal;text-align:center;min-height:46px;font-weight:650}
.v50hero{display:flex;justify-content:space-between;gap:16px;align-items:center;border-radius:20px;background:var(--panel,#e9f2ec);padding:24px;margin:12px 0 18px;border:1px solid var(--line,#dce8df)}.v50hero h2{font-size:clamp(21px,3.5vw,29px);line-height:1.3;margin:12px 0}.v50hero p{line-height:1.65}.v50heroico{font-size:90px;font-family:serif;color:#2d805f;opacity:.5}
.v50stats{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0;color:var(--muted,#667c70)}.v50stats b{color:var(--text,#20503d)}
.v50cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:13px;margin:16px 0}.v50lesson{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:13px;width:100%;padding:20px;border-radius:18px;border:1px solid var(--line,#d9e2dc);background:var(--card,#fff);color:var(--text,#253a33);cursor:pointer;min-height:200px}.v50lesson:hover{border-color:#4eac83;transform:translateY(-1px)}.v50lesson strong{font-size:25px;line-height:1.45;font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Noto Sans JP',sans-serif}.v50lesson small{line-height:1.5;color:var(--muted,#6d8176)}.v50lesson>span:last-child{color:#28825b;font-weight:700;margin-top:auto}
.v50passage{font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Noto Sans JP',sans-serif;line-height:2.1;letter-spacing:.025em;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;border-radius:14px;background:var(--panel,#f6f8f5);border:1px solid var(--line,#e2e9e3);margin:18px 0;word-break:normal}.v50passage .word40{font-size:inherit;line-height:inherit;padding:0 1px}
.v50translation{margin:20px 0;padding:12px 14px;border:1px solid var(--line,#dce8df);border-radius:13px}.v50translation p{line-height:1.8;white-space:pre-wrap}
.v50q h3{font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Noto Sans JP',sans-serif;font-size:clamp(19px,3vw,24px);line-height:1.7;margin:12px 0}.v50q .btn.option{display:block;width:100%;text-align:left;line-height:1.6;font-size:17px;white-space:normal;min-height:54px;padding:11px 15px;margin:8px 0}.v50q .notice{margin-top:12px}.v50q .notice p{line-height:1.6}
.v50audio{text-align:center}.v50audioglyph{display:grid;place-items:center;margin:16px auto;border-radius:50%;background:#d9eee3;width:128px;height:128px;color:#246f50;font-size:67px}.v50audio h2{font-family:-apple-system,BlinkMacSystemFont,'Noto Sans JP',sans-serif;font-size:clamp(23px,4vw,30px)}.v50audio p{line-height:1.7}.v50controls{justify-content:center;align-items:center;gap:10px;margin:18px 0}.v50controls .field{max-width:116px}.v50line{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:start;text-align:left;border-top:1px solid var(--line,#d7e5dc);padding:14px 0}.v50line> b{background:#dfefe6;color:#23734e;border-radius:9px;padding:9px;text-align:center}.v50line .jp{font-size:20px;line-height:1.65;margin-bottom:7px}.v50line .muted{font-size:15px;line-height:1.6}
.v50hv{margin-bottom:15px;padding:13px 17px;border-radius:14px;border:1px solid var(--line,#d8e7dd);background:var(--panel,#f5faf7)}.v50hv>div:first-child{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:7px}.v50hv span{font-size:13px;color:var(--muted,#60796a)}.v50hv .bar{max-width:none}
.dark .v50welcome{background:linear-gradient(115deg,#163b31,#255945)}.dark .v50hero{background:#21382f}.dark .v50audioglyph{background:#244638;color:#b8ebd0}.dark .v50line>b{background:#244638;color:#b8ebd0}
@media(max-width:640px){.v50welcome{padding:19px 18px;border-radius:16px}.v50welcomechar{display:none}.v50welcome h2{font-size:22px}.v50welcome .row{gap:8px}.v50welcome .btn{font-size:14px;padding:12px}.v50hero{padding:17px}.v50heroico{font-size:58px}.v50modes .btn{flex:1 1 145px;line-height:1.3}.v50cards{grid-template-columns:1fr}.v50lesson{min-height:145px;padding:17px}.v50lesson strong{font-size:23px}.v50passage{padding:13px;line-height:2.05}.v50q .btn.option{font-size:17px}.v50controls{flex-wrap:wrap}.v50audio .btn{min-height:46px}.v50line{grid-template-columns:31px 1fr auto;gap:8px}.v50line .jp{font-size:19px}}
