:root {
  color-scheme: dark;
  --bg: #13111c;
  --surface: #1a1725;
  --surface-raised: #211c30;
  --line: #343044;
  --text: #f7f3fe;
  --sub: #c7bfd5;
  --muted: #a9a0b9;
  --purple: #d6bcff;
  --pink: #f5aaca;
  --teal: #9de9d9;
  --orange: #ffc48f;
  --radius: 19px;
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.52; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 9; padding: 12px; background: var(--surface-raised); }
.frame { width: min(1300px, calc(100% - 96px)); margin: auto; }
.top { min-height: 87px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; width: max-content; font-size: 18px; font-weight: 840; line-height: 1.15; letter-spacing: -.025em; }
.brand img { border-radius: 13px; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .105em; margin-top: 4px; }
.desktop-nav { display: flex; align-items: center; gap: 5px; }
.desktop-nav a { text-decoration: none; padding: 9px 16px; border-radius: 10px; font-weight: 650; font-size: 15px; color: var(--sub); }
.desktop-nav a[aria-current] { color: var(--text); background: var(--surface-raised); }
.desktop-nav a:hover, .quiet:hover { background: var(--surface-raised); }
.quiet { border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 11px; font-size: 15px; padding: 9px 13px; min-height: 43px; font-weight: 690; }
.install { justify-self: end; }
.hero { min-height: 415px; isolation: isolate; display: flex; align-items: center; overflow: hidden; border: 1px solid #413553; border-radius: 24px; background: #211a34; position: relative; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: url("/hero.webp") center 51% / cover no-repeat; }
.hero::after { background: linear-gradient(90deg,#171227 2%,#1c1630ed 26%,#1e1831b5 47%,#20133429 76%), linear-gradient(0deg,#15152488,transparent 45%); }
.hero-copy { padding: 42px 54px 45px; max-width: 590px; }
.eyebrow { color: var(--purple); font-size: 13px; font-weight: 800; letter-spacing: .15em; margin: 0 0 14px; display: flex; align-items: center; gap: 9px; }
.eyebrow > span { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 12px #9de9d95e; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(3.5rem, 6.3vw, 6.3rem); line-height: .94; font-weight: 840; letter-spacing: -.085em; margin: 0 0 18px; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-copy > p:nth-last-child(2) { color: #e0d7ea; max-width: 410px; margin-bottom: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; min-height: 46px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 790; font-size: 15px; }
.primary { background: var(--purple); color: #221535; }
.primary:hover { background: #e4d1ff; }
.secondary-button { background: #28213b; border-color: #504263; color: var(--text); }
.secondary-button:hover { background: #352a4d; }
.progress-strip { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; margin: 17px 0 41px; padding: 14px 18px; }
.progress-label { font-size: 15px; font-weight: 750; white-space: nowrap; }
.progress-strip progress { flex: 1; max-width: 215px; min-width: 45px; height: 7px; appearance: none; border: none; background: #3a324c; border-radius: 10px; overflow: hidden; }
progress::-webkit-progress-bar { background: #3a324c; }
progress::-webkit-progress-value { background: var(--teal); }
progress::-moz-progress-bar { background: var(--teal); }
.progress-strip span:last-of-type, .progress-strip a { color: var(--sub); font-size: 14px; white-space: nowrap; }
.progress-strip a { margin-left: auto; font-weight: 680; text-underline-offset: 4px; }
.listing { scroll-margin-top: 22px; }
.section-heading { display: flex; gap: 14px; justify-content: space-between; align-items: end; margin-bottom: 17px; }
.section-heading h2, .section-heading h1 { font-size: clamp(1.85rem, 4vw, 2.8rem); letter-spacing: -.06em; font-weight: 850; line-height: 1.05; margin-bottom: 5px; }
.section-heading p { color: var(--muted); margin: 0; }
.count { color: var(--purple); background: #292035; border: 1px solid #3b2c4a; border-radius: 30px; padding: 5px 10px; font-weight: 730; font-size: 13px; white-space: nowrap; }
.filters { display: flex; gap: 10px; margin-bottom: 12px; }
.search, .select { border: 1px solid var(--line); border-radius: 11px; background: var(--surface); display: flex; align-items: center; min-height: 46px; }
.search { flex: 1; padding-left: 14px; gap: 12px; }
.search > span:first-child { position: relative; display: block; width: 14px; height: 14px; border: 2px solid #b2a6c4; border-radius: 50%; flex-shrink: 0; }
.search > span:first-child::after { content: ""; position: absolute; width: 7px; height: 2px; background: #b2a6c4; transform: rotate(45deg); right: -5px; bottom: -2px; border-radius: 2px; }
.search input, .select select { color: var(--text); border: 0; background: transparent; min-height: 46px; padding: 8px 12px 8px 0; width: 100%; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.select { min-width: 156px; }
.select select { border-radius: 11px; padding: 8px 10px; }
.category-filters { display: flex; gap: 7px; flex-wrap: wrap; padding: 0; margin-bottom: 16px; }
.category-filters button { display: block; border: 1px solid var(--line); color: var(--sub); border-radius: 50px; background: transparent; font-size: 14px; font-weight: 700; padding: 6px 13px; min-height: 38px; }
.category-filters button[aria-pressed="true"] { color: var(--purple); background: #322547; border-color: #5d4777; }
.category-filters button:hover { border-color: var(--purple); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.card { text-align: left; border: 1px solid var(--line); color: var(--text); background: var(--surface); border-radius: 15px; display: flex; flex-direction: column; gap: 8px; min-height: 169px; padding: 15px 16px; min-width: 0; }
.card:hover { border-color: #83709d; background: var(--surface-raised); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag, .status-tag { font-size: 13px; font-weight: 790; white-space: nowrap; }
.tag { border-radius: 6px; padding: 4px 8px; background: #352749; color: var(--purple); }
.tag.gear { background: #293b38; color: var(--teal); }
.tag.secret { background: #3b2739; color: var(--pink); }
.status-tag { color: var(--teal); }
.card strong { font-size: 19px; font-weight: 790; letter-spacing: -.027em; line-height: 1.16; overflow-wrap: anywhere; }
.card .summary { color: var(--sub); font-size: 14px; overflow-wrap: anywhere; }
.card .region { margin-top: auto; padding-top: 3px; color: var(--muted); font-size: 13px; }
.empty { color: var(--sub); padding: 24px; border: 1px dashed #554866; background: var(--surface); border-radius: 14px; grid-column: 1/-1; margin: 0; }
.secondary { min-height: 470px; padding: 34px 0; }
.updates-panel { border: 1px solid var(--line); background: var(--surface); border-radius: 15px; padding: 21px; margin-bottom: 15px; }
.updates-panel h2 { font-size: 21px; margin-bottom: 7px; }
.updates-panel p, .updates-panel li { color: var(--sub); }
.updates-panel p:last-child { margin-bottom: 0; }
.updates-panel ul { padding-left: 20px; margin: 0; }
.updates-panel li + li { margin-top: 8px; }
.foot { color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 34px 0 28px; font-size: 13px; }
.mobile-nav { display: none; }
dialog { background: var(--surface); color: var(--text); padding: 0; border: 1px solid #4b3b60; border-radius: 21px; width: min(565px, calc(100% - 30px)); max-height: 86vh; overflow: auto; }
dialog::backdrop { background: #080512bb; backdrop-filter: blur(3px); }
.dialog-inner { padding: 26px; position: relative; }
.dialog-close { position: absolute; top: 14px; right: 14px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); background: #251e33; border-radius: 9px; color: var(--text); font-size: 27px; line-height: 1; }
.dialog-inner h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: -.05em; margin: 8px 45px 10px 0; line-height: 1.12; }
.dialog-inner p { color: var(--sub); }
.dialog-top { display: flex; gap: 10px; align-items: center; padding-right: 48px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.reveal { background: #211a30; border: 1px solid #403352; border-radius: 11px; padding: 0 14px; margin-bottom: 15px; }
.reveal summary { cursor: pointer; font-weight: 800; padding: 12px 0; color: var(--purple); }
.route-location { margin: 4px 0 11px; }
.reveal ol { padding-left: 22px; }
.reveal li + li { margin-top: 8px; }
.sources { font-size: 14px; margin: 17px 0 12px; }
.sources p { margin-bottom: 5px; }
.sources ul { margin: 0; padding-left: 18px; }
.sources a { color: var(--purple); overflow-wrap: anywhere; }
#toast:not(:empty) { position: fixed; z-index: 5; right: 19px; bottom: 18px; background: #35304a; border: 1px solid #716088; box-shadow: 0 8px 35px #0007; border-radius: 10px; padding: 9px 14px; color: var(--text); }
@media (max-width: 900px) {
  .frame { width: calc(100% - 48px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { padding-inline: 38px; }
}
@media (max-width: 620px) {
  .frame { width: calc(100% - 28px); padding-bottom: calc(70px + env(safe-area-inset-bottom)); padding-top: env(safe-area-inset-top); }
  .top { min-height: 70px; grid-template-columns: 1fr auto; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .desktop-nav { display: none; }
  .quiet { font-size: 14px; padding-inline: 10px; }
  .hero { min-height: 344px; border-radius: 18px; align-items: end; }
  .hero::before { background-position: 65% center; }
  .hero::after { background: linear-gradient(90deg,#1b1429ed,#1a142bbd 54%,#1c142b25), linear-gradient(0deg,#161024aa,transparent 56%); }
  .hero-copy { padding: 28px 21px; }
  .hero h1 { font-size: clamp(3.45rem, 13.5vw, 5rem); }
  .hero-copy > p:nth-last-child(2) { margin-bottom: 18px; max-width: 302px; font-size: 15px; }
  .eyebrow { font-size: 12px; }
  .progress-strip { margin: 12px 0 29px; gap: 9px; padding: 10px 11px; }
  .progress-label, .progress-strip span:last-of-type, .progress-strip a { font-size: 13px; }
  .section-heading { align-items: start; }
  .section-heading p { font-size: 14px; }
  .select { min-width: 0; max-width: 43%; }
  .select select { font-size: 14px; }
  .cards { grid-template-columns: 1fr; gap: 9px; }
  .card { min-height: 132px; padding: 12px 14px; }
  .secondary { min-height: 380px; padding: 24px 0; }
  .foot { padding: 21px 0 16px; }
  .mobile-nav { position: fixed; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; left: 0; right: 0; bottom: 0; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: #191523fa; border-top: 1px solid var(--line); }
  .mobile-nav a { text-align: center; border-radius: 9px; color: var(--muted); height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: 13px; font-weight: 750; }
  .mobile-nav a[aria-current] { color: var(--purple); background: #2a203a; }
  .nav-icon { width: 18px; height: 18px; border: 1.5px solid currentColor; position: relative; border-radius: 50%; }
  .nav-icon::after { position: absolute; content: ""; }
  .compass::after { width: 5px; height: 7px; background: currentColor; transform: rotate(32deg); border-radius: 2px; top: 3.5px; left: 5px; }
  .check::after { left: 4px; top: 4px; width: 7px; height: 4px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
  .pulse::after { left: 4px; top: 3px; width: 4px; height: 6px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; }
  #toast:not(:empty) { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.atlas-intro { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin: 4px 0 21px; padding: 24px 27px 26px; border: 1px solid #413553; border-radius: 19px; background: linear-gradient(90deg, #21172e 0%, #21172ee8 45%, #23152d41 100%), url("/hero.webp") center 58% / cover; }
.atlas-intro .eyebrow { margin-bottom: 9px; }
.atlas-intro h1 { margin-bottom: 7px; font-size: clamp(2.3rem,5.2vw,4.55rem); letter-spacing: -.076em; font-weight: 850; line-height: .98; }
.atlas-intro-copy > p:last-child { margin-bottom: 0; color: #e1d8e9; }
.atlas-intro .progress-strip { min-width: 207px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; padding: 11px 13px; background: #191525f2; }
.atlas-intro .progress-strip progress { grid-row: 2; width: 100%; max-width: none; }
.atlas-intro .progress-strip a { grid-column: 1/-1; font-size: 13px; }
.atlas-intro .progress-strip span:last-of-type { grid-column: 2; grid-row: 1; }
.atlas-filters { margin-bottom: 10px; }
.atlas-filter-row { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.atlas-filter-row .category-filters { margin-bottom: 0; flex: 1; }
.hide-found { color: var(--sub); display: inline-flex; align-items: center; gap: 7px; min-height: 38px; font-size: 14px; font-weight: 670; white-space: nowrap; cursor: pointer; }
.hide-found input { appearance: auto; accent-color: var(--purple); width: 16px; height: 16px; margin: 0; }
.atlas-layout { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(240px, 1fr); gap: 14px; align-items: start; }
.map-panel, .atlas-results { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.map-heading, .map-footer, .result-heading { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 12px 15px; }
.map-heading h2, .result-heading h2 { font-size: 19px; line-height: 1.18; letter-spacing: -.028em; margin-bottom: 1px; }
.map-heading p { color: var(--muted); font-size: 13px; margin: 3px 0 0; }
.map-source { flex-shrink: 0; color: var(--purple); text-underline-offset: 4px; font-size: 13px; font-weight: 720; }
.atlas-map { position: relative; aspect-ratio: 10/7; border-block: 1px solid #3a535b; background: #14252f; overflow: hidden; isolation: isolate; touch-action: pan-y; user-select: none; }
.atlas-map.zoomed { cursor: grab; touch-action: none; }
.atlas-map.dragging { cursor: grabbing; }
.map-scene, .map-scene img, .map-pins { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-scene { transform: translate(var(--map-x, 0),var(--map-y, 0)) scale(var(--map-zoom, 1)); }
.map-scene img { user-select: none; pointer-events: none; }
.map-region { position: absolute; transform: translate(-50%,-50%); pointer-events: none; color: #a3bfbc; font-size: clamp(10px,1.5vw,14px); font-weight: 720; white-space: nowrap; text-shadow: 0 2px 4px #13252c, 0 0 4px #15222b; }
.map-region.active { color: #f1efed; background: #15242cde; border-radius: 5px; padding: 2px 5px; z-index: 1; }
.map-pin { position: absolute; transform: translate(-50%,-50%); width: 36px; height: 36px; z-index: 2; border: 1px solid #719785; border-radius: 50%; background: #131b26f5; color: var(--purple); display: grid; place-items: center; outline-offset: 2px; font-weight: 800; font-size: 13px; padding: 0; box-shadow: 0 2px 9px #071014b0; }
.map-pin:not(.cluster):not(.is-found)::after { content: ""; width: 10px; height: 10px; background: currentColor; border-radius: 50%; box-shadow: 0 0 9px currentColor; }
.map-pin:hover, .map-pin:focus-visible { border-color: currentColor; background: #27203c; z-index: 3; }
.map-pin.secret, .marker-dot.secret { color: var(--pink); }
.map-pin.gear, .marker-dot.gear { color: var(--teal); }
.map-pin.cluster { color: #e9d7ff; }
.map-pin.is-found { border-style: dashed; color: #d9e4dc; opacity: .86; }
.map-controls { position: absolute; z-index: 4; top: 10px; right: 10px; display: grid; gap: 4px; }
.map-controls button { min-width: 43px; min-height: 35px; background: #182128fa; border: 1px solid #57676e; border-radius: 7px; color: var(--text); padding: 3px 7px; font-weight: 800; }
.map-controls button:last-child { font-size: 12px; }
.map-controls button:disabled { opacity: .6; cursor: default; }
.map-empty { position: absolute; z-index: 4; left: 12px; right: auto; bottom: 10px; margin: 0; padding: 6px 9px; background: #17212cf2; color: var(--sub); border: 1px solid #607079; border-radius: 7px; font-size: 13px; }
.map-footer { color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.map-legend { display: flex; flex-wrap: wrap; gap: 13px; color: var(--sub); }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.marker-dot { width: 8px; height: 8px; border-radius: 50%; color: var(--purple); background: currentColor; }
.result-heading { border-bottom: 1px solid var(--line); }
.results-list { display: grid; grid-template-columns: 1fr; gap: 0; max-height: min(47vw, 660px); overflow-y: auto; }
.results-list .card { margin: 0; min-height: 106px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 12px 14px 13px; }
.results-list .card:last-child { border-bottom: 0; }
.results-list .card:focus-visible { outline-offset: -4px; }
.results-list .card .region, .cards .card-top .region { margin: 0; padding: 0; text-align: right; }
.results-list .empty { margin: 10px; padding: 13px; }
.entry-reference { display: flex; align-items: center; gap: 11px; padding: 10px 12px; text-decoration: none; border: 1px solid #493955; border-radius: 10px; background: #262036; margin: 0 0 15px; line-height: 1.28; }
.entry-reference:hover { border-color: var(--purple); background: #302343; }
.entry-reference strong { font-size: 14px; color: var(--purple); display: block; }
.entry-reference small { color: var(--sub); font-size: 13px; display: block; margin-top: 3px; }
.reference-icon { width: 20px; height: 16px; border: 1.5px solid var(--purple); border-radius: 4px; position: relative; flex-shrink: 0; display: block; }
.reference-icon::after { content: ""; position: absolute; top: 3px; left: 5px; width: 6px; height: 6px; border: 1.5px solid var(--purple); border-radius: 50%; }
.reference-icon.marker { width: 17px; height: 17px; border-radius: 50% 50% 50% 1px; transform: rotate(-45deg); }
.reference-icon.marker::after { left: 4px; width: 5px; height: 5px; }
@media (max-width: 780px) {
  .atlas-layout { grid-template-columns: 1fr; }
  .results-list { max-height: none; }
}
@media (max-width: 620px) {
  .atlas-intro { flex-direction: column; align-items: start; gap: 13px; margin: 2px 0 12px; padding: 17px 15px 14px; border-radius: 15px; }
  .atlas-intro h1 { font-size: clamp(2.4rem,10vw,3.4rem); }
  .atlas-intro-copy > p:last-child { font-size: 14px; }
  .atlas-intro .progress-strip { width: 100%; grid-template-columns: auto 1fr auto; gap: 7px; padding: 8px 10px; }
  .atlas-intro .progress-strip progress { grid-row: 1; grid-column: 2; margin: 0; align-self: center; }
  .atlas-intro .progress-strip span:last-of-type { grid-column: 3; }
  .atlas-intro .progress-strip a { display: none; }
  .atlas-filter-row { margin-bottom: 10px; gap: 2px 8px; }
  .atlas-filter-row .category-filters { gap: 4px; flex-basis: auto; }
  .atlas-filter-row .category-filters button { padding-inline: 8px; min-height: 34px; font-size: 13px; }
  .hide-found { font-size: 13px; min-height: 30px; }
  .atlas-map { min-height: 235px; }
  .map-pin { width: 32px; height: 32px; }
  .map-heading, .map-footer, .result-heading { padding: 9px 11px; }
  .map-source { font-size: 12px; }
  .map-controls { top: 7px; right: 7px; }
  .map-controls button { min-height: 31px; min-width: 36px; }
  .map-controls button:last-child { font-size: 11px; }
}

:root {
  --bg: #171023;
  --surface: #1e172d;
  --surface-raised: #2b203a;
  --line: #41324e;
  --text: #fff4f2;
  --sub: #e1cfdf;
  --muted: #b6a5bf;
  --purple: #dfbdff;
  --pink: #ffb0d3;
  --teal: #9af1d8;
  --orange: #ffc398;
  --mint: #dafa9e;
  --blue: #a7d5ff;
}
body { background: radial-gradient(ellipse at 80% 4%, #3e205844 0%, transparent 36rem), var(--bg); }
.brand small { color: #e1acd1; }
.top .desktop-nav a[aria-current] { color: #ffd0e5; background: #3b284d; }
.atlas-intro { border-color: #754663; min-height: 214px; clip-path: none; align-items: end; background: linear-gradient(90deg,#24162de8 0%,#2a1938db 38%,#3f284768 68%,#341e4580 100%), url("/hero.webp") center 53% / cover; position: relative; isolation: isolate; overflow: hidden; }
.atlas-intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg,#ffb786,#f08fbf 48%,#8debdb 82%); opacity: .84; z-index: -1; }
.atlas-intro .eyebrow { color: #ffc7ba; letter-spacing: .16em; }
.atlas-intro h1 { font-size: clamp(2.65rem,5.6vw,5rem); text-shadow: 0 3px 24px #200d38ac; }
.atlas-intro h1 em { color: #ffc093; font-style: normal; }
.atlas-intro .atlas-deck { margin: 9px 0 0; color: #f2e0f0; max-width: 440px; }
.atlas-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.atlas-actions .button { min-height: 42px; font-size: 14px; padding: 8px 13px; }
.atlas-actions .primary { background: #ffbf9d; color: #301736; }
.atlas-actions .primary:hover { background: #ffd2ac; }
.watch-action { width: max-content; gap: 7px; border-color: #ae7599; background: #2b1737d9; color: #ffe3ec; }
.watch-action:hover { background: #48304c; }
.watch-action > span { font-size: 12px; color: var(--pink); }
.atlas-intro .progress-strip { min-width: 228px; background: #21162cec; border-color: #9b627b95; }
.category-filters button[aria-pressed="true"] { color: #ffe4cd; background: #4b2e45; border-color: #ac6a88; }
.tag.easter-egg { color: #ffd1a4; background: #593645; }
.tag.collectible { color: var(--mint); background: #394336; }
.tag.side-quest { color: var(--blue); background: #2d3754; }
.map-pin.easter-egg, .marker-dot.easter-egg { color: var(--orange); }
.map-pin.collectible, .marker-dot.collectible { color: var(--mint); }
.map-pin.side-quest, .marker-dot.side-quest { color: var(--blue); }
.map-panel, .atlas-results { border-color: #4c3758; }
.map-heading, .result-heading { background: linear-gradient(110deg,#2c1c3a,#23172e); }
.card-video { display: inline-flex; color: #ffc5d2; font-size: 13px; font-weight: 700; gap: 6px; align-items: center; }
.card-video span { font-size: 9px; }
.video-list { gap: 13px; }
.video-card { min-height: 135px; display: flex; align-items: start; gap: 13px; padding: 17px; background: linear-gradient(140deg,#2d1e3b,#20162e 58%); border: 1px solid #53395d; border-radius: 15px; text-decoration: none; }
.video-card:hover { border-color: #b278a4; background: #322141; }
.video-copy { display: block; min-width: 0; overflow-wrap: anywhere; }
.video-copy strong { display: block; color: var(--text); line-height: 1.22; margin: 3px 0 4px; font-size: 17px; }
.video-copy small { display: block; font-size: 13px; color: var(--sub); }
.video-play { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 35px; font-size: 13px; color: #431f3b; background: linear-gradient(140deg,#ffd0ad,#f79abd); border-radius: 8px; padding-left: 2px; }
.spoiler-label { display: inline-block; color: #ffd3a9; font-size: 13px; margin-top: 6px; }
.detail-videos { margin: 0 0 15px; }
.detail-videos h3 { margin: 0 0 7px; color: var(--sub); font-size: 14px; }
.entry-reference.video-reference { margin-bottom: 6px; }
.video-reference .video-play { flex-basis: 30px; width: 30px; height: 28px; font-size: 10px; }
.video-reference .video-copy strong { font-size: 14px; margin: 0 0 3px; }
.nav-icon.play::after { width: 0; height: 0; border-left: 6px solid currentColor; border-bottom: 4px solid transparent; border-top: 4px solid transparent; left: 6px; top: 4px; }
@media (max-width: 620px) {
  .atlas-intro { min-height: 0; background: linear-gradient(90deg,#24162de8 0%,#23172e9f 85%), url("/hero.webp") 68% 56% / cover; gap: 13px; }
  .atlas-intro h1 { font-size: clamp(2.35rem,10vw,3.4rem); }
  .atlas-intro .atlas-deck { font-size: 14px; }
  .atlas-actions { margin-top: 12px; }
  .atlas-actions .button { min-height: 40px; }
  .mobile-nav { grid-template-columns: repeat(4, 1fr); padding-inline: 7px; }
  .mobile-nav a[aria-current] { background: #3a2648; color: #ffd1e6; }
  .map-region:not(.active) { display: none; }
  .video-list { grid-template-columns: 1fr; }
  .video-card { min-height: 92px; }
}

.tag.car { color: #fff0ac; background: #554138; }
.map-pin.car, .marker-dot.car { color: #ffe196; }
.vehicle-type { color: #ffe6af; align-self: start; font-size: 12px; font-weight: 720; border: 1px solid #745c4d; background: #3a2931; padding: 2px 7px; border-radius: 5px; }
.dialog-top .vehicle-type { align-self: auto; }
.garage-intro { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 13px 15px; margin-bottom: 12px; background: linear-gradient(90deg,#392538,#25192e); border: 1px solid #684d59; border-radius: 13px; }
.garage-intro h2 { margin: 0 0 3px; font-size: 19px; letter-spacing: -.026em; }
.garage-intro p { color: var(--sub); font-size: 14px; margin: 0; }
.nav-icon.garage::after { width: 8px; height: 7px; left: 3.5px; top: 4px; border: 1px solid currentColor; border-top-left-radius: 3px; border-top-right-radius: 3px; }
@media (max-width: 620px) {
  .mobile-nav { grid-template-columns: repeat(5, 1fr); }
  .garage-intro { align-items: flex-start; flex-direction: column; gap: 6px; }
}

/* Keep the entire illustrated wordmark visible on short and narrow screens. */
.atlas-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 1.5rem;
  padding: 0;
  background: linear-gradient(115deg, #28182e, #171322);
}
.vice-banner { grid-column: 1 / -1; display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; }
.atlas-intro-copy { padding: 1.1rem 0 1.35rem 1.5rem; }
.atlas-intro h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.atlas-intro .progress-strip { margin: 0 1.5rem 1.35rem 0; }
.car-image { display: block; width: 100%; overflow: hidden; border-radius: .55rem; background: #191323; }
.car-image img, .car-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-note, .car-portrait figcaption { font-size: .81rem; color: var(--sub); }
.car-portrait { margin: .5rem 0 1rem; }
.car-portrait img { border-radius: .7rem; }
.car-portrait figcaption { margin-top: .4rem; }
.show-cars .atlas-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.show-cars .atlas-results { order: -1; }
.show-cars .results-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; padding: .75rem; max-height: none; }
.show-cars .results-list .card { border: 1px solid var(--line); border-radius: .8rem; padding: .75rem; }
.show-cars .results-list .empty { grid-column: 1 / -1; }
@media (max-width: 850px) {
  .show-cars .atlas-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .atlas-intro { grid-template-columns: 1fr; }
  .atlas-intro-copy { padding: .9rem .9rem .7rem; }
  .atlas-intro .progress-strip { margin: 0 .9rem 1rem; width: auto; min-width: 0; }
  .show-cars .results-list { gap: .45rem; padding: .45rem; }
  .show-cars .results-list .card { padding: .5rem; gap: .4rem; }
  .show-cars .vehicle-card .card-top { flex-wrap: wrap; }
  .show-cars .vehicle-card strong { font-size: 1.05rem; }
}
@media (max-width: 360px) {
  .show-cars .results-list { grid-template-columns: 1fr; }
}

.atlas-intro .progress-strip {grid-column:1 / -1;display:flex;align-items:center;gap:.8rem;margin:0;border:0;border-radius:0;padding:.85rem 1.1rem;width:100%}
.atlas-intro .progress-strip progress {flex:1;width:auto}
.atlas-intro .progress-strip a {display:inline}
.location-views,.directory-tools {display:flex;align-items:center;gap:.5rem;padding:.5rem .85rem}
.directory-tools {justify-content:space-between;border:1px solid var(--line);border-radius:.7rem;margin-bottom:.75rem}
.directory-tools .select {max-width:70%}
.directory-tools select {max-width:100%}
.location-views button,.load-locations {border:1px solid var(--line);background:transparent;color:var(--sub);border-radius:.5rem;padding:.55rem .8rem;font:inherit;font-size:.9rem;cursor:pointer}
.location-views button[aria-pressed=true] {background:#493046;color:#ffe1cd;border-color:#9a688a}
.daily-group {border-top:1px solid var(--line)}
.daily-group>summary,.more-updates>summary {cursor:pointer;padding:.85rem;color:var(--pink);font-weight:700}
.daily-group>summary small {float:right;font-weight:500;color:var(--sub)}
.daily-entry {width:100%;border:0;border-top:1px solid #40304b;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:.6rem;text-align:left;padding:.65rem 1rem;cursor:pointer}
.daily-entry:hover {background:#392740}
.daily-entry strong,.daily-entry span small {display:block}
.daily-entry small,.daily-group p {color:var(--muted);font-size:.85rem}
.daily-group p {margin:.4rem 1rem 1rem}
.more-updates>summary {font-size:.9rem;color:var(--teal)}
.show-cars .results-list.daily-list {display:block;padding:0}
.load-locations {grid-column:1/-1;margin:.6rem}

.guide-article {max-width:52rem;margin:2rem auto;padding:0 1rem 4rem;line-height:1.65}.guide-article li {margin-block:.5rem}.guide-directory {padding:1.25rem;line-height:2}.guide-article a,.guide-directory a {text-decoration:underline}
