/* playsendit.com: the game's homepage. The look is the game's own (src/ui/ui.css and the brand kit):
   night, ink and amber, Press Start 2P for display, VT323 for reading, hard pixel shadows, no blends. */

@font-face { font-family: 'Press Start 2P'; src: url('fonts/press-start-2p.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'VT323'; src: url('fonts/vt323.woff2') format('woff2'); font-display: swap; }

:root {
  --night: #0b0d16;
  --night2: #10121e;
  --slate: #2b2f45;
  --ink: #f4efe2;
  --dim: #b9b3a3;
  --amber: #ffb43a;
  --amber-deep: #a8641a;
  --ember: #e2562b;
  --panel: rgba(16, 18, 30, 0.85);
  --head: 'Press Start 2P', ui-monospace, monospace;
  --body: 'VT323', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 24px/1.15 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--amber); }
a:hover { color: #ffd23a; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.px { image-rendering: pixelated; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 8px; top: -60px; z-index: 20; padding: 10px 12px; background: var(--ink); color: var(--night); font-family: var(--head); font-size: 10px; }
.skip:focus { top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- type ---- */
.logo {
  margin: 0; font-family: var(--head); font-weight: 400; line-height: 1; color: #fff;
  font-size: clamp(44px, 9.5vw, 124px); letter-spacing: 0.08em;
  text-shadow: 0.05em 0.05em 0 var(--ember), 0.1em 0.1em 0 #000;
}
.logo-mid { font-size: clamp(36px, 7vw, 84px); }
/* the title screen's logo: bigger, and stepped back in three layers like extruded type */
.logo-big {
  font-size: clamp(44px, 9.8vw, 140px); white-space: nowrap;
  text-shadow: 0.035em 0.035em 0 var(--ember), 0.07em 0.07em 0 #8a2c12, 0.105em 0.105em 0 #000, 0.14em 0.14em 0 rgba(0, 0, 0, 0.35);
}
/* a place's name: long ones ("CHAMONIX-MONT-BLANC") break rather than run off a phone */
.logo-place { font-size: clamp(30px, 6.4vw, 76px); overflow-wrap: anywhere; }
.kicker { margin: 0.9em 0 0; font-family: var(--head); font-size: clamp(11px, 1.6vw, 20px); letter-spacing: 0.32em; color: #fff; text-shadow: 3px 3px 0 #000; }
.home .kicker { color: var(--amber); font-size: clamp(12px, 1.9vw, 24px); }
.lede { margin: 0.8em 0 0; max-width: 18em; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; color: #fff; text-shadow: 3px 3px 0 #000; }
.h2 {
  margin: 0; font-family: var(--head); font-weight: 400; line-height: 1.2; color: #fff;
  font-size: clamp(20px, 3.4vw, 40px); letter-spacing: 0.06em; text-transform: uppercase;
  text-shadow: 0.08em 0.08em 0 var(--ember), 0.16em 0.16em 0 #000;
}
.h3 {
  margin: 0; font-family: var(--head); font-weight: 400; line-height: 1.1; color: #fff;
  font-size: clamp(22px, 3vw, 40px); letter-spacing: 0.06em; text-transform: uppercase;
  text-shadow: 0.08em 0.08em 0 var(--ember), 0.16em 0.16em 0 #000;
}
.h4 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 13px; line-height: 1.4; letter-spacing: 0.12em; color: var(--amber); text-transform: uppercase; }
.intro { margin: 18px 0 0; max-width: 34em; font-size: clamp(24px, 2.4vw, 30px); color: var(--dim); }

/* ---- the button: the game's amber block with a stepped shadow ---- */
.btn {
  display: inline-block; padding: 18px 22px 16px; background: var(--amber); color: var(--night);
  font-family: var(--head); font-size: clamp(13px, 1.4vw, 17px); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 6px 0 var(--amber-deep), 0 6px 0 3px #000, 0 0 0 3px #000;
  transition: transform 80ms steps(2), box-shadow 80ms steps(2);
}
.btn:hover { color: var(--night); background: #ffc35c; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--amber-deep), 0 2px 0 3px #000, 0 0 0 3px #000; }
.btn-small { padding: 11px 14px 9px; font-size: 11px; box-shadow: 0 4px 0 var(--amber-deep), 0 4px 0 3px #000, 0 0 0 3px #000; }
.btn-big { padding: 24px 30px 21px; font-size: clamp(15px, 1.7vw, 21px); box-shadow: 0 8px 0 var(--amber-deep), 0 8px 0 4px #000, 0 0 0 4px #000; }
.btn-big:active { transform: translateY(6px); box-shadow: 0 2px 0 var(--amber-deep), 0 2px 0 4px #000, 0 0 0 4px #000; }
@media (max-width: 720px) { .btn-big { padding: 18px 20px 16px; font-size: 14px; box-shadow: 0 6px 0 var(--amber-deep), 0 6px 0 3px #000, 0 0 0 3px #000; } }

/* ---- the chip: a place name on a frame, the game's panel ---- */
.chip {
  display: inline-flex; flex-direction: column; gap: 4px; padding: 8px 10px 6px; background: var(--panel);
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px #000;
  font-family: var(--head); font-size: 10px; letter-spacing: 0.06em; color: var(--ink); text-transform: uppercase;
}
.chip b { font-weight: 400; }
.chip span { font-family: var(--body); font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--dim); }

/* ---- header ---- */
.top {
  position: absolute; z-index: 5; inset: 0 0 auto 0; display: flex; align-items: center; gap: 24px;
  padding: max(16px, env(safe-area-inset-top)) var(--gutter) 16px;
}
.top-logo { font-family: var(--head); font-size: 14px; letter-spacing: 0.1em; color: #fff; text-decoration: none; text-shadow: 2px 2px 0 var(--ember), 4px 4px 0 #000; }
.top-nav { display: flex; gap: 20px; margin-left: auto; }
.top-nav a { font-family: var(--head); font-size: 10px; letter-spacing: 0.1em; color: #fff; text-decoration: none; text-transform: uppercase; text-shadow: 2px 2px 0 #000; }
.top-nav a:hover { color: var(--amber); }
@media (max-width: 900px) {
  .top-nav { display: none; }
  .top .btn-small { margin-left: auto; }
}

/* ---- hero ---- */
/* the words at the top and the button at the bottom, as on the brand kit's hero: the rider goes through the middle */
.hero { position: relative; display: flex; overflow: hidden; background: var(--night); }
/* night at the top and the bottom, so the words read on any shot (snow too) */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 13, 22, 0.8), rgba(11, 13, 22, 0.35) 30%, transparent 46% 62%, rgba(11, 13, 22, 0.45) 80%, rgba(11, 13, 22, 0.8));
}
.hero-shot, .reel-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* the reel: a hard cut from shot to shot, like the game's own camera cuts */
.reel-shot { opacity: 0; transition: opacity 120ms steps(2); }
.reel-shot.on { opacity: 1; }
.hero-text {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: min(100vh, 1100px); min-height: min(100svh, 1100px); padding-top: clamp(96px, 13vh, 140px); padding-bottom: clamp(40px, 8vh, 88px);
}
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cta-note { margin: 0; max-width: 14em; font-size: 26px; line-height: 1.05; color: #fff; text-shadow: 3px 3px 0 #000; }
.hero-foot .cta { flex: 1 1 420px; }
.reel-now { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.reel-tag {
  display: inline-flex; flex-direction: column; gap: 6px; padding: 10px 12px 8px; background: var(--panel); text-decoration: none;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px #000;
}
.reel-tag[hidden] { display: none; }
.reel-tag b { font-family: var(--head); font-weight: 400; font-size: 14px; letter-spacing: 0.08em; color: var(--amber); text-transform: uppercase; }
.reel-tag b::after { content: ' →'; }
.reel-tag span { font-size: 22px; color: var(--dim); }
.reel-tag:hover b { color: #ffd23a; }
.reel-ticks { display: flex; gap: 8px; }
.reel-ticks button { width: 34px; height: 10px; padding: 0; border: 0; background: rgba(244, 239, 226, 0.35); box-shadow: 0 0 0 2px #000; cursor: pointer; }
.reel-ticks button[aria-pressed='true'] { background: var(--amber); }
.reel-ticks button:hover { background: var(--ink); }
@media (max-width: 720px) {
  .hero-shot, .reel-shot { object-position: 46% 50%; }
  .lede { max-width: 12em; }
  .reel-now { align-items: flex-start; }
}

/* the numbers under the hero */
.stats { background: var(--night2); box-shadow: inset 0 6px 0 var(--ember), inset 0 12px 0 #000; }
.stats-row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; padding-top: 40px; padding-bottom: 30px; }
.stats li { display: flex; flex-direction: column; gap: 10px; }
.stats b { font-family: var(--head); font-weight: 400; font-size: clamp(24px, 3.4vw, 44px); color: var(--amber); text-shadow: 0.08em 0.08em 0 #000; }
.stats span { font-size: 26px; line-height: 1; color: var(--ink); }
@media (max-width: 760px) { .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

/* ---- sections ---- */
.band { padding: clamp(64px, 9vw, 120px) 0; background: var(--night); }
.band-alt { background: var(--night2); box-shadow: inset 0 6px 0 var(--ember), inset 0 12px 0 #000; }
.frame { position: relative; margin: 0; background: #05060c; box-shadow: 0 0 0 3px #000, 0 0 0 6px rgba(244, 239, 226, 0.2); }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.frame .chip { position: absolute; left: 12px; bottom: 12px; }

/* the sports: shot and words side by side, swapping sides down the page */
.sport { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.sport:nth-of-type(even) { grid-template-columns: 2fr 3fr; }
.sport:nth-of-type(even) .frame { order: 2; }
.sport-text p { margin: 18px 0 0; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; }
.more { display: inline-block; margin-top: 20px; font-family: var(--head); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .sport, .sport:nth-of-type(even) { grid-template-columns: 1fr; gap: 22px; }
  .sport:nth-of-type(even) .frame { order: 0; }
}

/* the places */
.places { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.places li { position: relative; overflow: hidden; background: #05060c; }
.places a { display: block; }
.places img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.places .chip { position: absolute; left: 8px; bottom: 8px; padding: 6px 8px 5px; font-size: 9px; box-shadow: none; }
.places a:hover .chip, .places a:focus-visible .chip { background: var(--amber); color: var(--night); }
/* two across on a phone: eight tiles, so the last row isn't one alone (Baffin is the hero anyway) */
@media (max-width: 760px) {
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places li:nth-child(9) { display: none; }
}
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; margin-top: 48px; }
.lists p { margin: 12px 0 0; font-size: 26px; line-height: 1.2; }
.lists a { color: var(--ink); text-decoration: none; }
.lists a:hover { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .lists { grid-template-columns: 1fr; } }
.after { margin: 48px 0 0; }

/* ---- a sport's or a place's page ---- */
.page-hero { position: relative; display: flex; overflow: hidden; background: var(--night); min-height: min(78vh, 820px); min-height: min(78svh, 820px); }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 13, 22, 0.75), transparent 24% 40%, rgba(11, 13, 22, 0.55) 68%, rgba(11, 13, 22, 0.88));
}
.page-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-text { position: relative; z-index: 2; align-self: flex-end; padding-top: 120px; padding-bottom: clamp(36px, 7vh, 72px); }
.page-hero .lede { max-width: 22em; }
.page-hero .cta { margin-top: 28px; }
/* a sport's page: the shot whole with its rider, the name under it */
.sport-hero { background: var(--night); }
.sport-hero-shot { position: relative; margin: 0; height: min(72vh, 56.25vw, 820px); height: min(72svh, 56.25vw, 820px); min-height: 240px; overflow: hidden; background: #05060c; border-bottom: 6px solid var(--ember); }
.sport-hero-shot img { width: 100%; height: 100%; object-fit: cover; }
/* (only the nav needs the night behind it) */
.sport-hero-shot::after { content: ''; position: absolute; inset: 0 0 auto; height: 110px; background: linear-gradient(to bottom, rgba(11, 13, 22, 0.7), transparent); pointer-events: none; }
.sport-hero-shot .chip { position: absolute; right: var(--gutter); bottom: 16px; }
/* (a phone: taller than the shot's own shape, the sides cropped, so the rider isn't tiny) */
@media (max-width: 720px) { .sport-hero-shot { height: 78vw; } }
.sport-hero-text {
  display: grid; gap: 18px; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(36px, 5vw, 64px);
}
/* (PARAGLIDING is eleven letters: on a phone it has to fit the width) */
.sport-hero .logo { font-size: clamp(24px, 7vw, 84px); white-space: nowrap; }
.sport-hero-text .lede { margin: 0; max-width: 24em; font-size: clamp(26px, 2.6vw, 36px); }
.sport-hero-text .cta { margin-top: 22px; }
.crumb { margin: 0 0 16px; font-family: var(--head); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; text-shadow: 2px 2px 0 #000; }
.crumb a { color: var(--amber); text-decoration: none; }
.band-top { padding-top: clamp(120px, 14vw, 170px); }

/* a place's sports */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; }
.tags a {
  display: block; padding: 9px 11px 7px; background: var(--panel); color: var(--ink); text-decoration: none;
  font-family: var(--head); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px #000;
}
.tags a:hover { background: var(--amber); color: var(--night); }

.place-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px 64px; align-items: start; }
.legal { margin: 24px 0 0; max-width: 34em; font-size: 26px; color: var(--dim); }
.legal b { font-family: var(--head); font-weight: 400; font-size: 11px; letter-spacing: 0.1em; color: var(--amber); text-transform: uppercase; margin-right: 8px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px 14px; background: var(--night2); box-shadow: 0 0 0 2px var(--slate); }
.facts b { font-family: var(--head); font-weight: 400; font-size: 22px; color: var(--amber); }
.facts span { font-size: 26px; line-height: 1; }
@media (max-width: 860px) { .place-grid { grid-template-columns: 1fr; } }

/* a place's exits or lines */
.lines { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.line { padding: 20px 22px 18px; background: var(--night); box-shadow: 0 0 0 2px var(--slate); }
.line-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.line-head .h4 { color: #fff; }
.line-meta { margin: 8px 0 0; font-size: 22px; color: var(--amber); }
.line p:last-child { margin: 10px 0 0; font-size: 24px; line-height: 1.1; color: var(--dim); }
.pips { flex: none; font-size: 15px; letter-spacing: 2px; color: var(--ember); }
.pips i { font-style: normal; color: var(--slate); }
@media (max-width: 760px) { .lines { grid-template-columns: 1fr; } }
.sub { margin-top: 48px; }
.goals { margin: 12px 0 0; font-size: 26px; line-height: 1.2; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery img { aspect-ratio: 2 / 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

.pager { padding: 28px 0; border-top: 2px solid var(--slate); }
.pager-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.pager a { font-family: var(--head); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* the places' cards */
.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card a { display: block; height: 100%; background: var(--night); color: var(--ink); text-decoration: none; box-shadow: 0 0 0 2px var(--slate); }
.card a:hover, .card a:focus-visible { box-shadow: 0 0 0 3px var(--amber); }
.card img, .card-blank { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #05060c; }
.card-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; }
.card-text b { font-family: var(--head); font-weight: 400; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.card-text span { font-size: 22px; color: var(--dim); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* what's in it */
.features { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.features li { padding: 22px 22px 20px; background: var(--night2); box-shadow: 0 0 0 2px var(--slate); }
.features p { margin: 12px 0 0; font-size: 26px; line-height: 1.1; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.features-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* the last call: the boot screen's evening sky, in hard bands */
.sky {
  padding: clamp(80px, 12vw, 160px) 0 clamp(96px, 14vw, 180px); text-align: center;
  background: linear-gradient(to bottom, #0c1430 0 16%, #13204a 16% 30%, #1d2f62 30% 44%, #2f3f74 44% 56%, #4e4a7c 56% 66%,
    #7a5674 66% 76%, #b06a5e 76% 85%, #e08a52 85% 92%, var(--night) 92%);
}
.sky-inner { display: flex; flex-direction: column; align-items: center; }
.sky .lede { margin: 30px auto 40px; max-width: 20em; font-size: clamp(26px, 3vw, 36px); }

/* footer */
.foot { padding: 28px 0 max(28px, env(safe-area-inset-bottom)); background: var(--night); border-top: 2px solid var(--slate); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.foot p { margin: 0; font-size: 22px; color: var(--dim); }

/* ---- the places' globe: the game's map screen ---- */
.globe-band { padding: clamp(96px, 9vw, 120px) 0 0; background: #070812; }
.globe-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 40px; }
.globe-head .intro { flex: 1 1 420px; margin-top: 0; font-size: clamp(22px, 2vw, 26px); }
.globe-grid {
  display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(300px, 380px); grid-template-areas: 'side stage card';
  gap: 0 20px; height: clamp(520px, calc(100vh - 230px), 820px); height: clamp(520px, calc(100svh - 230px), 820px); margin-top: 24px; padding: 0 var(--gutter) 28px;
}
.globe-side { grid-area: side; display: flex; flex-direction: column; min-height: 0; }
.globe-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.globe-tabs button {
  padding: 7px 8px 6px; border: 0; background: transparent; color: var(--dim); cursor: pointer;
  font-family: var(--head); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: inset 0 0 0 2px rgba(244, 239, 226, 0.25);
}
.globe-tabs button[aria-pressed='true'] { background: var(--ink); color: var(--night); box-shadow: none; }
.globe-list { position: relative; list-style: none; margin: 0; padding: 4px 0; overflow: auto; background: var(--panel); box-shadow: 0 0 0 2px var(--slate); }
.globe-list a { display: flex; align-items: baseline; gap: 8px; padding: 3px 10px; color: var(--ink); text-decoration: none; font-size: 22px; line-height: 1.15; white-space: nowrap; }
.globe-list a b { min-width: 1.6em; font-weight: 400; color: var(--dim); }
.globe-list a span { flex: 1 1 0; min-width: 0; text-align: right; font-size: 17px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
.globe-list a:hover, .globe-list a:focus-visible { background: rgba(244, 239, 226, 0.08); }
.globe-list a.sel { background: var(--amber); color: var(--night); }
.globe-list a.sel b, .globe-list a.sel span { color: #5a4220; }
.globe-list li[hidden] { display: none; }

/* the globe: the stage is the game's canvas, the pins drawn over it */
.globe-stage { grid-area: stage; position: relative; min-height: 0; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.globe-stage:active { cursor: grabbing; }
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe-pins { position: absolute; inset: 0; pointer-events: none; }
.gpin { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; }
.gpin[hidden] { display: none; }
.gpin span { font-family: var(--head); font-size: 9px; color: #fff; text-shadow: 2px 2px 0 #000; white-space: nowrap; }
.gpin i { display: block; width: 10px; height: 10px; margin-top: 2px; background: var(--amber); box-shadow: 0 0 0 2px #000; }
.gpin.ski i { background: #9fd3ff; }
.gpin.sel { z-index: 2; }
.gpin.sel span { padding: 4px 5px 3px; background: var(--night); color: var(--amber); font-size: 11px; box-shadow: 0 0 0 2px #000; }
.gpin.sel i { width: 14px; height: 14px; background: #fff; }
.globe-hint { position: absolute; left: 50%; bottom: 8px; margin: 0; transform: translateX(-50%); font-size: 20px; color: var(--dim); pointer-events: none; white-space: nowrap; }
.globe-band:not(.live) .globe-stage { display: none; }
.globe-zoom { position: absolute; right: 10px; bottom: 40px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.globe-zoom button {
  width: 36px; height: 36px; padding: 0; border: 0; background: var(--panel); color: var(--ink); cursor: pointer;
  font-family: var(--head); font-size: 16px; line-height: 1; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px #000;
}
.globe-zoom button:hover { background: var(--amber); color: var(--night); }

/* the card: the game's site window */
.globe-card { grid-area: card; align-self: start; max-height: 100%; overflow: auto; background: var(--panel); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px #000; }
.globe-pic { display: block; }
.globe-pic img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.globe-card-text { padding: 16px 18px 20px; }
.globe-card .crumb { margin-bottom: 10px; color: var(--amber); }
.globe-card .h3 { font-size: clamp(18px, 1.8vw, 26px); }
.globe-sub { margin: 10px 0 0; font-size: 24px; line-height: 1.05; }
.globe-card .tags { margin-top: 14px; }
.globe-card .tags a { font-size: 9px; padding: 7px 8px 5px; }
.globe-about { margin: 14px 0 0; font-size: 21px; line-height: 1.1; color: var(--dim); }
.globe-lines { margin: 10px 0 18px; font-size: 21px; color: var(--amber); }

@media (max-width: 1080px) {
  .globe-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); grid-template-areas: 'stage card' 'side side'; height: auto; min-height: 0; gap: 20px; }
  .globe-stage { height: min(70vh, 620px); }
  .globe-list { max-height: 360px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
}
@media (max-width: 720px) {
  .globe-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'stage' 'card' 'side'; padding: 0 var(--gutter) 20px; }
  .globe-stage { height: auto; aspect-ratio: 1 / 1; }
  .globe-list { grid-template-columns: minmax(0, 1fr); max-height: 420px; }
}
