/* Shared game/academy surfaces: calm reading, clear actions, generous touch targets. */
.mode-switch{position:absolute;right:94px;top:37px;z-index:8;display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #ffffffa6;border-radius:14px;background:#f7fcf8d9;color:#304b55;font:500 12px Golos,Arial,sans-serif;cursor:pointer;backdrop-filter:blur(12px)}
.mode-switch svg{width:17px;height:17px}.mode-switch .switch-chevron{font-size:12px;color:#6e8191}.menu-footer,.section-heading,.task-topline,.exam-reference,.profile-time{display:flex;align-items:center;justify-content:space-between;gap:18px}.menu-footer{margin-top:24px;color:#64727e;font-size:12px}.menu-footer .subtle{display:flex;align-items:center;gap:8px}.menu-footer svg{width:17px}
.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mode-card{text-align:left;border:1px solid #dbe6e4;padding:26px;border-radius:22px;background:#f2f7f1;color:#17243a;font-family:inherit;cursor:pointer;transition:transform .2s,box-shadow .2s}.mode-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px #1f394b12}.mode-card.learning{background:#eef2fc;border-color:#dce3f6}.mode-illustration{width:70px;height:70px;display:grid;place-items:center;background:#e0eadc;color:#527660;border-radius:24px;margin-bottom:23px}.mode-illustration svg{width:40px;height:40px}.learning .mode-illustration{background:#dce5fc;color:#2455d6}.mode-card .eyebrow{font-size:9px;letter-spacing:1px}.mode-card h3{font-size:23px;letter-spacing:-.8px;line-height:1.2;margin:13px 0}.mode-card p{font-size:13px;line-height:1.7;color:#536774}.mode-cta{display:flex;align-items:center;gap:10px;margin-top:26px;color:#2455d6;font-weight:600;font-size:12px}.mode-cta svg{width:17px}.preview-notice{padding:12px 15px;border:1px solid #e3e8ed;background:#f5f7f9;border-radius:12px;font-size:11px;line-height:1.6;color:#68798a;margin-top:20px}
.academy-intro{display:flex;gap:24px;align-items:flex-start}.academy-intro>div{flex:1}.academy-intro p{font-size:14px;color:#536774;line-height:1.7;margin:14px 0 0}.academy-intro>.secondary{white-space:nowrap}.period-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:25px 0}.period-tab{border:1px solid #e3e8ef;background:#f8fafc;border-radius:13px;padding:13px 14px;color:#526278;text-align:left;cursor:pointer;font-family:inherit;min-height:76px}.period-tab.selected{color:#2455d6;border-color:#afc0ef;background:#edf2ff}.period-tab b{font-size:12px;line-height:1.45;display:block}.period-tab small{display:block;font-size:10px;letter-spacing:.25px;margin-bottom:6px}.academy-period{background:#f0f4fc;border:1px solid #e1e8f5;padding:22px;border-radius:19px;margin:20px 0}.section-heading h3{font-size:21px;letter-spacing:-.5px;margin:7px 0 0}.section-heading>.icon{width:25px}.round-stat{font-size:27px;font-weight:600;color:#2455d6;white-space:nowrap}.round-stat small{font-size:15px;color:#8c9aba;font-weight:400}.thin-progress{height:5px;background:#dfe6ed;border-radius:5px;overflow:hidden;margin-top:18px}.thin-progress>span{display:block;height:100%;background:#2455d6;border-radius:5px;transition:width .35s}.micro-copy{font-size:11px;line-height:1.6;color:#718195;margin:10px 0}.academy-task-list{display:grid;gap:9px}.academy-task{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #e2e8ef;padding:16px;border-radius:15px;text-align:left;cursor:pointer;font-family:inherit;color:#263a4f;min-height:77px}.academy-task:hover{background:#f8fafe;border-color:#b8c9ee}.academy-task.mastered{border-color:#d8e5dc}.academy-task>svg{width:24px;flex-shrink:0}.task-number{font-size:19px;color:#92a3b4;font-weight:500;width:32px}.task-status{margin-left:auto;display:flex;flex-direction:column;align-items:center;gap:5px;max-width:90px;flex-shrink:0;color:#74869b}.task-status svg{width:20px;height:20px}.task-status small{font-size:9px;text-align:center;line-height:1.4}.mastered .task-status{color:#4a8064}.academy-task .entry-copy{flex:1}.academy-task .entry-copy b{font-size:13px;line-height:1.5}.academy-task .entry-copy small{font-size:11px}
.task-topline{margin-bottom:20px}.task-topline .subtle{font-size:12px}.exam-reference{font-size:11px;letter-spacing:.3px;color:#718195;margin:0 0 14px}.historical-source{background:#f7f6ef;border:1px solid #e7e4d7;border-left:3px solid #c5b789;border-radius:0 14px 14px 0;padding:22px 25px;margin:20px 0}.historical-source figcaption{font-size:10px;color:#89826c;line-height:1.5;letter-spacing:.25px}.historical-source blockquote{font-size:15px;line-height:1.85;margin:13px 0 0;color:#434943;white-space:pre-wrap}.academy-image{margin:20px 0;border:1px solid #e1e7ec;background:#f8fafb;border-radius:15px;overflow:hidden}.academy-image img{display:block;width:100%;max-height:380px;object-fit:contain;background:#edf1f2}.academy-image figcaption{padding:13px 17px;color:#6e7f8c;font-size:11px;line-height:1.55}.academy-image details{margin-top:5px}.academy-image details a{margin-left:8px}.field-label{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:500;color:#3b5064;margin:15px 0}.academy-input{display:block;width:100%;min-height:48px;border:1px solid #ccd8e4;border-radius:11px;padding:13px 14px;background:#fff;color:#17243a;font-family:inherit;font-size:15px;font-weight:400;line-height:1.5;outline:none}.academy-input:focus{border-color:#2455d6;box-shadow:0 0 0 3px #2455d612}.academy-input:disabled{background:#f4f7fa;color:#4c6174}.essay-input{min-height:190px;resize:vertical}.academy-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.answer-controls{display:flex;gap:10px;margin:24px 0 10px}.matching-fields{display:grid;gap:12px;margin:20px 0}.matching-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center;padding:13px;border-radius:13px;background:#f4f7fa}.matching-row>span{font-size:13px;line-height:1.6}.matching-row select{font-size:13px}.check-option{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #dfe6ee;border-radius:12px;background:#fff;font-size:14px;line-height:1.65;cursor:pointer}.check-option input{accent-color:#2455d6;width:18px;height:18px;flex-shrink:0;margin-top:3px}.academy-options,.rubric-checks{display:grid;gap:9px;margin:20px 0}.sequence-board{margin:20px 0}.sequence-selected{border:1px dashed #b6c8df;background:#f1f5fc;border-radius:14px;padding:12px;min-height:80px;display:grid;gap:8px}.sequence-selected>p{font-size:13px;color:#8191a3;text-align:center;align-self:center;padding:15px}.sequence-pool{display:grid;gap:8px;margin-top:14px}.sequence-tile{display:flex;gap:13px;align-items:center;border:1px solid #dbe4ee;border-radius:11px;padding:14px;background:#fff;text-align:left;color:#3e526a;font:400 14px Golos,Arial,sans-serif;cursor:pointer;min-height:50px}.sequence-tile>b{font-size:12px;width:25px;height:25px;display:grid;place-items:center;background:#e9effc;border-radius:7px;color:#2455d6;flex-shrink:0}.sequence-tile>span{flex:1;line-height:1.5}.sequence-tile svg{width:17px;height:17px;flex-shrink:0}.sequence-tile:disabled{cursor:default}.hint-panel{display:flex;align-items:flex-start;gap:12px;padding:17px 19px;border-radius:13px;background:#f6f1de;color:#807344;margin-top:17px}.hint-panel svg{width:20px;flex-shrink:0}.hint-panel p{font-size:13px;line-height:1.7;margin:0}.academy-feedback{margin-top:24px}.academy-feedback p{white-space:pre-wrap}.answer-key{margin:15px 0}.answer-key>div{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:9px 0;border-bottom:1px solid #dce4df}.answer-key dt{font-size:13px;color:#5c7568}.answer-key dd{font-size:13px;color:#335844;margin:0;font-weight:500}.answer-key-list{font-size:13px;line-height:1.9;padding-left:22px}.rubric-panel{background:#f1f4fa;border:1px solid #e0e6f0;border-radius:18px;padding:22px;margin-top:22px}.rubric-panel h3{font-size:21px;letter-spacing:-.5px;margin:10px 0}.rubric-panel>p{font-size:13px;line-height:1.7;color:#637286}.score-guide>p{display:flex;align-items:center;gap:13px;font-size:12px;line-height:1.65}.score-guide b{display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;border:1px solid #c9d5e5;border-radius:8px;background:#fff;color:#2455d6}.sources-block{display:grid;gap:8px;margin:19px 0}.sources-block .source-link{font-size:12px}.task-footnote{font-size:10px;line-height:1.7;color:#93a0ad;margin-top:25px}.source-details{margin-top:23px;padding-top:17px;border-top:1px solid #e3e9ef;font-size:12px;line-height:1.8;color:#6a7c8d}.source-details summary{cursor:pointer;font-weight:500;color:#51697e}.source-details p{margin-top:9px}.context-materials{margin-top:30px;padding-top:24px;border-top:1px solid #e1e7ee}.context-materials h3{font-size:18px}.context-materials .eyebrow{font-size:9px}.material-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:16px}.material-card{display:flex;gap:14px;padding:14px;border:1px solid #e1e7ee;border-radius:15px;text-decoration:none;color:#3a5269;background:#fafcfe}.material-cover{width:56px;min-height:83px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:#e7edfb;color:#2455d6;border-radius:8px;flex-shrink:0;padding:8px}.material-cover svg{width:24px;height:24px}.material-cover small{font-size:5px;letter-spacing:.5px;text-align:center;line-height:1.6;font-weight:600}.material-copy{display:flex;flex-direction:column;gap:7px;align-items:flex-start;justify-content:center}.material-copy b{font-size:11px;line-height:1.5}.material-copy small{font-size:10px;color:#74869b}.material-copy>span{font-size:10px;color:#2455d6;display:flex;align-items:center;gap:5px}.material-copy svg{width:12px;height:12px}.knowledge-map{display:grid;gap:10px;margin:25px 0}.knowledge-row{display:grid;grid-template-columns:1fr 140px 45px;gap:16px;align-items:center;text-align:left;background:#f7f9fc;border:1px solid #e1e8f0;border-radius:12px;padding:17px;font-family:inherit;color:#3c536d;cursor:pointer}.knowledge-row>span{display:flex;flex-direction:column;gap:5px}.knowledge-row b{font-size:13px}.knowledge-row small{font-size:10px;color:#74869b}.knowledge-row .thin-progress{margin:0}.knowledge-row>strong{font-size:13px;text-align:right;color:#2455d6}.academy-history{display:grid;gap:7px}.academy-history button{border:0;border-bottom:1px solid #e7ecf1;background:#fff;padding:12px 0;text-align:left;display:flex;justify-content:space-between;gap:12px;font-family:inherit;cursor:pointer;color:#4a6178}.academy-history span{font-size:12px}.academy-history small{font-size:10px;color:#8796a5}.appeal-card{padding:16px;border:1px solid #eadfc7;background:#fbf8f0;border-radius:13px;margin:9px 0;font-size:12px;line-height:1.7}.appeal-card small{color:#93846a}.profile-hero{display:flex;gap:20px;align-items:center;margin-bottom:25px}.profile-emblem{width:76px;height:76px;display:grid;place-items:center;background:#e7eefb;border-radius:25px;color:#2455d6;flex-shrink:0}.profile-emblem svg{width:39px;height:39px}.profile-hero h3{font-size:25px;letter-spacing:-.5px;margin:8px 0}.profile-hero p{font-size:13px;line-height:1.7;color:#6b7f90}.profile-time{padding:17px 20px;background:#f4f7fa;border-radius:14px;margin:20px 0}.profile-time>span{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:18px;font-weight:500;color:#355572}.profile-time svg{width:20px}.profile-time p{max-width:420px;font-size:11px;color:#8293a1;line-height:1.6;margin:0}.profile-achievements h3{font-size:19px;letter-spacing:-.4px;margin:27px 0 15px}.achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.achievement{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:18px 13px;background:#f6f8fa;border:1px solid #e7ecf1;border-radius:14px;color:#8c9ba9}.achievement.earned{background:#f8f5e8;border-color:#e8dfbb;color:#9c7f38}.achievement svg{width:25px;height:25px}.achievement b{font-size:12px}.achievement small{font-size:10px;line-height:1.5}.welcome-heading .lead{margin:18px 0 26px}
#campaign-hud{position:absolute;left:42px;top:731px;width:280px;z-index:5}.dock{min-width:min(720px,calc(100vw - 60px))}.dock-item{position:relative}.dock-item em{min-width:17px}dialog:has(.academy-intro),dialog:has(.mode-grid),dialog:has(.rubric-panel){width:820px}.profile-hero .eyebrow{font-size:9px}
@media(max-width:1100px){.mode-switch{top:91px;right:24px;font-size:10px;padding:8px 11px}.dock{left:50%}.dock-item{padding:13px 14px;gap:7px}.dock-item span{font-size:11px}#campaign-hud{left:28px;width:245px;top:auto;bottom:115px}.memory-card{display:none}}
@media(max-height:870px) and (min-width:761px){#campaign-hud{display:none}.mode-switch{top:92px;right:24px}.chapter .memory-card{display:none}}
@media(max-width:760px){.mode-switch{top:16px;right:60px;padding:7px 9px;border-radius:11px;max-width:145px;gap:5px;font-size:10px;height:34px}.mode-switch svg{width:14px}.mode-switch .switch-chevron{display:none}.brand small{display:none}.brand b{font-size:10px}.brand{gap:6px}.brand-symbol{width:30px;height:30px}.dock{left:12px;right:12px;min-width:0;padding:6px 4px;gap:0}.dock-item{padding:9px 3px;min-width:0;gap:5px}.dock-item span{font-size:9px}.dock-item em{right:6px;font-size:7px;min-width:12px}.dock-item svg{width:17px;height:17px}#campaign-hud{display:none}.mode-grid{grid-template-columns:1fr;gap:11px}.mode-card{padding:19px;display:grid;grid-template-columns:50px 1fr;gap:0 14px}.mode-illustration{grid-column:1;grid-row:1/5;width:50px;height:60px;margin:0;border-radius:17px}.mode-illustration svg{width:30px;height:30px}.mode-card .eyebrow{grid-column:2;font-size:8px;letter-spacing:.6px}.mode-card h3{grid-column:2;font-size:19px;margin:7px 0}.mode-card p{grid-column:2;font-size:12px;line-height:1.6;margin:0}.mode-cta{grid-column:2;margin-top:13px;font-size:11px}.welcome-heading .lead{font-size:13px;margin:14px 0 20px}.menu-footer{flex-direction:column;align-items:flex-start;gap:10px;margin-top:20px;font-size:11px}.preview-notice{font-size:11px;padding:11px 12px;margin-top:16px}.academy-intro{flex-direction:column;gap:14px}.academy-intro p{font-size:13px}.academy-intro>.secondary{align-self:flex-start;font-size:11px}.period-tabs{grid-template-columns:repeat(2,1fr);gap:7px;margin:19px 0}.period-tab{padding:11px;min-height:72px}.period-tab b{font-size:11px}.period-tab small{font-size:9px}.academy-period{padding:17px}.section-heading h3{font-size:19px}.section-heading .eyebrow{font-size:8px}.academy-task{gap:11px;padding:13px;min-height:80px}.task-number{font-size:16px;width:24px;flex-shrink:0}.academy-task .entry-copy b{font-size:13px}.academy-task .entry-copy small{font-size:10px}.task-status{max-width:44px}.task-status small{display:none}.academy-fields{grid-template-columns:1fr;gap:0}.academy-input{font-size:16px}.matching-row{grid-template-columns:1fr;gap:9px}.matching-row select{font-size:14px}.historical-source{padding:17px 18px}.historical-source blockquote{font-size:14px;line-height:1.85}.task-topline{align-items:flex-start}.task-topline .label-chip{font-size:10px;padding:7px;white-space:nowrap}.task-topline .subtle{font-size:11px}.exam-reference{font-size:10px;gap:10px}.question-prompt{font-size:18px}.check-option{font-size:14px}.sequence-tile{font-size:13px;padding:12px;gap:10px}.rubric-panel{padding:17px}.rubric-panel h3{font-size:19px}.score-guide>p{font-size:12px}.answer-controls{flex-wrap:wrap}.answer-key>div{grid-template-columns:1fr;gap:4px}.context-materials{margin-top:24px;padding-top:20px}.material-grid{grid-template-columns:1fr}.material-card{padding:13px}.material-copy b{font-size:13px}.material-copy small{font-size:11px}.material-copy>span{font-size:11px}.material-cover{width:52px;min-height:74px}.knowledge-row{grid-template-columns:1fr 40px;gap:10px;padding:14px}.knowledge-row .thin-progress{grid-column:1;grid-row:2}.knowledge-row>strong{grid-row:1/3;grid-column:2}.academy-history button{flex-direction:column;gap:6px}.profile-time{flex-direction:column;align-items:flex-start;gap:10px}.profile-time p{font-size:11px}.profile-hero{gap:14px}.profile-emblem{width:54px;height:63px;border-radius:18px}.profile-emblem svg{width:30px}.profile-hero h3{font-size:21px}.profile-hero p{font-size:12px}.achievement-grid{grid-template-columns:1fr 1fr}.achievement{padding:15px 11px}.profile-hero .eyebrow{font-size:8px}.micro-copy{font-size:11px}.source-details{font-size:12px;line-height:1.75}.academy-image img{max-height:310px}}
.landmark-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:22px 0}.landmark-stages>span{display:flex;gap:9px;align-items:center;padding:12px;border:1px solid #dce2ec;border-radius:13px;color:#778296;font-size:12px;line-height:1.4}.landmark-stages b{font-size:17px;color:#8e9bb0}.landmark-stages .reached{border-color:#b7c9f4;background:#eff4ff;color:#234275}.landmark-stages .reached b{color:#2455d6}.landmark-build{margin:16px 0 24px}.landmark-history{margin-top:22px;font-size:13px;line-height:1.7;color:#596b82}.landmark-history summary{cursor:pointer;font-weight:600;color:#365b98}.landmark-history .source-link{font-size:12px}.landmark-victory{color:#2455d6;text-align:center;font-weight:600}.era-landmark-state{display:block;min-height:35px;margin:-4px 0 12px;color:#60748d;font-size:11px;line-height:1.5}@media(max-width:560px){.landmark-stages{grid-template-columns:1fr;gap:5px}.landmark-stages>span{padding:8px 10px}.landmark-stages b{font-size:14px}}
.mode-switch{z-index:12}.topbar{pointer-events:none}.topbar>*{pointer-events:auto}
