/* Atlas Quest keeps the approved map as its scene, with compact live controls. */
.gs-host:has(>.gq-game){overflow:hidden}
.gq-game{--gq-ink:#eef6fa;--gq-muted:#b1cbd9;--gq-gold:#e2c98c;display:flex;flex-direction:column;position:relative;width:100%;height:100%;min-height:0;overflow:hidden;color:var(--gq-ink);color-scheme:dark;background:radial-gradient(ellipse at 95% 0,#20465d80,transparent 55%),#061a2a;font:14px/1.3 Arial,sans-serif;box-sizing:border-box}
.gq-game *{box-sizing:border-box}.gq-game button{font:inherit;cursor:pointer;touch-action:manipulation;color:inherit;min-height:44px;border:1px solid #88acbe70;border-radius:10px;background:#12374d;padding:9px 16px}.gq-game button:disabled{opacity:.45;cursor:default}.gq-game button:focus-visible{outline:3px solid var(--gq-gold);outline-offset:2px}
.gq-header{display:flex;align-items:center;gap:10px;flex:none;padding:5px 10px 1px;min-height:59px}.gq-header>div{flex:1;min-width:0}.gq-header h1{font:500 26px/1.05 Georgia,serif;letter-spacing:.015em;margin:0}.gq-header span{display:block;font-size:11px;color:var(--gq-muted);margin-top:3px}.gq-header>button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:50%;background:#0e2c40;font-size:20px}.gq-header svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gq-hud{display:flex;flex:none;justify-content:space-between;margin:4px 16px 0;padding:7px 5px 8px;border-block:1px solid #8eafc331;gap:8px}.gq-hud>div{min-width:0;text-align:center;flex:1}.gq-hud small{display:block;font-size:9px;letter-spacing:.14em;color:var(--gq-muted);margin-bottom:2px}.gq-hud strong{display:block;font-size:19px;line-height:1.05;font-variant-numeric:tabular-nums;font-weight:600}
.gq-prompt{flex:none;min-height:78px;max-height:124px;padding:10px 18px 8px;text-align:center;overflow:auto}.gq-eyebrow{display:block;font-size:9px;letter-spacing:.15em;color:var(--gq-gold);margin:0 0 4px}.gq-prompt h2{font:500 23px/1.15 Georgia,serif;margin:0;text-wrap:balance}.gq-prompt-outline{display:flex;align-items:center;justify-content:center;gap:10px;padding-block:4px;min-height:88px}.gq-prompt-outline>div:last-child{max-width:170px}.gq-prompt-outline h2{font-size:21px}.gq-outline{width:130px;height:76px;flex:none;color:#d9e8ee}.gq-outline svg{width:100%;height:100%;display:block;fill:#bcd6df;stroke:#e0edf1;stroke-width:1}.gq-outline span{font-size:11px}
.gq-map-shell{position:relative;flex:1;min-height:150px;margin:0 8px;overflow:hidden;border:1px solid #7398ad80;border-radius:15px;background:#092436;isolation:isolate}.gq-map{position:absolute;inset:0;min-height:0}.gq-map-cover{position:absolute;inset:0;z-index:5;display:flex;align-items:flex-end;justify-content:center;padding:16px;overflow:auto;background:linear-gradient(0deg,#051a2bf7 0,#071f31cf 55%,#071f3110 95%);text-align:center}.gq-map-cover[hidden],.gq-map-status[hidden],.gq-overlay[hidden],.gq-feedback[hidden]{display:none}.gq-entry-copy{max-width:280px;margin:0 auto 4px}.gq-entry-copy h2{font:500 26px/1.1 Georgia,serif;margin:9px 0 12px}.gq-entry-copy p{font-size:14px;line-height:1.45;color:#d5e5ec;margin:8px 0}.gq-fine,.gq-entry-copy .gq-fine{font-size:11px;line-height:1.35;color:var(--gq-muted)}
.gq-map-status{position:absolute;z-index:6;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;background:#071c2de8;text-align:center;padding:20px;color:#d6e7ef}.gq-feedback{flex:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:47px;padding:7px 16px 2px;text-align:center;font-size:11px;color:var(--gq-muted)}.gq-feedback strong{font-size:14px;color:#eef7fa}.gq-feedback span{display:block}.gq-footer{display:flex;flex:none;gap:10px;justify-content:center;min-height:61px;padding:8px 16px 9px}.gq-footer button{flex:1;max-width:340px;border-color:#abc2c9a8;background:linear-gradient(#32627b,#204b64);font-weight:600;box-shadow:inset 0 1px #e5f5ff22}.gq-footer button[data-gq=skip],.gq-footer button[data-gq=hint]{max-width:none;background:#0c2c42;color:#d7e6ee;font-weight:400}.gq-footer button[data-gq=hint]{flex:1.5}
.gq-overlay{position:absolute;z-index:20;inset:0;display:flex;align-items:center;justify-content:center;background:#03121bdc;padding:20px;overflow:auto}.gq-dialog{width:100%;max-width:330px;max-height:100%;overflow:auto;padding:23px;border:1px solid #9fbdcc88;border-radius:17px;background:#0c2b41;box-shadow:0 20px 60px #0007}.gq-dialog h2{font:500 26px/1.15 Georgia,serif;margin:0 0 16px}.gq-dialog p{font-size:14px;line-height:1.5;color:#d0e2eb}.gq-dialog button{width:100%;margin-top:12px;background:#285774}
/* Help leaves the existing Back control reachable; play stays covered. */
.gq-overlay:has([data-gq="close-info"]){top:59px}
@media(max-height:680px){.gq-overlay:has([data-gq="close-info"]){top:53px}}
.gq-complete-cover{background:linear-gradient(#082236ee,#051927f7);padding:18px}.gq-results{width:100%;max-width:300px;margin:auto}.gq-results h2{font:500 45px/1 Georgia,serif;margin:10px 0}.gq-results h2 small{display:block;font:12px Arial,sans-serif;color:var(--gq-muted);margin-top:5px}.gq-results p{margin:11px 0}.gq-best{font-size:12px;color:var(--gq-gold)}.gq-results details{font-size:12px;border-top:1px solid #92b0bd50;padding-top:9px;text-align:left}.gq-results summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.gq-results ul{columns:2;padding-left:18px;margin:0 0 10px;line-height:1.5}
@media(max-height:680px){.gq-header{min-height:53px}.gq-header h1{font-size:24px}.gq-hud{padding-block:5px}.gq-hud strong{font-size:17px}.gq-prompt{min-height:67px;padding-block:7px}.gq-prompt h2{font-size:21px}.gq-prompt-outline{min-height:80px;padding-block:2px}.gq-feedback{min-height:43px}.gq-footer{min-height:58px;padding-block:7px}.gq-entry-copy h2{font-size:23px;margin-block:5px 8px}.gq-entry-copy p{font-size:12px}}
/* The library reuses the approved Earth relief instead of a generic glyph. */
.gq-result-stats{display:flex;justify-content:center;gap:18px;margin:14px 0;color:var(--gq-muted);font-size:12px}.gq-result-stats strong{display:block;color:var(--gq-ink);font-size:23px;font-variant-numeric:tabular-nums}.gq-prompt:has(>.gq-eyebrow:first-child) h2{overflow-wrap:break-word}
#arenaFull #arenaBody .ag-cover[data-game="geography"]{position:relative;display:block;isolation:isolate;background:transparent}
#arenaFull #arenaBody .ag-cover[data-game="geography"]>i,#arenaFull #arenaBody .ag-cover[data-game="geography"]>small{display:none}
#arenaFull #arenaBody .ag-cover[data-game="geography"]::before{content:"";display:block;position:absolute;left:50%;top:50%;width:62px;height:62px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid #abcbd6aa;background:linear-gradient(125deg,#2e789035,#071b2c4d),url('travel-map/gray-earth-relief-1024.jpg') 33% 50%/210% 100%;box-shadow:inset -13px -5px 16px #001426c9,inset 3px 2px 6px #dcf1ff6b,0 0 12px #48a2ce28}
#arenaFull #arenaBody .gq-chooser{width:100%;max-width:430px;min-width:0;margin:0 auto;padding:13px 12px 18px;border:0;border-radius:0;background:transparent;color:var(--ink,#e9f4fa);text-align:left;box-shadow:none}
#arenaFull #arenaBody .gq-chooser>h2{font:500 30px/1.1 Georgia,serif;margin:0 0 8px}
#arenaFull #arenaBody .gq-chooser>p{font-size:12px;line-height:1.4;margin:0 0 15px;color:var(--muted,#b5cad9)}
#arenaFull #arenaBody .gq-chooser>section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px 0 13px;border-top:1px solid #81a9be5c}
#arenaFull #arenaBody .gq-chooser>section>h3{grid-column:1/-1;font:500 23px/1.1 Georgia,serif;margin:0}
#arenaFull #arenaBody .gq-chooser>section>p{grid-column:1/-1;font-size:11px;line-height:1.35;color:var(--muted,#b5cad9);margin:0 0 3px}
#arenaFull #arenaBody .gq-chooser .pp-button{width:100%;min-width:0;min-height:44px;margin:0;padding:8px 9px;border:1px solid #7dabc280;border-radius:9px;background:linear-gradient(#1a4863,#0b2e46);box-shadow:inset 0 1px #d1e9ff15;color:#e9f5fc;font:500 12px/1.2 Arial,sans-serif;white-space:normal;text-align:center;touch-action:manipulation}
#arenaFull #arenaBody .gq-chooser .ar-navbtn{min-height:44px;width:100%;margin-top:6px;font-size:13px}
#arenaFull #arenaBody .gq-chooser button:focus-visible{outline:2px solid #e2c98c;outline-offset:3px}
/* North here is geographic north, independent of the player's globe rotation. */
.gq-hunt-hint{position:absolute;left:9px;bottom:9px;z-index:4;display:flex;align-items:center;gap:7px;max-width:140px;padding:5px 9px 5px 6px;border:1px solid #99b9c97a;border-radius:10px;background:#09283bea;color:#dfeef4;box-shadow:0 2px 8px #00111e40;pointer-events:none}
.gq-hunt-hint[hidden]{display:none}.gq-hunt-hint>span:last-child{min-width:0}.gq-hunt-hint strong{display:block;font-size:12px;letter-spacing:.08em}.gq-hunt-hint small{display:block;font-size:11px;white-space:nowrap}.gq-hunt-compass{position:relative;flex:none;width:36px;height:43px;padding-top:7px}.gq-hunt-compass>small{position:absolute;top:-2px;left:0;width:36px;text-align:center;font-size:8px;color:#a9c5d2}.gq-hunt-compass svg{width:36px;height:36px;fill:none;stroke:#d5e8f0;stroke-width:1.6}.gq-hunt-compass svg circle{stroke:#8aafc16b;stroke-width:1}.gq-hunt-compass svg path{stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.gq-footer button[data-gq=guess]{flex:1.5}.gq-footer button[data-gq=guess]+button[data-gq=skip]{flex:1}
/* Border names carry the clue; flags are compact supporting context. */
.gq-neighbors{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 12px;list-style:none;padding:0;margin:6px 0 0;font-size:14px;line-height:1.25}
.gq-neighbors li{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;text-align:left}.gq-neighbors li>span:last-child{overflow-wrap:anywhere}
.gq-flag{font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:19px;line-height:1.2;flex:none}
.gq-prompt .gq-sweep-prompt{font-size:19px;line-height:1.2}
.gq-footer button[data-gq=finish]{background:#0c2c42;color:#d7e6ee;font-weight:400}
.gq-footer:empty{display:none}
@media(max-width:370px){.gq-neighbors{font-size:13px;gap:4px 10px}.gq-prompt .gq-sweep-prompt{font-size:18px}}
