*{box-sizing:border-box}body{margin:0;background:#071e24;color:#fff6dd;font-family:Arial,sans-serif}header{display:flex;justify-content:space-between;gap:20px;padding:22px 5vw;align-items:center;border-bottom:1px solid #ffffff20}header a{color:inherit;text-decoration:none;font-weight:bold;font-size:14px}header span{display:block;font-weight:normal;color:#bdc8c5;font-size:11px;margin-top:5px}header div{display:flex;gap:24px;align-items:center}button{font:inherit;cursor:pointer;background:#eac16f;color:#102a2f;border:1px solid transparent;border-radius:6px;padding:13px 24px;font-weight:bold}button:hover{filter:brightness(1.12)}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:4px}header button,footer button{color:#fff6dd;background:transparent;border-color:#ffffff40;font-size:13px}main{max-width:1360px;margin:24px auto;padding:0 3vw}#stage{position:relative;min-height:620px;overflow:hidden;border-radius:14px;padding:60px;background:linear-gradient(90deg,#071c26ee 0%,#08272caa 55%,#09262a20 100%),url('assets/library.png') center/cover}#stage>div{position:relative;max-width:760px;animation:enter .5s ease both}.eyebrow{font-size:12px;letter-spacing:3px;color:#eac16f;text-transform:uppercase;margin:0 0 24px}h1{font-family:Georgia,serif;font-weight:normal;font-size:clamp(42px,5.5vw,82px);line-height:1.08;max-width:650px;margin:0 0 22px}h2{font-family:Georgia,serif;font-size:46px;font-weight:normal;line-height:1.12;margin:0 0 26px}.lead{font-size:22px;line-height:1.7;max-width:630px}.story{font-size:26px;line-height:1.8;max-width:620px}.vocab{padding:0 3px;background:none;border:0;border-bottom:1px dashed #eac16f;color:#ffdb91;border-radius:0;font-size:inherit;font-weight:inherit}.actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px}.secondary{background:#0d303a;color:#ffe3a5;border-color:#eac16f80}.answers{display:grid;gap:14px;max-width:600px;margin:26px 0}.answers button{text-align:left;background:#0d2937e8;color:#fff6dd;border-color:#ffffff4d;padding:22px;font-size:23px}.answers button.selected{border:2px solid #eac16f}#feedback{font-size:19px;line-height:1.6;min-height:70px;color:#ffe3a5}.rule{font-size:35px;color:#ffdc93;padding:12px 0}.muted{font-size:15px;color:#bdcdc9;line-height:1.7}footer{display:flex;justify-content:space-between;align-items:center;padding:18px 0}#progress{font-size:13px;color:#a9bdb8}button:disabled{opacity:.35;cursor:default}.disclosure{max-width:1200px;margin:0 auto 30px;padding:0 4vw;font-size:12px;color:#8ba5a2;line-height:1.7}dialog{max-width:560px;width:90%;padding:40px;background:#fff4da;color:#183439;border:0;border-radius:16px;box-shadow:0 20px 100px #000}dialog::backdrop{background:#00151ccd;backdrop-filter:blur(6px)}dialog h2{font-size:36px;margin:0 0 15px}dialog p{font-size:21px;line-height:1.7}dialog>.close:first-child{position:absolute;right:12px;top:10px;background:none;font-size:28px;padding:0 8px}#stage .result{font-size:72px;color:#eac16f;font-family:Georgia,serif}@keyframes enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media(max-width:720px){header{padding:16px;align-items:flex-start}header div{gap:12px;flex-direction:column;align-items:flex-end}header a{font-size:11px}header button{padding:7px}main{margin:14px auto;padding:0 12px}#stage{padding:32px 24px;min-height:610px;background-position:65%}h2{font-size:34px}.lead,.story{font-size:20px}.rule{font-size:27px}.answers button{font-size:20px}.actions button{width:100%}.eyebrow{font-size:10px;letter-spacing:2px}}@media(prefers-reduced-motion:reduce){#stage>div{animation:none}}

/* All lesson screens remain in the document for natural scrolling. */
#stage{padding:0;background:none;overflow:visible;min-height:0}.lesson-screen{min-height:620px;padding:60px;margin-bottom:24px;border-radius:14px;scroll-margin-top:20px;overflow:hidden;background:linear-gradient(90deg,#071c26ee 0%,#08272caa 55%,#09262a20 100%),url('assets/library.png') center/cover}.lesson-screen>div{max-width:760px}.feedback{font-size:19px;line-height:1.6;min-height:70px;color:#ffe3a5}main>footer{position:sticky;bottom:0;background:#071e24f5;z-index:2;padding:12px 16px;border-top:1px solid #ffffff30;border-radius:8px}.lesson-screen .result{font-size:72px;color:#eac16f;font-family:Georgia,serif}@media(max-width:720px){#stage{padding:0}.lesson-screen{padding:32px 24px;min-height:610px;background-position:65%;margin-bottom:16px}}
