@font-face {
  font-family: Inter;
  src: url("./assets/inter.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("./assets/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("./assets/barlow-900-italic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #100c17;
  --panel: #171221;
  --surface: #1c1728;
  --line: #32283e;
  --text: #faf3fb;
  --muted: #c0b3c9;
  --dim: #a89ab4;
  --pink: #ff76af;
  --orange: #ffae71;
  --mint: #79e7d8;
  --sunset: linear-gradient(105deg, #ffbd79 3%, #ff8d92 47%, #fa68ae 96%);
  --display: Barlow, "Arial Narrow", Impact, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 16% 27%, #27152f 0%, transparent 34rem), var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 var(--body);
}
body.dialog-open, body.map-expanded { overflow: hidden; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: default; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }
p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3 { line-height: 1.05; }
h2, h3, h4 { font-family: var(--display); }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.page-width { width: min(calc(100% - 7.5rem), 79rem); margin-inline: auto; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
[data-icon] svg { width: 1.15em; height: 1.15em; display: block; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 99;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  font-weight: 700;
  font-size: .91rem;
  line-height: 1.2;
  transition: background .22s, border-color .22s, box-shadow .22s, transform .22s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary {
  color: #1b1020;
  background: var(--sunset);
  box-shadow: 0 5px 28px #fb6e9c2b, inset 0 1px #fff5;
}
.button-primary:hover { box-shadow: 0 7px 38px #fb6e9c60, inset 0 1px #fff8; }
.button-glass {
  border-color: #d4aac436;
  background: #1a111fb3;
  color: var(--text);
}
.button-glass:hover { border-color: #ff88b888; background: #35213d; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #25122b;
  border-bottom: 1px solid #a3598360;
}
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image {
  inset: -3px;
  background: url("./assets/vice-sunset.webp") center 53% / cover no-repeat;
  animation: hero-drift 18s cubic-bezier(.4, 0, .3, 1) both;
}
.hero-shade {
  background:
    linear-gradient(90deg, #160c1bf5 0%, #1c1021b8 26%, #1d0d2138 56%, transparent 75%),
    linear-gradient(0deg, #130b1cca, transparent 36%);
}
.hero-inner {
  min-height: clamp(29rem, 38vw, 35rem);
  padding-block: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero-copy { width: min(100%, 37rem); }
.eyebrow {
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .15em;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero-kicker { color: #ffd0a2; display: flex; align-items: center; gap: .7rem; }
.hero-kicker::before { content: ""; height: 2px; width: 1.5rem; background: var(--sunset); }
.hero h1 {
  font: italic 900 clamp(5.25rem, 8.9vw, 8.25rem)/.81 var(--display);
  letter-spacing: -.023em;
  margin: .65rem 0 1.2rem -.055em;
  padding: .07em .12em .13em .06em;
  width: fit-content;
  filter: drop-shadow(0 8px 26px #190b2b80);
}
.hero h1 span, .section-heading h2 em {
  color: var(--pink);
  background: var(--sunset);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lede { max-width: 27rem; color: #efe1eb; font-size: 1rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.55rem; }
.hero-actions .button { min-height: 3rem; padding-inline: 1.05rem; }
.hero-release {
  align-self: flex-end;
  padding: .78rem 1rem;
  border: 1px solid #ffc4c54d;
  border-radius: .7rem;
  background: #170c1e9e;
  backdrop-filter: blur(10px);
  box-shadow: 0 .8rem 2.8rem #0b051650;
  white-space: nowrap;
}
.hero-release div {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #ffe0bc;
  font-weight: 760;
  font-size: .87rem;
  letter-spacing: .07em;
}
.hero-release p { color: #e2d0e6; font-size: .75rem; letter-spacing: .08em; margin-top: .15rem; }

.atlas-section { padding-top: 3.35rem; padding-bottom: 3.7rem; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  margin-bottom: 1.3rem;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--pink);
  margin-bottom: .47rem;
}
.section-kicker [data-icon] { font-size: 1rem; }
.section-heading h2 {
  font: normal 700 clamp(2.6rem, 4.4vw, 4.3rem)/.98 var(--display);
  letter-spacing: -.017em;
}
.section-heading h2 em { font-weight: 900; padding-inline-end: .065em; }
.update-tag {
  color: #ddd0e5;
  border-radius: 3rem;
  border: 1px solid var(--line);
  background: #201826;
  font-size: .86rem;
  padding: .45rem .78rem;
  display: inline-flex;
  align-items: center;
  gap: .48rem;
}
.update-tag span {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 11px #79e7d880;
}
.map-search, .region-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.85rem;
  border-radius: .55rem;
  border: 1px solid #44364e;
  background: #120e1b;
  color: var(--muted);
}
.map-search:focus-within, .region-field:focus-within { border-color: #d975ac; box-shadow: 0 0 0 2px #d975ac30; }
.map-search > [data-icon], .region-field > [data-icon]:first-of-type {
  position: absolute;
  inset-inline-start: .72rem;
  pointer-events: none;
}
.map-search input, .region-field select {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  border: 0;
  outline: none;
  border-radius: inherit;
  padding: .45rem .65rem .45rem 2.25rem;
  background: transparent;
  color: var(--text);
  font-size: .91rem;
}
.region-field select { padding-inline-end: 2rem; appearance: none; cursor: pointer; }
.select-chevron { position: absolute; inset-inline-end: .7rem; pointer-events: none; }
.region-field option { background: var(--bg); color: var(--text); }
.map-search input::placeholder { color: #b2a4be; }
.sidebar-heading { display: flex; justify-content: space-between; align-items: center; }
.sidebar-heading h4 { font: 700 .92rem/1.3 var(--body); }
.text-button {
  background: transparent;
  border: none;
  padding: .25rem .1rem;
  color: #ffc1df;
  font-size: .85rem;
}
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.category-list { display: grid; gap: .32rem; margin-top: -.44rem; }
.category-button {
  --tone: var(--pink);
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: .52rem;
  min-width: 0;
  min-height: 2.65rem;
  padding: .38rem .6rem;
  text-align: left;
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  font-size: .91rem;
  font-weight: 580;
  white-space: nowrap;
  transition: color .2s, background .2s, border-color .2s;
}
.category-button:hover { color: var(--text); background: #ffffff09; }
.category-button[aria-pressed="true"] {
  color: var(--text);
  background: color-mix(in srgb, var(--tone) 12%, #1d1628);
  border-color: color-mix(in srgb, var(--tone) 52%, #2b1c39);
}
.category-icon, .result-icon, .news-icon {
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 14%, #1b1425);
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid color-mix(in srgb, var(--tone) 20%, transparent);
  border-radius: .42rem;
}
.category-total {
  color: #cabacf;
  opacity: .95;
  font-size: .75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.toggle { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .88rem; cursor: pointer; min-height: 2rem; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch {
  flex-shrink: 0;
  width: 2.05rem;
  height: 1.15rem;
  border-radius: 2rem;
  background: #3d3448;
  position: relative;
  transition: background .2s;
}
.switch::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .15rem;
  width: .85rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f2e7f1;
  transition: transform .2s;
}
.toggle input:checked + .switch { background: #d75b91; }
.toggle input:checked + .switch::before { transform: translateX(.9rem); }
.toggle input:focus-visible + .switch { outline: 2px solid var(--mint); outline-offset: 4px; }

.map-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 34rem;
  overflow: hidden;
  touch-action: none;
  background: #121324;
  cursor: grab;
  user-select: none;
}
.map-stage.dragging { cursor: grabbing; }
.map-stage:focus-visible { outline-offset: -3px; z-index: 1; }
.map-stage.is-expanded { position: fixed; z-index: 22; inset: 0; height: 100dvh; width: 100%; }
.map-art, .map-grain, #map-pins, #map-labels { position: absolute; inset: 0; pointer-events: none; }
.map-art { overflow: hidden; }
.map-art img {
  position: absolute;
  max-width: none;
  width: auto;
  height: 100%;
  left: 50%;
  top: 0;
  transform-origin: top left;
  translate: -50% 0;
}
.map-grain {
  background:
    linear-gradient(#8997c90c 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(90deg, #8997c90c 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(ellipse at center, transparent 26%, #130e2285 100%);
}
.map-overlay, .map-controls, .map-attribution, .map-noscript {
  position: absolute;
  z-index: 3;
}
.map-mode {
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: .48rem;
  background: #171124e8;
  border: 1px solid #a387b145;
  border-radius: .5rem;
  color: #ece0f1;
  padding: .45rem .65rem;
  font-weight: 600;
  font-size: .85rem;
  pointer-events: none;
}
.map-mode [data-icon] { color: var(--pink); }
.map-compass {
  display: grid;
  place-items: center;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #c3a6d44f;
  background: #171124dc;
  line-height: 1;
  color: #ffe0bd;
  pointer-events: none;
}
.map-compass small { display: block; font-size: .75rem; font-weight: 700; margin-top: .28rem; }
.map-compass [data-icon] { font-size: 1rem; margin-bottom: .26rem; }
.map-controls {
  bottom: 2.55rem;
  right: 1rem;
  display: grid;
  border: 1px solid #a586b66b;
  border-radius: .6rem;
  overflow: hidden;
  box-shadow: 0 6px 24px #0a061ac4;
  background: #161223;
}
.map-controls button {
  min-width: 2.6rem;
  min-height: 2.55rem;
  background: transparent;
  border: none;
  color: var(--text);
  display: grid;
  place-items: center;
  transition: background .18s, color .18s;
}
.map-controls button + button { border-top: 1px solid #997ca03b; }
.map-controls button:hover, .map-controls button[aria-pressed="true"] { background: #3d2545; color: #ffb8d9; }
.map-controls button:focus-visible { outline-offset: -3px; }
.map-controls button:disabled { color: #ad9ab4; opacity: .62; }
.map-attribution {
  left: .7rem;
  bottom: .55rem;
  max-width: calc(100% - 1.4rem);
  padding: .28rem .45rem;
  cursor: default;
  border-radius: .3rem;
  background: #110d1deb;
  color: #d7cbe4;
  font-size: .75rem;
}
.map-attribution a:hover { text-decoration: underline; }
.map-noscript { inset: 50% auto auto 1rem; background: var(--bg); color: var(--text); padding: .8rem; }
.map-label {
  position: absolute;
  padding: .18rem .36rem;
  color: #fbe5f3;
  background: #151023be;
  border: 1px solid #ddbadc40;
  border-radius: .24rem;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  font: 700 .86rem/1 var(--display);
  letter-spacing: .11em;
  white-space: nowrap;
}
.map-pin {
  --tone: #ff79b2;
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--tone);
  border-radius: 50%;
  color: var(--tone);
  background: #151020eb;
  box-shadow: 0 0 0 3px #141027aa, 0 0 22px color-mix(in srgb, var(--tone) 45%, transparent);
  font-size: .96rem;
  line-height: 1;
  padding: 0;
  transition: box-shadow .15s, background .15s, color .15s, scale .15s;
}
.map-pin.is-area { border-style: dashed; }
.map-pin.is-cluster { width: 2.15rem; height: 2.15rem; font-size: .83rem; font-weight: 800; }
.map-pin.is-found { background: #234748; color: var(--mint); border-color: var(--mint); }
.map-pin:hover, .map-pin:focus-visible {
  background: var(--tone);
  color: #190e21;
  scale: 1.12;
  z-index: 2;
  box-shadow: 0 0 24px color-mix(in srgb, var(--tone) 80%, transparent);
}
.map-pin.is-featured::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid var(--tone);
  border-radius: inherit;
  animation: pin-beacon 2.9s ease-out infinite;
  pointer-events: none;
}
.map-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding: .65rem .9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .87rem;
}
.map-footer > div { display: flex; align-items: center; gap: .42rem; }
.map-footer [data-icon] { color: var(--pink); }
#map-stats strong { color: var(--text); }
#map-stats .stat-separator { color: #766782; }

.results-section { margin-top: 1.6rem; }
.results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .8rem; }
.results-heading h3 { font-size: 1.8rem; }
.results-heading p { color: var(--muted); font-size: .88rem; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.result-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  width: 100%;
  min-height: 4.9rem;
  text-align: left;
  background: #1b1526;
  border: 1px solid var(--line);
  border-radius: .65rem;
  padding: .66rem .75rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.result-card:hover { transform: translateY(-2px); background: #271b31; border-color: color-mix(in srgb, var(--tone) 55%, #33253f); }
.result-icon { width: 2.55rem; height: 2.55rem; font-size: 1.2rem; }
.result-card strong { display: block; font-size: .93rem; line-height: 1.25; font-weight: 720; overflow-wrap: anywhere; }
.result-card small { display: block; margin-top: .23rem; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.result-card .result-state { color: var(--dim); font-size: .83rem; }
.result-card .result-state.saved { color: var(--mint); }
.more-button { display: flex; margin: 1rem auto 0; }
.empty-state {
  grid-column: 1 / -1;
  padding: 1.55rem;
  border-radius: .7rem;
  border: 1px dashed #644b6a;
  color: var(--muted);
  background: #1e1427;
}

.editorial-section {
  padding: 3.4rem 0 3.7rem;
  background: radial-gradient(ellipse at 90% 75%, #3d1b3b77, transparent 70%), #16101f;
  border-block: 1px solid #34243c;
}
.section-aside { max-width: 21rem; color: var(--muted); font-size: .95rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.guide-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 17rem;
  text-align: left;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  width: 100%;
  border-radius: .8rem;
  border: 1px solid #55415c;
  padding: 1rem;
  background: #221832;
  color: var(--text);
  transition: border-color .22s, box-shadow .22s;
}
.guide-card:hover { border-color: var(--tone); box-shadow: 0 0 22px color-mix(in srgb, var(--tone) 25%, transparent); }
.guide-cover, .guide-card::after { position: absolute; inset: 0; z-index: -1; }
.guide-cover {
  background: var(--guide-image, none) var(--guide-position, center) / cover no-repeat, #2a1c3d;
  transform: scale(1.01);
  transition: transform .55s cubic-bezier(.25, .65, .25, 1);
}
.guide-card:hover .guide-cover { transform: scale(1.08); }
.guide-card::after { content: ""; background: linear-gradient(0deg, #120c1cfb 3%, #180f23d9 37%, #160f2522 82%); }
.guide-label { color: var(--tone); display: flex; align-items: center; gap: .38rem; margin-bottom: .45rem; }
.guide-card strong { font: 700 clamp(1.73rem, 2.65vw, 2.45rem)/1.03 var(--display); }
.guide-card small { display: block; margin-top: .38rem; color: #d7c8df; font-size: .86rem; line-height: 1.45; }
.guide-card.atlas-cover .guide-cover { background-size: 105%; }
.guide-card.radio-cover .guide-cover {
  background:
    radial-gradient(ellipse at 75% 15%, #ed7d9a60, transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 24px, #dd86c81a 25px 26px),
    linear-gradient(130deg, #281840, #422253);
}
.guide-card.radio-cover .guide-cover::before {
  content: "";
  position: absolute;
  left: 20%;
  top: 13%;
  width: 65%;
  height: 45%;
  background: repeating-linear-gradient(90deg, var(--pink) 0 4px, transparent 4px 11px);
  clip-path: polygon(0% 45%, 8% 35%, 15% 12%, 23% 40%, 29% 33%, 36% 16%, 43% 30%, 50% 0%, 57% 35%, 65% 20%, 74% 36%, 80% 10%, 87% 41%, 94% 32%, 100% 43%, 100% 62%, 92% 67%, 84% 59%, 76% 85%, 68% 62%, 60% 67%, 50% 100%, 42% 73%, 33% 87%, 27% 70%, 19% 83%, 12% 62%, 0% 62%);
  opacity: .47;
}

.news-section { padding-block: 3.7rem; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; }
.news-feed { border-top: 1px solid var(--line); }
.news-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: .9rem .2rem;
  transition: background .2s;
}
.news-row:hover { background: #ffffff08; }
.news-row .news-icon { width: 2.65rem; height: 2.65rem; font-size: 1.18rem; }
.news-row h3 { font-size: 1.45rem; margin: .1rem 0 .24rem; }
.news-row small, .social-item small { color: var(--muted); font-size: .78rem; }
.news-row p { color: #d3c4db; font-size: .9rem; }
.news-row > [data-icon] { color: var(--dim); font-size: .85rem; }
.community-feed {
  border: 1px solid #4a3453;
  border-radius: .8rem;
  align-self: start;
  background: linear-gradient(130deg, #23162d, #191323);
  padding: 1.05rem;
}
.community-title { margin-bottom: .7rem; }
.community-title h3 { font-size: 1.9rem; }
.community-title p { margin-top: .2rem; font-size: .9rem; color: var(--muted); }
.social-item {
  display: grid;
  gap: .13rem;
  padding: .72rem .05rem;
  border-top: 1px solid #a784b52f;
}
.social-item strong { font-size: .95rem; line-height: 1.35; }
.social-item:hover strong { color: var(--pink); }
.social-item p { color: var(--muted); font-size: .86rem; }
.sources-section { padding-bottom: 3.7rem; }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.source-grid article { padding: 1rem; background: #191322; border: 1px solid var(--line); border-radius: .7rem; }
.source-grid article h3 { margin-top: .62rem; font-size: 1.58rem; }
.source-grid article p { margin-top: .42rem; margin-bottom: .62rem; color: var(--muted); font-size: .94rem; }
.source-grid a, .reference-link, .site-footer a:not(.wordmark) {
  color: #ffb0d8;
  text-decoration: underline;
  text-decoration-color: #ffb0d872;
  text-underline-offset: .19em;
}
.source-grid a:hover, .reference-link:hover { color: #ffe1ee; }
.site-footer { border-top: 1px solid var(--line); background: #0d0a13; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding-block: 1.25rem; }
.footer-inner p { color: var(--muted); max-width: 34rem; font-size: .83rem; }
.footer-inner > a:not(.wordmark) { white-space: nowrap; font-size: .85rem; }

.detail-dialog {
  position: fixed;
  width: min(calc(100% - 2rem), 39rem);
  max-height: min(86dvh, 58rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  color: var(--text);
  border: 1px solid #624761;
  border-radius: .9rem;
  background: #1e1629;
  box-shadow: 0 28px 100px #08030bbf;
}
.detail-dialog[open] { animation: detail-in .24s ease-out both; }
.detail-dialog::backdrop { background: #09050ed0; backdrop-filter: blur(7px); }
.dialog-close {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  position: absolute;
  inset: .7rem .7rem auto auto;
  border: 1px solid #b687ac55;
  border-radius: .52rem;
  background: #30223b;
  z-index: 2;
}
.dialog-close:hover { background: #5c3453; }
#dialog-content { padding: 1.45rem; }
.detail-top { padding-inline-end: 2.05rem; }
.detail-top .eyebrow { color: var(--tone, var(--pink)); }
.detail-top h2 { font-size: clamp(2.12rem, 6vw, 3.2rem); margin: .42rem 0 .55rem; line-height: .99; }
.detail-tags {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tag {
  --tag-color: #d2c0dd;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .26rem .48rem;
  border: 1px solid color-mix(in srgb, var(--tag-color) 40%, transparent);
  background: color-mix(in srgb, var(--tag-color) 11%, transparent);
  border-radius: .35rem;
  color: var(--tag-color);
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.2;
}
.tag-official { --tag-color: #78ebd9; }
.tag-played { --tag-color: #afd2ff; }
.tag-community { --tag-color: #ffd492; }
.detail-body { color: #e7d9eb; }
.detail-body section { margin-top: 1rem; }
.detail-body h3 { font-size: 1.46rem; margin-bottom: .28rem; color: var(--text); }
.detail-body ul { padding-left: 1.2rem; margin: .3rem 0 0; }
.detail-body li + li { margin-top: .45rem; }
.detail-source { display: flex; flex-wrap: wrap; gap: .34rem .7rem; margin-top: .85rem; font-size: .88rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.detail-group { display: grid; gap: .55rem; margin-top: .8rem; }
.detail-group .result-card { background: #271e32; }
.progress-bar { width: 100%; display: block; height: .6rem; accent-color: var(--pink); border: 0; border-radius: 1rem; margin-block: .6rem 1rem; }
.progress-bar::-webkit-progress-bar { background: #392941; border-radius: 1rem; }
.progress-bar::-webkit-progress-value { background: var(--sunset); border-radius: 1rem; }
.progress-bar::-moz-progress-bar { background: var(--sunset); border-radius: 1rem; }
.hero-copy > * { animation: enter .7s ease-out both; }
.hero-copy h1 { animation-delay: .05s; }
.hero-lede { animation-delay: .14s; }
.hero-actions { animation-delay: .22s; }
.hero-release { animation: enter .8s .24s ease-out both; }
@keyframes enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes hero-drift { from { transform: scale(1.055); } to { transform: scale(1); } }
@keyframes pin-beacon { 0% { opacity: .7; scale: 1; } 73%, 100% { opacity: 0; scale: 1.65; } }
@keyframes detail-in { from { opacity: 0; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .page-width { width: min(calc(100% - 3.5rem), 79rem); }
}
@media (max-width: 790px) {
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 660px) {
  .page-width { width: calc(100% - 1.8rem); }
  .hero-inner { min-height: 28rem; padding-block: 2.7rem 1.15rem; align-items: flex-start; flex-direction: column; }
  .hero h1 { font-size: clamp(4.5rem, 16.3vw, 6.6rem); margin-block: .75rem .85rem; }
  .hero-image { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, #1a0e22eb, #220e2470 70%, #140d2530), linear-gradient(0deg, #170e20d0, transparent 65%); }
  .hero-lede { color: #fcf1f8; max-width: 20rem; }
  .hero-actions { gap: .45rem; margin-top: 1.1rem; }
  .hero-actions .button { font-size: .84rem; padding-inline: .63rem; min-height: 2.75rem; }
  .hero-release { align-self: flex-start; padding: .42rem .57rem; display: flex; align-items: center; gap: .55rem; }
  .hero-release div { font-size: .75rem; }
  .hero-release p { margin: 0; font-size: .75rem; }
  .atlas-section, .editorial-section, .news-section { padding-block: 2.55rem; }
  .section-heading { margin-bottom: .95rem; }
  .map-search, .region-field { min-height: 2.65rem; }
  .map-search input, .region-field select { min-height: 2.55rem; }
  .toggle { font-size: .78rem; gap: .4rem; }
  .map-stage { touch-action: pan-y; }
  .map-stage.is-expanded { touch-action: none; }
  .map-controls { right: .6rem; }
  .map-controls button { min-width: 2.55rem; min-height: 2.55rem; }
  .map-compass { right: .6rem; top: .6rem; }
  .map-mode { top: .6rem; left: .6rem; }
  .map-footer { padding: .6rem .65rem; font-size: .8rem; }
  .results-section { margin-top: 1.25rem; }
  .result-card { gap: .55rem; padding: .55rem .55rem; }
  .result-icon { width: 2.1rem; height: 2.1rem; }
  .result-card strong { font-size: .87rem; }
  .guide-card { min-height: 13.8rem; }
}
@media (max-width: 390px) {
  .result-grid, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .news-row { gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

.social-links { display: flex; flex-wrap: wrap; gap: .3rem .7rem; font-size: .84rem; }
.detail-feedback { margin-top: .45rem; color: var(--mint); font-size: .89rem; }
.detail-feedback:empty { display: none; }
.copy-fallback { width: 100%; padding: .5rem; border: 1px solid var(--line); border-radius: .35rem; color: var(--text); background: var(--bg); }
