:root {
  --g-towns: 255, 176, 140;
  --g-routes: 127, 210, 246;
  --g-caves: 244, 196, 110;
  --g-islands: 132, 226, 190;
  --g-other: 196, 178, 255;
  --glass-line: rgba(255, 255, 255, .12);
}
@property --vis { syntax: "<number>"; inherits: false; initial-value: 1; }

.pin--towns, .kind--towns, .lchip--towns, .pl--towns, .dot--towns, .spark--towns { --pc: var(--g-towns); }
.pin--routes, .kind--routes, .lchip--routes, .pl--routes, .dot--routes, .spark--routes { --pc: var(--g-routes); }
.pin--caves, .kind--caves, .lchip--caves, .pl--caves, .dot--caves, .spark--caves { --pc: var(--g-caves); }
.pin--islands, .kind--islands, .lchip--islands, .pl--islands, .dot--islands, .spark--islands { --pc: var(--g-islands); }
.pin--other, .kind--other, .lchip--other, .pl--other, .dot--other, .spark--other { --pc: var(--g-other); }

:where(.xp) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.xp) :where(p, figure) { margin: 0; }
:where(.xp) button { cursor: pointer; }
.xp .ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.spr { width: 100%; height: auto; image-rendering: pixelated; }
.spr--art { image-rendering: auto; }
.spr.is-broken { visibility: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.scene {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--chrome-h));
  padding-top: var(--chrome-h);
}
.scene .sky {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--stars) 0 0 / 440px repeat;
  opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, .25) 70%, transparent 88%);
          mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0, 0, 0, .25) 70%, transparent 88%);
  pointer-events: none;
}

.tag {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(10, 8, 24, .35);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: rgba(226, 232, 248, .86);
  font: 400 12px/1.5 var(--mono);
  letter-spacing: .06em;
}
.tag span { white-space: nowrap; }
.tag:has(span + span + span) { border-radius: 16px; }
.tag span:not(:last-child)::after {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 11px;
  border-radius: 50%;
  background: var(--cantaloupe);
  box-shadow: 0 0 6px rgba(252, 115, 77, .9);
  vertical-align: middle;
  translate: 0 -1px;
  content: "";
}

.xp .crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; color: rgba(226, 232, 248, .75); font-size: 12.5px; letter-spacing: .02em; list-style: none; }
.xp .crumbs li + li::before { margin: 0 10px; color: rgba(226, 232, 248, .4); content: "/"; }
.xp .crumbs a { color: inherit; }
.xp .crumbs a:hover { color: #fff; }
.xp .crumbs [aria-current] { color: #fff; }

.roria { width: 100%; height: auto; overflow: visible; }
.roria .land { pointer-events: none; }
.roria-box { position: relative; aspect-ratio: 1; }
.roria-box > .roria { position: absolute; inset: 0; width: 100%; height: 100%; }
.land-canvas { position: absolute; top: -4.6875%; left: -4.6875%; width: 109.375%; height: 109.375%; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out); }
.has-canvas .land-canvas { opacity: 1; }
.has-canvas .land, .has-canvas .roria--land { visibility: hidden; }

.pin { cursor: pointer; outline: none; }
.pin-body { transform: scale(calc(var(--pin-scale, 1) * var(--vis))); transition: --vis .5s var(--ease-out) var(--fd, 0ms), opacity .4s var(--ease-out) var(--fd, 0ms); }
.pin-halo { fill: rgba(var(--pc), .16); stroke: rgba(var(--pc), .45); stroke-width: 1; transform: scale(.6); opacity: 0; transition: transform .25s var(--ease), opacity .2s ease; }
.pin-dot { fill: rgb(var(--pc)); stroke: rgba(2, 7, 10, .9); stroke-width: 2; filter: drop-shadow(0 0 5px rgba(var(--pc), .95)); transform-box: fill-box; transform-origin: center; transition: transform var(--t-mid) var(--ease-spring); }
.pin--off .pin-dot { fill: rgba(2, 7, 10, .9); stroke: rgb(var(--pc)); stroke-width: 2.4; }
.pin-label {
  fill: #fff;
  font: 400 25px/1 var(--serif);
  letter-spacing: .01em;
  paint-order: stroke;
  stroke: rgba(2, 7, 10, .88);
  stroke-width: 5px;
  stroke-linejoin: round;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out), translate var(--t-mid) var(--ease-spring);
}
.pin--main .pin-body { transform: scale(calc(1.2 * var(--pin-scale, 1) * var(--vis))); }
.pin--main .pin-label { opacity: 1; }
.pin--main.pin--quiet .pin-label { opacity: 0; }
.is-zoomed .pin--quiet .pin-label { opacity: 1; }
.pin:hover .pin-halo, .pin:focus-visible .pin-halo, .pin.is-selected .pin-halo { transform: scale(1.25); opacity: 1; }
.pin:hover .pin-label, .pin:focus-visible .pin-label, .pin.is-selected .pin-label { opacity: 1; }
.pin:hover .pin-label, .pin:focus-visible .pin-label { translate: 0 -5px; }
.pin:hover .pin-dot, .pin:focus-visible .pin-dot { transform: scale(1.3); }
.pin:focus-visible .pin-halo { stroke: #fff; stroke-width: 2.5; }
.is-zoomed .pin-label { opacity: 1; }
.pin.is-muted:not(:hover):not(:focus-visible) .pin-label { opacity: 0; }
.pin--gym .pin-dot { stroke: rgba(255, 238, 228, .95); stroke-width: 2.4; }

.pin.is-selected .pin-dot { fill: #fff; stroke: rgb(var(--pc)); stroke-width: 3; }
.pin.is-selected .pin-halo { stroke: rgb(var(--pc)); stroke-width: 2; animation: ring 2.4s var(--ease) infinite; }
.pin.is-selected .pin-label { font-size: 30px; stroke-width: 9px; }
.pin-bloom { pointer-events: none; transform-box: fill-box; transform-origin: center; }
@keyframes ring { 0% { transform: scale(.8); opacity: 1; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.pin-ripple { fill: none; stroke: rgb(var(--pc)); stroke-width: 1.6; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.pin:hover .pin-ripple, .pin:focus-visible .pin-ripple { animation: ripple 1.1s var(--ease-out); }
@keyframes ripple { from { opacity: .9; transform: scale(.55); } to { opacity: 0; transform: scale(3); } }

.pin.is-off { pointer-events: none; }
.pin.is-off .pin-body { --vis: 0; opacity: 0; }

.spark { fill: rgb(var(--pc)); opacity: .55; filter: drop-shadow(0 0 3px rgba(var(--pc), .9)); }
@keyframes twinkle { 0%, 100% { opacity: .55; } 50% { opacity: .18; } }

.block-head, .asec-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(26px, 3.2vw, 38px);
  padding-bottom: 16px;
}
.block-head::after, .asec-head::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(127, 210, 246, .75), rgba(127, 210, 246, .2) 45%, rgba(127, 210, 246, .06));
  content: "";
}
.block-head h2, .asec-title { margin: 0; color: #fff; font: 400 clamp(40px, 4vw, 54px)/1 var(--serif); letter-spacing: -.005em; }
.block-head h2 em, .asec-title em { font-style: italic; }
.block-sub, .asec-sub { max-width: 66ch; margin-top: 10px; color: var(--ink-2); font: 400 15px/1.55 var(--sans); text-wrap: pretty; }
.block-stat { display: grid; flex: none; justify-items: end; gap: 6px; text-align: right; }
.block-stat strong { color: rgba(240, 242, 250, .96); font: 400 52px/.9 var(--serif); }
.block-stat span { color: rgba(200, 212, 236, .72); font-size: 12.5px; letter-spacing: .04em; }

.round {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(8, 14, 30, .55);
  color: #fff;
}
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.round:hover:not(:disabled) { border-color: rgba(127, 210, 246, .7); background: rgba(127, 210, 246, .12); }
.round:disabled { opacity: .35; cursor: default; }
.round--txt { width: 44px; font: 400 11.5px/1 var(--mono); letter-spacing: .06em; }

.go {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  margin-top: 24px;
  border-radius: 999px;
  background: #fff;
  color: #0b0a12;
  font-size: 13.5px;
  letter-spacing: .02em;
  box-shadow: 0 0 30px rgba(2, 151, 222, .3);
}
.go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate var(--t-mid) var(--ease-spring); }
.go:hover { background: #ffeee6; box-shadow: 0 0 34px rgba(252, 115, 77, .45); }
.go:hover svg { translate: 3px 0; }

.tpill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--t, #8e8e8e) 60%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--t, #8e8e8e) 22%, transparent);
  color: color-mix(in srgb, var(--t, #8e8e8e) 35%, #fff);
  font: 400 11.5px/1 var(--mono);
  letter-spacing: .04em;
  white-space: nowrap;
}
a.tpill:hover { border-color: var(--t); color: #fff; }

.ext, .about a, .attr a, .anote a { color: rgba(127, 210, 246, .95); text-decoration: underline; text-decoration-color: rgba(127, 210, 246, .35); text-underline-offset: 3px; }

:is(.round, .lchip, .go, .hsearch-go, .seg button, .exit, .trip, .try, .wtab, .pill, .menu-btn, .linked-list a, .mfind-list button) {
  transition:
    background-color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    box-shadow var(--t-mid) var(--ease-out),
    opacity var(--t-fast) var(--ease-out),
    scale var(--t-mid) var(--ease-spring),
    translate var(--t-mid) var(--ease-out);
}
:is(.round, .lchip, .go, .hsearch-go, .seg button, .exit, .trip, .try, .wtab, .pill, .menu-btn, .linked-list a):active:not(:disabled) { scale: .96; transition-duration: 80ms; }
:is(.try, .exit, .linked-list a):hover { translate: 0 -1px; }
:is(.wfind, .hsearch, .mfind) { transition: border-color var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }

@keyframes rise { from { opacity: 0; translate: 0 28px; } }
@keyframes copy-in { from { opacity: 0; translate: 0 22px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes show { to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .motion img.fade { transition: opacity .8s var(--ease-out), scale .9s var(--ease-out), filter .6s var(--ease-out); }
  .motion img.fade:not(.is-loaded) { opacity: 0; }
  .motion .spr.fade:not(.is-loaded) { scale: .7; }
  .motion .reveal:not(.is-in) { opacity: 0; }
  .motion .reveal.is-in { animation: rise 1s var(--ease-out) var(--d, 0ms) backwards; }
}

@media (max-width: 760px) {
  .block-head, .asec-head { margin-bottom: 20px; padding-bottom: 12px; }
  .block-head h2, .asec-title { font-size: clamp(32px, 9.6vw, 40px); }
  .block-sub, .asec-sub { margin-top: 6px; font-size: 15px; }
  .block-stat strong { font-size: 40px; }
  .block-stat span { font-size: 12px; }
  .tag { font-size: 12px; }
  .go { height: 54px; background: linear-gradient(180deg, #fff, var(--peach) 70%, #ffc9b0); box-shadow: inset 0 1px 0 #fff, 0 0 26px -6px rgba(252, 115, 77, .8); color: #160b10; font-size: 14px; }
  .tpill { font-size: 12px; }
  .round--txt { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .xp *, .xp *::before, .xp *::after { transition-duration: .001ms !important; animation: none !important; }
  .land-canvas { transition: none; }
  .pin.is-selected .pin-halo { transform: scale(1.4); opacity: 1; }
}
