/* Leonida Waypoint — shared stylesheet.
   Design language carried over from the approved preview: dark Vice palette,
   Barlow Condensed display headings, neon pink / teal / gold accents.
   Every var(--x) used below is defined in :root for both color schemes. */
:root {
  --bg: #fdf3ec;
  --bg-2: #ffffff;
  --ink: #22131f;
  --ink-soft: #5c4356;
  --line: #eccdbd;
  --pink: #e8316f;
  --pink-deep: #c21852;
  --orange: #f26d21;
  --teal: #0e7d86;
  --teal-soft: #e2f3f4;
  --night: #160a24;
  --night-2: #221038;
  --gold: #ffb43a;
  --chip: #fde8dd;
  --shadow: 0 10px 30px rgba(34, 19, 31, 0.12);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12081d;
    --bg-2: #1d0f30;
    --ink: #fdf0e9;
    --ink-soft: #cdb4c6;
    --line: #3a2350;
    --pink: #ff5e8a;
    --pink-deep: #ff5e8a;
    --orange: #ff8a3d;
    --teal: #3ec6cf;
    --teal-soft: #14333d;
    --chip: #2c1746;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
figure { margin: 22px 0; }
figure img { border-radius: 10px; width: 100%; }
figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
/* Long single words (Spanish headings like "Actualizaciones") must
   never push the page sideways on narrow phones: allow an emergency
   mid-word break only when a word alone exceeds the line. With the
   condensed display font loaded this never triggers. */
h1, h2, h3 { overflow-wrap: break-word; }
a { color: var(--pink-deep); }
/* Content width widened 1120 -> 1360 (Nick, Nov 17, 2026: tables
   looked squeezed). The .topbar-in, .facts-in and .section-nav-in
   measures below move with it so header, strips and content align. */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--pink); color: #fff; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 120;
  background: var(--night);
  color: #fdf0e9;
  border-bottom: 3px solid var(--pink);
}
.topbar-in {
  display: flex; align-items: center; gap: 12px;
  max-width: 1360px; margin: 0 auto; padding: 10px 20px;
}
.brand {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 29px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: #fff; text-decoration: none;
  line-height: 1; display: flex; align-items: center; gap: 10px;
}
.brand .brand-mark { width: 29px; height: 29px; flex: none; }
.brand span { color: var(--gold); }
/* One line only (Nick, Nov 18, 2026): the nav never wraps; the
   compaction tiers at the end of this file buy the room, and below
   the compact breakpoint the hamburger pattern takes over instead. */
nav.main { display: flex; gap: 3px; margin-left: auto; flex-wrap: nowrap; }
nav.main a {
  color: #f6d9e8; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 6px 8px; border-radius: 4px; white-space: nowrap;
}
nav.main a:hover { background: rgba(255,255,255,0.12); color: #fff; }
nav.main a[aria-current="page"] { background: var(--pink); color: #fff; }
.menu-btn {
  display: none; margin-left: auto; font: inherit; font-weight: 700; font-size: 15px;
  background: var(--pink); color: #fff; border: none; border-radius: 5px;
  padding: 9px 16px; cursor: pointer; min-height: 44px;
}
@media (max-width: 1080px) {
  nav.main { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) {
  /* Header must fit a phone even before the webfont arrives (fallback
     fonts are wider than Barlow Condensed). */
  /* Gap and padding trimmed Nov 17, 2026: the top search button
     joined this row, and the four controls (brand, search, toggle,
     menu) must still fit a 360px phone before the webfont arrives. */
  .topbar-in { gap: 3px; padding: 10px 9px; }
  /* flex: none on the brand is load-bearing: as the only shrinkable
     flex item it used to give up its width while its nowrap wordmark
     overflowed the shrunken box and slid underneath the toggle. */
  .brand { font-size: 15px; letter-spacing: 0.02em; gap: 3px; flex: none; white-space: nowrap; }
  .brand .brand-mark { width: 17px; height: 17px; }
  .menu-btn { padding: 9px 6px; font-size: 14px; flex: none; }
  /* The EN | ES toggle joined the phone header with the Spanish
     edition. At phone widths it compacts hard (Nick, Nov 16, 2026:
     the pill crowded the brand wordmark at 390px): narrower segment
     padding, a slimmer separator and a 36px-tall tap target, so
     brand + toggle + menu fit a 360px-wide phone with room spare.
     The .topbar prefix is also load-bearing: the base .lang-toggle
     rules live later in this file, and at equal specificity they
     silently overrode a first compaction attempt, leaving the pill
     at full desktop size (segment padding 0 28px, min-height 40px). */
  .topbar .lang-toggle { padding: 2px; gap: 2px; }
  .topbar .lang-toggle a { padding: 0 7px; font-size: 12px; min-height: 36px; }
  .topbar .lang-toggle .lt-sep { font-size: 12px; padding: 0 1px; }
}
/* No sub-370px brand shortening: with the toggle genuinely compacted
   above, the full two-word wordmark fits at 360px, and the wordmark
   is never hidden. (A max-width:370px rule that hid the "Waypoint"
   span was removed here on Nov 16, 2026.) */
/* Mobile menu: fixed takeover panel, background frozen (JS locks body),
   menu scrolls inside its own container. */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--night);
  color: #fdf0e9; overflow-y: auto; overscroll-behavior: contain;
  padding: 18px 22px 40px; display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu .mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-menu .mm-close {
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35);
  border-radius: 5px; padding: 9px 16px; min-height: 44px;
}
.mobile-menu a.mm-link {
  display: block; color: #fff; text-decoration: none; padding: 15px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-family: "Barlow Condensed", sans-serif; font-size: 26px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.mobile-menu a.mm-link small {
  display: block; font-family: "Barlow", sans-serif; font-size: 13.5px; font-weight: 400;
  text-transform: none; letter-spacing: 0; color: #d9bcd2;
}
.mobile-menu a.mm-link[aria-current="page"] { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--night); }
.hero img.hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
@media (max-width: 560px) {
  /* Beach key art: keep Jason and Lucia in frame on narrow screens. */
  .hero img.hero-art { object-position: 78% 22%; }
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,5,28,0.92) 30%, rgba(16,5,28,0.55) 62%, rgba(16,5,28,0.15) 100%);
}
.hero-in { position: relative; padding: 64px 0 56px; max-width: 680px; }
.hero .kicker, .kicker {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(255,180,58,0.6); padding: 4px 10px; border-radius: 3px;
  background: rgba(16,5,28,0.55);
}
.hero h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(46px, 8vw, 84px); line-height: 0.95; font-weight: 700;
  text-transform: uppercase; margin: 18px 0 14px; letter-spacing: 0.01em;
}
.hero h1 em { font-style: normal; color: var(--pink); }
.hero p.lede { font-size: 19px; color: #f3e2ee; max-width: 34em; margin: 0 0 26px; }
.countdown { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.cd-cell {
  background: rgba(16,5,28,0.72); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px; min-width: 76px; padding: 10px 8px 8px; text-align: center;
}
.cd-cell b {
  display: block; font-family: "Barlow Condensed", sans-serif;
  font-size: 36px; line-height: 1; font-weight: 700; color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd-cell span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.cd-note { width: 100%; font-size: 14px; color: #e9cfe0; margin: 2px 0 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 12px 22px; border-radius: 5px; border: 2px solid transparent;
}
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-deep); }
.btn-ghost { border-color: rgba(255,255,255,0.7); color: #fff; background: rgba(16,5,28,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-outline { border-color: var(--pink); color: var(--pink-deep); background: transparent; }

/* ---------- fact strip ---------- */
.facts { background: var(--night-2); color: #fdf0e9; }
.facts-in {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 1360px; margin: 0 auto; padding: 0 20px;
}
.fact { padding: 18px 16px 16px; border-left: 1px solid rgba(255,255,255,0.14); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact b {
  display: block; font-family: "Barlow Condensed", sans-serif; font-size: 26px;
  font-weight: 700; line-height: 1.05; color: #fff;
}
.fact span { font-size: 13.5px; color: #d9bcd2; }

/* ---------- sections & cards ---------- */
section.block { padding: 56px 0 8px; }
.sec-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
h2 {
  font-family: "Barlow Condensed", sans-serif; font-size: clamp(32px, 5vw, 44px);
  font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0;
}
h2 .accent { color: var(--pink); }
.sec-sub { color: var(--ink-soft); max-width: 46em; margin: 6px 0 24px; font-size: 16.5px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.filter {
  font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer;
  background: var(--bg-2); color: var(--ink); border: 1.5px solid var(--line);
  padding: 7px 16px; border-radius: 999px; min-height: 40px;
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card[hidden] { display: none; }
.card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb.text-thumb {
  display: flex; align-items: flex-end; padding: 16px;
  font-family: "Barlow Condensed", sans-serif; text-transform: uppercase;
  font-size: 30px; font-weight: 700; line-height: 0.95; color: #fff;
}
.thumb-coral { background: linear-gradient(135deg, #e8316f, #f26d21); }
.thumb-teal { background: linear-gradient(135deg, #0e7d86, #123a6d); }
.thumb-plum { background: linear-gradient(135deg, #5b1e5e, #e8316f); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
}
.tag-live { background: var(--teal-soft); color: var(--teal); }
.tag-soon { background: var(--chip); color: var(--pink-deep); }
.tag-verified { background: var(--teal-soft); color: var(--teal); }
.tag-wip { background: var(--chip); color: var(--pink-deep); }
.wip-banner { background: var(--chip); border: 1px solid var(--pink); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.wip-banner h2 { margin: 0 0 6px; font-size: 18px; color: var(--pink-deep); }
.wip-banner p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.status-board { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 0 0 22px; box-shadow: var(--shadow); }
.status-board-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.status-board-head h2 { margin: 0; font-size: 22px; }
.status-checked { font-size: 13px; font-weight: 700; color: var(--teal); }
.status-row { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.status-name { font-weight: 700; min-width: 180px; }
.status-pill { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.status-pill.ok { background: var(--teal-soft); color: var(--teal); }
.status-pill.warn { background: var(--chip); color: var(--pink-deep); }
.status-pill.down { background: var(--pink); color: #fff; }
.status-note { flex: 1 1 260px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.status-foot { margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); }
.home-status { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 16px; font-size: 13.5px; color: #f3e2ee; }
.hs-label { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11.5px; opacity: 0.85; }
.hs-item { display: inline-flex; align-items: center; }
.hs-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; background: #8a7f92; }
.hs-dot.ok { background: #2fbf71; }
.hs-dot.warn { background: var(--gold); }
.hs-dot.down { background: #ff5470; }
.hs-link { color: var(--gold); font-weight: 600; }
.read-time { font-size: 13px; color: var(--ink-soft); }
.card h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--pink-deep); text-decoration: underline; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card .card-link { margin-top: auto; font-weight: 700; font-size: 14.5px; }

/* ---------- inner page head, breadcrumbs, meta ---------- */
.page-head { padding: 34px 0 6px; }
.crumbs { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--pink-deep); text-decoration: underline; }
.crumbs .sep { margin: 0 7px; color: var(--pink); }
.page-head h1 {
  font-family: "Barlow Condensed", sans-serif; font-size: clamp(38px, 6vw, 58px);
  line-height: 0.98; font-weight: 700; text-transform: uppercase; margin: 10px 0 12px;
}
.page-head h1 .accent { color: var(--pink); }
.page-head .lede { font-size: 18.5px; color: var(--ink-soft); max-width: 44em; margin: 0 0 14px; }
.meta-line {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  font-size: 14px; color: var(--ink-soft); margin-bottom: 8px;
}
.meta-line .verified { font-weight: 700; color: var(--teal); }
.meta-line .dotsep::before { content: "·"; margin-right: 10px; color: var(--pink); font-weight: 700; }

/* ---------- article layout: prose + sticky right rail ---------- */
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 38px;
  align-items: start; padding-bottom: 8px;
}
.rail { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 18px; }
.rail-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 18px;
}
.rail-card h3 {
  font-family: "Barlow Condensed", sans-serif; font-size: 20px; text-transform: uppercase;
  margin: 0 0 10px; font-weight: 700;
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li + li { margin-top: 2px; }
.toc-list a {
  display: block; padding: 6px 8px; border-radius: 4px; color: var(--ink);
  text-decoration: none; font-size: 15px; font-weight: 500;
}
.toc-list a:hover { background: var(--teal-soft); color: var(--teal); }
/* Scrollspy (main.js): the "On this page" link for the section the
   reader is currently in. Gold marker bar + chip tint + bold, kept
   distinct from the teal hover state. */
.toc-list a.spy-active {
  background: var(--chip); color: var(--ink); font-weight: 700;
  box-shadow: inset 3px 0 0 var(--gold);
}
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .rail { position: static; order: -1; }
}
/* Prose measure 44em -> 62em with the Nov 17, 2026 widening: inside
   .article-layout the grid column (~994px at the 1360 wrap) binds
   first; on rail-less prose pages the 62em cap keeps text sane while
   tables, panels and figures get the full gained width. */
.prose { font-size: 17px; max-width: 62em; }
.prose h2 {
  font-size: clamp(28px, 4vw, 36px); margin: 40px 0 12px; scroll-margin-top: 92px;
}
.prose h2:first-child { margin-top: 8px; }
.prose h3 { font-size: 21px; margin: 26px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 7px; }
.prose a { font-weight: 600; }
.prose figure { margin: 22px 0; }
.prose figure img { border-radius: 10px; width: 100%; }
.prose figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }

/* quick-facts box (PowerPyx roadmap style) */
.facts-box {
  background: var(--bg-2); border: 1px solid var(--line); border-left: 5px solid var(--pink);
  border-radius: 10px; box-shadow: var(--shadow); padding: 20px 22px; margin: 20px 0 26px;
}
.facts-box h2, .facts-box h3 {
  font-family: "Barlow Condensed", sans-serif; font-size: 22px; text-transform: uppercase;
  margin: 0 0 12px;
}
.facts-box dl { display: grid; grid-template-columns: 190px 1fr; gap: 7px 18px; margin: 0; }
.facts-box dt { font-weight: 700; color: var(--ink-soft); font-size: 15px; }
.facts-box dd { margin: 0; font-size: 15.5px; }
@media (max-width: 560px) { .facts-box dl { grid-template-columns: 1fr; gap: 2px 0; } .facts-box dd { margin-bottom: 8px; } }

/* numbered steps */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 14px; margin: 18px 0 24px; }
.step {
  counter-increment: step; display: grid; grid-template-columns: 46px 1fr; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step); display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--pink); color: #fff;
  font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 700;
}
.step h3 { margin: 2px 0 5px; font-size: 18.5px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.step p + p { margin-top: 8px; }

/* callouts */
.callout {
  border: 1.5px solid var(--teal); background: var(--teal-soft); border-radius: 8px;
  padding: 14px 17px; margin: 18px 0; font-size: 15.5px;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }
.callout .callout-label {
  display: block; font-weight: 700; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 4px;
}
.callout-warn { border-color: var(--gold); background: var(--chip); }
.callout-warn .callout-label { color: var(--pink-deep); }

/* sources + related */
.sources { font-size: 14.5px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 34px; }
.sources h3 { font-size: 16px; color: var(--ink); margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.sources ul { margin: 0; padding-left: 20px; }
.sources li { margin-bottom: 5px; }

/* ---------- tables (editions, collectibles summary) ---------- */
.table-scroll { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; }
thead th {
  font-family: "Barlow Condensed", sans-serif; font-size: 21px; text-transform: uppercase;
  letter-spacing: 0.03em; background: var(--night); color: #fff; font-weight: 600;
}
thead th .price { color: var(--gold); }
tbody th { font-weight: 600; color: var(--ink-soft); width: 30%; }
tbody tr + tr { border-top: 1px solid var(--line); }
.table-note { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
td .cell-note { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }

/* ---------- checklist / tracker ---------- */
.check-panel {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 22px; display: grid;
  grid-template-columns: 1fr 260px; gap: 28px;
}
.task {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left;
  font: inherit; background: none; border: none; border-bottom: 1px solid var(--line);
  padding: 13px 4px; cursor: pointer; color: var(--ink); min-height: 48px;
}
.task:last-child { border-bottom: none; }
.box {
  flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 5px;
  border: 2px solid var(--pink); display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 700; line-height: 1;
}
.task[aria-pressed="true"] .box { background: var(--pink); }
.task[aria-pressed="true"] .task-text { color: var(--ink-soft); text-decoration: line-through; }
.task-text b { display: block; font-size: 16.5px; }
.task-text span { font-size: 14px; color: var(--ink-soft); }
.task-static { cursor: default; }
.task-static .box { border-color: var(--line); }
.task-static .task-text b { color: var(--ink-soft); }
.progress-side { align-self: start; }
.progress-num {
  font-family: "Barlow Condensed", sans-serif; font-size: 54px; font-weight: 700;
  line-height: 1; color: var(--pink);
}
.progress-bar { height: 12px; border-radius: 6px; background: var(--chip); overflow: hidden; margin: 12px 0 10px; }
.progress-fill { height: 100%; width: 0%; background: var(--pink); border-radius: 6px; transition: width 0.35s ease; }
.progress-side p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.tracker-sec { margin-bottom: 26px; }
.tracker-sec-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.tracker-sec-head h3 {
  font-family: "Barlow Condensed", sans-serif; font-size: 27px; text-transform: uppercase; margin: 0;
}
.tracker-sec-count { font-weight: 700; color: var(--teal); font-size: 15px; font-variant-numeric: tabular-nums; }
.tracker-panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 8px 22px; }
.await-note { font-size: 14.5px; color: var(--ink-soft); margin: 4px 0 14px; }

/* ---------- in-game 100% checklist panel (tracker) ---------- */
.comp-cat {
  font-family: "Barlow Condensed", sans-serif; font-size: 21px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.02em; margin: 20px 0 2px;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.comp-cat:first-child { margin-top: 0; }
.comp-weight {
  font-family: "Barlow", sans-serif; font-size: 13px; font-weight: 700;
  color: var(--teal); text-transform: none; letter-spacing: 0;
}
.comp-cats { list-style: none; margin: 14px 0 10px; padding: 0; }
.comp-cats li {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 14.5px; color: var(--ink-soft); padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.comp-cats li:last-child { border-bottom: none; }
.comp-cats b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- tracker platform switch + trophy panels ---------- */
.trophy-intro { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 16px; max-width: 62em; }
.platform-switch {
  display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px;
  background: var(--chip); border: 1px solid var(--line); border-radius: 999px;
  max-width: 100%;
}
.platform-btn {
  font: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px; padding: 9px 22px;
  min-height: 44px; background: transparent; color: var(--ink-soft);
  white-space: nowrap;
}
.platform-btn:hover { color: var(--ink); }
.platform-btn[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.platform-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.trophy-panel h4 {
  font-family: "Barlow Condensed", sans-serif; font-size: 22px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 8px; color: var(--ink);
}
.trophy-panel[hidden] { display: none; }

/* ---------- tracker trophy "How to get it" dropdowns ---------- */
/* Each trophy row is a .task-row wrapping the unchanged .task tick
   button, a .task-how toggle and a .task-detail panel (method from
   the Trophy Guide, an occasional picture, and a .task-video-slot
   the guide hunt fills with a verified video embed later). Row
   borders replace the per-task border inside trophy panels only, so
   every other checklist on the site renders exactly as before. */
[data-trophy-key] .task-row { border-bottom: 1px solid var(--line); }
[data-trophy-key] .task-row:last-child { border-bottom: none; }
[data-trophy-key] .task { border-bottom: none; }
.task-how {
  display: block; width: 100%; text-align: left; font: inherit; font-size: 14px; font-weight: 700;
  color: var(--teal); background: none; border: none; cursor: pointer;
  padding: 2px 4px 12px 38px; margin-top: -6px;
}
.task-how::after { content: "▾"; margin-left: 6px; font-size: 12px; }
.task-how[aria-expanded="true"]::after { content: "▴"; }
.task-how:hover { text-decoration: underline; }
.task-how:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.task-detail { padding: 0 4px 14px 38px; }
.task-detail[hidden] { display: none; }
.task-method { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.task-detail .req-flag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--pink-deep); border: 1px solid var(--pink-deep); border-radius: 999px;
  padding: 1px 8px; margin-right: 6px; vertical-align: 1px;
}
.task-detail figure { margin: 10px 0 2px; }
.task-detail figure img { display: block; width: 100%; height: auto; border-radius: 8px; }
.task-detail figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.45; }
.task-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; display: block; }
@media (prefers-reduced-motion: reduce) { .progress-fill { transition: none; } html { scroll-behavior: auto; } }

/* ---------- roadmap phases ---------- */
.roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.phase {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--bg-2);
  box-shadow: var(--shadow);
}
.phase h3 {
  font-family: "Barlow Condensed", sans-serif; font-size: 26px; text-transform: uppercase;
  margin: 0 0 4px; font-weight: 700;
}
.phase .when { font-weight: 700; color: var(--pink-deep); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.phase ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: 15.5px; }
.phase li { margin-bottom: 7px; }
.phase li b { color: var(--ink); }

/* ---------- faq ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; font: inherit; font-weight: 700; font-size: 17px; text-align: left;
  background: none; border: none; padding: 16px 20px; cursor: pointer; color: var(--ink);
  display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 52px;
}
.faq-q .chev { color: var(--pink); font-size: 20px; transition: transform 0.2s ease; flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; color: var(--ink-soft); font-size: 15.5px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 10px; }

/* ---------- banner / footer ---------- */
.wide-banner { margin-top: 56px; border-radius: 12px; overflow: hidden; position: relative; }
.wide-banner img { width: 100%; height: 300px; object-fit: cover; }
.wide-banner .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 24px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(16,5,28,0.85));
  font-family: "Barlow Condensed", sans-serif; font-size: clamp(24px, 4vw, 36px);
  text-transform: uppercase; font-weight: 700; line-height: 1.05;
}
footer { margin-top: 40px; background: var(--night); color: #d9bcd2; padding: 20px 0 22px; }
footer .brand { font-size: 22px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; }
footer h3 {
  font-family: "Barlow Condensed", sans-serif; font-size: 18px; text-transform: uppercase;
  color: #fff; margin: 0 0 7px; letter-spacing: 0.05em;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 3px; line-height: 1.4; }
footer a { color: #d9bcd2; text-decoration: none; font-size: 14.5px; }
footer a:hover { color: #fff; text-decoration: underline; }
footer p { font-size: 14px; max-width: 62em; }
.foot-legal { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 14px; padding-top: 11px; }
.foot-legal p { font-size: 13px; color: #a98bab; margin: 0 0 5px; line-height: 1.45; }
.foot-legal p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
  .check-panel { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: 1fr; }
  .fact { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
  .fact:first-child { border-top: none; }
  .hero-in { padding: 44px 0 40px; }
  /* Footer link columns stay two-across on small phones too
     (Nov 17, 2026 footer slimming): stacking all four columns
     made the phone footer enormous. minmax(0, ...) because long
     Spanish link words otherwise inflate the tracks past the
     screen (measured: a Guías column reaching 396px at 390). */
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* The footer wordmark at its desktop 22px is wider than a
     half-width phone cell and overprinted the next column heading
     (seen in the Nov 17, 2026 slimming screenshots); at the phone
     topbar size it fits its cell. */
  footer .brand { font-size: 15px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tbody th { width: auto; padding-bottom: 0; }
  tbody td { padding-top: 4px; }
  tbody td::before { content: attr(data-ed); display: block; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink-deep); }
  .step { grid-template-columns: 38px 1fr; padding: 14px; }
  .step::before { width: 38px; height: 38px; font-size: 20px; }
  .step-check { grid-template-columns: 30px 38px 1fr; }
}

/* ---------- quick version (OSRS quick-guide pattern) ---------- */
.quick-jump {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 2px;
  font-weight: 700; font-size: 15.5px; text-decoration: none;
  color: var(--teal); border: 1.5px solid var(--teal); border-radius: 999px;
  padding: 8px 16px; background: var(--teal-soft); min-height: 44px;
}
.quick-jump:hover { text-decoration: underline; }
.quick-block {
  border: 1.5px solid var(--teal); background: var(--teal-soft);
  border-radius: 10px; padding: 20px 22px; margin: 18px 0 26px;
  scroll-margin-top: 92px;
}
.quick-block h2 {
  font-size: clamp(24px, 3.4vw, 30px); margin: 0 0 10px; color: var(--teal);
}
.quick-block p { margin: 0 0 10px; font-size: 16px; }
.quick-block ol, .quick-block ul { margin: 0; padding-left: 22px; font-size: 16px; }
.quick-block li { margin-bottom: 6px; }
.quick-block .quick-note { font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; }

/* Quick version dropdown (Nick, Nov 17, 2026): main.js wraps each
   .quick-block's content in .quick-body and prepends this toggle.
   Collapsed shows the label bar only; the block's teal panel styling
   and sunset band carry over. Without JS no .qb-ready class is ever
   added and the block renders open, exactly as authored. */
.quick-block.qb-ready { padding: 0; }
.quick-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; min-height: 58px; padding: 14px 22px;
  background: none; border: 0; cursor: pointer; text-align: left;
  -webkit-appearance: none; appearance: none;
  font-family: "Barlow Condensed", sans-serif; font-size: clamp(23px, 3vw, 28px);
  font-weight: 700; letter-spacing: 0.02em; color: var(--teal);
}
.quick-toggle:hover { text-decoration: underline; }
.quick-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.quick-chev {
  flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 3px solid var(--teal); border-bottom: 3px solid var(--teal);
  transform: rotate(45deg); transition: transform 0.25s ease;
}
.qb-open .quick-chev { transform: rotate(225deg); }
.quick-body { padding: 2px 22px 20px; }
.quick-body[hidden] { display: none; }
.quick-body.qb-anim { animation: qb-in 0.28s ease; }
@keyframes qb-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .quick-body.qb-anim { animation: none; }
  .quick-chev { transition: none; }
}
@media print {
  .quick-body[hidden] { display: block; }
  .quick-toggle { display: none; }
}

/* ---------- tickable steps (OSRS interactive checklist pattern) ---------- */
.step-check { grid-template-columns: 30px 46px 1fr; align-items: start; }
.step-box {
  width: 26px; height: 26px; margin-top: 10px; border-radius: 6px; cursor: pointer;
  border: 2px solid var(--teal); background: var(--bg-2); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 1; display: grid; place-items: center;
  padding: 0;
}
.step-check.done .step-box { background: var(--teal); }
.step-check.done h3 { color: var(--ink-soft); text-decoration: line-through; }
.steps-progress { font-size: 14.5px; font-weight: 700; color: var(--teal); margin: 0 0 10px; }

/* ---------- tracker sync (Nov 16, 2026) ---------- */
.sync-panel h3 { margin: 0 0 8px; }
.sync-panel p { color: var(--ink-soft); font-size: 15px; }
.sync-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.sync-row .btn { min-height: 46px; }
.sync-input, .sync-code {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); padding: 11px 13px; font: inherit; font-size: 1.05rem;
  letter-spacing: 2px; text-transform: uppercase; flex: 1 1 180px; min-width: 0;
}
.sync-code { font-weight: 700; font-size: 1.3rem; text-align: center; }
.sync-input:focus, .sync-code:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.sync-label { font-weight: 600; display: block; margin-top: 16px; }
.sync-msg { font-size: 14.5px; color: var(--ink-soft); min-height: 1.25em; margin: 8px 0 0; }
.sync-msg.error { color: var(--pink-deep); font-weight: 600; }
.sync-steps { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }
.sync-steps li + li { margin-top: 8px; }

/* ---------- reset + map cross-links ---------- */
.reset-btn {
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  background: none; border: 1.5px solid var(--line); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 16px; min-height: 40px;
}
.reset-btn:hover { border-color: var(--pink); color: var(--pink-deep); }
.map-link { font-weight: 700; }
/* .map-link used to be nowrap, which was safe for short English
   labels ("View on map") but made long Spanish labels ("Marcador de
   demostración de acrobacias") one unbreakable 342px chunk that
   widened the article grid on 360px phones. Labels may wrap. */

/* ---------- Retention modules (Nov 10, 2026) ---------- */
.progress-summary{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:18px}
.progress-ring-wrap{position:relative;width:104px;height:104px;flex:none}
.progress-ring{width:104px;height:104px;transform:rotate(-90deg)}
.progress-ring-bg{fill:none;stroke:var(--chip);stroke-width:9}
.progress-ring-fg{fill:none;stroke:var(--teal);stroke-width:9;stroke-linecap:round}
.progress-ring-num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0}
.progress-ring-num strong{font-size:1.35rem;color:var(--ink);line-height:1.05}
.progress-ring-num small{color:var(--ink-soft);font-size:.66rem;letter-spacing:.04em;text-transform:uppercase}
.progress-main h2,.progress-main h3{margin-bottom:6px}
.progress-cats{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px;margin:12px 0}
.progress-cat-head{display:flex;justify-content:space-between;gap:10px;font-size:.86rem;color:var(--ink-soft)}
.progress-cat-head span:first-child{color:var(--ink)}
.progress-cat-val{font-variant-numeric:tabular-nums;white-space:nowrap}
.progress-cat-bar{height:7px;margin-top:4px}
.progress-note{color:var(--ink-soft);font-size:.9rem;margin-top:8px}
@media (max-width:640px){.progress-summary{grid-template-columns:1fr}.progress-cats{grid-template-columns:1fr}.progress-ring-wrap{margin:0 auto}}

/* ===== Tracker page layout, condensed run panel and section dropdowns
   (preview build, Nov 18, 2026). Everything is scoped to .tracker-layout,
   which exists only on the tracker pages. ===== */
/* Condensed progress panel: smaller ring, tighter padding, denser
   category grid. The phone layout keeps the ring beside the text
   instead of stacking it centered, which was most of the old height. */
.tracker-layout .progress-summary{padding:10px 14px;gap:14px}
.tracker-layout .progress-ring-wrap{width:68px;height:68px}
.tracker-layout .progress-ring{width:68px;height:68px}
.tracker-layout .progress-num strong{font-size:1.08rem}
.tracker-layout .progress-num span{font-size:.6rem;letter-spacing:.02em}
.tracker-layout .progress-main h3{font-size:1.12rem;margin-bottom:3px;line-height:1.15}
.tracker-layout .progress-copy{font-size:.94rem;line-height:1.3;margin:0}
.tracker-layout .progress-cats{grid-template-columns:repeat(3,1fr);gap:3px 16px;margin-top:6px}
.tracker-layout .progress-cat-bar{height:4px;margin-top:1px}
.tracker-layout .progress-cat-head{font-size:.82rem;line-height:1.2}
.tracker-layout .progress-note{margin:4px 0 0;line-height:1.3}
@media (min-width:1200px){
  .tracker-layout .progress-cats{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:640px){
  .tracker-layout .progress-summary{grid-template-columns:auto 1fr;padding:10px 12px;gap:10px}
  .tracker-layout .progress-ring-wrap{width:56px;height:56px;margin:0}
  .tracker-layout .progress-ring{width:56px;height:56px}
  .tracker-layout .progress-copy{font-size:.9rem;line-height:1.3}
  .tracker-layout .progress-note{font-size:.85rem;line-height:1.3}
  .tracker-layout .progress-cats{grid-template-columns:repeat(2,1fr);gap:3px 12px}
  .tracker-layout .progress-cat-head{font-size:.78rem;line-height:1.15}
}
/* Section dropdowns: the toggle is a real button inside the existing
   section headings. Restyled Nov 18, 2026 (Nick, circling the
   Characters section headers: "each one of these needs to be an
   obvious drop down"): the button is a full-width bar with a panel
   background and border, and the chevron sits in its own circle at
   the right edge, filled teal while the section is open, so nobody
   can mistake the heading for plain text. */
.sec-toggle{display:flex;align-items:center;gap:10px;width:100%;background:var(--bg-2);border:2px solid var(--line);border-radius:12px;padding:12px 16px;margin:0;font:inherit;color:inherit;cursor:pointer;text-align:left;overflow-wrap:break-word;transition:border-color .15s ease}
.sec-toggle::after{content:"▾";margin-left:auto;flex:none;width:38px;height:38px;border-radius:50%;border:2px solid var(--teal);background:var(--teal-soft);color:var(--teal);display:inline-flex;align-items:center;justify-content:center;font-size:17px;line-height:1;transition:background .15s ease,color .15s ease}
.sec-toggle[aria-expanded="true"]{border-color:var(--teal)}
.sec-toggle[aria-expanded="true"]::after{content:"▴";background:var(--teal);color:var(--bg-2)}
.sec-toggle:hover{border-color:var(--teal)}
.sec-toggle-prog{font-size:.8em;font-weight:700;color:var(--teal);font-variant-numeric:tabular-nums;white-space:nowrap}
.sec-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:12px}
.sec-drop-body[hidden]{display:none}
/* Inside a trophy panel (already a var(--bg-2) card) the bar sits in
   a recessed well so it still reads as its own control. */
.trophy-panel .sec-toggle{background:var(--bg)}
/* The one tracker section head that carries a toggle: let its bar
   take the row (the count wraps under it on narrow screens) and drop
   the h3's sunset underline, which the bar replaces. */
.tracker-sec-head:has(.sec-toggle){align-items:center}
.tracker-sec-head h3:has(> .sec-toggle){flex:1 1 auto;background:none;padding-bottom:0}
/* The .tracker-layout wrapper is a plain full-width stack now: the
   sync control moved into the page head (see the sync card rules
   below), so no rail arrangement remains. */
/* Tracker in-page anchors: keep the target sections clear of the
   sticky topbar, same 92px offset the prose headings and quick
   blocks already use. */
#completion-sections{scroll-margin-top:92px}

/* Language toggle (EN | ES): a bordered segmented pill in the topbar
   before the menu button on every page, both editions. Each segment
   is a full-height tap target, a "|" separator sits between them,
   and the current language is the filled segment. */
.lang-toggle{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,0.10);border:2px solid rgba(255,255,255,0.50);border-radius:999px;padding:3px;flex:none;margin-left:6px}
.lang-toggle a{color:#fdf0e9;text-decoration:none;font-weight:700;font-size:14px;letter-spacing:.05em;padding:0 14px;border-radius:999px;line-height:1;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.lang-toggle .lt-sep{color:rgba(255,255,255,0.70);font-size:16px;font-weight:400;line-height:1;padding:0 4px;flex:none}
.lang-toggle a:hover{background:rgba(255,255,255,0.18)}
.lang-toggle a[aria-current="true"]{background:var(--pink);color:#fff}
@media (max-width:1080px){.lang-toggle{margin-left:auto}.menu-btn{margin-left:0}}
/* From Rockstar rail cards. */
.posts-feed{display:grid;gap:14px}
.post-entry{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.post-account{font-weight:700;color:var(--teal);font-size:.92rem}
.post-text{margin:6px 0 10px;color:var(--ink)}

.unlock-panel{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.unlock-card{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:18px}
.unlock-time{font-size:1.12rem;font-weight:700;color:var(--ink);margin:6px 0}
.unlock-count{color:var(--teal);font-weight:700;font-variant-numeric:tabular-nums}
.unlock-rule{color:var(--ink-soft);font-size:.92rem}
.unlock-zone{grid-column:1/-1;color:var(--ink-soft);font-size:.92rem}
@media (max-width:640px){.unlock-panel{grid-template-columns:1fr}}

.email-capture{border-top:1px solid var(--line);padding:2px 0 14px}
.email-capture h2{font-size:1.25rem}
.email-form{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-top:10px}
.email-form label{display:flex;flex-direction:column;gap:6px;font-weight:600;color:var(--ink);flex:1 1 260px}
.email-form input[type="email"]{background:var(--bg-2);border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:11px 13px;font-size:1rem;font-family:inherit}
.email-form input[type="email"]:focus{outline:2px solid var(--teal);outline-offset:1px}
.form-note{color:var(--ink-soft);font-size:.88rem;margin-top:8px}
.form-status{color:var(--teal);font-weight:600;margin-top:8px}
.form-status:empty{display:none}

/* Permanent Install button (Nov 11, 2026): replaces the removed
   auto-appearing install card. No pop-ups on this site — the button
   sits in the footer (and on the About page) and acts only on tap.
   The guide panel below renders only after a tap, in-page. */
.install-cta{display:flex;gap:8px 20px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:2px 0 14px;background:var(--chip)}
.install-cta[hidden]{display:none}
.install-cta-text strong{color:var(--ink);display:block;font-size:1.02rem}
.install-cta-text p{color:var(--ink-soft);font-size:.92rem;margin:3px 0 0;max-width:560px}
.install-btn{min-height:44px;flex:0 0 auto}
.install-guide{position:fixed;inset:0;z-index:1300;display:flex;align-items:flex-end;justify-content:center;background:rgba(10,4,20,.62)}
.install-guide-card{background:var(--chip);border:1px solid var(--gold);border-bottom:0;border-radius:16px 16px 0 0;padding:20px;width:min(460px,100%);box-shadow:0 -14px 40px rgba(0,0,0,.5)}
.install-guide-card strong{color:var(--ink);display:block;font-size:1.05rem;margin-bottom:6px}
.install-guide-card p{color:var(--ink-soft);font-size:.95rem;margin:0 0 8px}
.install-guide-card ol{margin:0 0 14px;padding-left:22px;color:var(--ink);font-size:.98rem}
.install-guide-card li{margin-bottom:6px}
@media (min-width:760px){.install-guide{align-items:center}.install-guide-card{border-bottom:1px solid var(--gold);border-radius:16px}}

/* Reports layer (Nov 11, 2026): claim tags in the 60-second box,
   the homepage rail's Latest reports tail, the Updates page strip,
   and the foot-of-article More reports row. */
.tag-na{background:var(--night-2);color:var(--ink-soft)}
.quick-block li .tag{margin-right:6px;vertical-align:1px}
.latest-reports{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.latest-reports h3{font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--ink-soft);margin:0 0 6px}
.latest-reports .lr-link{display:block;font-weight:600;font-size:14.5px;line-height:1.35;padding:5px 0}
.latest-reports .lr-all{display:inline-block;font-weight:700;font-size:13.5px;margin-top:6px}
.reports-strip{display:flex;gap:12px 18px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid var(--teal);background:var(--teal-soft);border-radius:10px;padding:14px 18px}
.reports-strip p{margin:0;color:var(--ink);font-size:15.5px;flex:1 1 320px}
.reports-strip a{font-weight:700;flex:0 0 auto}
.more-reports{border-top:1px solid var(--line);margin-top:30px;padding-top:16px}
.more-reports h3{font-size:16px;color:var(--ink);margin:0 0 8px;text-transform:uppercase;letter-spacing:.06em}
.more-reports ul{margin:0;padding-left:20px}
.more-reports li{margin-bottom:5px}

/* ---------- Homepage redesign (Nov 10, 2026): two columns + right rail,
   section button row with scroll-spy, X-style Rockstar cards ---------- */
/* Section button row: sticky under the topbar (topbar z-index 120,
   this sits at 110 so it slides under, never over, the header). */
.section-nav{position:sticky;top:64px;z-index:110;background:var(--bg);border-bottom:1px solid var(--line)}
.section-nav-in{display:flex;gap:10px;overflow-x:auto;padding:12px 20px;max-width:1360px;margin:0 auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
/* Alignment (Nick, Nov 12): the header bar, section button row, hero
   and home layout all share the same 1120px box so their left edges
   line up exactly. An earlier widening moved only the top rows out to
   1560px, which left the button row starting left of the content
   below it; that block is removed. */
.section-nav-in::-webkit-scrollbar{display:none}
a.sec-btn{flex:none;font-weight:700;font-size:15px;text-decoration:none;color:var(--ink);background:var(--bg-2);border:1.5px solid var(--line);border-radius:999px;padding:11px 22px;min-height:44px;display:inline-flex;align-items:center}
a.sec-btn.active{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.sec-btn:hover{border-color:var(--pink)}
.sec-btn.active{background:var(--ink);color:var(--bg);border-color:var(--ink)}
/* Two-column shell: main (~640-720px effective) + 320px right rail. */
.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start;max-width:1120px;margin:0 auto;padding:0 20px}
.home-main{min-width:0}
.home-main section.block{padding-top:26px}
.home-main section.block:first-child{padding-top:20px}
.home-main .cards{grid-template-columns:1fr 1fr}
.home-rail{display:flex;flex-direction:column;gap:16px;padding-top:20px;min-width:0}
.rail-mod{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:16px 18px;scroll-margin-top:140px}
.rail-mod h2{font-size:24px}
.rail-mod .sec-sub{font-size:14.5px;margin:4px 0 12px}
.rail-mod .sec-head{margin-bottom:4px}
.home-main section.block,.home-progress-full{scroll-margin-top:140px}
/* Mini progress in the rail: ring + % + continue only (progress.js
   renders it from the same state as the full strip and the tracker). */
.progress-mini{display:flex;align-items:center;gap:14px}
.progress-mini .progress-ring-wrap{width:76px;height:76px}
.progress-mini .progress-ring{width:76px;height:76px}
.progress-mini .progress-ring-num strong{font-size:1.05rem}
.progress-mini .btn{padding:10px 16px;font-size:14.5px;flex:1;min-width:0;text-align:center}
/* Phone-only full progress strip (desktop uses the rail mini). */
.home-progress-full{display:none}
/* Confirmed-facts rail card: compact definition rows, small type. */
.rail-facts dl{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;margin:0;font-size:13.5px}
.rail-facts dt{font-weight:700;color:var(--ink);white-space:nowrap}
.rail-facts dd{margin:0;color:var(--ink-soft)}
.rail-more{font-weight:700;font-size:14.5px;display:inline-block;margin-top:10px}
/* X embeds (real twitter-tweet blockquotes upgraded by X's widgets.js;
   the blockquote itself is the blocked-script fallback: a readable
   quote with a link to the post, styled dark to match the rail). */
.x-embeds .twitter-tweet,.x-embeds blockquote.twitter-tweet{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:0 0 12px;font-size:15px;line-height:1.45;color:var(--ink)}
.x-embeds .twitter-tweet a{color:var(--pink)}
.x-embeds .twitter-tweet-rendered{margin:0 0 12px !important;max-width:100% !important}
/* From Rockstar cycle (Nov 12): one post at a time, rotating. */
.x-slide{display:none}
.x-slide.active{display:block;animation:xfade .45s ease}
.x-slide .twitter-tweet,.x-slide .twitter-tweet-rendered{margin:0 !important}
.x-caption{font-size:13.5px;color:var(--ink-soft);margin:8px 2px 0;line-height:1.45}
@keyframes xfade{from{opacity:0}to{opacity:1}}
.x-dots{display:flex;gap:7px;justify-content:center;padding:10px 0 2px}
.x-dot{width:9px;height:9px;border-radius:50%;border:1px solid var(--pink);background:transparent;padding:0;cursor:pointer}
.x-dot.active{background:var(--pink)}
/* Patch Notes log entries (patch-notes.html). */
.patch-entry{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:0 0 14px}
.patch-entry h3{margin:6px 0}
.patch-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.patch-meta time{color:var(--ink-soft);font-size:.86rem;font-weight:600}
.patch-sources{color:var(--ink-soft);font-size:.86rem;margin-top:8px}
.patch-empty{border-style:dashed}
/* Rockstar panel a little wider (Nick, Nov 12): on phones the module
   gives up most of its side padding so the embed breathes, and the
   rendered embed never overflows its box (its right edge was being
   clipped). */
.x-embeds iframe.twitter-tweet-rendered{width:100%!important}
@media (max-width:640px){
  .mod-rockstar{padding-left:8px;padding-right:8px}
}
.x-caption{font-size:14px;line-height:1.45;color:var(--ink-soft);margin:-4px 0 14px}
.x-card{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.x-card + .x-card{margin-top:12px}
.x-head{display:flex;align-items:flex-start;gap:10px}
.x-avatar{flex:none;width:42px;height:42px;border-radius:50%;background:var(--night);color:var(--gold);display:grid;place-items:center;font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:21px;line-height:1}
.x-who{min-width:0;line-height:1.25}
.x-name{display:block;font-weight:700;font-size:15px;color:var(--ink)}
.x-handle{display:block;font-size:13.5px;color:var(--ink-soft)}
.x-mark{margin-left:auto;flex:none;font-weight:700;font-size:17px;color:var(--ink);line-height:1;padding-top:2px}
.x-text{margin:9px 0 8px;font-size:15px;line-height:1.45;color:var(--ink)}
.x-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:9px}
.x-meta time{font-size:13px;color:var(--ink-soft)}
.x-view{font-weight:700;font-size:13.5px;text-decoration:none}
.x-view:hover{text-decoration:underline}
/* Homepage density pass (Nov 10, 2026): tighter section rhythm inside
   the homepage main column only; inner pages keep the 56px default. */
.home-main .sec-sub{margin-bottom:16px}
.home-main .filters{margin:12px 0 16px}
.home-main .cards{gap:16px}
.home-main .card-body{padding:13px 16px 15px;gap:6px}
.home-main .check-panel{padding:16px;gap:20px}
.home-main .task{padding:9px 4px;min-height:44px}
.home-main .faq-item{margin-bottom:9px}
.home-main .faq-q{padding:12px 18px;min-height:48px}
.home-main .wide-banner{margin-top:32px}
/* Compact editions summary on the homepage: two cards side by side with
   price and the deciding differences. The full comparison table lives
   in the Editions Guide. */
.ed-compare{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:4px 0 6px}
.ed-card{background:var(--bg-2);border:1px solid var(--line);border-radius:10px;padding:16px 18px}
.ed-card h3{margin:0 0 8px;font-size:19px}
.ed-card h3 .price{color:var(--pink);white-space:nowrap}
.ed-card ul{margin:0;padding-left:18px;color:var(--ink-soft);font-size:15px}
.ed-card li{margin-bottom:5px}
@media (max-width:640px){.ed-compare{grid-template-columns:1fr}}
@media (max-width:1023px){
  /* Single column. The two wrappers dissolve so every module can be
     ordered individually: full progress, guides, map, checklist,
     Rockstar, Verified, facts, editions, FAQ. */
  .home-layout{display:flex;flex-direction:column;gap:0}
  .home-main,.home-rail{display:contents}
  .home-rail .rail-mod{margin-top:16px}
  .home-progress-full{display:block;padding:20px 20px 0;max-width:1120px;margin:0 auto;width:100%}
  .mod-guides{order:1}.mod-map{order:2}.mod-checklist{order:3}
  .mod-rockstar{order:4}.mod-verified{order:5}.mod-facts{order:6}
  .mod-editions{order:7}.mod-faq{order:8}
  .rail-mod-progress{display:none}
}
@media (max-width:640px){.home-main .cards{grid-template-columns:1fr}}
@media (max-width:560px){.section-nav{top:60px}.home-layout,.home-progress-full{padding-left:14px;padding-right:14px}.section-nav-in{padding-left:14px;padding-right:14px}}

.checklist-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.print-list{list-style:none;margin:10px 0 4px}
.print-list li{padding:9px 0;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:flex-start}
.print-list input[type="checkbox"]{width:20px;height:20px;flex:none;margin-top:2px;accent-color:var(--teal)}
/* ---------- unlock picker + download calculator (Nov 11, 2026) ---------- */
.unlock-panel.one{grid-template-columns:1fr}
.unlock-picker{display:flex;flex-wrap:wrap;gap:12px;margin:4px 0 12px}
.unlock-picker label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.95rem;color:var(--ink);flex:1 1 200px}
.unlock-picker select{padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font:inherit;min-height:44px;width:100%}
.dlcalc{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:18px;margin:18px 0;box-shadow:var(--shadow)}
.dlcalc .calc-row{display:flex;flex-wrap:wrap;gap:12px}
.dlcalc label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.95rem;color:var(--ink);flex:1 1 160px}
.dlcalc input[type="number"],.dlcalc select{padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font:inherit;min-height:44px;width:100%}
.dlcalc .calc-check{flex-direction:row;align-items:center;gap:10px;flex:1 1 100%}
.dlcalc .calc-check input{width:20px;height:20px;accent-color:var(--teal);flex:none}
.dlcalc .presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.dlcalc .preset-btn{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:999px;padding:8px 14px;font:inherit;font-weight:600;cursor:pointer;min-height:40px}
.dlcalc .preset-btn[aria-pressed="true"]{background:var(--teal);border-color:var(--teal);color:#fff}
.dlcalc .calc-out{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}
.dlcalc .calc-big{font-size:1.3rem;font-weight:700;color:var(--ink);margin:4px 0}
.dlcalc .calc-note{color:var(--ink-soft);font-size:.92rem}

@media print{
  body{background:#fff;color:#111}
  .topbar,footer,.no-print,.install-guide,.email-capture{display:none!important}
  .section{padding:8px 0}
  .card,.progress-summary,.unlock-card{background:#fff;border-color:#bbb;color:#111}
  .card p,.muted,.form-note,.progress-cat-head{color:#333}
  h1,h2,h3,.progress-ring-num strong{color:#111}
  a{color:#111;text-decoration:none}
}

/* Suggest form (Nov 11, 2026): three fields only, same honest
   placeholder discipline as the footer email form. Controls reuse the
   field styling of the unlock picker and download calculator. */
.suggest-form{margin-top:12px;display:flex;flex-direction:column;gap:16px;max-width:640px}
.suggest-form fieldset{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:0}
.suggest-form legend{font-weight:700;color:var(--ink);padding:0 6px}
.suggest-types{display:flex;flex-wrap:wrap;gap:8px 18px}
.suggest-types label{display:inline-flex;align-items:center;gap:7px;font-weight:600;color:var(--ink);min-height:40px;cursor:pointer}
.suggest-types input{width:18px;height:18px;accent-color:var(--pink);flex:none}
.suggest-form label.field{display:flex;flex-direction:column;gap:6px;font-weight:600;color:var(--ink)}
.suggest-form textarea,.suggest-form input[type="email"]{background:var(--bg-2);border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:11px 13px;font-size:1rem;font-family:inherit;width:100%}
.suggest-form textarea:focus,.suggest-form input[type="email"]:focus{outline:2px solid var(--teal);outline-offset:1px}
.suggest-form .hint{font-weight:400;color:var(--ink-soft);font-size:.88rem}
.suggest-form .btn{align-self:flex-start;min-height:44px}
/* Homepage guide cards, wide boxes (Nick, Nov 12: "each of these boxes
   can be wider"). On desktop each featured guide gets the full main
   column as a horizontal card, art on the left, text on the right,
   instead of two skinny portrait boxes side by side. Scoped to the
   homepage only; the guides hub keeps its grid. */
@media (min-width:1024px){
  .home-main .cards{grid-template-columns:1fr}
  .home-main .card{flex-direction:row}
  .home-main .card .thumb{flex:0 0 44%;aspect-ratio:auto;min-height:190px}
  .home-main .card-body{justify-content:center;padding:20px 24px}
  .home-main .card h3{font-size:23px}
  .home-main .card p{font-size:15.5px}
}

/* ---------- search ---------- */
.search-form { display: flex; gap: 10px; margin: 6px 0 20px; }
.search-form input { flex: 1; min-width: 0; padding: 13px 16px; font-size: 17px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); }
.search-count { font-weight: 600; color: var(--ink-soft); margin: 0 0 14px; }
.sresult { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); padding: 14px 18px; margin-bottom: 12px; }
.sresult h3 { margin: 4px 0 6px; font-size: 19px; }
.sresult p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.search-none { color: var(--ink-soft); }
.hero-search { display: flex; gap: 10px; margin-top: 16px; max-width: 520px; }
.hero-search input { flex: 1; min-width: 0; padding: 12px 15px; font-size: 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.35); background: rgba(11,4,20,0.55); color: #fff; }
.hero-search input::placeholder { color: rgba(255,255,255,0.75); }
.launch-links { display: grid; gap: 10px; margin-bottom: 26px; }
.launch-links a { display: block; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); padding: 13px 16px; font-weight: 600; }
.launch-links a small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }

/* ---------- live stream ---------- */
.live-entry { border-left: 3px solid var(--pink); padding: 4px 0 4px 14px; margin-bottom: 16px; }
.live-entry .live-time { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.live-entry p { margin: 4px 0 0; }

/* Launch countdown strip (Nov 15, 2026): slim in-flow bar under the header. */
.launch-strip{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;padding:7px 14px;background:#160a24;color:#f5eefc;font-size:13.5px;border-bottom:3px solid #e8316f;text-align:center}
.launch-strip strong{color:#ffb43a;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.launch-strip a{color:#3ec6cf;font-weight:600;text-decoration:none}
.launch-strip a:hover{text-decoration:underline}

/* ================================================================
   VICE CITY SKIN PASS (Nov 16, 2026): the homepage hero's neon
   language carried across every page type, through the shared
   stylesheet. The treatments: the sunset gradient band
   (linear-gradient(90deg, #ff2e88, var(--orange), var(--gold),
   #3ec6cf)), neon glow on display numerals only, a pink / orange
   / teal rotation on accents, and sunset-wash dark feature
   blocks. Readability rule: glow lives on display type, numerals
   and hover states, never on body text. No layout moves: trims
   ride on existing padding and borders, and nothing here touches
   the topbar or the mobile menu.
   ================================================================ */

/* Page title bands (guides, reports, Patch Notes, Quick Answers,
   Search, Server Status, Launch Night Live, News): a sunset rule
   under every page head. */
.page-head { position: relative; }
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; border-radius: 2px; opacity: 0.9;
  background: linear-gradient(90deg, #ff2e88, var(--orange), var(--gold), #3ec6cf);
}

/* Quick-version box: sunset band across the top of the teal box. */
.quick-block { position: relative; overflow: hidden; }
.quick-block::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff2e88, var(--orange), var(--gold), #3ec6cf);
}
.quick-jump:hover { box-shadow: 0 0 16px rgba(62, 198, 207, 0.45); }

/* Checklist and step numerals: pink neon glow, rotating pink /
   orange / teal down the list, matching the homepage boxes. */
.step::before { box-shadow: 0 0 16px rgba(232, 49, 111, 0.45); }
.steps .step:nth-child(3n+2)::before { background: var(--orange); box-shadow: 0 0 16px rgba(242, 109, 33, 0.5); }
.steps .step:nth-child(3n)::before { background: var(--teal); box-shadow: 0 0 16px rgba(14, 125, 134, 0.5); }
.step-check.done .step-box { box-shadow: 0 0 12px rgba(62, 198, 207, 0.5); }

/* Fact strip display numerals (dark band): a soft pink halo. */
.fact b { text-shadow: 0 0 20px rgba(255, 46, 136, 0.35); }

/* Tables everywhere (editions, database, collectibles): the
   header row is a sunset-washed night band with a pink underline,
   and prices in the header glow gold. */
thead th {
  background:
    linear-gradient(90deg, rgba(255, 46, 136, 0.30), rgba(242, 109, 33, 0.16) 45%, rgba(62, 198, 207, 0.26)),
    var(--night);
  border-bottom: 3px solid var(--pink);
}
thead th .price { text-shadow: 0 0 12px rgba(255, 180, 58, 0.55); }

/* Tracker: the big percentage and the progress ring take the neon
   glow; the fill becomes a sunset gradient; section headers get
   the sunset underline. */
.progress-num { text-shadow: 0 0 18px rgba(232, 49, 111, 0.45), 0 0 42px rgba(232, 49, 111, 0.22); }
.progress-ring-fg { filter: drop-shadow(0 0 5px rgba(62, 198, 207, 0.55)); }
.progress-ring-num strong { text-shadow: 0 0 14px rgba(232, 49, 111, 0.30); }
.progress-fill {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  box-shadow: 0 0 10px rgba(232, 49, 111, 0.45);
}
.tracker-sec-head h3 {
  background: linear-gradient(90deg, #ff2e88, var(--orange), var(--gold), #3ec6cf) left bottom / 52px 3px no-repeat;
  padding-bottom: 7px;
}

/* Tracker sync panel: a sunset-wash dark block, the same glass as
   the hero countdown, with a glowing sunset band across the top.
   Text and controls inside flip to the night palette; the code
   fields keep their light ground so codes stay easy to read. */
.sync-panel {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(242, 109, 33, 0.16), rgba(232, 49, 111, 0.07) 48%, rgba(14, 125, 134, 0.13)),
    var(--night-2);
  border-color: rgba(255, 255, 255, 0.18); color: #fdf0e9;
}
.sync-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff2e88, var(--orange), var(--gold), #3ec6cf);
  box-shadow: 0 0 16px rgba(255, 46, 136, 0.5);
}
.sync-panel h3 { color: #fff; }
.sync-panel p, .sync-panel .sync-steps { color: #d9c6de; }
.sync-panel .sync-label { color: #fdf0e9; }
.sync-panel .sync-msg { color: #d9c6de; }
.sync-panel .sync-msg.error { color: #ff8fab; }

/* Tracker head sync card (Nov 18, 2026): the sync controls live in a
   small static card in the empty space at the right of the tracker
   page head, beside the title and lede. It scrolls away with the
   page: no sticky or fixed positioning anywhere in its chain. The
   .sync-panel class supplies the night palette and sunset band;
   these rules add the card frame and the compact sizing. */
.head-flex{display:block}
.sync-card{border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:16px 18px 14px;margin-top:18px}
.sync-card-title{font-family:"Barlow Condensed",sans-serif;font-size:21px;font-weight:700;text-transform:uppercase;letter-spacing:.01em;margin:0 0 6px;color:#fff}
.sync-card-title .accent{color:var(--pink)}
.sync-card p{font-size:14px;line-height:1.4}
.sync-card .sync-label{margin-top:10px;font-size:14px}
.sync-card .sync-row{margin:8px 0}
.sync-card .sync-row .btn{min-height:42px}
.sync-card .sync-input,.sync-card .sync-code{flex-basis:140px;padding:9px 11px;font-size:.98rem}
.sync-card .sync-code{font-size:1.12rem}
.sync-how{margin-top:10px;border-top:1px solid rgba(255,255,255,.16);padding-top:8px}
.sync-how summary{cursor:pointer;font-weight:700;font-size:13.5px;color:#fdf0e9}
.sync-how summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}
.sync-how .sync-steps{margin-top:8px;font-size:13.5px}
.sync-privacy{font-size:13px;margin:8px 0 0}
@media (min-width:1100px){
  .head-flex{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:30px;align-items:start}
  .sync-card{margin-top:2px}
}

/* Server status: sunset band on the board, glowing status dots
   (colors stay semantically green / gold / red), a soft glow on
   the live tag, and pink timestamps on the Launch Night Live
   stream. */
.status-board { position: relative; overflow: hidden; }
.status-board::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff2e88, var(--orange), var(--gold), #3ec6cf);
}
.hs-dot.ok { box-shadow: 0 0 8px rgba(47, 191, 113, 0.85); }
.hs-dot.warn { box-shadow: 0 0 8px rgba(255, 180, 58, 0.8); }
.hs-dot.down { box-shadow: 0 0 8px rgba(255, 84, 112, 0.85); }
.tag-live { box-shadow: 0 0 10px rgba(14, 125, 134, 0.35); }
.live-entry .live-time { color: var(--pink-deep); }

/* Patch Notes entries: sunset band across the top of each entry. */
.patch-entry { position: relative; overflow: hidden; }
.patch-entry::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff2e88, var(--orange), var(--gold), #3ec6cf);
}

/* Cards everywhere (guides hub, news index, reports): the
   homepage news cards' soft pink hover glow. */
.card { transition: box-shadow 0.2s ease; }
.card:hover { box-shadow: 0 16px 36px rgba(194, 24, 82, 0.20); }
.sresult:hover { border-color: var(--pink); }

/* Rail cards (guide and report side rails): sunset underline on
   the card titles. */
.rail-card h3 {
  background: linear-gradient(90deg, #ff2e88, var(--orange), var(--gold), #3ec6cf) left bottom / 42px 3px no-repeat;
  padding-bottom: 7px;
}

/* Buttons and key controls: the pink neon glow on hover. */
.btn-pink:hover { box-shadow: 0 0 20px rgba(232, 49, 111, 0.5); }
.btn-teal:hover { box-shadow: 0 0 20px rgba(62, 198, 207, 0.45); }
.btn-outline:hover { box-shadow: 0 0 16px rgba(232, 49, 111, 0.35); }
.btn-ghost:hover { box-shadow: 0 0 16px rgba(255, 255, 255, 0.25); }
.filter:hover { border-color: var(--pink); }

/* Footer: a sunset band across the top, echoing the Popular
   Pages title band, and the same sunset underline on the column
   titles. */
footer { position: relative; }
footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink) 34%, var(--orange) 74%, var(--gold));
}
footer h3 {
  background: linear-gradient(90deg, #ff2e88, var(--orange), var(--gold), #3ec6cf) left bottom / 42px 3px no-repeat;
  padding-bottom: 7px;
}

/* Overflow guard (found in this pass, pre-existing): a bare URL
   used as link text in prose (the Rockstar service-status URL on
   the Server Status page) is one unbreakable token wider than a
   phone line and pushed the page 4px sideways at 390px. Long
   tokens in prose links may break rather than overflow. */
.prose a { overflow-wrap: break-word; }

/* ---------- top search (Nov 17, 2026) ----------
   Wide bar: a compact form in the right cluster, before the
   language toggle. Below 1241px the form gives way to a magnifier
   button toggling a full-width search row under the topbar (in
   flow, never an overlay). At 1080px and under (the compact
   breakpoint, raised from 860px on Nov 18, 2026), the button takes
   the auto margin the toggle used to hold, so brand + search +
   EN|ES + Menu stay on one line with the cluster at the right. */
.topsearch-d { display: none; }
.topsearch-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none; cursor: pointer;
  background: rgba(255,255,255,0.10); color: #fdf0e9;
  border: 2px solid rgba(255,255,255,0.35); border-radius: 999px;
}
.topsearch-btn:hover { background: rgba(255,255,255,0.18); }
.topsearch-btn[aria-expanded="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.topsearch-btn:focus-visible, .topsearch-d button:focus-visible, .topsearch-m button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (min-width: 1241px) {
  .topsearch-btn { display: none; }
  /* The form is the bar's relief valve (Nov 18, 2026): it may shrink
     (input down to 112px) before anything else in the bar gives. */
  .topsearch-d { display: flex; align-items: center; gap: 6px; flex: 0 1 auto; min-width: 0; }
  .topsearch-d input {
    width: 200px; flex: 1 1 auto; min-width: 112px; min-height: 40px; font: inherit; font-size: 14px;
    background: rgba(255,255,255,0.10); color: #fdf0e9;
    border: 2px solid rgba(255,255,255,0.35); border-radius: 999px;
    padding: 7px 14px;
  }
  .topsearch-d input::placeholder { color: rgba(253,240,233,0.55); }
  .topsearch-d input:focus { border-color: var(--gold); outline: none; }
  .topsearch-d button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex: none; cursor: pointer;
    background: var(--pink); color: #fff; border: none; border-radius: 999px;
  }
  .topsearch-d button:hover { filter: brightness(1.12); }
}
@media (max-width: 1080px) {
  .topbar .topsearch-btn { margin-left: auto; }
  .topbar .lang-toggle { margin-left: 0; }
}
@media (max-width: 560px) {
  .topbar .topsearch-btn { width: 34px; height: 34px; }
}
/* The search row under the topbar: an extension of the bar, shown
   only while the magnifier toggle is expanded. */
.topsearch-row {
  background: var(--night-2); border-bottom: 3px solid var(--pink);
  padding: 10px 14px;
}
.topsearch-row[hidden] { display: none; }
.topsearch-m { display: flex; gap: 8px; max-width: 1360px; margin: 0 auto; }
.topsearch-m input {
  flex: 1; min-width: 0; min-height: 44px; font: inherit; font-size: 16px;
  background: rgba(255,255,255,0.10); color: #fdf0e9;
  border: 2px solid rgba(255,255,255,0.35); border-radius: 999px;
  padding: 8px 16px;
}
.topsearch-m input::placeholder { color: rgba(253,240,233,0.55); }
.topsearch-m input:focus { border-color: var(--gold); outline: none; }
.topsearch-m button {
  flex: none; min-height: 44px; padding: 0 20px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 15px;
  background: var(--pink); color: #fff; border: none; border-radius: 999px;
}
.topsearch-m button:hover { filter: brightness(1.12); }

/* ---------- footer slimming (Nov 17, 2026) ----------
   Nick: the footer was more than a page tall. Companion changes:
   footer padding, grid gap, list spacing and legal margins are
   tightened in their own rules above; the copy trims and the
   dropped brand paragraph are per-page markup. What remains here:
   brand-column paragraph spacing, the email block as two columns
   on desktop (pitch left, form right), and the long Site link
   list flowing in two columns inside its cell so the grid row is
   no longer ruled by its ten links. */
.foot-grid p { margin: 0 0 8px; }
.foot-grid p:last-child { margin-bottom: 0; }
@media (min-width: 861px) {
  .email-capture {
    display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 38px; row-gap: 8px;
    grid-template-areas: "head form" "pitch note"; align-items: start;
  }
  .email-capture h2 { grid-area: head; margin: 0; }
  .email-capture > p:not(.form-note) { grid-area: pitch; margin: 0; }
  .email-capture .email-form { grid-area: form; margin-top: 2px; }
  .email-capture .form-note { grid-area: note; margin-top: 0; }
  .foot-links-2col { columns: 2; column-gap: 20px; }
  .foot-links-2col li { break-inside: avoid; }
}

/* ---------- email band at the top (Nick, Nov 18, 2026) ----------
   The signup block moved out of the footer to the top of the
   content on the homepages and across the guides section: one
   tidy band, heading and one short line on the left, the email
   field and button inline on the right, vertically centered,
   even padding. Scoped to main so the same block still sitting
   in other pages' footers keeps the shared footer treatment.
   On phones the band stacks, field and button full width. The
   form markup and its wiring (assets/js/email.js) are untouched. */
main .email-capture { padding: 20px 0; }
main .email-capture h2 { margin: 0 0 6px; }
main .email-capture > p { margin: 0; }
main .email-capture .email-form { margin-top: 12px; }
@media (min-width: 861px) {
  main .email-capture {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas: "head form" "pitch form";
    column-gap: 48px; row-gap: 6px; align-items: start;
    padding: 22px 0;
  }
  main .email-capture h2 { grid-area: head; margin: 0; }
  main .email-capture > p { grid-area: pitch; }
  main .email-capture .email-form { grid-area: form; align-self: center; margin-top: 0; }
}
@media (max-width: 640px) {
  main .email-capture .email-form label,
  main .email-capture .email-form .btn { flex: 1 1 100%; }
  main .email-capture .email-form .btn { justify-content: center; }
}

/* Walkthrough hub mission index + prev/next line (Nov 18, 2026) */
.mission-list { padding-left: 1.4em; }
.mission-list li { margin: 0.35em 0; }
.mission-list .tag { margin-left: 0.5em; vertical-align: middle; }
.prev-next { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); font-weight: 600; }

/* ---------- Spoiler shield (Nov 18, 2026) ----------
   Toggle pill in the topbar beside the language toggle (injected by
   main.js), the per-element reveal button that stands in for hidden
   story detail, and the one-line warning carried by destination
   story pages. Hiding itself is done by main.js setting [hidden] on
   the .spoiler-content wrapper; with JS off nothing is ever hidden,
   and print always shows the content. */
/* Gold outline (Nick, Nov 18, 2026): the shield toggle wears the
   wordmark gold (--gold, defined in :root for both schemes; the bar
   itself is always the dark night surface) so it reads as a control.
   The ON state keeps its pink border plus the pink state pill, so
   the two states stay distinguishable at a glance. */
.sp-toggle{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,0.10);border:2px solid var(--gold);border-radius:999px;padding:3px 10px;flex:none;margin-left:6px;color:#fdf0e9;font-family:inherit;font-weight:700;font-size:13.5px;letter-spacing:.02em;min-height:46px;cursor:pointer;-webkit-appearance:none;appearance:none}
.sp-toggle:hover{background:rgba(255,255,255,0.18)}
.sp-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.sp-toggle .sp-ico{display:inline-flex;flex:none}
.sp-toggle .sp-state{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:rgba(255,255,255,0.16);border-radius:999px;padding:3px 8px;line-height:1}
.sp-toggle.on{border-color:var(--pink);background:rgba(232,49,111,0.28)}
.sp-toggle.on .sp-state{background:var(--pink);color:#fff}
@media (max-width:560px){
  /* Phone header is tight (brand, search, EN|ES, menu): the shield
     toggle compacts to its icon, with state still readable from the
     filled pink border/background and the aria-label. */
  .topbar .sp-toggle{padding:2px 9px;min-height:36px;margin-left:4px;gap:0}
  .topbar .sp-toggle .sp-label,.topbar .sp-toggle .sp-state{display:none}
}
.spoiler-content{display:contents}
.spoiler-content[hidden]{display:none}
.spoiler-reveal{display:block;width:100%;text-align:left;background:var(--teal-soft);border:1.5px dashed var(--teal);border-radius:10px;padding:12px 16px;margin:8px 0;color:var(--ink);font-family:"Barlow",sans-serif;font-size:15px;font-weight:600;line-height:1.45;cursor:pointer;-webkit-appearance:none;appearance:none}
.spoiler-reveal:hover{text-decoration:underline}
.spoiler-reveal:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
body:not(.sp-on) .spoiler-reveal{display:none}
.sp-host.sp-revealed > .spoiler-reveal{background:none;border:0;padding:4px 0;margin:2px 0;color:var(--ink-soft);font-size:13.5px;font-weight:600;text-decoration:underline}
.spoiler-warning{margin:14px 0 0;padding:10px 14px;border:1.5px solid var(--gold);background:var(--chip);border-radius:10px;font-size:15px;line-height:1.5;color:var(--ink)}
.spoiler-warning strong{color:var(--pink-deep)}
@media print{
  .spoiler-content[hidden]{display:contents !important}
  .spoiler-reveal,.sp-toggle{display:none !important}
}

/* Souvenir maker (Nov 18, 2026) */
.souv-wrap{display:grid;grid-template-columns:320px 1fr;gap:1.4rem;align-items:start;margin:1.2rem 0 1.6rem}
.souv-form{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.2rem}
.souv-form fieldset{border:0;padding:0;margin:0 0 .9rem}
.souv-form legend{font-weight:700;margin-bottom:.4rem}
.souv-form fieldset label{display:block;padding:.25rem 0;cursor:pointer}
.souv-row{margin-bottom:.9rem}
.souv-row label{display:block;font-weight:600;margin-bottom:.3rem}
.souv-row input[type="text"],.souv-row select{width:100%;padding:.55rem .7rem;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--ink);font:inherit}
.souv-note{font-size:.85em;color:var(--ink-soft);margin-top:.8rem}
.souv-preview canvas{width:100%;height:auto;border-radius:14px;border:1px solid var(--line);display:block}
@media (max-width:820px){.souv-wrap{grid-template-columns:1fr}}
/* Frame-matched location pages index (Nov 18, 2026) */
.loc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.loc-card{display:block;background:var(--chip);border:1px solid var(--line);border-radius:14px;padding:12px;text-decoration:none;color:var(--ink)}
.loc-card img{width:100%;height:auto;border-radius:9px;display:block;margin-bottom:.55rem}
.loc-card-name{display:block;font-family:'Barlow Condensed',sans-serif;font-size:1.25rem;font-weight:600;line-height:1.15}
.loc-card-meta{display:block;color:var(--ink-soft);font-size:.88rem;margin-top:.15rem}
.loc-card:hover{border-color:var(--teal)}

/* Patch-impact flags (Nov 18, 2026): plain labels on tracker items and
   map pins touched by a patch note or a known issue. Rendered by
   assets/js/patch-impact.js from the LW_PATCH_IMPACT mapping. */
.impact-flag{display:inline-block;margin-top:.35rem;padding:.12rem .55rem;border:1px solid var(--orange);border-radius:999px;color:var(--orange);font-size:.78rem;font-weight:600;line-height:1.35;text-decoration:none}
a.impact-flag:hover{text-decoration:underline}
.pin-row .impact-flag{margin:.15rem 0 0 .5rem}
#pin-detail .impact-flag{margin-left:.5rem;margin-top:0}

/* ---------- Topbar one-line tiers (Nick, Nov 18, 2026) ----------
   The full bar (brand, six nav links, search, spoiler toggle,
   EN|ES) must hold one line wherever it shows. The base rules above
   carry the wide desktop; this tier tightens the bar as the
   viewport narrows toward the compact breakpoint, and the compact
   band below keeps the hamburger pattern (brand, search button,
   spoiler toggle, EN|ES, Menu) on one line down to the phone tier
   at 560px, whose own rules above still govern under it. Nothing
   here counts the links: when Editions leaves the bar on Dec 1 the
   tiers simply gain slack. */
@media (max-width: 1240px) and (min-width: 1081px) {
  .brand { font-size: 22px; }
  .brand .brand-mark { width: 22px; height: 22px; }
  nav.main a { padding: 6px 7px; font-size: 14.5px; }
  .lang-toggle a { padding: 0 11px; }
  .sp-toggle { font-size: 13px; padding: 3px 9px; }
}
@media (max-width: 1080px) and (min-width: 561px) {
  .topbar-in { gap: 10px; padding: 10px 12px; }
  .brand { font-size: 22px; }
  .brand .brand-mark { width: 22px; height: 22px; }
  .lang-toggle a { padding: 0 11px; }
  .sp-toggle { padding: 3px 9px; }
  .sp-toggle .sp-state { padding: 3px 6px; }
}

/* ================================================================
   SITEWIDE LEFT RAIL (preview trial, Nov 18, 2026): the homepage's
   OSRS-style rail (Navigation, Recent changes, Guides, Community)
   extended to every content page at Nick's direction: it follows
   the reader to all pages, hugs the left of the content column
   with a small gap, and scrolls with the page (not sticky, not
   fixed). The rail's group styles live here as well as in wiki.css
   because most pages load only styles.css; the values are the
   homepage's, unchanged. Database pages keep their own wiki rail
   and the map pages stay a full-screen app: neither gets this one.
   On phones (860px and under) the rail is hidden and the mobile
   menu carries navigation, exactly as on the homepage.
   ================================================================ */
.lw-site-layout {
  display: grid; grid-template-columns: 248px minmax(0, 1fr);
  gap: 22px; align-items: stretch;
}
.lw-site-main { min-width: 0; }
.lw-site-rail {
  /* A little bigger and a little longer (Nick, Nov 18, 2026):
     the panel stretches with the layout row so its background
     runs down the column, capped at 2400px so very long pages
     do not get an endless empty slab; the four sections stay
     at the top. Not sticky: it scrolls with the page. */
  background: var(--night); border: 1px solid var(--night-2);
  border-radius: 10px; box-shadow: var(--shadow);
  padding: 16px 16px 6px;
  height: 100%; max-height: 2400px;
}
.lw-rail-group { margin-bottom: 14px; }
.lw-rail-head {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin: 0 0 6px; padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 180, 58, 0.28);
}
.lw-rail-list { list-style: none; margin: 0; padding: 0; }
.lw-rail-list a {
  display: block; padding: 4px 9px; border-radius: 5px;
  color: #f6d9e8; text-decoration: none;
  font-size: 15px; font-weight: 600; line-height: 1.3;
}
.lw-rail-list a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.lw-rail-news a { font-size: 14px; }
.lw-rail-date {
  display: block; padding: 0 9px 3px; margin-top: -3px;
  font-size: 11px; color: rgba(253, 240, 233, 0.55);
}
.lw-rail-more {
  margin-top: 6px; padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.lw-rail-more a { color: var(--gold); }
@media (max-width: 1100px) {
  .lw-site-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 860px) {
  .lw-site-layout { display: block; }
  .lw-site-rail { display: none; }
}

/* ---------- Header dropdowns: Tracker + Database (Nov 18, 2026) ----------
   Nick: a drop down on Tracker and on Database in the header. The
   panel hangs flush under its label (top: 100% of the item, which
   stretches to the nav row's full height) and carries an invisible
   ::before bridge across the joint, so there is no dead gap: hover
   survives the stepped mouse trip from the label down into the
   panel to a link (the standing dropdown rule). Panel visibility
   is owned entirely by the .open class, which main.js toggles for
   hover, keyboard focus and touch taps alike, so the painted
   state and the aria-expanded state can never diverge (a CSS
   :hover or :focus-within rule would keep a panel painted after
   a touch tap or Esc had closed it in script). The panel is an
   overlay: opening one never shifts the layout or pushes the
   countdown strip. */
.nav-drop { position: relative; display: flex; }
.nav-drop > a { display: inline-flex; align-items: center; }
.nav-drop > a::after {
  content: ""; flex: none; width: 0; height: 0; margin-left: 6px;
  border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
  border-top: 5.5px solid currentColor; opacity: 0.75;
}
.nav-drop > a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-panel {
  position: absolute; top: 100%; left: 0; z-index: 130;
  min-width: 240px; padding: 8px;
  background: var(--night); border: 1px solid var(--night-2);
  border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(3px);
  transition: opacity 0.13s ease, transform 0.13s ease, visibility 0.13s;
}
.nav-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.nav-drop.open .nav-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-panel a {
  display: block; padding: 7px 10px; border-radius: 6px;
  color: #f6d9e8; font-size: 14.5px; white-space: nowrap;
}
.nav-panel a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-panel a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
/* The Tracker dropdown's in-page anchors land clear of the sticky
   topbar, the same 92px offset as #completion-sections above. */
#progress-summary, #trophies, #ingame-checklist { scroll-margin-top: 92px; }
/* Dropdown width band (1241-1400px): "Base de datos" is wider than
   the "Ediciones" it replaced and the two carets add a little more,
   which overflowed the Spanish bar by ~65px at 1280. This band
   applies the same trims as the <=1240 tier (plus a tighter bar
   gap) one band earlier, so both languages hold one line at 1280
   with the search field's shrink valve in reserve again. */
@media (min-width: 1241px) {
  .topbar-in { gap: 6px; }
  .brand { font-size: 25px; }
  .brand .brand-mark { width: 25px; height: 25px; }
  nav.main a { padding: 6px 5px; font-size: 14.5px; }
  .lang-toggle a { padding: 0 11px; }
  .sp-toggle { font-size: 13px; padding: 3px 9px; }
  .nav-drop > a::after { margin-left: 3px; }
}

/* Trophy summary strip + tracker page follower (Nov 18, 2026). */
.trophy-summary{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.ts-chip{background:var(--chip);color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:13.5px;font-weight:600}
.ts-chip b{font-variant-numeric:tabular-nums}
#progress-summary,#trophies,#ingame-checklist,#sync-devices{scroll-margin-top:92px}
.lw-follower{position:fixed;right:16px;bottom:16px;z-index:90;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.lw-follower[hidden]{display:none}
.lw-follower--left{right:auto;left:16px;align-items:flex-start}
.tf-pill{display:inline-flex;align-items:center;gap:8px;max-width:min(78vw,340px);min-height:44px;padding:10px 16px;border-radius:999px;border:1.5px solid var(--gold);background:var(--night);color:#fdf0e9;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer;box-shadow:var(--shadow)}
.tf-dot{width:9px;height:9px;border-radius:50%;background:var(--gold);flex:none}
.tf-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-chev{color:var(--gold);font-size:12px;flex:none}
.tf-pill:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.tf-menu{display:flex;flex-direction:column;gap:2px;min-width:min(78vw,300px);max-height:min(62vh,520px);overflow-y:auto;background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:var(--shadow)}
.tf-menu[hidden]{display:none}
.tf-item{display:block;width:100%;text-align:left;background:none;border:0;border-radius:9px;padding:10px 12px;font:inherit;font-size:15px;font-weight:600;color:var(--ink);cursor:pointer;min-height:44px}
.tf-item:hover{background:var(--chip)}
.tf-item:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.tf-item.tf-current{background:var(--chip);color:var(--pink-deep);box-shadow:inset 3px 0 0 var(--gold)}
@media (max-width:640px){.lw-follower{right:12px;bottom:12px}.lw-follower--left{right:auto;left:12px}}

/* ================================================================
   RAIL HUGS THE LEFT WALL (Nick, Nov 18, 2026): the sitewide rail
   sat inside the centered 1360px wrap, leaving a band of page
   background between the screen edge and the rail (x=300 at 1920,
   x=60 at 1440). On rail pages the wrap now runs full width with
   no left padding, the rail panel sits at x=0 with its wall-side
   corners squared, and the content column is capped at its old
   maximum measure (1360 - 40 padding - 248 rail - 22 gap = 1050)
   so wide screens put the slack on the right. Scoped to 861px and
   up, where the rail exists; phones (rail hidden) are untouched.
   ================================================================ */
@media (min-width: 861px) {
  .wrap:has(> .lw-site-layout) { max-width: none; padding-left: 0; }
  .lw-site-layout { grid-template-columns: 248px minmax(0, 1050px); }
  .lw-site-rail { border-left: none; border-radius: 0 10px 10px 0; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .lw-site-layout { grid-template-columns: 224px minmax(0, 1fr); }
}

/* Guides hub category boxes (Nov 18, 2026): one box per category, guides as list rows. */
.hub-group { margin: 0 0 40px; }
.cat-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.guide-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.guide-row:last-child { border-bottom: 0; }
.guide-row:hover { background: var(--chip); }
.guide-row:hover .gr-title { color: var(--pink-deep); }
.guide-row:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.gr-title { font-weight: 600; flex: 1; }
.gr-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.gr-num { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 20px; color: var(--pink); min-width: 24px; text-align: right; }
.cat-divider { padding: 18px 18px 2px; font-family: "Barlow Condensed", sans-serif; font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; border-top: 1px solid var(--line); }
.cat-box .sec-sub { padding: 0 18px 12px; margin: 6px 0 0; }
/* Guides hub category selector: boxes pick which one guide list shows. */
.cat-select { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; margin: 18px 0 26px; }
.cat-card {
  font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 3px;
  background: var(--bg-2); color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 15px; min-height: 68px; box-shadow: var(--shadow);
}
.cat-card:hover { border-color: var(--pink); }
.cat-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.cat-card .cc-name { font-weight: 700; font-size: 16.5px; line-height: 1.15; }
.cat-card .cc-count { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.cat-card[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cat-card[aria-pressed="true"] .cc-count { color: var(--bg); opacity: .72; }
@media (max-width: 640px) {
  .cat-select { grid-template-columns: repeat(2, 1fr); }
}
.hub-group[hidden], section.block[hidden] { display: none; }
@media (max-width: 640px) {
  .guide-row { flex-wrap: wrap; row-gap: 6px; }
  .gr-meta { justify-content: flex-start; }
}

/* ================================================================
   CONTENT CENTERED ON THE PAGE (Nick, Nov 18, 2026): with the rail
   flush to the left wall, the content column still started right
   beside the rail and read as glued to it ("hugging the left side
   too much"). The column now centers on the PAGE at its capped
   measure: the railwall cap (1050px) moves from the grid track
   onto the element, the second track opens to 1fr, and the
   column's left margin is half the grid area minus half the cap
   minus 125px (half the 270px rail zone, less the 20px right
   padding), floored at 0. Below a 1590px viewport the centered
   start would cut into the 22px gap beside the rail, so the
   margin floors at 0 and the column sits beside the rail exactly
   as the railwall fix left it, taking the remaining space; the
   861-1100px tier (224px rail) is inside that floor and
   unchanged, and phones (rail hidden, block layout) are
   untouched. The rail stays flush at x=0.
   ================================================================ */
@media (min-width: 1101px) {
  .lw-site-layout { grid-template-columns: 248px minmax(0, 1fr); }
}
@media (min-width: 861px) {
  .lw-site-main {
    max-width: 1050px;
    margin-left: max(0px, calc(50% - 525px - 125px));
    margin-right: auto;
  }
}

/* ================================================================
   RAIL PANEL FITS ITS CONTENT (Nick, Nov 18, 2026): the "a little
   longer" stretch above (height: 100%, capped at 2400px) left a
   long empty dark slab hanging below the last rail link on most
   pages (measured before the cut: 637px of empty panel under the
   homepage rail, over 1200px on guide and database pages). The
   panel now ends shortly below its last section: height auto,
   the cap removed, and align-self: start so the layout row no
   longer stretches it. The rail stays flush at x=0, same width,
   same sections, still not sticky; phones (rail hidden) are
   untouched.
   ================================================================ */
.lw-site-rail { height: auto; max-height: none; align-self: start; }

/* Logo growth band (Nov 18, 2026 promotion): above 1400px the bar is
   capped at 1360px wide, so the larger brand fits with the standard
   trims; the 1241-1400 band carries tighter trims and a slightly
   smaller brand because a 1280px viewport leaves 80px less room. */
@media (min-width: 1401px) {
  .topbar-in { gap: 6px; }
  .brand { font-size: 29px; }
  .brand .brand-mark { width: 29px; height: 29px; }
  nav.main a { padding: 6px 5px; font-size: 14.5px; }
  .lang-toggle a { padding: 0 11px; }
  .sp-toggle { font-size: 13px; padding: 3px 9px; }
  .nav-drop > a::after { margin-left: 3px; }
}
