:root { color-scheme:light; --ink:#192a33; --sub:#596b73; --teal:#155c63; --teal2:#0f4149; --soft:#eaf4f1; --bg:#f8f8f5; --white:#fff; --line:#dce5e3; --orange:#e7ad73; --good:#176a44; --bad:#a93434; --shadow:0 18px 55px rgba(23,48,50,.07); }
* {box-sizing:border-box} html {scroll-behavior:smooth} body {margin:0; font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif; color:var(--ink); background:var(--bg); min-height:100vh; display:flex; flex-direction:column; -webkit-font-smoothing:antialiased;}
a {color:inherit} button {font:inherit; cursor:pointer} button:disabled {cursor:not-allowed} .shell {width:min(1040px,calc(100% - 36px)); margin-inline:auto} .skip {position:absolute; z-index:100; top:-120px; left:10px; padding:12px; background:white; border:2px solid var(--teal)} .skip:focus {top:5px}
.topbar {background:var(--white); border-bottom:1px solid var(--line)} .topinner {min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:16px} .brand{text-decoration:none;display:flex;align-items:center;gap:12px}.brand-icon{width:44px;height:44px;background:var(--teal2);border-radius:13px;color:#fff;display:grid;place-items:center;font-size:30px;font-family:Georgia,serif}.brand strong {display:block;letter-spacing:.10em;font-size:15px}.brand small {display:block;color:var(--sub);font-size:10px;letter-spacing:.22em;font-weight:800;margin-top:3px}.private-tag{border:1px solid #cde4d9;color:var(--good);background:#f2faf5;padding:9px 13px;border-radius:99px;font-size:12px;font-weight:750;white-space:nowrap}.private-tag span{margin-right:5px}.backlink{text-decoration:none;color:var(--teal);font-weight:750;font-size:14px}.backlink:hover{text-decoration:underline}
main.shell {flex:1;padding-block:40px 75px}.eyebrow {font-size:11px;letter-spacing:.21em;text-transform:uppercase;font-weight:850;color:var(--teal);margin:0 0 14px}.hero {position:relative;overflow:hidden;min-height:308px;display:flex;align-items:center;background:linear-gradient(112deg,#143f49,#256b69);border-radius:24px;padding:38px 42px;color:white;box-shadow:var(--shadow)}.hero-content{position:relative;z-index:2;max-width:590px}.hero .eyebrow {color:#bfe6dd}.hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:600;letter-spacing:-.035em;line-height:1.12;font-size:clamp(36px,5vw,53px);margin:0 0 15px}.hero p{color:#daedeb;line-height:1.65;font-size:16px;max-width:530px;margin:0}.castle-silhouette{position:absolute;right:0;bottom:-7px;width:43%;height:92%;opacity:.22;color:#fff}.tiny-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.tiny-pills span{background:#fff2;border:1px solid #fff4;padding:8px 12px;border-radius:99px;font-size:12px;font-weight:750}
.sectionhead{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:38px 0 18px}.sectionhead h2 {margin:0;font-size:24px;letter-spacing:-.03em}.sectionhead p {color:var(--sub);font-size:13px;margin:6px 0 0}.unitcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.unitcard{background:white;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:290px}.unitcard.locked{background:#f0f2f1;color:#55666b}.cardtop{display:flex;align-items:center;justify-content:space-between;gap:12px}.stepbubble{display:grid;place-items:center;background:#e8f3f0;color:var(--teal);font-weight:900;width:48px;height:48px;border-radius:15px;font-size:22px}.locked .stepbubble{background:#e2e8e6;color:#596c70}.status{display:flex;gap:6px;align-items:center;color:var(--sub);font-size:11px;font-weight:800;border-radius:99px;background:#f1f5f4;padding:8px 10px}.status.done{background:#e0f2e5;color:var(--good)}.cardname{font-size:25px;letter-spacing:-.035em;font-weight:850;margin:23px 0 8px}.carddesc{color:var(--sub);line-height:1.57;margin:0 0 24px;font-size:14px}.cardfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.cardstat{font-size:12px;color:var(--sub);font-weight:700}.btn {min-height:47px;display:inline-flex;justify-content:center;align-items:center;gap:10px;text-decoration:none;background:var(--teal);color:white;border:2px solid var(--teal);padding:11px 18px;border-radius:12px;font-weight:800;line-height:1.1;transition:transform .15s,background .15s}.btn:hover:not(:disabled) {background:var(--teal2);border-color:var(--teal2);transform:translateY(-1px)}.btn:focus-visible,.answer:focus-visible,a:focus-visible{outline:3px solid #eaa550;outline-offset:3px}.btn.ghost {background:#fff;color:var(--teal)}.btn.ghost:hover:not(:disabled){background:#ebf3f1}.btn.disabled{border-color:#dbe2e0;background:#dbe2e0;color:#66777a;pointer-events:none}.btn.big{padding:14px 25px;min-height:51px}.btn.full {width:100%}
.detailband{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px 23px;margin-top:20px;display:flex;align-items:center;gap:14px}.detailicon{font-size:24px;flex:none}.detailband h3{margin:0 0 3px;font-size:14px}.detailband p{color:var(--sub);margin:0;font-size:13px;line-height:1.5}.sharebox{margin-top:24px;border:1px solid var(--line);border-radius:19px;background:white;padding:23px;display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center}.sharebox h3{margin:0 0 6px;font-size:18px}.sharebox p {font-size:13px;line-height:1.5;color:var(--sub);margin:0}.shareactions{display:flex;align-items:center;gap:11px}.qrimg {background:white;border:1px solid var(--line);border-radius:10px;padding:7px;width:118px;height:118px;display:grid;place-items:center}.qrimg svg {width:100%;height:100%}.qr-cta{display:grid;gap:8px}.share-url{font-size:12px;overflow-wrap:anywhere;color:var(--sub);margin-top:8px}.helper{font-size:12px;color:var(--sub);margin-top:8px}
.gamehead{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:24px}.gamehead h1{font-size:clamp(27px,4vw,37px);margin:0 0 5px;letter-spacing:-.042em}.gamehead p{color:var(--sub);margin:0;font-size:14px;line-height:1.5}.levelbadge{border-radius:10px;background:var(--soft);color:var(--teal);padding:10px 13px;font-size:12px;font-weight:850;white-space:nowrap}.gameboard{background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:var(--shadow)}.progline{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--sub);font-size:12px;font-weight:800;margin-bottom:9px}.progressbar{width:100%;height:9px;border-radius:9px;background:#e3ece9;overflow:hidden}.progressfill{height:100%;background:var(--teal);transition:width .25s;width:0%}.questiontag{font-size:12px;letter-spacing:.14em;color:var(--teal);font-weight:900;margin:31px 0 9px;text-transform:uppercase}.questiontitle{font-family:Georgia,serif;font-weight:650;line-height:1.3;font-size:clamp(25px,3.4vw,34px);margin:0 0 12px}.questionhint{font-size:14px;line-height:1.55;color:var(--sub);margin:0 0 25px}.wordpiece{color:var(--teal);font-weight:800}.sentence{border-left:4px solid #6ba6a0;background:#f3f8f6;border-radius:0 14px 14px 0;margin:4px 0 22px;padding:19px 20px;line-height:1.85;font-size:clamp(17px,2.6vw,21px);font-weight:650}.blank{display:inline-block;border-bottom:2px solid #27726e;min-width:52px;padding-inline:8px;text-align:center;color:var(--teal)}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.answer{display:flex;align-items:center;text-align:left;gap:12px;min-height:70px;background:#fff;border:2px solid #dce8e5;color:var(--ink);border-radius:13px;padding:14px 15px;font-weight:750;font-size:15px;line-height:1.4;transition:border-color .13s,background .13s,transform .13s}.answer:hover:not(:disabled){background:#f0f7f5;border-color:#83aaa5;transform:translateY(-1px)}.answer .letter{flex:none;color:var(--teal);background:#e8f4f0;border-radius:9px;width:30px;height:30px;display:grid;place-items:center;font-size:12px}.answer.correct{background:#eaf7ed;border-color:#3f9d69;color:#145e39}.answer.correct .letter{background:#c5ecd2;color:#145e39}.answer.wrong{background:#fff0f0;border-color:#d76f6f;color:#8e2929}.answer.wrong .letter{background:#ffd6d6;color:#8e2929}.answer:disabled:not(.correct):not(.wrong){opacity:.63}.feedback{margin-top:18px;border-radius:14px;padding:17px 18px;background:#e9f7f0;color:#165a3e;line-height:1.5;font-size:14px}.feedback.error{background:#fff1ed;color:#8a3f2c}.feedback strong{display:block;font-size:15px;margin-bottom:4px}.feedback p{margin:0}.actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.scorenote{font-size:13px;color:var(--sub);font-weight:750}.result{max-width:660px;margin:15px auto;text-align:center;padding:42px 34px}.result-icon{font-size:51px;margin-bottom:12px}.result h2{font-family:Georgia,serif;font-weight:600;font-size:clamp(29px,5vw,39px);margin:0 0 12px}.result p{color:var(--sub);line-height:1.7;margin:0 auto 20px;max-width:480px}.scorecircle{font-size:43px;font-weight:900;color:var(--teal);margin:8px auto 7px;letter-spacing:-.06em}.result-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.notice{margin-top:22px;font-size:13px;color:var(--sub);text-align:center}.lockscreen{text-align:center;max-width:620px;margin:55px auto}.lockscreen .biglock{font-size:53px}.lockscreen h1{font-size:32px}.lockscreen p{color:var(--sub);line-height:1.7}.sitefooter{border-top:1px solid var(--line);background:white}.footinner{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#6f7d80;font-weight:750;letter-spacing:.035em}
@media (max-width:690px){.shell{width:calc(100% - 24px)} main.shell{padding-block:19px 55px}.topinner{min-height:68px}.brand-icon{width:38px;height:38px;font-size:25px}.brand strong{font-size:13px}.brand small{font-size:9px}.private-tag{font-size:10px;padding:7px 8px}.hero{min-height:320px;padding:30px 24px;align-items:flex-start}.hero h1{font-size:38px}.hero p{font-size:14px}.castle-silhouette{width:76%;height:68%;opacity:.09}.tiny-pills{margin-top:20px}.unitcards{grid-template-columns:1fr}.unitcard{min-height:255px;padding:22px}.sectionhead{margin-top:29px}.gamehead{flex-direction:column-reverse;gap:10px}.gameboard{padding:20px 17px}.choices{grid-template-columns:1fr;gap:9px}.answer{min-height:56px;font-size:15px;padding:10px 12px}.questiontag{margin-top:26px}.actions{flex-direction:column-reverse;align-items:stretch}.actions .btn{width:100%}.scorenote{text-align:center}.sharebox{grid-template-columns:1fr}.shareactions{justify-content:flex-start;align-items:center}.footinner{justify-content:center;flex-wrap:wrap;text-align:center;padding-block:15px}.result{padding:30px 16px}.result-btns{flex-direction:column}.result-btns .btn{width:100%}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
@media (max-width:690px){.cardfoot{flex-direction:column;align-items:stretch}.cardfoot .btn{width:100%}.shareactions{flex-wrap:wrap}.qr-cta{min-width:175px;flex:1}}
