/* ================================================================
   Shared game hub index components (Type A / B / C + quick links + FAQ)
   Games set accent tokens on body, e.g.:
     body.bb-index {
       --hub-accent: #e83636;
       --hub-accent-bright: #ff5555;
       --hub-card-bg: #24181c;
       --hub-border: rgba(122, 106, 110, 0.28);
       --hub-border-strong: rgba(232, 220, 200, 0.22);
       --hub-text: #f0ebe8;
       --hub-text-dim: rgba(240, 235, 232, 0.90);
     }
   ================================================================ */

:root {
  --hub-accent: #c9a23a;
  --hub-accent-bright: #e0b84a;
  --hub-card-bg: rgba(255, 255, 255, 0.03);
  --hub-border: rgba(255, 255, 255, 0.12);
  --hub-border-strong: rgba(255, 255, 255, 0.2);
  --hub-text: #f0ebe8;
  --hub-text-dim: rgba(240, 235, 232, 0.88);
  --hub-font: var(--font-display, 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif);
}

/* ----------------------------------------------------------------
   Unified hub typography (Poppins) — wins over per-game heading CSS
   Use html body[class] for specificity over body.{game} .section-heading
   Canonical: .hub-section-title / .hub-group-title / .hub-quick-links-label
   ---------------------------------------------------------------- */
html body[class] header h1,
html body[class] .hub-section-title,
html body[class] .section-heading,
html body[class] .dlc-heading,
html body[class] .er-section-heading,
html body[class] .lop-section-heading,
html body[class] .hk-section-heading,
html body[class] .bb-section-heading,
html body[class] .sn2-section-heading,
html body[class] .article-content > h2,
html body[class] .hub-group-title,
html body[class] .er-hub-group-heading,
html body[class] .hub-quick-links-label,
html body[class] .hub-checklist-title,
html body[class] .checklist-list-title,
html body[class] .checklist-compact-title,
html body[class] .location-gallery-name,
html body[class] .hub-location-name,
html body[class] .dlc-featured-title,
html body[class] .hub-highlight-title,
html body[class] .hub-faq-q,
html body[class] .faq-question,
html body[class] .bb-faq-q,
html body[class] .lop-faq-q,
html body[class] .er-faq-q,
html body[class] .hk-faq-q,
html body[class] .kcd2-faq-question,
html body[class] .hub-quick-link-number,
html body[class] .quick-link-number,
html body[class] .bb-quick-link-number,
html body[class] .lop-quick-link-number,
html body[class] .er-quick-link-number,
html body[class] .hk-quick-link-number,
html body[class] .sn2-quick-link-number,
html body[class] .shortcut-box-value,
html body[class] .hub-quick-link-name,
html body[class] .quick-link-name,
html body[class] .bb-quick-link-name,
html body[class] .lop-quick-link-name,
html body[class] .er-quick-link-name,
html body[class] .hk-quick-link-name,
html body[class] .sn2-quick-link-name,
html body[class] .shortcut-box-label,
html body[class] .er-row-title,
html body[class] .lop-row-title,
html body[class] .hk-row-title,
html body[class] .bb-row-title,
html body[class] .sn2-row-title {
  font-family: var(--hub-font) !important;
}

/* H1: one look on every hub (no game-specific glow/shadow) */
html body[class] header h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  text-shadow: none !important;
  color: var(--hub-accent-bright) !important;
  margin: 0 0 16px 0 !important;
}

/* Section H2: shared accent + underline (aliases all game classes) */
html body[class] .hub-section-title,
html body[class] .section-heading,
html body[class] .dlc-heading,
html body[class] .er-section-heading,
html body[class] .lop-section-heading,
html body[class] .hk-section-heading,
html body[class] .bb-section-heading,
html body[class] .sn2-section-heading,
html body[class] .article-content > h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  text-shadow: none !important;
  color: var(--hub-accent) !important;
  margin: 36px 0 16px 0 !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid color-mix(in srgb, var(--hub-accent) 22%, transparent) !important;
  background: none !important;
}
html body[class] .hub-section-title span,
html body[class] .er-section-heading span,
html body[class] .er-hub-checklists-heading .er-checklists-label,
html body[class] .lop-section-heading span,
html body[class] .hk-section-heading span {
  color: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
}

/* Group labels inside a section (e.g. ER Key items / Upgrades) */
html body[class] .hub-group-title,
html body[class] .er-hub-group-heading {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--hub-accent) !important;
  margin: 22px 0 8px 0 !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid var(--hub-border) !important;
  text-shadow: none !important;
}
html body[class] .hub-group-title:first-child,
html body[class] .er-hub-group-heading:first-child {
  margin-top: 0 !important;
}

/* Checklist / row titles inside Type A cards */
html body[class] .hub-checklist-title,
html body[class] .checklist-list-title,
html body[class] .er-row-title,
html body[class] .lop-row-title,
html body[class] .hk-row-title,
html body[class] .bb-row-title,
html body[class] .sn2-row-title,
html body[class] .er-row.er-weapons-hub-feature .er-row-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
  color: var(--hub-accent-bright) !important;
  line-height: 1.3 !important;
}

@media (max-width: 768px) {
  html body[class] header h1 {
    font-size: 1.45rem !important;
  }
  html body[class] .hub-section-title,
  html body[class] .section-heading,
  html body[class] .dlc-heading,
  html body[class] .er-section-heading,
  html body[class] .lop-section-heading,
  html body[class] .hk-section-heading,
  html body[class] .bb-section-heading,
  html body[class] .sn2-section-heading,
  html body[class] .article-content > h2 {
    font-size: 1.25rem !important;
    margin: 28px 0 14px 0 !important;
  }
}

/* ----------------------------------------------------------------
   Intro
   ---------------------------------------------------------------- */
.page-intro {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hub-text-dim);
  margin: 0 0 12px 0;
}
.page-intro a {
  color: var(--hub-accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--hub-accent) 50%, transparent);
  text-underline-offset: 2px;
  font-weight: 600;
}
.page-intro a:hover {
  color: var(--hub-accent-bright);
  text-decoration-thickness: 2px;
}

/* Kill leftover auto-save tip boxes if any markup remains */
.autosave-tip-box {
  display: none !important;
}

/* Jump-to-section boxes look too much like quick links; never on hubs */
.page-navigation-box {
  display: none !important;
}

/* ----------------------------------------------------------------
   Quick links (full-bleed box + SHORTCUTS label)
   Aliases: .quick-links-box, .{game}-quick-links, .shortcut-grid
   ---------------------------------------------------------------- */
.hub-quick-links-section,
.shortcut-section.hub-quick-links-section {
  margin: 18px 0 16px 0;
  width: 100%;
}
/* Hide old external titles; label lives inside the box */
.hub-quick-links-title,
.hub-quick-links-section > h2.hub-quick-links-title,
.shortcut-section-title.hub-quick-links-title,
.bb-hub-grid-title,
.hk-quick-links-section-title,
.lop-hub-grid-title {
  display: none !important;
}

.hub-quick-links,
.quick-links-box,
.bb-quick-links,
.lop-quick-links,
.er-quick-links,
.hk-quick-links,
.sn2-quick-links,
.shortcut-grid {
  display: grid !important;
  /* Default 5 cols: 10 tiles = 5+5 (no orphan row). Label is child 1. */
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 14px 16px 16px !important;
  margin: 16px -20px 18px -20px !important;
  width: calc(100% + 40px) !important;
  max-width: none !important;
  box-sizing: border-box !important;
  border: 1px solid var(--hub-border-strong) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--hub-accent) 8%, transparent) 0%,
      rgba(0, 0, 0, 0.35) 48%,
      color-mix(in srgb, var(--hub-accent) 5%, transparent) 100%) !important;
  box-shadow: 0 0 28px color-mix(in srgb, var(--hub-accent) 10%, transparent);
  align-items: stretch;
}

/* Count-aware columns (children = label + N tiles) */
.hub-quick-links:has(> :nth-child(5):last-child),
.quick-links-box:has(> :nth-child(5):last-child),
.bb-quick-links:has(> :nth-child(5):last-child),
.lop-quick-links:has(> :nth-child(5):last-child),
.er-quick-links:has(> :nth-child(5):last-child),
.hk-quick-links:has(> :nth-child(5):last-child),
.sn2-quick-links:has(> :nth-child(5):last-child),
.shortcut-grid:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* 4 tiles */
}
.hub-quick-links:has(> :nth-child(7):last-child),
.quick-links-box:has(> :nth-child(7):last-child),
.bb-quick-links:has(> :nth-child(7):last-child),
.lop-quick-links:has(> :nth-child(7):last-child),
.er-quick-links:has(> :nth-child(7):last-child),
.hk-quick-links:has(> :nth-child(7):last-child),
.sn2-quick-links:has(> :nth-child(7):last-child),
.shortcut-grid:has(> :nth-child(7):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 6 tiles */
}
.hub-quick-links:has(> :nth-child(9):last-child),
.quick-links-box:has(> :nth-child(9):last-child),
.bb-quick-links:has(> :nth-child(9):last-child),
.lop-quick-links:has(> :nth-child(9):last-child),
.er-quick-links:has(> :nth-child(9):last-child),
.hk-quick-links:has(> :nth-child(9):last-child),
.sn2-quick-links:has(> :nth-child(9):last-child),
.shortcut-grid:has(> :nth-child(9):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* 8 tiles */
}
.hub-quick-links:has(> :nth-child(13):last-child),
.quick-links-box:has(> :nth-child(13):last-child),
.bb-quick-links:has(> :nth-child(13):last-child),
.lop-quick-links:has(> :nth-child(13):last-child),
.er-quick-links:has(> :nth-child(13):last-child),
.hk-quick-links:has(> :nth-child(13):last-child),
.sn2-quick-links:has(> :nth-child(13):last-child),
.shortcut-grid:has(> :nth-child(13):last-child) {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important; /* 12 tiles */
}
.hub-quick-links:has(> :nth-child(15):last-child),
.quick-links-box:has(> :nth-child(15):last-child),
.bb-quick-links:has(> :nth-child(15):last-child),
.lop-quick-links:has(> :nth-child(15):last-child),
.er-quick-links:has(> :nth-child(15):last-child),
.hk-quick-links:has(> :nth-child(15):last-child),
.sn2-quick-links:has(> :nth-child(15):last-child),
.shortcut-grid:has(> :nth-child(15):last-child) {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important; /* 14 tiles */
}

.hub-quick-links-label {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0 0 2px 0;
  padding: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hub-accent);
  line-height: 1.2;
}

.hub-quick-link,
.quick-link-item,
.bb-quick-link,
.lop-quick-link,
.er-quick-link,
.hk-quick-link,
.sn2-quick-link,
.shortcut-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 96px !important;
  padding: 10px 6px !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  color: inherit !important;
  /* No per-icon tile boxes — icons sit on the quick-links panel */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hub-quick-link::after,
.quick-link-item::after,
.bb-quick-link::after,
.lop-quick-link::after,
.er-quick-link::after,
.hk-quick-link::after,
.sn2-quick-link::after,
.shortcut-box::after { display: none !important; }

.hub-quick-link:hover,
.quick-link-item:hover,
.bb-quick-link:hover,
.lop-quick-link:hover,
.er-quick-link:hover,
.hk-quick-link:hover,
.sn2-quick-link:hover,
.shortcut-box:hover {
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--hub-accent) 12%, transparent) !important;
}

.hub-quick-link img,
.quick-link-item img,
.quick-link-icon img,
.bb-quick-link img,
.lop-quick-link img,
.er-quick-link img,
.hk-quick-link img,
.sn2-quick-link img,
.shortcut-box img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  border: 0 !important;
  outline: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.quick-link-icon,
.hub-checklist-icon,
.checklist-list-icon,
.checklist-compact-icon {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.hub-checklist-icon img,
.checklist-list-icon img,
.checklist-compact-icon img {
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.quick-link-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.hub-quick-link-number,
.quick-link-number,
.bb-quick-link-number,
.lop-quick-link-number,
.er-quick-link-number,
.hk-quick-link-number,
.sn2-quick-link-number,
.shortcut-box-value {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--hub-accent-bright) !important;
  line-height: 1 !important;
}
.hub-quick-link-name,
.quick-link-name,
.bb-quick-link-name,
.lop-quick-link-name,
.er-quick-link-name,
.hk-quick-link-name,
.sn2-quick-link-name,
.shortcut-box-label {
  font-size: 12px !important;
  color: var(--hub-text) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  max-width: 11em;
}

@media (max-width: 900px) {
  .hub-quick-links,
  .quick-links-box,
  .bb-quick-links,
  .lop-quick-links,
  .er-quick-links,
  .hk-quick-links,
  .sn2-quick-links,
  .shortcut-grid {
    margin: 14px -10px 16px -10px !important;
    width: calc(100% + 20px) !important;
    /* Keep 5 cols so 10 tiles = 5+5 (not 4+4+2) */
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 10px 8px 12px !important;
  }
  /* Re-assert count rules inside this breakpoint (cascade vs default 5) */
  .hub-quick-links:has(> :nth-child(5):last-child),
  .quick-links-box:has(> :nth-child(5):last-child),
  .shortcut-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* 4 → 2+2 */
  }
  .hub-quick-links:has(> :nth-child(7):last-child),
  .quick-links-box:has(> :nth-child(7):last-child),
  .shortcut-grid:has(> :nth-child(7):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 6 → 3+3 */
  }
  .hub-quick-links:has(> :nth-child(9):last-child),
  .quick-links-box:has(> :nth-child(9):last-child),
  .bb-quick-links:has(> :nth-child(9):last-child),
  .lop-quick-links:has(> :nth-child(9):last-child),
  .er-quick-links:has(> :nth-child(9):last-child),
  .hk-quick-links:has(> :nth-child(9):last-child),
  .sn2-quick-links:has(> :nth-child(9):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* 8 → 4+4 */
  }
  .hub-quick-links:has(> :nth-child(13):last-child),
  .quick-links-box:has(> :nth-child(13):last-child),
  .bb-quick-links:has(> :nth-child(13):last-child),
  .lop-quick-links:has(> :nth-child(13):last-child),
  .er-quick-links:has(> :nth-child(13):last-child),
  .hk-quick-links:has(> :nth-child(13):last-child),
  .sn2-quick-links:has(> :nth-child(13):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* 12 → 4+4+4 */
  }
  .hub-quick-links:has(> :nth-child(15):last-child),
  .quick-links-box:has(> :nth-child(15):last-child),
  .lop-quick-links:has(> :nth-child(15):last-child),
  .er-quick-links:has(> :nth-child(15):last-child),
  .hk-quick-links:has(> :nth-child(15):last-child) {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important; /* 14 → keep 5, or use 7 below */
  }

  .hub-quick-link,
  .quick-link-item,
  .bb-quick-link,
  .lop-quick-link,
  .er-quick-link,
  .hk-quick-link,
  .sn2-quick-link,
  .shortcut-box {
    min-height: 78px !important;
    padding: 8px 3px !important;
    gap: 4px !important;
  }
  .hub-quick-link img,
  .quick-link-item img,
  .quick-link-icon img,
  .bb-quick-link img,
  .lop-quick-link img,
  .er-quick-link img,
  .hk-quick-link img,
  .sn2-quick-link img,
  .shortcut-box img {
    width: 30px !important;
    height: 30px !important;
  }
  .quick-link-icon {
    width: 30px !important;
    height: 30px !important;
  }
  .hub-quick-link-number,
  .quick-link-number,
  .bb-quick-link-number,
  .lop-quick-link-number,
  .er-quick-link-number,
  .hk-quick-link-number,
  .sn2-quick-link-number,
  .shortcut-box-value { font-size: 15px !important; }
  .hub-quick-link-name,
  .quick-link-name,
  .bb-quick-link-name,
  .lop-quick-link-name,
  .er-quick-link-name,
  .hk-quick-link-name,
  .sn2-quick-link-name,
  .shortcut-box-label {
    font-size: 10px !important;
    max-width: 100%;
  }
}

/* Narrow phones: still 5-across for 10, slightly tighter */
@media (max-width: 420px) {
  .hub-quick-links,
  .quick-links-box,
  .bb-quick-links,
  .lop-quick-links,
  .er-quick-links,
  .hk-quick-links,
  .sn2-quick-links,
  .shortcut-grid {
    gap: 4px !important;
    padding: 8px 6px 10px !important;
  }
  .hub-quick-link,
  .quick-link-item,
  .bb-quick-link,
  .lop-quick-link,
  .er-quick-link,
  .hk-quick-link,
  .sn2-quick-link,
  .shortcut-box {
    min-height: 70px !important;
    padding: 6px 2px !important;
  }
  .hub-quick-link img,
  .quick-link-item img,
  .quick-link-icon img,
  .bb-quick-link img,
  .lop-quick-link img,
  .er-quick-link img,
  .hk-quick-link img,
  .sn2-quick-link img,
  .shortcut-box img {
    width: 26px !important;
    height: 26px !important;
  }
  .hub-quick-link-number,
  .quick-link-number,
  .bb-quick-link-number,
  .lop-quick-link-number,
  .er-quick-link-number,
  .hk-quick-link-number,
  .sn2-quick-link-number,
  .shortcut-box-value { font-size: 13px !important; }
  .hub-quick-link-name,
  .quick-link-name,
  .bb-quick-link-name,
  .lop-quick-link-name,
  .er-quick-link-name,
  .hk-quick-link-name,
  .sn2-quick-link-name,
  .shortcut-box-label { font-size: 9px !important; }
}

/* ----------------------------------------------------------------
   Type A — Checklist item
   ---------------------------------------------------------------- */
.hub-checklist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hub-checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}
.hub-checklist-item::after { display: none !important; }
.hub-checklist-item:hover {
  border-color: color-mix(in srgb, var(--hub-accent) 55%, transparent);
  transform: translateX(3px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.hub-checklist-item.featured {
  border-color: color-mix(in srgb, var(--hub-accent) 55%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--hub-accent) 12%, transparent) 0%, var(--hub-card-bg) 100%);
}
.hub-checklist-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-checklist-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 0 !important;
  margin: 0 !important;
}
.hub-checklist-thumb {
  flex: 0 0 160px;
  width: 160px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hub-border-strong);
  background: rgba(0, 0, 0, 0.35);
}
.hub-checklist-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0 !important;
  margin: 0 !important;
}
.hub-checklist-content {
  flex: 1;
  min-width: 0;
}
.hub-checklist-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hub-accent-bright);
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.hub-checklist-item:hover .hub-checklist-title {
  color: var(--hub-accent-bright);
}
.hub-checklist-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--hub-text-dim);
  margin: 0;
}
.hub-checklist-count {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--hub-accent);
}
.hub-checklist-arrow {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--hub-accent);
  transition: transform 0.2s ease;
}
.hub-checklist-item:hover .hub-checklist-arrow {
  transform: translateX(3px);
}
@media (max-width: 640px) {
  .hub-checklist-item { padding: 12px; gap: 10px; }
  .hub-checklist-thumb {
    flex: 1 1 100%;
    width: 100%;
    max-height: 160px;
  }
  .hub-checklist-item:has(.hub-checklist-thumb) {
    flex-wrap: wrap;
  }
  .hub-checklist-title { font-size: 15px; }
  .hub-checklist-desc { font-size: 13px; }
}

/* ----------------------------------------------------------------
   Type B — Location cards
   ---------------------------------------------------------------- */
.hub-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hub-location-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  text-decoration: none !important;
  color: inherit !important;
  aspect-ratio: 16 / 10;
  background: #111;
}
.hub-location-card::after { display: none !important; }
.hub-location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border: 0 !important;
}
.hub-location-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
}
.hub-location-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.hub-location-desc {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}
.hub-location-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 768px) {
  .hub-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hub-location-card.featured { grid-column: span 2; grid-row: span 1; }
}

/* ----------------------------------------------------------------
   Type C — Highlight / DLC band
   ---------------------------------------------------------------- */
.hub-highlight {
  margin: 28px 0;
  padding: 16px 18px 20px;
  border: 2px solid color-mix(in srgb, var(--hub-accent) 45%, transparent);
  border-radius: 14px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--hub-accent) 14%, transparent) 0%, var(--hub-card-bg) 55%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.hub-highlight > h2 {
  margin-top: 0 !important;
  color: var(--hub-accent) !important;
}
.hub-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.hub-highlight-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--hub-border);
  background: rgba(0, 0, 0, 0.28);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hub-highlight-card::after { display: none !important; }
.hub-highlight-card:hover {
  border-color: color-mix(in srgb, var(--hub-accent) 55%, transparent);
  transform: translateY(-2px);
}
.hub-highlight-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 !important;
  border: 0 !important;
}
.hub-highlight-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hub-accent-bright);
}
.hub-highlight-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--hub-text-dim);
}

/* ----------------------------------------------------------------
   FAQ — ONE look on every hub: full-width, unboxed, divider lines
   Density: Q 16px / A 14px / item padding 12px 0
   html body[class] beats per-game body.{game} overrides
   ---------------------------------------------------------------- */

/* Kill outer FAQ boxes (W3 article-section, KCD2 .card, Nine Sols box, etc.) */
html body[class] .article-container:has(.hub-faq),
html body[class] .article-container:has(.faq-list),
html body[class] .article-section:has(.hub-faq),
html body[class] .article-section:has(.faq-list),
html body[class] .card:has(.hub-faq),
html body[class] .card:has(.faq-list),
html body[class] .faq-section,
html body[class] .hub-faq-section,
html body[class] .lop-faq-section,
html body[class] .er-faq-section,
html body[class] .hk-faq-section,
html body[class] .bb-faq-section,
html body[class] .ninesols-faq-box {
  max-width: none !important;
  width: 100% !important;
  margin: 36px 0 16px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body[class] .hub-faq,
html body[class] .faq-list,
html body[class] .bb-faq,
html body[class] .lop-faq-list,
html body[class] .er-faq-list,
html body[class] .hk-faq-list,
html body[class] .kcd2-faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 12px 0 8px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  width: 100% !important;
}

html body[class] .hub-faq-item,
html body[class] .faq-item,
html body[class] .bb-faq-item,
html body[class] .lop-faq-item,
html body[class] .er-faq-item,
html body[class] .hk-faq-item,
html body[class] .kcd2-faq-item,
html body[class] .ninesols-faq-box .faq-item,
html body[class] .article-content .faq-item,
html body[class] .article-content .hub-faq-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--hub-border) !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  cursor: default !important;
  transition: none !important;
  max-width: none !important;
}
html body[class] .hub-faq-item:last-child,
html body[class] .faq-item:last-child,
html body[class] .bb-faq-item:last-child,
html body[class] .lop-faq-item:last-child,
html body[class] .er-faq-item:last-child,
html body[class] .hk-faq-item:last-child,
html body[class] .kcd2-faq-item:last-child {
  border-bottom: none !important;
}
html body[class] .hub-faq-item:hover,
html body[class] .faq-item:hover {
  background: transparent !important;
  border-color: transparent !important;
  border-bottom-color: var(--hub-border) !important;
  transform: none !important;
}

/* Questions — classes + bare h3 inside FAQ items */
html body[class] .hub-faq-q,
html body[class] .faq-question,
html body[class] .bb-faq-q,
html body[class] .lop-faq-q,
html body[class] .er-faq-q,
html body[class] .hk-faq-q,
html body[class] .kcd2-faq-question,
html body[class] .hub-faq-item > h3,
html body[class] .faq-item > h3,
html body[class] .lop-faq-item > h3,
html body[class] .er-faq-item > h3,
html body[class] .hk-faq-item > h3,
html body[class] .bb-faq-item > h3,
html body[class] .kcd2-faq-item > h3,
html body[class] .article-content .faq-item h3.faq-question,
html body[class] .article-content .hub-faq-item h3.hub-faq-q,
html body[class] .article-container:has(.hub-faq) .hub-faq-q,
html body[class] .article-container:has(.hub-faq) h3 {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--hub-accent) !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.35 !important;
  padding: 0 !important;
  font-family: var(--hub-font) !important;
}

/* Answers — classes + bare p inside FAQ items */
html body[class] .hub-faq-a,
html body[class] .faq-answer,
html body[class] .bb-faq-a,
html body[class] .lop-faq-a,
html body[class] .er-faq-a,
html body[class] .hk-faq-a,
html body[class] .kcd2-faq-answer,
html body[class] .hub-faq-item > p,
html body[class] .faq-item > p,
html body[class] .lop-faq-item > p,
html body[class] .er-faq-item > p,
html body[class] .hk-faq-item > p,
html body[class] .bb-faq-item > p,
html body[class] .kcd2-faq-item > p,
html body[class] .article-content .faq-item p.faq-answer,
html body[class] .article-content .hub-faq-item p.hub-faq-a,
html body[class] .article-container:has(.hub-faq) .hub-faq-a,
html body[class] .article-container:has(.hub-faq) p {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--hub-text-dim) !important;
  margin: 0 0 6px 0 !important;
  opacity: 1 !important;
}
html body[class] p.hub-faq-a,
html body[class] p.faq-answer,
html body[class] p.bb-faq-a,
html body[class] p.lop-faq-a,
html body[class] p.er-faq-a,
html body[class] p.hk-faq-a,
html body[class] p.kcd2-faq-answer,
html body[class] .hub-faq-item > p,
html body[class] .faq-item > p,
html body[class] .lop-faq-item > p,
html body[class] .er-faq-item > p,
html body[class] .hk-faq-item > p {
  padding: 0 !important;
}
html body[class] .hub-faq-a:last-child,
html body[class] .faq-answer:last-child,
html body[class] .hub-faq-item > p:last-child,
html body[class] .faq-item > *:last-child,
html body[class] .lop-faq-item > p:last-child,
html body[class] .er-faq-item > p:last-child,
html body[class] .hk-faq-item > p:last-child {
  margin-bottom: 0 !important;
}

html body[class] .hub-faq-a a,
html body[class] .faq-answer a,
html body[class] .faq-item a,
html body[class] .hub-faq-item a,
html body[class] .lop-faq-item a,
html body[class] .er-faq-item a,
html body[class] .hk-faq-item a,
html body[class] .kcd2-faq-item a,
html body[class] .article-container .hub-faq a,
html body[class] .article-content .faq-item a {
  color: var(--hub-accent) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

html body[class] .hub-faq ul,
html body[class] .faq-item ul,
html body[class] .hub-faq-item ul,
html body[class] ul.faq-answer,
html body[class] ul.hub-faq-a,
html body[class] .article-content .faq-item ul.faq-answer {
  margin: 6px 0 0 0 !important;
  padding-left: 1.25em !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--hub-text-dim) !important;
  list-style: disc !important;
  list-style-position: outside !important;
  background: transparent !important;
  border: none !important;
}
html body[class] .hub-faq li,
html body[class] .faq-item li,
html body[class] ul.faq-answer > li,
html body[class] ul.hub-faq-a > li {
  margin: 0 0 4px 0 !important;
}
html body[class] .hub-faq li::marker,
html body[class] .faq-item li::marker,
html body[class] ul.faq-answer > li::marker,
html body[class] ul.hub-faq-a > li::marker,
html body[class] .article-content .faq-item li::marker,
html body[class] .article-content ul.faq-answer > li::marker {
  color: var(--hub-accent) !important;
}

html body[class] .hub-faq-thumbnail,
html body[class] .lop-faq-thumbnail,
html body[class] .hk-faq-thumbnail {
  margin: 16px 0 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  max-width: none !important;
}
html body[class] .hub-faq-thumbnail img,
html body[class] .lop-faq-thumbnail img,
html body[class] .hk-faq-thumbnail img {
  width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  display: block !important;
}

/* ----------------------------------------------------------------
   Witcher 3: gold for H1, section H2s, FAQ questions, and links.
   Checklist row titles / counts / other accents stay blood red.
   ---------------------------------------------------------------- */
html body.witcher3-index {
  --w3-heading-gold: #e8b84a;
  --w3-heading-gold-bright: #ffd666;
}
html body.witcher3-index header h1 {
  color: var(--w3-heading-gold-bright) !important;
}
html body.witcher3-index .section-heading,
html body.witcher3-index .hub-section-title,
html body.witcher3-index .article-content > h2 {
  color: var(--w3-heading-gold) !important;
  border-bottom-color: color-mix(in srgb, var(--w3-heading-gold) 28%, transparent) !important;
}
html body.witcher3-index .hub-faq-q,
html body.witcher3-index .hub-faq-item > h3,
html body.witcher3-index .article-content .hub-faq-item h3.hub-faq-q {
  color: var(--w3-heading-gold) !important;
}
html body.witcher3-index .page-intro a,
html body.witcher3-index .hub-faq-a a,
html body.witcher3-index .hub-faq-item a,
html body.witcher3-index .article-content .hub-faq-item a {
  color: var(--w3-heading-gold) !important;
}
html body.witcher3-index .page-intro a:hover,
html body.witcher3-index .hub-faq-a a:hover,
html body.witcher3-index .hub-faq-item a:hover {
  color: var(--w3-heading-gold-bright) !important;
}
