/* No Wanted Stars: unofficial GTA VI fan kit.
   Redesign 18 Nov 2026: neon sunset palette taken from our own @NoWantedStars profile art
   (purple to magenta to orange sky, pink neon stars, palm silhouettes) and the banner's dusk haze,
   with a Miami-style aqua accent. Our own art and CSS only; no Rockstar logos, fonts or images.
   Display font: Bebas Neue (SIL Open Font License 1.1, see fonts/OFL-BebasNeue.txt), self-hosted. */

@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Sampled from the profile picture (nws_pfp_six_stars_arc) */
  --plum: #3a1466;
  --grape: #571b6f;
  --violet: #7c2072;
  --berry: #9d2177;
  --magenta: #bd2677;
  --rose: #cf3772;
  --pink: #f04670;
  --coral: #f5674b;
  --orange: #fa7e36;
  --peach: #fb9864;
  /* Sampled from the header image's dusk sky */
  --haze: #e1cdd6;
  --dusk: #75586c;
  /* Miami aqua accent */
  --aqua: #3ee6d4;

  --bg: #140a24;
  --surface: #211035;
  --surface-2: #2b1645;
  --line: #4b2c68;
  --ink: #fff4fa;
  --muted: #e2cfe0;
  --link: #ff8fbf;
  --link-hover: #ffc4dc;
  --neon: #ff5fa2;
  --glow: 0 0 6px rgba(255, 95, 162, 0.55), 0 0 18px rgba(240, 70, 112, 0.35);
  --glow-strong: 0 0 8px rgba(255, 95, 162, 0.75), 0 0 26px rgba(240, 70, 112, 0.5);
  --sunset: linear-gradient(90deg, var(--grape), var(--magenta) 30%, var(--pink) 55%, var(--coral) 75%, var(--orange));
  --sunset-v: linear-gradient(180deg, var(--plum) 0%, var(--violet) 35%, var(--rose) 65%, var(--orange) 100%);
  --shadow: 0 10px 30px rgba(5, 0, 15, 0.45);
  --radius: 16px;
  --max: 46rem;
  --display: "Bebas Neue", Impact, "Arial Narrow Bold", "Helvetica Neue Condensed", sans-serif-condensed, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgba(189, 38, 119, 0.28), transparent 70%),
    radial-gradient(50rem 28rem at -10% 10%, rgba(87, 27, 111, 0.45), transparent 70%),
    linear-gradient(180deg, #1b0d31 0%, var(--bg) 40rem);
  background-repeat: no-repeat;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--aqua);
  color: #08161a;
  font-weight: 700;
  padding: 0.6rem 0.95rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}


/* ---------- Follow bar (plain links, no embed or third-party asset) ---------- */

.x-follow-bar {
  background: rgba(20, 10, 36, 0.96);
  border-bottom: 1px solid var(--line);
}

.x-follow-inner {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 0.7rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  font-size: inherit; /* same as body / .disclaimer "Unofficial fan site" line (1.0625rem, 1.03rem below 640px) */
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.x-follow-lead {
  text-wrap: pretty;
}

.x-follow-lead,
.x-follow-handles {
  margin: 0;
  max-width: 100%;
}

.x-follow-handles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
}

.x-follow-sep {
  color: var(--muted);
  font-weight: 650;
}

.x-follow-link {
  color: var(--link);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.x-follow-link:hover,
.x-follow-link:focus-visible {
  color: var(--link-hover);
}

/* Narrow phones: keep both handles visible, stacked under the sentence. */
@media (max-width: 640px) {
  .x-follow-inner {
    width: min(100% - 1.5rem, 72rem);
    padding: 0.75rem 0;
  }

  .x-follow-handles {
    flex-direction: column;
    gap: 0.15rem;
  }

  .x-follow-sep {
    display: none;
  }
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 10, 36, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(5, 0, 15, 0.4);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--sunset);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(20, 10, 36, 0.8);
    backdrop-filter: blur(10px);
  }
}

.header-inner,
.footer-inner,
.wrap {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  border-radius: 10px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(255, 143, 191, 0.55), var(--glow);
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff0f7;
  text-shadow: var(--glow);
  white-space: nowrap;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
  white-space: nowrap;
}

.brand:hover .brand-name {
  text-shadow: var(--glow-strong);
}

.nav-toggle {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.site-nav .sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.site-nav .top-item {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: stretch;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.site-nav .top-item .top-link,
.site-nav .top-item .sub-toggle {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.site-nav .top-item .top-link {
  padding-right: 0.4rem;
  border-radius: 999px 0 0 999px;
}

.site-nav .top-item .sub-toggle:not(.sub-toggle-text) {
  min-width: 44px;
  padding-left: 0.3rem;
  padding-right: 0.7rem;
  justify-content: center;
  border-radius: 0 999px 999px 0;
}

.site-nav .top-item .sub-toggle-text {
  border-radius: 999px;
}

.site-nav .menu > li > .top-link,
.site-nav .top-item {
  flex: none;
}

.site-nav a:hover,
.site-nav .sub-toggle:hover,
.site-nav .top-item:hover,
.site-nav .has-sub.open > .top-item {
  color: #fff;
  border-color: rgba(255, 143, 191, 0.6);
  box-shadow: var(--glow);
  background: rgba(240, 70, 112, 0.12);
}

.site-nav .top-item:hover .top-link,
.site-nav .top-item:hover .sub-toggle,
.site-nav .has-sub.open > .top-item .top-link,
.site-nav .has-sub.open > .top-item .sub-toggle {
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.site-nav .menu > li > .top-link[aria-current="page"],
.site-nav .has-sub.is-current > .top-item,
.site-nav .has-sub-setup.is-current > .top-item {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #1a0820;
  border-color: transparent;
  box-shadow: var(--glow);
}

.site-nav .has-sub.is-current > .top-item .top-link,
.site-nav .has-sub.is-current > .top-item .sub-toggle,
.site-nav .has-sub-setup.is-current > .top-item .sub-toggle {
  color: #1a0820;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.site-nav .ni {
  flex: none;
  font-size: 1.05rem;
  line-height: 1;
}

.site-nav .chev {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}

.site-nav .has-sub.open .chev {
  transform: translateY(2px) rotate(-135deg);
}

.site-nav .has-sub {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.site-nav .sub {
  display: none;
}

.site-nav .has-sub.open > .sub,
html:not(.js) .site-nav .sub {
  display: block;
}

.site-nav .sub a {
  display: flex;
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  white-space: nowrap;
}

.site-nav .sub a[aria-current="page"] {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #1a0820;
  border-color: transparent;
  box-shadow: var(--glow);
  border-radius: 10px;
}

.site-nav .sub .nested a {
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav .sub .nested a[aria-current="page"] {
  color: #1a0820;
}

/* Desktop: four top-level items, dropdown panels. */
@media (min-width: 1100px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .x-follow-nav {
    display: none;
  }

  .site-nav {
    flex: none;
  }

  .site-nav .menu {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.25rem;
  }

  .site-nav .sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    min-width: 16.5rem;
    width: max-content;
    max-width: min(22rem, calc(100vw - 2rem));
    padding: 0.4rem;
    margin-top: 0.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow), var(--glow);
  }

  .site-nav .sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.4rem;
    height: 0.4rem;
  }

  .site-nav .has-sub-setup .sub {
    left: auto;
    right: 0;
  }

  html:not(.js) .site-nav .sub {
    display: none;
  }

  html:not(.js) .site-nav .has-sub:hover > .sub,
  html:not(.js) .site-nav .has-sub:focus-within > .sub {
    display: block;
  }
}

/* Phone and tablet: hamburger, with Tips and Setup as sub-sections. */
@media (max-width: 1099px) {
  html.js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    min-width: 48px;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 143, 191, 0.7);
    background: rgba(240, 70, 112, 0.14);
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    box-shadow: var(--glow);
    white-space: nowrap;
    flex: none;
  }

  html.js .nav-toggle:hover {
    background: rgba(240, 70, 112, 0.28);
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -6px;
  }

  .nav-toggle-icon::after {
    top: 6px;
  }

  html.nav-open .nav-toggle-icon {
    background: transparent;
  }

  html.nav-open .nav-toggle-icon::before {
    transform: translateY(6px) rotate(45deg);
  }

  html.nav-open .nav-toggle-icon::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  html.js .site-nav {
    display: none;
  }

  html.js.nav-open .site-nav,
  html:not(.js) .site-nav {
    display: block;
    flex-basis: 100%;
    width: 100%;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.4rem 0 0.8rem;
  }

  html.js.nav-open .header-inner,
  html:not(.js) .header-inner {
    flex-wrap: wrap;
  }

  .site-nav .menu {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
  }

  .site-nav .menu > li > .top-link,
  .site-nav .top-item,
  .site-nav .top-item .sub-toggle-text {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    border-color: var(--line);
    background: var(--surface);
    font-size: 1rem;
    justify-content: flex-start;
  }

  .site-nav .top-item .top-link,
  .site-nav .top-item .sub-toggle:not(.sub-toggle-text) {
    min-height: 52px;
    border-radius: 0;
  }

  .site-nav .top-item .top-link {
    flex: 1 1 auto;
    border-radius: 14px 0 0 14px;
    padding: 0.6rem 0.7rem 0.6rem 1rem;
  }

  .site-nav .top-item .sub-toggle:not(.sub-toggle-text) {
    min-width: 52px;
    border-radius: 0 14px 14px 0;
    border-left: 1px solid var(--line);
  }

  .site-nav .top-item .sub-toggle-text {
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 14px;
  }

  .site-nav .sub-toggle-text .chev {
    margin-left: auto;
  }

  .site-nav .has-sub {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
  }

  .site-nav .has-sub.open > .sub,
  html:not(.js) .site-nav .sub {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.3rem;
    margin: 0.45rem 0 0.15rem;
    padding: 0.15rem 0 0.15rem 0.75rem;
    border-left: 2px solid rgba(255, 143, 191, 0.45);
  }

  .site-nav .sub a {
    min-height: 48px;
    width: 100%;
    border-color: var(--line);
    background: var(--bg);
    border-radius: 10px;
    white-space: nowrap;
  }

  .site-nav .sub .nested a {
    padding-left: 1.5rem;
  }

  .site-nav .menu > li > .top-link[aria-current="page"],
  .site-nav .has-sub.is-current > .top-item,
  .site-nav .has-sub-setup.is-current > .top-item {
    background: linear-gradient(90deg, var(--pink), var(--orange));
    color: #1a0820;
    border-color: transparent;
  }

  .site-nav .x-follow-nav {
    margin-top: 0.15rem;
  }

  .site-nav .x-follow-nav .x-follow-text {
    margin: 0;
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 143, 191, 0.65);
    background: rgba(240, 70, 112, 0.14);
    color: var(--ink);
    font-size: inherit;
    font-weight: 650;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .site-nav .x-follow-nav .x-follow-lead,
  .site-nav .x-follow-nav .x-follow-handles {
    margin: 0;
    max-width: 100%;
  }

  .site-nav .x-follow-nav .x-follow-handles {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .site-nav .x-follow-nav .x-follow-sep {
    display: none;
  }

  .site-nav .x-follow-nav .x-follow-link,
  .site-nav .x-follow-nav .x-follow-link:hover,
  .site-nav .x-follow-nav .x-follow-link:focus-visible {
    display: inline;
    align-items: unset;
    gap: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--link);
    font: inherit;
    font-weight: 750;
    line-height: inherit;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-nav .x-follow-nav .x-follow-link:hover,
  .site-nav .x-follow-nav .x-follow-link:focus-visible {
    color: var(--link-hover);
  }
}

/* ---------- Launch strip ---------- */

.launch-strip {
  background: linear-gradient(90deg, rgba(87, 27, 111, 0.92), rgba(189, 38, 119, 0.92) 55%, rgba(250, 126, 54, 0.9));
  color: #fff7fb;
  border-bottom: 1px solid rgba(255, 143, 191, 0.5);
  font-size: 0.9rem;
  font-weight: 600;
}

.launch-strip .strip-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.45rem 1rem;
}

.launch-strip p {
  margin: 0;
  line-height: 1.4;
}

.launch-strip a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 750;
}

.launch-strip a:hover {
  color: #ffe2ef;
}

.launch-strip .strip-icon {
  margin-right: 0.4rem;
}

.launch-strip .strip-sep {
  margin: 0 0.35rem;
}

.launch-strip.is-out {
  background: linear-gradient(90deg, rgba(20, 120, 112, 0.92), rgba(87, 27, 111, 0.92));
}

/* ---------- Layout and type ---------- */

main {
  padding: 1.5rem 0 3.5rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin: 0 0 0.6rem;
  color: #fff0f7;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 3.6rem);
  text-shadow: var(--glow);
}

h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.2rem);
  margin-top: 0.2rem;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
}

strong {
  color: #fff;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: var(--max);
}

.hero,
.card,
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.2rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.hero::before,
.card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--sunset);
}

.hero {
  padding-top: 2.4rem;
}

.hero::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  width: 96px;
  height: 15px;
  background: url("assets/stars.svg") no-repeat left center / contain;
  opacity: 0.85;
}

.card h2::before {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.35em;
  vertical-align: 0.02em;
  background: url("assets/star.svg") no-repeat center / contain;
}

/* Home hero: our own sunset and palms art behind the brand splash */
.hero-home {
  padding-top: 0;
}

.hero-home::after {
  display: none;
}

.splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  min-height: 15rem;
  margin: 0 -1.2rem 1.25rem;
  padding: 1.5rem 1rem 1.6rem;
  background:
    linear-gradient(180deg, rgba(20, 10, 36, 0) 45%, rgba(33, 16, 53, 0.92) 100%),
    url("assets/hero-sunset-sm.jpg") center bottom / cover no-repeat,
    var(--sunset-v);
  border-bottom: 1px solid var(--line);
}

.splash-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 12vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #fff3f9;
  text-shadow: 0 0 10px rgba(255, 95, 162, 0.9), 0 0 30px rgba(240, 70, 112, 0.6), 0 3px 0 rgba(58, 20, 102, 0.6);
}

.splash-tag {
  margin-top: 0.4rem;
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(20, 10, 36, 0.72);
  border: 1px solid rgba(62, 230, 212, 0.6);
  color: #d6fffa;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 700px) {
  .splash {
    min-height: 21rem;
    background:
      linear-gradient(180deg, rgba(20, 10, 36, 0) 50%, rgba(33, 16, 53, 0.92) 100%),
      url("assets/hero-sunset.jpg") center 70% / cover no-repeat,
      var(--sunset-v);
  }
}

/* ---------- Notices ---------- */

.disclaimer,
.unknown,
.source {
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  margin: 0 0 1rem;
}

.disclaimer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(62, 230, 212, 0.1);
  color: #c9fff8;
  font-weight: 650;
  border: 1px solid rgba(62, 230, 212, 0.55);
}

.disclaimer::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  background: url("assets/star.svg") no-repeat center / contain;
}

.unknown {
  background: rgba(250, 126, 54, 0.12);
  color: #ffe3c9;
  border: 1px solid rgba(250, 126, 54, 0.6);
  border-left-width: 5px;
}

.unknown strong {
  color: #ffd2a8;
}

.source,
.fine {
  color: var(--muted);
  font-size: 0.92rem;
}

.source {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--line);
}

/* ---------- Countdown ---------- */

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.unit {
  background: radial-gradient(120% 120% at 50% 0%, rgba(189, 38, 119, 0.35), rgba(20, 10, 36, 0.95) 70%);
  color: var(--ink);
  border: 1px solid rgba(255, 143, 191, 0.55);
  border-radius: 14px;
  text-align: center;
  padding: 0.85rem 0.3rem 0.7rem;
  box-shadow: var(--glow), inset 0 0 18px rgba(240, 70, 112, 0.18);
}

.unit .num {
  display: block;
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  line-height: 1;
  color: #fff3f9;
  text-shadow: var(--glow-strong);
}

.unit .label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd0e4;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0.4rem;
}

.button,
button {
  appearance: none;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #1a0820;
  padding: 0.65rem 1.25rem;
  min-height: 48px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(240, 70, 112, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.button:hover,
button:hover {
  color: #1a0820;
  box-shadow: var(--glow-strong);
  transform: translateY(-1px);
}

.button-secondary,
button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(62, 230, 212, 0.75);
  box-shadow: none;
}

.button-secondary:hover,
button.secondary:hover {
  color: #fff;
  background: rgba(62, 230, 212, 0.12);
  box-shadow: 0 0 6px rgba(62, 230, 212, 0.55), 0 0 18px rgba(62, 230, 212, 0.3);
}

button.danger {
  background: transparent;
  color: #ffb3b3;
  border-color: #ff7a7a;
  box-shadow: none;
}

button.danger:hover {
  color: #fff;
  background: rgba(255, 122, 122, 0.14);
  box-shadow: none;
}

/* ---------- Home mission grid ---------- */

.missions {
  margin: 0 0 1.5rem;
}

.missions h2 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  text-shadow: var(--glow);
  margin-bottom: 0.2rem;
}

.missions-tag {
  color: var(--muted);
  margin-bottom: 1rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mission {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  min-height: 8.5rem;
  padding: 1rem 0.9rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(189, 38, 119, 0.22), rgba(33, 16, 53, 0) 60%),
    var(--surface);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mission::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--sunset);
  opacity: 0.7;
}

.mission:hover {
  color: var(--ink);
  border-color: rgba(255, 143, 191, 0.8);
  box-shadow: var(--glow-strong);
  transform: translateY(-3px);
}

.mission:hover .mission-title {
  text-shadow: var(--glow-strong);
}

.mission-icon {
  font-size: 1.7rem;
  line-height: 1;
}

.mission-title {
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #fff0f7;
  text-shadow: var(--glow);
}

.mission-blurb {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (min-width: 700px) {
  .mission-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

@media (min-width: 1000px) {
  .mission-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Related-page chips (every page) ---------- */

.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.guide-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  height: 100%;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  line-height: 1.25;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.guide-list a::before {
  content: "★";
  flex: none;
  font-size: 1.15rem;
  line-height: 1;
}

.guide-list a[href="unlock.html"]::before { content: "🕛"; }
.guide-list a[href="storage.html"]::before { content: "💾"; }
.guide-list a[href="editions.html"]::before { content: "💎"; }
.guide-list a[href="online.html"]::before { content: "🌐"; }
.guide-list a[href="performance.html"]::before { content: "🎮"; }
.guide-list a[href="patches.html"]::before { content: "🛠️"; }
.guide-list a[href="beginners.html"]::before { content: "🧭"; }
.guide-list a[href="codes.html"]::before { content: "🎟️"; }
.guide-list a[href="tips.html"]::before { content: "💡"; }
.guide-list a[href="answers.html"]::before { content: "💬"; }
.guide-list a[href="tracker.html"]::before { content: "✅"; }
.guide-list a[href="index.html"]::before { content: "🌴"; }
.guide-list a[href="ps5-update.html"]::before { content: "⬇️"; }
.guide-list a[href="hidden-moves.html"]::before { content: "🏍️"; }
.guide-list a[href="shake-cops.html"]::before { content: "⭐"; }
.guide-list a[href="collectibles.html"]::before { content: "☄️"; }
.guide-list a[href="read-your-stars.html"]::before { content: "✨"; }

.guide-list a:hover {
  color: #fff;
  border-color: rgba(255, 143, 191, 0.8);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* ---------- FAQ, citations, lists ---------- */

.faq {
  display: grid;
  gap: 0.9rem;
}

.faq article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pink);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}

.faq h2 {
  font-size: 1.6rem;
}

.cite {
  margin: 0.6rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.cite a {
  color: var(--link);
}

ol.plain,
ul.plain {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}

ol.plain li,
ul.plain li {
  margin: 0 0 0.45rem;
}

ul.plain li::marker {
  color: var(--pink);
}

ol.plain li::marker {
  color: var(--peach);
  font-weight: 700;
}

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

table.data th,
table.data td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--line);
}

table.data th {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd0e4;
  background: var(--surface-2);
}

table.data tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}

table.data tbody tr:hover td {
  background: rgba(240, 70, 112, 0.08);
}

table.data caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  padding: 0.7rem 0.75rem 0.4rem;
  color: var(--ink);
}

.region-status {
  font-weight: 700;
  white-space: nowrap;
}

.region-status.is-live {
  color: var(--aqua);
  text-shadow: 0 0 8px rgba(62, 230, 212, 0.45);
}

.region-status.is-live::before {
  content: "● ";
}

.region-status.is-upcoming {
  color: var(--peach);
}

/* ---------- Tracker ---------- */

.tracker-toolbar,
.confirm-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 0 0 1rem;
}

.progress {
  font-weight: 700;
  margin-right: auto;
  color: #ffd0e4;
}

.section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 1rem;
  padding: 0.2rem 0;
  overflow: hidden;
}

.section h2 {
  margin: 0;
  padding: 0.9rem 1.1rem 0.35rem;
}

.section .hint {
  margin: 0;
  padding: 0 1.1rem 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 1.1rem;
  border-top: 1px solid var(--line);
}

.item:hover {
  background: rgba(240, 70, 112, 0.06);
}

.item input[type="checkbox"] {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.15rem;
  flex: none;
  accent-color: var(--pink);
}

.item label {
  flex: 1;
  cursor: pointer;
}

textarea {
  width: 100%;
  min-height: 10rem;
  font: 0.9rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
}

.status {
  min-height: 1.5em;
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.status[data-kind="error"] {
  color: #ffb3b3;
  font-weight: 700;
}

.status[data-kind="ok"] {
  color: var(--aqua);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

/* ---------- Follow us ---------- */

.follow-us-hero {
  /* Inherits .card look so it sits with the other home sections. */
}

.follow-tag,
.follow-label {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.follow-label {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-shadow: var(--glow);
}

.follow-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.follow-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  max-width: 100%;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--glow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.follow-pill:hover,
.follow-pill:focus-visible {
  color: var(--ink);
  border-color: var(--neon);
  background: #3a1854;
  box-shadow: var(--glow-strong);
}

.follow-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  fill: currentColor;
}

.follow-name {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.follow-handle {
  color: var(--aqua);
  font-weight: 700;
  font-size: 0.95rem;
}

.follow-note {
  font-size: 0.75rem;
  color: var(--muted);
}

.follow-us-footer {
  margin: 0 0 0.95rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.follow-us-footer .follow-label {
  margin-bottom: 0.65rem;
}

.follow-us-footer .follow-pill {
  padding: 0.45rem 0.8rem;
  background: rgba(43, 22, 69, 0.9);
}

.follow-us-footer .follow-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .follow-pill {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  margin-top: 1rem;
  padding: 7rem 0 2rem;
  color: var(--muted);
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(20, 10, 36, 0) 30%, rgba(20, 10, 36, 0.55) 55%, #0d0618 78%),
    url("assets/palms-strip.jpg") center top / cover no-repeat,
    #0d0618;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--sunset);
}

.footer-inner {
  max-width: 52rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(13, 6, 24, 0.82);
  border: 1px solid var(--line);
}

.footer-inner::before {
  content: "";
  display: block;
  width: 120px;
  height: 19px;
  margin-bottom: 0.7rem;
  background: url("assets/stars.svg") no-repeat left center / contain;
}

.site-footer a {
  color: var(--link);
}

.site-footer p {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
}

.placeholder-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  body {
    font-size: 1.03rem;
  }

  .hero,
  .card,
  .panel {
    padding: 1.2rem 1rem;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .hero-home {
    padding-top: 0;
  }

  .splash {
    margin: 0 -1rem 1.1rem;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .unit {
    padding: 0.65rem 0.15rem 0.55rem;
  }

  .unit .label {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .actions .button {
    width: 100%;
  }

  .mission {
    min-height: 8rem;
    padding: 0.85rem 0.75rem;
  }

  .mission-title {
    font-size: 1.45rem;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .brand-tag {
    font-size: 0.66rem;
  }

  html.js .nav-toggle {
    padding: 0.45rem 0.85rem;
    font-size: 1.15rem;
  }
}

@media (max-width: 359px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .brand-mark {
    animation: neon-breathe 4s ease-in-out infinite;
  }

  .splash-title {
    animation: neon-flicker 7s linear infinite;
  }
}

@keyframes neon-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(255, 143, 191, 0.55), 0 0 6px rgba(255, 95, 162, 0.45);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(255, 143, 191, 0.8), 0 0 18px rgba(255, 95, 162, 0.8);
  }
}

@keyframes neon-flicker {
  0%,
  90%,
  94%,
  100% {
    opacity: 1;
  }
  92% {
    opacity: 0.82;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .mission:hover,
  .guide-list a:hover,
  .button:hover,
  button:hover,
  .follow-pill:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .site-nav a[aria-current="page"],
  .button,
  button {
    border: 2px solid ButtonText;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .x-follow-bar,
  .site-footer::before,
  .splash,
  .nav-toggle {
    display: none;
  }
}

/* Original star-color key for read-your-stars.html. CSS shapes only; no game art. */
.star-key {
  list-style: none;
  margin: 1.1rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.star-key > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.star-key h3 {
  margin: 0 0 0.35rem;
}
.star-key p {
  margin: 0;
}
.star-swatch {
  display: flex;
  gap: 0.18rem;
  padding-top: 0.35rem;
}
.star-mark {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.star-mark-outline {
  background: #f5f5f5;
  filter: drop-shadow(0 0 0.6px #0a0a0a) drop-shadow(0 0 0.6px #0a0a0a) drop-shadow(1px 0 0 #0a0a0a) drop-shadow(-1px 0 0 #0a0a0a) drop-shadow(0 1px 0 #0a0a0a) drop-shadow(0 -1px 0 #0a0a0a);
}
.star-mark-gray { background: #9a9aa8; }
.star-mark-solid { background: #f7f7f7; }
.star-mark-red { background: #e23d3d; }
.hot-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.hot-chip {
  display: inline-block;
  padding: 0.2rem 0.7rem 0.15rem;
  border-radius: 999px;
  background: #6b2d8a;
  color: #f6e9ff;
  font-family: var(--display);
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  border: 1px solid #9b5cc0;
}

/* ---------- Easter eggs list (original icons, no remote images) ---------- */
.egg-index {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}
.egg-index a {
  color: var(--link);
}
.egg-card .egg-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.egg-icon {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  background: #160a28;
  border-radius: 50%;
  border: 1px solid var(--aqua);
  box-shadow: 0 0 12px rgba(62, 230, 212, 0.25);
}
.egg-card .egg-head h2 {
  margin: 0 0 0.35rem;
}
.egg-location {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.egg-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.45rem 0 0;
}
.egg-chip {
  display: inline-block;
  padding: 0.12rem 0.55rem 0.08rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--haze);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.egg-chip-spoiler {
  border-color: #c96a3a;
  color: #ffd2b8;
}
.egg-shot-note {
  margin: 0.85rem 0 0.35rem;
}
.egg-spoiler {
  margin: 0.9rem 0 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface-2);
}
.egg-spoiler summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
}
.egg-spoiler summary:focus {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}
.egg-spoiler p {
  margin: 0.65rem 0 0.15rem;
}
.guide-list a[href="easter-eggs.html"]::before { content: "🥚"; }
.guide-list a[href="money.html"]::before { content: "💰"; }

/* ---------- Tips & Tricks hub cards ---------- */

.tip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: tip;
}

.tip-cards > li {
  counter-increment: tip;
  display: flex;
  flex-direction: column;
}

.tip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1 1 auto;
  min-height: 7.2rem;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.tip-card::after {
  content: counter(tip);
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  font-family: var(--display);
  font-size: 1.4rem;
  color: rgba(255, 143, 191, 0.55);
}

.tip-card:hover {
  color: #fff;
  border-color: rgba(255, 143, 191, 0.8);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.tip-card .tip-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.tip-card .tip-title {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.tip-card .tip-blurb {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.35;
}

.tip-card-lead {
  border-color: rgba(250, 126, 54, 0.75);
}

.tip-sublinks {
  margin: 0.4rem 0 0;
  padding-left: 0.3rem;
  font-size: 0.9rem;
}

/* ---------- Playtime bars (our own CSS chart) ---------- */

.bars {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.bars li {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.bar-track {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 1.9rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: var(--sunset);
  color: #1a0820;
  font-weight: 800;
  white-space: nowrap;
}

.bar-42 { width: 36.5%; }
.bar-60 { width: 52.2%; }
.bar-65 { width: 56.5%; }
.bar-70 { width: 60.9%; }
.bar-100 { width: 87%; }
.bar-115 { width: 100%; }

@media (max-width: 520px) {
  .bars li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

/* ---------- Region cards and cheat inputs ---------- */

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.region-grid li {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--aqua);
  border-radius: 12px;
  background: var(--bg);
}

.region-grid strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  font-weight: 400;
  color: #fff0f7;
}

.input-seq {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.input-seq span {
  display: inline-block;
  min-width: 2.6rem;
  padding: 0.05rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.callout {
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  margin: 0 0 1rem;
  background: rgba(240, 70, 112, 0.1);
  border: 1px solid rgba(255, 143, 191, 0.55);
}

.guide-list a[href="cheats.html"]::before { content: "🕹️"; }
.guide-list a[href="how-long-to-beat.html"]::before { content: "⏱️"; }
.guide-list a[href="map.html"]::before { content: "🗺️"; }
.guide-list a[href="gta-plus.html"]::before { content: "➕"; }
.guide-list a[href="switch-characters.html"]::before { content: "🔁"; }
.guide-list a[href="launch.html"]::before { content: "🌴"; }
.guide-list a[href="index.html"]::before { content: "💡"; }

/* Hub: shorter splash so the tip cards sit higher */
.hero-hub .splash {
  min-height: 9rem;
}

@media (min-width: 700px) {
  .hero-hub .splash {
    min-height: 12rem;
  }
}

/* Stacked table rows on phones (cheat list) */
@media (max-width: 640px) {
  table.data.stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  table.data.stack,
  table.data.stack tbody,
  table.data.stack tr,
  table.data.stack th,
  table.data.stack td {
    display: block;
    width: 100%;
  }

  table.data.stack caption {
    display: block;
    width: 100%;
  }

  table.data.stack tr {
    border-bottom: 2px solid var(--line);
    padding: 0.3rem 0;
  }

  table.data.stack th[scope="row"] {
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 0;
  }

  table.data.stack td {
    border-bottom: 0;
    padding: 0.2rem 0.7rem 0.35rem;
  }

  table.data.stack td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffd0e4;
  }
}

.card h3 {
  margin-top: 1.35rem;
}

.guide-list a[href="index.html#first-night"]::before { content: "🌙"; }
.guide-list a[href="launchers.html"]::before { content: "💥"; }
.guide-list a[href="video-games.html"]::before { content: "🎮"; }
