/* The GeoVerse — guide pages (states, countries, quizzes, games, learn, about). Compact, all caps like the rest of the site. */
:root { --bg: #161616; --panel: #1e1d1b; --panel2: #24221f; --line: rgba(237,224,196,.16); --line2: rgba(237,224,196,.32);
  --cream: #ede0c4; --text: #e6dcc6; --muted: #a89f8c; --gold: #e2b96f; --link: #f3d79e; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: radial-gradient(ellipse at 50% -10%, #26241f 0%, var(--bg) 55%) fixed, var(--bg); color: var(--text);
  font: 500 14px/1.55 "Chakra Petch", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .5px; text-transform: uppercase; }
a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(243,215,158,.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--link); }
img { max-width: 100%; height: auto; }

/* top bar */
.gx-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; padding: 8px 20px; background: rgba(18,18,17,.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.gx-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--cream); flex: 0 0 auto; }
.gx-brand img { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(226,185,111,.35)); }
.gx-brand span { font: 700 16px/1 "Chakra Petch", sans-serif; letter-spacing: 2.2px; text-shadow: 0 0 10px rgba(237,214,170,.35); }
.gx-brand small { display: block; font-size: 8px; letter-spacing: 3px; opacity: .75; margin-bottom: 2px; }
.gx-nav { display: flex; gap: 2px; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gx-nav::-webkit-scrollbar { display: none; }
.gx-nav a { flex: 0 0 auto; padding: 6px 9px; border-radius: 7px; color: var(--cream); text-decoration: none; font: 600 11.5px/1 "Chakra Petch", sans-serif; letter-spacing: 1.5px; opacity: .82; }
.gx-nav a:hover, .gx-nav a.on { opacity: 1; background: rgba(237,224,196,.08); }
.gx-play { flex: 0 0 auto; padding: 7px 14px; border-radius: 8px; border: 1px solid rgba(226,185,111,.6); color: var(--cream); text-decoration: none;
  font: 700 11.5px/1 "Chakra Petch", sans-serif; letter-spacing: 2.2px; box-shadow: 0 0 12px rgba(226,185,111,.18); }
.gx-play:hover { background: rgba(226,185,111,.12); }

/* page */
.gx-main { max-width: 980px; margin: 0 auto; padding: 18px 20px 44px; }
.gx-bc { font-size: 11px; color: var(--muted); margin-bottom: 12px; letter-spacing: 1px; }
.gx-bc a { color: var(--muted); }
.gx-sep { margin: 0 6px; opacity: .5; }
h1, h2, h3 { font-family: "Chakra Petch", sans-serif; color: var(--cream); line-height: 1.2; }
h1 { font-size: clamp(21px, 3.4vw, 30px); letter-spacing: 1.4px; margin: 0 0 6px; text-shadow: 0 0 2px rgba(255,240,210,.45), 0 0 14px rgba(237,214,170,.28); }
h2 { font-size: 17px; letter-spacing: 1.2px; margin: 24px 0 8px; padding-top: 10px; border-top: 1px solid var(--line); }
h3 { font-size: 14.5px; letter-spacing: .9px; margin: 16px 0 6px; }
p { margin: 0 0 10px; }
.gx-lead { font-size: 15px; color: var(--cream); max-width: 760px; margin-bottom: 8px; }
.gx-sub { color: var(--muted); font-size: 11.5px; margin: 0 0 8px; letter-spacing: 1.2px; }
.gx-hero { display: flex; gap: 18px; align-items: flex-start; }
.gx-hero .gx-flag { width: 120px; border-radius: 5px; border: 1px solid var(--line2); box-shadow: 0 5px 18px rgba(0,0,0,.45); flex: 0 0 auto; }
.gx-hero > div { flex: 1 1 auto; min-width: 0; }
.gx-fact { background: linear-gradient(180deg, rgba(226,185,111,.09), rgba(226,185,111,.03)); border: 1px solid rgba(226,185,111,.35); border-radius: 10px; padding: 9px 13px; margin: 12px 0; }
.gx-fact b { letter-spacing: 1.4px; font-size: 11px; color: var(--gold); display: block; margin-bottom: 2px; }

/* fact boxes: each box is only as wide as its text, so there are no big empty boxes */
.gx-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 6px; padding: 0; }
.gx-facts div { flex: 1 1 auto; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; }
.gx-facts dt { font-size: 10px; line-height: 1.3; letter-spacing: 1.4px; color: var(--muted); }
.gx-facts dd { margin: 1px 0 0; color: var(--cream); font-size: 13.5px; font-weight: 600; }

.gx-tablewrap { overflow-x: auto; margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 12.5px; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 10.5px; line-height: 1.3; font-weight: 600; letter-spacing: 1.3px; color: var(--muted); background: var(--panel2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td .gx-tf { width: 24px; vertical-align: -3px; margin-right: 7px; border-radius: 2px; border: 1px solid var(--line); }
.gx-note { color: var(--muted); font-size: 11.5px; }
.gx-btn { display: inline-block; margin: 4px 6px 4px 0; padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(226,185,111,.6); background: rgba(226,185,111,.08);
  color: var(--cream); text-decoration: none; font: 700 11.5px/1.2 "Chakra Petch", sans-serif; letter-spacing: 1.8px; box-shadow: 0 0 12px rgba(226,185,111,.14); }
.gx-btn:hover { background: rgba(226,185,111,.18); }
.gx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 8px 0; }
.gx-card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.gx-card:hover { border-color: rgba(226,185,111,.55); }
.gx-card h3 { margin: 0 0 3px; font-size: 13.5px; }
.gx-card p { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 10px; padding: 0; list-style: none; }
.gx-chips li { margin: 0; }
.gx-chips a, .gx-chips span { display: inline-block; padding: 3px 9px; border: 1px solid var(--line2); border-radius: 999px; font-size: 12px; text-decoration: none; color: var(--cream); background: rgba(255,255,255,.02); }
.gx-chips a:hover { border-color: rgba(226,185,111,.6); }
.gx-flaggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin: 10px 0; }
.gx-flaggrid figure { margin: 0; text-align: center; font-size: 11px; line-height: 1.3; }
.gx-flaggrid img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #0e0e0d; border: 1px solid var(--line); border-radius: 3px; display: block; margin-bottom: 4px; }
ul, ol { padding-left: 20px; margin: 0 0 10px; }
li { margin-bottom: 3px; }
.gx-steps { counter-reset: s; list-style: none; padding: 0; }
.gx-steps li { counter-increment: s; position: relative; padding-left: 32px; margin-bottom: 7px; min-height: 22px; }
.gx-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(226,185,111,.6); color: var(--cream);
  font: 700 11px/21px "Chakra Petch", sans-serif; text-align: center; }
.gx-pn { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
.gx-byline { color: var(--muted); font-size: 11.5px; margin: 0 0 14px; letter-spacing: 1.1px; }
article.gx-art p, article.gx-art li { max-width: 780px; }
.gx-foot { border-top: 1px solid var(--line); padding: 16px; text-align: center; color: var(--muted); font-size: 11px; }
.gx-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 6px; }
.gx-foot-links a { color: var(--cream); text-decoration: none; font-size: 11.5px; font-weight: 600; letter-spacing: 2px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 6px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--cream); }
details[open] summary { margin-bottom: 6px; }
input, textarea { text-transform: none; }

/* phones */
@media (max-width: 720px) {
  body { font-size: 13px; line-height: 1.5; }
  .gx-top { flex-wrap: wrap; gap: 6px 10px; padding: 7px 12px 5px; }
  .gx-brand span { font-size: 14px; }
  .gx-nav { order: 3; flex: 1 1 100%; margin: 0 -4px; }
  .gx-nav a { padding: 5px 8px; font-size: 10.5px; letter-spacing: 1.2px; }
  .gx-play { margin-left: auto; padding: 6px 12px; font-size: 10.5px; }
  .gx-main { padding: 12px 12px 36px; }
  .gx-bc { font-size: 10px; margin-bottom: 8px; }
  h1 { font-size: 20px; }
  h2 { font-size: 15px; margin-top: 18px; padding-top: 8px; }
  h3 { font-size: 13.5px; margin-top: 12px; }
  .gx-lead { font-size: 13.5px; }
  .gx-hero { gap: 12px; }
  .gx-hero .gx-flag { width: 72px; margin-top: 2px; }
  .gx-facts { gap: 5px; }
  .gx-facts div { padding: 5px 9px; }
  .gx-facts dt { font-size: 9px; }
  .gx-facts dd { font-size: 12.5px; overflow-wrap: anywhere; }
  .gx-fact { padding: 8px 11px; }
  table { font-size: 12px; }
  th, td { padding: 5px 8px; }
  /* wide tables (city lists, country lists …) turn into compact stacked rows instead of scrolling sideways */
  .gx-stk { border: 0; overflow: visible; }
  .gx-stk table, .gx-stk tbody { display: block; }
  .gx-stk thead { display: none; }
  .gx-stk tr { display: flex; flex-wrap: wrap; gap: 1px 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 5px; background: var(--panel); }
  .gx-stk td { display: block; padding: 0; border: 0; text-align: left !important; white-space: normal !important; }
  .gx-stk td::before { content: attr(data-l) ": "; color: var(--muted); font-size: 9.5px; letter-spacing: 1.1px; }
  .gx-stk td:first-child, .gx-stk td:nth-child(2) { font-weight: 600; color: var(--cream); }
  .gx-stk td:first-child::before, .gx-stk td:nth-child(2)::before { content: none; }
  .gx-stk td:last-child:not(.n) { flex-basis: 100%; color: var(--text); }
  .gx-cards { grid-template-columns: 1fr 1fr; gap: 6px; }
  .gx-card { padding: 8px 10px; }
  .gx-card h3 { font-size: 12px; }
  .gx-card p { font-size: 10.5px; }
  .gx-chips a, .gx-chips span { font-size: 11px; padding: 3px 8px; }
  .gx-flaggrid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
  .gx-btn { padding: 8px 12px; font-size: 10.5px; }
  .gx-pn { font-size: 11px; }
}

/* tables only as wide as their columns need (no big gaps between capital / population / area) */
@media (min-width: 721px) {
  .gx-tablewrap { width: fit-content; max-width: 100%; }
  table { width: auto; }
  th, td { padding: 6px 14px; }
  td.n, th.n { padding-left: 22px; }
}
td .gx-tf { vertical-align: middle; margin-top: -3px; height: auto; }
td { vertical-align: middle; }
/* the daily games: all in one row */
.gx-cards-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) and (min-width: 721px) { .gx-cards-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gx-cards-row > :nth-child(n+4) { grid-column: span 1; } }
@media (max-width: 720px) { .gx-cards-row { grid-template-columns: 1fr 1fr; } .gx-cards-row > :last-child { grid-column: 1 / -1; } }

/* outline maps with counties / regions */
.gx-mapfig { margin: 16px 0 4px; }
.gx-map { display: block; width: 100%; max-width: 720px; height: auto; max-height: 460px; margin: 0 auto; overflow: visible; }
.gx-rg path { stroke: rgba(237,224,196,.28); stroke-width: .5; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .12s; cursor: default; }
.gx-rg path.on { fill: rgba(226,185,111,.42); }
.gx-ol, #gxo { vector-effect: non-scaling-stroke; }
.gx-ol { fill: none; stroke: var(--cream); stroke-width: .9; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; filter: drop-shadow(0 0 3px rgba(237,214,170,.35)); }
.gx-base { fill: #2c2a25; }
.gx-rg path { fill: transparent; }
.gx-rg path.on { fill: rgba(226,185,111,.42); }
.gx-mapfig figcaption { text-align: center; margin-top: 4px; }
.gx-tip { position: fixed; z-index: 50; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); padding: 4px 9px; border-radius: 6px; background: rgba(16,16,15,.94);
  border: 1px solid rgba(226,185,111,.55); color: var(--cream); font: 600 12px/1.2 "Chakra Petch", sans-serif; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.5); opacity: 0; transition: opacity .1s; }
.gx-tip.on { opacity: 1; }
@media (max-width: 720px) { .gx-map { max-height: 320px; } }

/* ── a state or country on one screen ── */
.gx-main:has(.gx-pl) { max-width: 1240px; padding-top: 10px; padding-bottom: 14px; }
.gx-main:has(.gx-pl) .gx-bc { margin-bottom: 6px; }
.gx-pl { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 10px 26px; align-items: start; }
.gx-pl-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.gx-pl-top .gx-flag { width: 92px; flex: 0 0 auto; border-radius: 4px; border: 1px solid var(--line2); box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.gx-pl-t { flex: 1 1 auto; min-width: 0; }
.gx-pl-t h1 { font-size: 26px; margin: 0; }
.gx-pl-t .gx-sub { margin: 2px 0 3px; font-size: 10.5px; }
.gx-pl-t .gx-lead { font-size: 13px; margin: 0; max-width: none; }
.gx-pl-pn { flex: 0 0 auto; display: flex; gap: 14px; font-size: 10.5px; letter-spacing: 1.2px; align-self: flex-start; margin-top: 4px; }
.gx-pl-pn a { color: var(--muted); }
.gx-pl-pn a:hover { color: var(--link); }
.gx-pl .gx-facts { margin: 0 0 8px; gap: 5px; }
.gx-pl .gx-facts div { padding: 4px 9px; border-radius: 7px; }
.gx-pl .gx-facts dt { font-size: 9px; }
.gx-pl .gx-facts dd { font-size: 12px; }
.gx-pl .gx-facts dd i { font-style: normal; color: var(--muted); font-size: 10.5px; }
.gx-abt { font-size: 12px; line-height: 1.5; margin: 0 0 7px; }
.gx-pl .gx-fact { margin: 0 0 7px; padding: 6px 11px; font-size: 12px; line-height: 1.45; }
.gx-pl .gx-fact b { font-size: 9.5px; }
.gx-cap { font-size: 12px; line-height: 1.45; margin: 0 0 7px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.gx-cap b, .gx-lm b, .gx-cities b { display: block; font-size: 9.5px; letter-spacing: 1.4px; color: var(--gold); margin-bottom: 2px; }
.gx-cap span { display: block; }
.gx-cap em { display: block; font-style: normal; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.gx-lm { margin: 0 0 7px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.gx-lm b { flex: 0 0 100%; margin: 0; }
.gx-lm span { font-size: 11px; padding: 2px 8px; border: 1px solid var(--line2); border-radius: 999px; }
.gx-pl-btns .gx-btn { padding: 6px 10px; font-size: 10px; letter-spacing: 1.4px; margin: 2px 4px 0 0; }
.gx-pl-r .gx-mapfig { margin: 0; }
.gx-pl-r .gx-map { max-height: min(400px, calc(100vh - 330px)); min-height: 200px; }
.gx-pl-r .gx-mapfig figcaption { font-size: 9.5px; margin-top: 2px; }
.gx-cities { margin-top: 8px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.gx-cities ol { margin: 0; padding: 0; list-style: none; columns: 3; column-gap: 16px; counter-reset: c; }
.gx-cities li { counter-increment: c; display: flex; justify-content: space-between; gap: 6px; font-size: 11px; line-height: 1.6; margin: 0; break-inside: avoid; }
.gx-cities li span::before { content: counter(c) ". "; color: var(--muted); }
.gx-cities li em { font-style: normal; color: var(--gold); margin-left: 3px; }
.gx-cities li i { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .gx-pl { grid-template-columns: 1fr; }
  .gx-pl-r { grid-row: 2; }
  .gx-pl-r .gx-map { max-height: 300px; }
  .gx-pl-pn { display: none; }
}
@media (max-width: 720px) {
  .gx-pl-top { gap: 10px; align-items: flex-start; }
  .gx-pl-top .gx-flag { width: 64px; margin-top: 3px; }
  .gx-pl-t h1 { font-size: 20px; }
  .gx-cities ol { columns: 2; }
}

/* ── back arrow (top left) ── */
.gx-back { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: -4px; border-radius: 8px; color: var(--cream); text-decoration: none; opacity: .85; }
.gx-back:hover { opacity: 1; background: rgba(237,224,196,.08); }
.gx-back svg { width: 18px; height: 18px; filter: drop-shadow(0 0 4px rgba(237,214,170,.35)); }

/* ── menu: sliding underline instead of a box ── */
.gx-nav { position: relative; }
.gx-nav a.on { background: none; }
.gx-nav a:hover { background: none; }
.gx-ind { position: absolute; bottom: 1px; height: 2px; border-radius: 2px; background: var(--cream); box-shadow: 0 0 6px rgba(237,214,170,.75), 0 0 12px rgba(226,185,111,.35);
  transition: left .32s cubic-bezier(.4,0,.2,1), width .32s cubic-bezier(.4,0,.2,1), opacity .2s; pointer-events: none; opacity: 0; }
.gx-ind.on { opacity: 1; }
.gx-pl:has(.gx-cities) .gx-pl-r .gx-map { max-height: min(380px, calc(100vh - 400px)); min-height: 180px; }
.gx-lm b { flex: 0 0 auto; margin: 0 4px 0 0; }
.gx-pl { row-gap: 8px; }
.gx-pl .gx-facts { margin-bottom: 6px; }
.gx-abt, .gx-pl .gx-fact, .gx-cap, .gx-lm { margin-bottom: 6px; }

/* buttons and tags: glowing text only, no box around them */
.gx-btn, .gx-btn:hover, .gx-play, .gx-play:hover, .gx-chips a, .gx-chips span, .gx-lm span {
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.gx-btn, .gx-play { padding-left: 0 !important; padding-right: 0 !important; margin-right: 22px !important; color: var(--cream); text-shadow: 0 0 6px rgba(237,214,170,.55), 0 0 14px rgba(226,185,111,.3); }
.gx-play { margin-right: 4px !important; }
.gx-btn:hover, .gx-play:hover { color: #fff; text-shadow: 0 0 6px rgba(255,240,210,.9), 0 0 16px rgba(226,185,111,.55); }
.gx-chips { gap: 4px 18px; }
.gx-chips a, .gx-chips span { padding: 2px 0 !important; color: var(--cream); text-decoration: none; text-shadow: 0 0 5px rgba(237,214,170,.4); }
.gx-chips a:hover { color: #fff; text-shadow: 0 0 6px rgba(255,240,210,.9), 0 0 14px rgba(226,185,111,.5); }
.gx-lm { gap: 3px 14px; }
.gx-lm span { padding: 0 !important; color: var(--cream); text-shadow: 0 0 5px rgba(237,214,170,.35); }
/* city list: the population sits right after the name, small and grey, in parentheses */
.gx-cities li { justify-content: flex-start; gap: 5px; align-items: baseline; }
.gx-cities li i { font-size: 9px; color: rgba(168,159,140,.8); letter-spacing: .6px; }
/* city list: population in small grey brackets right after the name */
.gx-cities li { justify-content: flex-start; gap: 5px; align-items: baseline; }
.gx-cities li i { font-size: 9.5px; color: rgba(168,159,140,.8); letter-spacing: .4px; }
.gx-cities b small { float: right; font-size: 8.5px; letter-spacing: .8px; color: rgba(168,159,140,.75); font-weight: 400; }
/* city list: a narrow column beside the map, so it takes no height away from the map or the page */
.gx-pl:has(.gx-cities) .gx-pl-r { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 0 16px; align-items: center; }
.gx-cities { margin-top: 0; padding: 7px 12px 8px; }
.gx-cities b small { float: none; display: block; margin-top: 1px; }
.gx-cities ol { columns: 1; margin-top: 3px; }
.gx-cities li { line-height: 1.55; font-size: 11px; }
.gx-pl:has(.gx-cities) .gx-pl-r .gx-map { max-height: min(460px, calc(100vh - 250px)); min-height: 200px; }
@media (max-width: 1100px) {
  .gx-pl:has(.gx-cities) .gx-pl-r { display: block; }
  .gx-cities { margin-top: 8px; }
  .gx-cities ol { columns: 3; }
}
@media (max-width: 720px) { .gx-cities ol { columns: 2; } }
.gx-cities li { display: block; } .gx-cities li i { margin-left: 5px; }
.gx-cards.gx-cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .gx-cards.gx-cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ── state / country pages: the page fills the screen (footer at the very bottom, no empty band under it) ── */
body:has(.gx-pl) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body:has(.gx-pl) .gx-main { flex: 1 0 auto; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
body:has(.gx-pl) .gx-pl { flex: 1 0 auto; align-content: start; }
body:has(.gx-pl) .gx-foot { padding: 10px 16px; }
/* name, then the previous / all / next links a comfortable step to its right */
.gx-h1row { display: flex; align-items: baseline; gap: 44px; flex-wrap: wrap; }
.gx-h1row .gx-pl-pn { margin: 0; align-self: auto; }
/* more breathing room on the left */
.gx-pl-l { display: flex; flex-direction: column; gap: 14px; }
.gx-pl-l > * { margin: 0 !important; }
.gx-pl .gx-facts { gap: 8px; }
.gx-abt { font-size: 13px; line-height: 1.6; }
.gx-pl .gx-fact { padding: 9px 13px; font-size: 12.5px; line-height: 1.55; }
.gx-pl { row-gap: 16px; }
/* the place's own quizzes: a label, then plain glowing links */
.gx-qz { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; }
.gx-qz b { font-size: 9.5px; letter-spacing: 1.4px; color: var(--gold); margin-right: 2px; }
.gx-qz a { font: 700 11.5px/1.3 "Chakra Petch", sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cream); text-decoration: none;
  text-shadow: 0 0 6px rgba(237,214,170,.55), 0 0 14px rgba(226,185,111,.3); }
.gx-qz a:hover { color: #fff; text-shadow: 0 0 6px rgba(255,240,210,.9), 0 0 16px rgba(226,185,111,.55); }
@media (max-width: 900px) { .gx-h1row .gx-pl-pn { display: none; } }
/* city list: no box, just the list */
.gx-cities { border: 0 !important; background: none !important; padding: 0 !important; }
/* previous / all / next: centred under the page, just above the footer */
.gx-pl-pn.gx-pn-bottom { display: flex !important; justify-content: center; align-self: center; gap: 30px; margin: 18px auto 4px; font-size: 11px; letter-spacing: 1.6px; }
/* quiz links: centred under the text, no label */
.gx-qz { justify-content: center; gap: 8px 40px; margin-top: 4px !important; }
.gx-qz a { font-size: 12.5px; letter-spacing: 2px; }
/* the page sits in the middle of the space between the header and the footer */
body:has(.gx-pl) .gx-pl { flex: 0 0 auto; margin-top: auto; margin-bottom: auto; }
.gx-pl-t .gx-sub { margin-bottom: 0; }
/* state map: zoom, pan and the city search */
.gx-zoom { position: relative; }
.gx-zm .gx-map { overflow: hidden; touch-action: pan-y; cursor: default; }
.gx-zoom.zoomed .gx-map { touch-action: none; cursor: grab; }
.gx-zoom.dragging .gx-map { cursor: grabbing; }
.gx-zbtn { position: absolute; right: 2px; bottom: 2px; display: flex; flex-direction: column; gap: 4px; opacity: .55; transition: opacity .2s; }
.gx-zoom:hover .gx-zbtn, .gx-zoom.zoomed .gx-zbtn { opacity: 1; }
.gx-zbtn button { width: 26px; height: 26px; padding: 0; border-radius: 6px; border: 1px solid var(--line2); background: rgba(22,21,19,.85); color: var(--cream); font: 600 15px/1 "Chakra Petch", sans-serif; cursor: pointer; }
.gx-zbtn button:hover { border-color: var(--gold); color: #fff; }
.gx-pins { pointer-events: none; }
.gx-dot { fill: #f2c94c; stroke: #1a1917; stroke-width: 1.5; }
.gx-pulse { fill: none; stroke: #f2c94c; stroke-width: 2; }
.gx-plab { fill: var(--cream); font: 700 12px "Chakra Petch", sans-serif; letter-spacing: 1px; text-transform: uppercase; paint-order: stroke; stroke: #141311; stroke-width: 3.5px; stroke-linejoin: round; }
.gx-csearch { position: relative; width: min(340px, 100%); margin: 10px auto 0; }
.gx-csearch input { width: 100%; box-sizing: border-box; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(20,19,17,.9); color: var(--cream);
  font: 600 12px/1.2 "Chakra Petch", sans-serif; letter-spacing: 1.4px; text-transform: uppercase; outline: none; }
.gx-csearch input::placeholder { color: var(--muted); }
.gx-csearch input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,201,76,.12); }
.gx-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; margin: 0; padding: 4px; list-style: none; border-radius: 8px; border: 1px solid var(--line2);
  background: rgba(20,19,17,.98); box-shadow: 0 10px 26px rgba(0,0,0,.5); display: none; max-height: 260px; overflow: auto; }
.gx-sugg.on { display: block; }
.gx-sugg li { display: flex; align-items: baseline; gap: 6px; padding: 6px 9px; border-radius: 5px; cursor: pointer; font: 600 12px/1.25 "Chakra Petch", sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: var(--cream); }
.gx-sugg li i { font-style: normal; font-size: 10px; color: rgba(168,159,140,.85); }
.gx-sugg li.on, .gx-sugg li:hover { background: rgba(226,185,111,.16); }
.gx-pl:has(.gx-zm) .gx-cities li { cursor: pointer; }
.gx-pl:has(.gx-zm) .gx-cities li:hover span { color: #fff; }
.gx-ctx { pointer-events: none; opacity: 0; transition: opacity .35s; }
.gx-ctx.on { opacity: 1; }
.gx-ctx circle { fill: rgba(237,224,196,.62); }
.gx-clab { fill: rgba(237,224,196,.78); font: 600 9.5px "Chakra Petch", sans-serif; letter-spacing: .8px; text-transform: uppercase; paint-order: stroke; stroke: #1c1b18; stroke-width: 3px; stroke-linejoin: round; }
.gx-csearch input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.gx-zoom.zoomed .gx-rg path.on { fill: rgba(226,185,111,.14); }

.gx-ctx.on circle { cursor: pointer; }
.gx-rg path { cursor: pointer; }
