@font-face{font-family:"Space Grotesk";src:url("/assets/fonts/space-grotesk-variable.woff2") format("woff2");font-style:normal;font-weight:300 700;font-display:swap}
:root{--ink:#14283c;--muted:#516575;--blue:#075fce;--blue-dark:#064b9f;--sky:#e7f4fc;--green:#367447;--paper:#fff;--bg:#f7faf6;--line:#dce5e9;--shadow:0 6px 0 #dce4ea;--radius:28px;--space:8px;--font:'Space Grotesk',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:light;font-family:var(--font);color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;line-height:1.5}button,input,select,textarea,option{font:inherit;color:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:var(--blue);text-underline-offset:4px}img{max-width:100%;object-fit:contain}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.13;letter-spacing:-.035em}h1{font-size:clamp(2.3rem,5vw,4.4rem);font-weight:700;margin-bottom:20px}h2{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:700}h3{font-size:1.15rem;letter-spacing:-.02em}p{color:var(--muted)}button{border:0;background:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #e29125;outline-offset:5px}main{max-width:1120px;margin:auto;padding:0 32px 72px}body:has(.game-dialog[open]){overflow:hidden}.site-header{max-width:1184px;min-height:100px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:20px 32px;gap:24px}.brand{display:inline-flex;align-items:center;gap:9px;font-size:1.6rem;letter-spacing:-.055em;font-weight:700;color:var(--ink);text-decoration:none}.brand :is(img,svg.george-motion){margin-right:2px}.brand-dot{color:var(--blue);margin-left:-8px}.brand.small{font-size:1.35rem}.site-header nav{display:flex;align-items:center;gap:30px}.site-header nav>a{font-weight:650;color:var(--ink);text-decoration:none}.free-tag{background:#e5f1e4;border:1px solid #d2e5d0;border-radius:50px;padding:7px 14px;color:#346441;font-size:.8rem;font-weight:700}.free-tag span{margin-right:5px}.home-intro{padding:42px 0 26px}.home-intro h1 span{color:var(--muted);font-size:.69em;letter-spacing:-.035em}.home-intro>p:last-child{font-size:1.13rem}.eyebrow{font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#476273;margin-bottom:12px}.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#5b9c6c;margin-right:7px}.hero-practice{display:grid;grid-template-columns:1.2fr 1fr;min-height:350px;background:#dff0fb;border:1px solid #d7eaf5;border-radius:36px;overflow:hidden;position:relative}.hero-copy{padding:40px 44px;position:relative;z-index:1}.pill{display:inline-flex;border-radius:30px;background:#fff9;padding:6px 12px;font-size:.76rem;font-weight:700;color:var(--muted)}.hero-copy h2{font-size:clamp(2rem,3.8vw,3rem);margin:16px 0}.hero-copy>p{font-size:1.05rem;line-height:1.65;margin-bottom:24px}.button{display:inline-flex;justify-content:center;align-items:center;gap:16px;min-height:52px;padding:12px 22px;border-radius:17px;font-weight:700;line-height:1.3;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s;border:1px solid transparent}.button.primary{background:var(--blue);color:white;box-shadow:0 4px 0 #084d9c}.button.primary:hover{background:#0757bd}.button.primary:active{transform:translateY(3px);box-shadow:0 1px 0 #084d9c}.button.primary:disabled{background:#e3eaf0;color:#546674;box-shadow:0 3px 0 #cfd9e1;opacity:1}.button.secondary{background:white;border-color:#cbd8e0;box-shadow:0 3px 0 #e1e8ec}.button.secondary:hover{background:#f2f7fb}.button.ghost{background:transparent;color:var(--blue)}.button svg{width:20px;height:20px}.small-print{display:block;font-size:.8rem;color:#5a6d7a}.hero-copy>.small-print{margin-top:16px}.hero-art{display:flex;justify-content:center;align-items:center;position:relative;padding:24px}.hero-art>:is(img,svg.george-motion){width:min(100%,325px);z-index:1;transform:rotate(5deg);filter:drop-shadow(0 15px 10px #2b598c1a)}.orbit{position:absolute;border:1px solid #9ccbe366;border-radius:50%;width:340px;height:340px}.orbit-two{width:420px;height:420px}.george-label{position:absolute;bottom:28px;right:48px;background:white;padding:8px 18px;border-radius:24px;z-index:2;font-size:.9rem;font-weight:700;transform:rotate(-6deg);box-shadow:0 4px 0 #b6d9ee}.topics-section{padding-top:46px;scroll-margin-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:8px}.topic-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.topic-card{grid-column:span 2;display:flex;align-items:center;gap:16px;min-height:136px;padding:24px;border-radius:24px;border:1px solid #00000008;box-shadow:0 4px 0 #263d4e0b;text-decoration:none;color:var(--ink);transition:transform .16s,box-shadow .16s}.topic-card:nth-child(-n+2){grid-column:span 3}.topic-card:hover{transform:translateY(-3px);box-shadow:0 7px 0 #263d4e14}.topic-card>span{margin-left:auto;font-size:1.55rem;font-weight:400;color:#52677b}.topic-card h3{font-size:1.17rem;margin:0 0 6px}.topic-card p{margin:0;font-size:.82rem;line-height:1.4}.topic-card .topic-icon{width:48px;height:48px;flex-shrink:0}.blue{background:#e2f1fc}.mint{background:#e9f4e7}.peach{background:#fff0db}.purple{background:#eeeafa}.compact .topic-card,.compact .topic-card:nth-child(-n+2){grid-column:span 2;min-height:110px}.how-section{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;padding:56px 8px 0}.step-number{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:36px;height:36px;background:#e9eef0;color:#516575;font-size:.76rem;font-weight:700;margin-bottom:16px}.how-section h3{margin-bottom:10px}.how-section p{font-size:.95rem;line-height:1.65}.site-footer{border-top:1px solid var(--line);padding:36px 32px 28px;max-width:1120px;margin:auto}.site-footer>p{margin:10px 0 20px;font-size:.9rem}.site-footer nav{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:.85rem}.site-footer nav a,.text-button{color:var(--muted);font:inherit;text-decoration:underline;text-underline-offset:4px;padding:0}.site-footer .small-print{margin-top:24px;font-size:.75rem}.breadcrumb{display:flex;gap:12px;font-size:.83rem;color:var(--muted);margin:28px 0}.breadcrumb a{text-decoration:none}.quiz-intro{margin:32px 0}.topic-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.topic-heading .eyebrow{margin:0}.topic-heading .topic-icon{width:30px;height:30px}.quiz-intro h1{font-size:clamp(2.3rem,4.7vw,3.5rem);margin-bottom:14px}.quiz-intro>p{font-size:1.15rem}.setup-card{display:grid;grid-template-columns:1fr 1fr;border-radius:32px;overflow:hidden;border:1px solid #00000008}.setup-art{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px}.setup-art>img{width:100%;max-width:365px;height:auto;aspect-ratio:1;filter:drop-shadow(0 12px 7px #24374e12)}.art-note{background:#ffffffae;padding:8px 16px;border-radius:30px;font-size:.84rem;font-weight:650;margin-top:8px}.setup-panel{padding:32px;background:#fffffff0;border-radius:28px;margin:12px 12px 12px 0}.setup-panel h2{font-size:1.6rem;margin-bottom:8px}.setup-subtitle{margin-bottom:24px}.setup-panel fieldset{margin:0 0 20px;padding:0;border:0;min-width:0}.setup-panel legend{font-size:.84rem;font-weight:700;margin-bottom:9px}.segments{display:flex;background:#eef2f4;border-radius:13px;padding:4px;gap:4px}.segments label{flex:1;text-align:center;position:relative;cursor:pointer}.segments input,.mode-options input{position:absolute;opacity:0;width:1px;height:1px}.segments label span{display:block;padding:8px 10px;border-radius:10px;font-size:.92rem;font-weight:650}.segments input:checked+span{background:white;box-shadow:0 2px 5px #15365018;color:var(--blue)}.segments input:focus-visible+span,.mode-options input:focus-visible+span{outline:3px solid #e29125;outline-offset:2px}.field-hint{font-size:.77rem;min-height:2.8em;margin:8px 0 0;line-height:1.4}.mode-options{display:flex;gap:6px;flex-wrap:wrap}.mode-options label{position:relative;flex:1;cursor:pointer;min-width:90px}.mode-options label span{display:flex;justify-content:center;text-align:center;align-items:center;border:1px solid #cfdae2;border-radius:12px;padding:10px;font-size:.81rem;font-weight:650;min-height:52px;line-height:1.35}.mode-options input:checked+span{background:#e8f2ff;border-color:var(--blue);color:#064c9b;box-shadow:inset 0 0 0 1px var(--blue)}.length-field{display:flex;align-items:center;justify-content:space-between;font-size:.85rem;font-weight:700;gap:16px;margin:0 0 24px}select{background:white;border:1px solid #cbd8e0;border-radius:10px;padding:10px 30px 10px 12px;font-weight:500;max-width:100%}.start-button{width:100%;justify-content:space-between}.setup-panel .small-print{margin:14px 0 0;text-align:center;font-size:.75rem}#saved-round{border-radius:15px;background:#edf6eb;border:1px solid #c9dfc3;padding:14px;margin-bottom:20px}#saved-round p{font-size:.84rem;margin-bottom:8px}#saved-round .button{width:100%;min-height:44px}.learn-section{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:48px 0}.learn-section>div>p{line-height:1.75;font-size:.97rem}.scope-card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:22px}.scope-card h3{margin-bottom:12px}.scope-card ul{padding-left:20px;color:var(--muted);font-size:.86rem}.scope-card li+li{margin-top:12px}.scope-card>a{font-size:.86rem;font-weight:650}.reference-section{border-top:1px solid var(--line);padding-top:36px}.reference-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0;list-style:none}.reference-grid li{display:flex;align-items:center;gap:14px;border-radius:16px;background:white;padding:16px;border:1px solid #e2e9ec}.reference-grid strong{font-size:.9rem}.reference-grid small{display:block;color:var(--muted);margin-top:3px}.reference-grid img{flex-shrink:0}.reference-grid .topic-icon{width:30px;height:30px}.reference-section details{background:white;border:1px solid var(--line);border-radius:16px;margin:24px 0 16px;padding:16px 20px}.reference-section summary{cursor:pointer;font-weight:650}.coverage-list{columns:3;font-size:.85rem;color:var(--muted);padding-left:20px}.coverage-list li{padding:4px 0;break-inside:avoid}.related-section{padding-top:40px}.info-page{max-width:750px;margin:40px auto}.info-page h1{font-size:clamp(2.3rem,5vw,3.5rem)}.info-page h2{margin-top:34px;font-size:1.55rem}.info-page p{line-height:1.8}.lead{font-size:1.18rem}.about-george{display:flex;gap:24px;align-items:center}.about-george :is(img,svg.george-motion){flex-shrink:0}.skip-link{position:fixed;top:10px;left:10px;background:var(--ink);color:#fff;padding:12px;z-index:100;transform:translateY(-200%)}.skip-link:focus{transform:none}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 18px;border-radius:16px;max-width:90vw;z-index:100;box-shadow:0 8px 24px #0c263a33;font-size:.9rem}.toast:empty{display:none}.confirm-dialog{max-width:440px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:24px;padding:28px;color:var(--ink);box-shadow:0 24px 80px #12334433}.confirm-dialog::backdrop{background:#0b263b66;backdrop-filter:blur(3px)}.confirm-dialog h2{font-size:1.55rem}.confirm-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.confirm-actions .button{flex:1}
/* The question and action dock live outside the independently scrollable answer body. */
.game-dialog{margin:auto;width:min(1100px,100vw);height:min(850px,100dvh);max-width:100vw;max-height:100dvh;padding:0;border:0;border-radius:28px;color:var(--ink);background:#f5f9fc;overflow:hidden;box-shadow:0 30px 100px #0e263a33}.game-dialog::backdrop{background:#14293c88;backdrop-filter:blur(5px)}#game-root{height:100%;display:flex;flex-direction:column}.game-topbar{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 24px;background:white;border-bottom:1px solid var(--line);flex-shrink:0}.game-brand{display:flex;gap:9px;align-items:center;font-size:1.05rem;font-weight:700}.game-brand :is(img,svg.george-motion){width:33px;height:33px}.game-progress{flex:1;max-width:420px}.game-progress p{font-size:.76rem;margin:0 0 6px}.game-progress progress{display:block;width:100%;height:8px;border:0;border-radius:10px;overflow:hidden;appearance:none;background:#e1e9ed}.game-progress progress::-webkit-progress-bar{background:#e1e9ed}.game-progress progress::-webkit-progress-value{background:#528947;border-radius:10px}.game-progress progress::-moz-progress-bar{background:#528947;border-radius:10px}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;border-radius:50%;background:#eff4f7;border:1px solid #dce6ec;font-size:1.7rem;line-height:1}.game-stage{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);min-height:0;flex:1;overflow:hidden}.clue-stage{background:#e4f1f7;display:flex;align-items:center;justify-content:center;position:relative;min-height:0;overflow:hidden}.clue-stage.flag-clue{background:#e9eaf9}.flag-frame{width:70%;max-width:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.flag-frame img{max-height:200px;width:100%;filter:drop-shadow(0 5px 5px #1a294b12);object-fit:contain}.flag-frame .clue-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#526477}.capital-clue{padding:28px;background:#fff0dc}.capital-card{text-align:center}.capital-card .topic-icon{width:60px;height:60px;margin-bottom:16px}.capital-card .clue-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:700;display:block;color:#77572a}.capital-name{font-size:clamp(2rem,4vw,3.2rem);line-height:1.12;font-weight:700;letter-spacing:-.04em;margin:14px 0;color:#233447;overflow-wrap:anywhere}.map-host{width:100%;height:100%;min-height:180px}.map-loading{padding:24px;text-align:center;position:absolute;inset:0;display:flex;justify-content:center;align-items:center;pointer-events:none;color:var(--muted);font-size:.9rem}.question-panel{background:white;display:flex;flex-direction:column;overflow:hidden;min-height:0;position:relative}.question-head{padding:26px 26px 12px;flex-shrink:0}.question-meta{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#63727c;margin:0 0 10px;font-weight:700}.question-head h2{font-size:clamp(1.3rem,2.5vw,1.8rem);line-height:1.2;margin:0;letter-spacing:-.025em;overflow-wrap:anywhere}.answer-body{padding:10px 26px 20px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-width:thin}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer-button{display:flex;align-items:center;text-align:left;justify-content:space-between;gap:8px;min-height:70px;padding:14px 16px;border-radius:16px;border:1.5px solid #c9d7e2;box-shadow:0 3px 0 #dbe5ed;background:#f7fafc;font-size:.95rem;font-weight:650;line-height:1.3;overflow-wrap:anywhere}.answer-button:hover{background:#eaf4ff;border-color:#8bb5df}.answer-button:active{transform:translateY(2px);box-shadow:0 1px 0 #dbe5ed}.answer-button.correct{background:#e7f3e3;border-color:#63934e;color:#28522b}.answer-button.wrong{background:#fff0e9;border-color:#d59478;color:#8c3d22}.answer-button:disabled{cursor:default}.answer-key{font-size:.65rem;color:#718190;font-weight:500;border:1px solid #d6e0e6;padding:1px 5px;border-radius:5px}.answer-input-label{display:block;font-size:.83rem;color:var(--muted);font-weight:650;margin-bottom:10px}.answer-input{display:block;width:100%;border:1.5px solid #839cac;background:#f8fbfd;border-radius:14px;padding:15px 16px;font-size:1.1rem;min-height:55px}.answer-input::placeholder{color:#718491}.answer-help{font-size:.82rem;margin-top:12px}.selection-line{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 14px;margin:0 0 14px;background:#eef5fb;border-radius:12px;font-size:.9rem;color:var(--ink)}.selection-line img{width:28px;height:20px}.list-label{font-size:.82rem;font-weight:650;display:flex;justify-content:space-between;align-items:center;gap:8px}.place-selector{width:100%;margin-top:9px;padding:12px;font-size:.94rem;min-height:48px}.feedback-box{border-radius:18px;background:#eef5eb;padding:18px 20px;animation:appear .22s ease-out}.feedback-box.incorrect{background:#fff1e5}.feedback-title{display:flex;align-items:center;gap:10px;color:#2e643a;font-size:1.08rem;font-weight:700;margin-bottom:6px}.incorrect .feedback-title{color:#884b25}.feedback-symbol{display:inline-flex;justify-content:center;align-items:center;border-radius:50%;width:26px;height:26px;background:#d0e5c8;font-size:1rem}.incorrect .feedback-symbol{background:#f4d6b8}.feedback-box p{margin:0;color:#344c5b;font-size:.92rem;line-height:1.55}.feedback-box .feedback-answer{font-size:1.2rem;font-weight:700;color:var(--ink);margin:8px 0}.feedback-flag{width:36px;height:27px;vertical-align:middle;object-fit:contain;margin-right:6px}.game-actions{display:flex;gap:12px;align-items:stretch;padding:16px 26px max(20px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:white;flex-shrink:0}.game-actions .primary{flex:1}.game-actions .ghost{font-size:.86rem;max-width:120px;padding:10px 14px}.save-warning{font-size:.76rem;padding:8px 20px;margin:0;background:#fff2d3;color:#6a4a0d}.result-view{padding:32px 26px;overflow:auto;display:flex;flex-direction:column;align-items:center;text-align:center;flex:1;background:#f6faf5}.result-view>:is(img,svg.george-motion){width:100px;height:100px}.result-view h2{font-size:2.2rem;margin:8px 0 16px}.score-orb{width:140px;height:140px;border-radius:50%;border:10px solid #d6e8d0;display:flex;align-items:baseline;justify-content:center;gap:5px;background:white;padding-top:20px;margin:0 0 16px;color:#28513b;box-shadow:0 5px 0 #c8dcc2}.score-orb strong{font-size:3.8rem;line-height:1.25;letter-spacing:-.06em}.score-orb span{font-size:1.35rem;color:#61796d}.result-note{font-size:.82rem;margin-bottom:20px}.result-coach{max-width:450px;color:var(--ink);font-size:1.05rem}.missed-summary{padding:12px 18px;background:white;border-radius:15px;font-size:.88rem;color:var(--muted);max-width:560px}.result-related{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;font-size:.85rem;margin:14px 0}.result-actions{width:100%;max-width:510px;display:flex;gap:12px;flex-wrap:wrap;margin:16px auto 0}.result-actions .button{flex:1;min-width:150px}.result-store{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.result-store p{font-size:.9rem}.result-store .button{margin:5px}.save-status{font-size:.76rem;color:var(--muted);margin:14px 0 0}.game-foot-note{font-size:.72rem;color:var(--muted);text-align:center;padding:0 16px 8px}.game-dialog .question-head h2:focus{outline:none}.game-dialog .map-canvas{background:#d9eaf4}
@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:800px){.game-dialog .result-view{padding:40px}.topic-grid.compact{grid-template-columns:repeat(3,1fr)}.topic-grid.compact .topic-card{grid-column:span 1}.compact .topic-card>p{display:none}}
@media(max-width:760px){main{padding:0 20px 48px}.site-header{min-height:82px;padding:18px 20px;gap:12px}.brand{font-size:1.35rem}.brand :is(img,svg.george-motion){width:36px;height:36px}.site-header nav{gap:18px;font-size:.85rem}.free-tag{display:none}.home-intro{padding-top:26px}.home-intro h1{font-size:2.55rem}.home-intro h1 span{font-size:.67em;line-height:1.25;display:inline-block;margin-top:7px}.home-intro>p:last-child{font-size:1rem}.hero-practice{grid-template-columns:1fr .72fr;min-height:290px;border-radius:26px}.hero-copy{padding:26px 0 26px 24px}.hero-copy h2{font-size:1.9rem}.hero-copy>p{font-size:.85rem}.hero-copy .button{font-size:.9rem;padding:12px 15px;gap:12px;white-space:nowrap}.hero-art{padding:0 12px 30px 0;align-items:center}.hero-art>:is(img,svg.george-motion){min-width:160px;max-width:210px;transform:rotate(6deg) translateX(8px)}.george-label{bottom:44px;right:14px;font-size:.7rem;padding:6px 10px}.orbit{width:230px;height:230px}.orbit-two{width:300px;height:300px}.hero-copy .pill{font-size:.65rem}.hero-copy>.small-print{font-size:.68rem}.section-heading>.small-print{display:none}.topics-section{padding-top:34px}.topic-grid{grid-template-columns:1fr 1fr;gap:12px}.topic-card,.topic-card:nth-child(-n+2){grid-column:span 1;display:grid;grid-template-columns:1fr auto;gap:12px;min-height:155px;padding:20px}.topic-card:last-child{grid-column:span 2;display:flex;min-height:90px}.topic-card .topic-icon{width:44px;height:44px;grid-column:1/-1}.topic-card h3{font-size:1.05rem}.topic-card p{font-size:.75rem}.topic-card>span{font-size:1.4rem;align-self:end}.topic-card:last-child .topic-icon{grid-column:auto}.topic-card:last-child>span{align-self:center}.how-section{gap:24px;padding-top:38px;grid-template-columns:1fr}.how-section>div{padding-left:55px;position:relative}.step-number{position:absolute;left:0;top:0}.how-section h3{font-size:1.1rem}.how-section p{margin-bottom:0}.site-footer{padding:28px 20px}.breadcrumb{margin:18px 0}.quiz-intro{margin:24px 0}.quiz-intro h1{font-size:2.4rem}.quiz-intro>p{font-size:1rem}.setup-card{grid-template-columns:1fr;border-radius:24px}.setup-art{padding:12px;flex-direction:row;justify-content:center;gap:12px;min-height:108px}.setup-art>img{width:100px;max-height:100px}.art-note{margin:0;font-size:.8rem}.setup-panel{margin:0 8px 8px;padding:24px;border-radius:20px}.setup-panel h2{font-size:1.4rem}.setup-subtitle{font-size:.9rem;margin-bottom:20px}.setup-panel fieldset{margin-bottom:16px}.field-hint{min-height:1.5em}.learn-section{grid-template-columns:1fr;gap:20px;padding:32px 0}.learn-section h2{font-size:1.7rem}.reference-grid{grid-template-columns:1fr 1fr}.reference-grid li{padding:12px;gap:9px}.reference-grid strong{font-size:.8rem}.reference-grid small{font-size:.73rem}.reference-section .section-heading{align-items:flex-start}.reference-section h2{font-size:1.5rem}.reference-section .pill{font-size:.65rem;white-space:nowrap}.coverage-list{columns:2}.compact .topic-card,.compact .topic-card:nth-child(-n+2){grid-column:span 1;min-height:130px}.compact .topic-card:last-child{grid-column:span 2;min-height:86px}.info-page{margin:24px auto}.about-george{gap:16px}.about-george :is(img,svg.george-motion){width:105px;height:105px}.game-dialog{width:100vw;height:var(--game-height,100dvh);max-height:100dvh;border-radius:0;margin:0;top:var(--game-top,0px)}.game-topbar{padding:calc(10px + env(safe-area-inset-top)) 16px 12px;gap:14px}.game-brand{font-size:.88rem}.game-brand :is(img,svg.george-motion){width:27px;height:27px}.game-progress p{font-size:.71rem}.game-progress{max-width:none}.game-topbar .icon-button{font-size:1.5rem;min-width:40px;min-height:40px}.game-stage{display:flex;flex-direction:column}.clue-stage{height:39%;flex-shrink:0;min-height:130px}.clue-stage.flag-clue{height:27%;min-height:120px}.clue-stage.capital-clue{height:26%;min-height:110px}.flag-frame{gap:10px;width:50%;max-width:200px}.flag-frame img{max-height:130px}.flag-frame .clue-label{font-size:.65rem}.capital-card .topic-icon{width:32px;height:32px;margin-bottom:5px}.capital-name{font-size:2rem;margin:6px 0}.capital-clue{padding:16px}.capital-card .clue-label{font-size:.63rem}.question-panel{flex:1;border-radius:24px 24px 0 0;margin-top:-12px;z-index:2}.question-head{padding:18px 20px 8px}.question-meta{font-size:.65rem;margin-bottom:7px}.question-head h2{font-size:1.27rem}.answer-body{padding:8px 20px 14px}.answers{gap:10px}.answer-button{min-height:58px;padding:12px;font-size:.88rem;border-radius:13px}.answer-key{display:none}.game-actions{padding:12px 20px max(20px,env(safe-area-inset-bottom));gap:10px}.game-actions .button{min-height:50px;border-radius:14px;font-size:.95rem}.game-actions .ghost{font-size:.8rem;padding:8px;max-width:100px}.feedback-box{padding:14px 16px}.feedback-box .feedback-answer{font-size:1.1rem}.feedback-box p{font-size:.86rem}.answer-help{font-size:.75rem}.selection-line{margin-bottom:10px;min-height:42px;padding:9px 12px}.result-view{padding:24px 20px}.result-view h2{font-size:1.8rem;margin-bottom:12px}.result-view>:is(img,svg.george-motion){width:80px;height:80px}.score-orb{width:120px;height:120px;padding-top:14px;margin-bottom:10px}.score-orb strong{font-size:3.2rem}.result-note{margin-bottom:16px}.result-coach{font-size:.95rem;margin-bottom:12px}.missed-summary{font-size:.8rem}.result-actions{margin-top:12px}.result-actions .button{min-width:130px;font-size:.88rem}.result-related{margin:16px 0 4px}.answer-input{font-size:16px;min-height:50px}}
@media(max-height:620px){.game-dialog .clue-stage{height:28%;min-height:80px}.game-dialog .flag-clue,.game-dialog .capital-clue{height:22%;min-height:66px}.flag-frame img{max-height:70px}.flag-frame .clue-label,.capital-card .topic-icon{display:none}.game-dialog .question-head{padding-top:12px}.game-dialog .question-meta{display:none}.game-dialog .game-actions{padding-bottom:max(10px,env(safe-area-inset-bottom))}.game-dialog .answer-button{min-height:46px;padding:9px}.game-dialog .game-topbar{padding-top:8px;padding-bottom:8px}.game-dialog .result-view>:is(img,svg.george-motion){display:none}.game-dialog .result-view{padding:16px}.game-dialog .score-orb{width:100px;height:100px;padding-top:8px}.game-dialog .score-orb strong{font-size:2.6rem}}
@media(max-width:380px){.hero-art{display:none}.hero-practice{grid-template-columns:1fr}.hero-copy{padding:24px}.home-intro h1{font-size:2.2rem}.topic-card{padding:16px}.game-brand>span{display:none}.setup-panel{padding:20px}.game-actions{padding-left:14px;padding-right:14px}.question-head{padding-left:16px;padding-right:16px}.answer-body{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.site-header,.site-footer,.setup-card,.related-section,.game-dialog,.toast{display:none!important}main{max-width:none;padding:0}.reference-section details{display:block}.reference-section details>*{display:block}.reference-grid{grid-template-columns:repeat(3,1fr)}body{background:white}}
.map-host .geo-map{height:100%;min-height:0;aspect-ratio:auto;border-radius:0;border:0}.result-new{margin-top:18px;font-size:.85rem}.game-stage[hidden],.save-warning[hidden]{display:none}.game-actions>.small-print{align-self:center;flex:1}.map-host .geo-map__hint{font-family:var(--font)}

h1,h2,h3,.brand{font-family:var(--font)}.map-host{min-height:0}.map-loading{gap:12px;flex-direction:column}.clue-error{position:absolute;inset:10px;padding:18px;background:#f8f8ff;display:flex;gap:12px;flex-direction:column;justify-content:center;align-items:center;text-align:center;font-size:.85rem}.clue-error .button{font-size:.85rem}
@media(max-width:760px) and (min-height:621px){.clue-stage{height:52%}.clue-stage.flag-clue{height:38%}.clue-stage.capital-clue{height:34%}.flag-frame img{max-height:180px}}
.game-actions .button{min-width:0;overflow-wrap:anywhere}
.game-actions .primary{flex-basis:0}
.game-actions .ghost{flex:0 1 7.5rem;max-width:35%}
.hero-art>:is(img,svg.george-motion){height:auto}
.game-dialog{container:quiz / inline-size}
@container quiz (max-width:24rem){.game-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:8px 14px max(10px,env(safe-area-inset-bottom))}.game-actions .ghost{max-width:none;min-height:44px;padding:6px 10px}.game-actions [aria-hidden]{display:none}}
@container quiz (max-width:16rem){.game-dialog .clue-stage{height:22%;min-height:72px}.question-head h2{font-size:1.1rem}}
@media(min-width:381px) and (max-width:760px){.hero-practice{grid-template-columns:minmax(0,1fr) 110px;min-height:0}.hero-copy{padding:24px 0 24px 24px}.hero-copy h2{font-size:1.65rem}.hero-copy>p{line-height:1.5}.hero-art{padding:0 5px 30px 0;min-width:0}.hero-art>:is(img,svg.george-motion){width:125px;min-width:0;max-width:100%;transform:rotate(5deg)}.hero-art .george-label{display:none}.hero-art .orbit{width:175px;height:175px}.hero-art .orbit-two{width:230px;height:230px}}

/* George keeps the same layout box; only his hand and eyelids animate. */
svg.george-motion{max-width:100%;object-fit:contain;overflow:visible;flex-shrink:0}
.george-motion .george-hand,.george-motion .george-body{display:none}
.george-motion .george-eyes{opacity:0}
.george-motion .george-hand{transform-box:view-box;transform-origin:82.9% 54.8%}
.george-motion.is-waving .george-hand,.george-motion.is-waving .george-body{display:inline}
.george-motion.is-waving .george-rest{display:none}
@media(prefers-reduced-motion:reduce){.george-motion .george-hand,.george-motion .george-body{display:none!important}.george-motion .george-rest{display:inline!important}.george-motion .george-eyes{opacity:0!important}}
/* Shared discovery and learning resources follow the existing 8px spacing scale. */
.share-dialog{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);border:0;border-radius:28px;padding:24px;color:var(--ink,#102a43);background:#fff;overflow:auto}.share-dialog::backdrop{background:#102a435c;backdrop-filter:blur(5px)}.share-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.share-heading h2{margin:0;font-size:1.5rem}.share-heading .icon-button{flex:none}.share-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.share-status{margin-bottom:0}.result-card-preview svg{width:100%;height:auto;border-radius:20px}.challenge-share{margin-top:24px}.challenge-share textarea,#challenge-entry textarea{display:block;width:100%;padding:16px;border:1px solid #7d92a4;border-radius:16px;background:#f4f8fc;color:#102a43;font:inherit;resize:vertical;margin:12px 0 20px}.guest-flag{display:block;max-width:220px;max-height:150px;margin:24px auto}.guest-score{font-size:3.5rem;font-weight:700;color:#1462ed}.share-body h3{font-size:1.4rem;line-height:1.35}.share-body .answer-button{min-height:56px}.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.resource-card{display:block;padding:24px;border-radius:24px;background:#e9f4ff;color:#102a43;text-decoration:none;border:1px solid #cbddea}.resource-card:nth-child(2n){background:#edf7ef}.resource-card p{color:#435b70}.resource-card h2{font-size:1.5rem;margin:16px 0 8px}.resource-related{margin:40px 0}.resource-practice{background:#edf7ef;border-radius:24px;padding:24px;display:flex;flex-wrap:wrap;gap:16px;align-items:center}.resource-practice h2{width:100%;margin:0}.resource-practice .button{white-space:normal}.resource-body section{margin:32px 0}.resource-body figure{margin:24px 0}.resource-body figure img{width:100%;height:auto;border-radius:16px;background:#fff}.resource-body figcaption,.resource-citations,.resource-sources{font-size:.9rem;color:#435b70}.resource-table-wrap{overflow-x:auto}.resource-table-wrap table{width:100%;border-collapse:collapse}.resource-table-wrap th,.resource-table-wrap td{padding:12px;text-align:left;border-bottom:1px solid #cfdae1}.resource-table-wrap caption{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.resource-question{padding:12px 0;border-bottom:1px solid #dce5eb}.scope-selected{padding:12px 16px;background:#fff;border-radius:16px;font-weight:600}.resource-page .breadcrumb{flex-wrap:wrap}.resource-page ul{padding-left:24px}.resource-page a{overflow-wrap:anywhere}
@media(max-width:600px){.resource-grid{grid-template-columns:1fr}.share-dialog{padding:20px}.share-actions .button{flex:1 1 100%}.site-header nav{gap:12px}.site-header nav .free-tag{display:none}.resource-practice .button{width:100%}.resource-card{padding:20px}}
.localized-game-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.localized-map{height:clamp(280px,45vh,560px);position:relative;border-radius:20px;overflow:hidden}.localized-actions{display:flex;gap:12px;position:sticky;bottom:0;background:#f7faf6;padding:16px 0}.localized-actions .primary{flex:1}#localized-playable form{display:grid;gap:20px}#localized-playable form label{display:grid;gap:8px}#localized-playable .answer-input{width:100%}
@media(max-width:600px){.site-header{flex-wrap:wrap}.site-header nav{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.site-header nav>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 4px;border-radius:12px;background:#e9f3fb;text-align:center;line-height:1.25}.site-header nav:has(a[hreflang]){grid-template-columns:repeat(4,minmax(0,1fr))}}.challenge-link-control input{display:block;width:100%;padding:12px;border:1px solid #7d92a4;border-radius:12px;background:#f4f8fc}.created-links{margin:32px 0}.created-links summary{min-height:44px;padding:12px 0}.created-links .scope-card{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}

/* Keep app discovery accessible without crowding quiz controls. */
.site-header .nav-app{color:var(--blue,#1462ed);font-weight:700}.site-header nav{flex-wrap:wrap}@media(max-width:600px){.site-header nav{grid-template-columns:repeat(4,minmax(0,1fr))}.site-header nav>a{font-size:.78rem}}
