/* Jumbo Cruise — Editorial Nautical Design System (2026–2027)
   Supports System, Light, and Dark color schemes with zero external font downloads */
:root {
  --bg-light: #F3F6FA;
  --bg-dark: #06101E;
  --surface-light: #FFFFFF;
  --surface-dark: #0D1E34;
  --surface-alt-light: #EBF1F8;
  --surface-alt-dark: #142A46;
  --navy-light: #081E3B;
  --navy-dark: #E6EFFA;
  --navy-mid-light: #134074;
  --navy-mid-dark: #7CB9F7;
  --teal-light: #096C65;
  --teal-dark: #2DD4BF;
  --teal-soft-light: #E4F4F2;
  --teal-soft-dark: #0F3538;
  --amber-light: #9A4A06;
  --amber-dark: #FBBF24;
  --amber-soft-light: #FEF3E2;
  --amber-soft-dark: #3B270B;
  --ink-light: #0F1F35;
  --ink-dark: #E8F0FA;
  --muted-light: #475569;
  --muted-dark: #A5B6CA;
  --border-light: #D5E0EC;
  --border-dark: #233C5C;
  --border-strong-light: #B8C8DB;
  --border-strong-dark: #36567E;
  --stripe-light: #F8FAFD;
  --stripe-dark: #10253F;
  --hover-row-light: #EBF6F5;
  --hover-row-dark: #17344A;

  --in-oklab: ;
  --in-oklch: ;

  /* Default Light Tokens */
  --bg: var(--bg-light);
  --surface: var(--surface-light);
  --surface-alt: var(--surface-alt-light);
  --navy: var(--navy-light);
  --navy-mid: var(--navy-mid-light);
  --teal: var(--teal-light);
  --teal-soft: var(--teal-soft-light);
  --amber: var(--amber-light);
  --amber-soft: var(--amber-soft-light);
  --ink: var(--ink-light);
  --muted: var(--muted-light);
  --border: var(--border-light);
  --border-strong: var(--border-strong-light);
  --stripe-bg: var(--stripe-light);
  --hover-row: var(--hover-row-light);

  --shadow-sm: 0 1px 2px rgba(8, 27, 51, 0.05), 0 1px 1px rgba(8, 27, 51, 0.03);
  --shadow-md: 0 10px 26px rgba(8, 27, 51, 0.11), 0 2px 6px rgba(8, 27, 51, 0.06);
  --shadow-lg: 0 18px 42px rgba(8, 27, 51, 0.16), 0 4px 12px rgba(8, 27, 51, 0.08);
  --shadow-hover: 0 14px 32px rgba(8, 27, 51, 0.14), 0 4px 10px rgba(9, 108, 101, 0.10);
  --radius: 14px;
  --radius-sm: 9px;
  --max-w: 1160px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  color-scheme: light dark;
  accent-color: var(--teal);
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--bg-dark);
    --surface: var(--surface-dark);
    --surface-alt: var(--surface-alt-dark);
    --navy: var(--navy-dark);
    --navy-mid: var(--navy-mid-dark);
    --teal: var(--teal-dark);
    --teal-soft: var(--teal-soft-dark);
    --amber: var(--amber-dark);
    --amber-soft: var(--amber-soft-dark);
    --ink: var(--ink-dark);
    --muted: var(--muted-dark);
    --border: var(--border-dark);
    --border-strong: var(--border-strong-dark);
    --stripe-bg: var(--stripe-dark);
    --hover-row: var(--hover-row-dark);
  }
}

@supports (color: light-dark(white, black)) {
  :root {
    --bg: light-dark(var(--bg-light), var(--bg-dark));
    --surface: light-dark(var(--surface-light), var(--surface-dark));
    --surface-alt: light-dark(var(--surface-alt-light), var(--surface-alt-dark));
    --navy: light-dark(var(--navy-light), var(--navy-dark));
    --navy-mid: light-dark(var(--navy-mid-light), var(--navy-mid-dark));
    --teal: light-dark(var(--teal-light), var(--teal-dark));
    --teal-soft: light-dark(var(--teal-soft-light), var(--teal-soft-dark));
    --amber: light-dark(var(--amber-light), var(--amber-dark));
    --amber-soft: light-dark(var(--amber-soft-light), var(--amber-soft-dark));
    --ink: light-dark(var(--ink-light), var(--ink-dark));
    --muted: light-dark(var(--muted-light), var(--muted-dark));
    --border: light-dark(var(--border-light), var(--border-dark));
    --border-strong: light-dark(var(--border-strong-light), var(--border-strong-dark));
    --stripe-bg: light-dark(var(--stripe-light), var(--stripe-dark));
    --hover-row: light-dark(var(--hover-row-light), var(--hover-row-dark));
  }
}

:root[data-theme="dark"],
:root:has(> head > meta[name="color-scheme"][content="dark"]) {
  color-scheme: dark;
  --bg: var(--bg-dark);
  --surface: var(--surface-dark);
  --surface-alt: var(--surface-alt-dark);
  --navy: var(--navy-dark);
  --navy-mid: var(--navy-mid-dark);
  --teal: var(--teal-dark);
  --teal-soft: var(--teal-soft-dark);
  --amber: var(--amber-dark);
  --amber-soft: var(--amber-soft-dark);
  --ink: var(--ink-dark);
  --muted: var(--muted-dark);
  --border: var(--border-dark);
  --border-strong: var(--border-strong-dark);
  --stripe-bg: var(--stripe-dark);
  --hover-row: var(--hover-row-dark);
}
:root[data-theme="light"],
:root:has(> head > meta[name="color-scheme"][content="light"]) {
  color-scheme: light;
  --bg: var(--bg-light);
  --surface: var(--surface-light);
  --surface-alt: var(--surface-alt-light);
  --navy: var(--navy-light);
  --navy-mid: var(--navy-mid-light);
  --teal: var(--teal-light);
  --teal-soft: var(--teal-soft-light);
  --amber: var(--amber-light);
  --amber-soft: var(--amber-soft-light);
  --ink: var(--ink-light);
  --muted: var(--muted-light);
  --border: var(--border-light);
  --border-strong: var(--border-strong-light);
  --stripe-bg: var(--stripe-light);
  --hover-row: var(--hover-row-light);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #0B2545;
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  z-index: 200;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 80;
}

@supports (background: color-mix(in oklab, white, black)) and (backdrop-filter: blur(12px)) {
  .site-header {
    background: color-mix(in oklab, var(--surface) 88%, transparent);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
  }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2.5px;
      background: linear-gradient(90deg var(--in-oklab), var(--teal), #38BDF8);
      transform-origin: 0 50%;
      transform: scaleX(0);
      animation: jc-scroll-progress linear both;
      animation-timeline: scroll(root block);
      pointer-events: none;
    }
    @keyframes jc-scroll-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 68px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.theme-toggle-btn:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal);
}

.theme-toggle-btn .icon-sun {
  display: none;
}

.theme-toggle-btn[data-effective-theme="dark"] .icon-moon {
  display: none;
}

.theme-toggle-btn[data-effective-theme="dark"] .icon-sun {
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 0.75rem;
  cursor: pointer;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.72rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-alt);
  color: var(--navy);
}

.site-nav a.nav-cta {
  background: #0B2545;
  color: #FFFFFF;
  margin-left: 0.35rem;
}

.site-nav a.nav-cta:hover {
  background: #0B6B63;
  color: #FFFFFF;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
  }
}

/* Native <dialog> Swipeable Mobile Navigation Drawer */
.nav-drawer {
  --drawer-width: min(21rem, 82dvw, 100dvw - 24px);
  --drawer-backdrop: 0;
  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.nav-drawer::backdrop {
  background: #040B16;
  opacity: calc(var(--drawer-backdrop) * 0.55);
}

.drawer-scroller {
  position: relative;
  display: grid;
  grid-template-columns: var(--drawer-width) 100%;
  overflow-x: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

@media (prefers-reduced-motion: no-preference) {
  .drawer-scroller {
    scroll-behavior: smooth;
  }
}

.drawer-scroller::after {
  content: '';
  scroll-snap-align: end;
  scroll-initial-target: nearest;
}

.drawer-sheet {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100svh;
  background: var(--surface);
  color: var(--ink);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  scroll-snap-align: start;
  padding: 1rem 1.2rem 1.5rem;
}

@supports (animation-timeline: scroll()) {
  .nav-drawer {
    timeline-scope: --drawer-fade;
    animation: fade-drawer-backdrop linear both;
    animation-timeline: --drawer-fade;
  }
  .drawer-scroller {
    scroll-timeline: --drawer-fade x;
  }
  @property --drawer-backdrop {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
  }
  @keyframes fade-drawer-backdrop {
    0% { --drawer-backdrop: 1; }
    100% { --drawer-backdrop: 0; }
  }
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.drawer-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
}

.drawer-links {
  list-style: none;
  padding: 0.75rem 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.drawer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.drawer-links a[aria-current="page"],
.drawer-links a:hover {
  background: var(--surface-alt);
}

.drawer-links a.nav-cta {
  background: #0B2545;
  color: #FFFFFF;
  justify-content: center;
  margin-top: 0.5rem;
}

.drawer-footer {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

/* Main & Typography */
main {
  padding-bottom: 4.25rem;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.018em;
  margin-top: 0;
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);
  margin: 2.15rem 0 0.85rem;
}

h3 {
  font-size: 1.15rem;
  margin: 1.35rem 0 0.5rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 68ch;
  margin: 0 0 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.eyebrow.amber {
  color: var(--amber);
  background: var(--amber-soft);
}

.mono, td.num, th.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.muted-sub {
  font-weight: 500;
  color: var(--muted);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg var(--in-oklab), #071933 0%, #0E335E 54%, #095857 100%);
  color: #FFFFFF;
  padding: 2.85rem 0 4.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(153, 246, 228, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.hero .eyebrow {
  background: rgba(45, 212, 191, 0.2);
  color: #99F6E4;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.hero .lead {
  color: #DCE7F4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.16s ease, box-shadow 0.18s ease;
}

.btn-sm {
  min-height: 38px;
  padding: 0.42rem 0.85rem;
  font-size: 0.88rem;
}

.btn-primary {
  background: #14B8A6;
  color: #051E1D;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.28);
}

.btn-primary:hover {
  background: #2DD4BF;
  color: #031514;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--surface-alt);
  border-color: var(--teal);
  color: var(--navy);
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-lg);
  background: #081B33;
  aspect-ratio: 16 / 9;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption-pill {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 9px;
  background: rgba(6, 16, 30, 0.82);
  color: #F1F5F9;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

@supports (backdrop-filter: blur(8px)) {
  .hero-caption-pill {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 2.2rem 0 3.6rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards, Media Containers, Spotlight & Grids */
.section {
  padding: 2.5rem 0 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.05rem;
}

.section-header h2 {
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 340px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0.9rem 0 1.45rem;
}

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

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

@media (max-width: 620px) {
  .card-grid,
  .card-grid-2,
  .card-grid-3,
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
  }
  .card:hover .card-media img {
    transform: scale(1.035);
  }
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #081B33;
}

.card-media img,
.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #081B33;
  transition: transform 0.35s ease;
}

.media-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: rgba(7, 22, 43, 0.86);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.media-badge.amber-badge {
  background: rgba(122, 56, 4, 0.92);
  border-color: rgba(253, 230, 138, 0.35);
}

.media-badge.mono-badge {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.tool-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  flex-shrink: 0;
}

.tool-icon svg {
  width: 22px;
  height: 22px;
}

.card-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
}

.card-title a {
  text-decoration: none;
  color: inherit;
}

.card-title a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.card-meta {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.ship-hl-list {
  margin: 0.25rem 0 0.5rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.ship-card-links {
  margin: 0;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.game-spotlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.95fr);
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  margin-bottom: 1.35rem;
}

.game-spotlight-body h2,
.game-spotlight-body h3 {
  font-size: 1.32rem;
}

.game-spotlight-body h2 a,
.game-spotlight-body h3 a {
  text-decoration: none;
  color: var(--navy);
}

.game-spotlight-body h2 a:hover,
.game-spotlight-body h3 a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.game-spotlight-media {
  border-radius: var(--radius-sm);
  display: block;
}

@media (max-width: 820px) {
  .game-spotlight-card {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  margin: 1.5rem 0;
}

.stat-strip.hero-stats {
  position: relative;
  z-index: 5;
  margin: -2.25rem 0 1.25rem;
}

@media (max-width: 780px) {
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-strip.hero-stats {
    margin-top: -1.65rem;
  }
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 0.95rem 1.05rem;
  box-shadow: var(--shadow-sm);
}

.stat-strip.hero-stats .stat-box {
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Breadcrumbs & Article Layout */
.breadcrumbs {
  padding: 1rem 1.25rem 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.45rem;
  color: var(--border-strong);
}

.breadcrumbs li:last-child::after {
  content: "";
  margin: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 2rem;
  align-items: start;
  padding-top: 0.5rem;
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.article-main {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.article-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.1rem;
  margin-bottom: 1.4rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-figure {
  margin: 1.1rem 0 1.45rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #081B33;
}

.hero-figure figcaption {
  padding: 0.65rem 0.95rem;
  font-size: 0.84rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
}

.photo-credit {
  font-size: 0.78rem;
  color: var(--muted);
}

.photo-credit a {
  color: var(--navy-mid);
}

/* 2026 GEO Quick Answer, On-Page TOC & E-E-A-T Author Components */
.geo-takeaways {
  background: var(--teal-soft);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.2rem;
  margin: 0 0 1.35rem;
}

.takeaways-title,
.toc-title,
.author-box-title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.takeaways-answer {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.takeaways-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.93rem;
  color: var(--ink);
}

.takeaways-list li + li {
  margin-top: 0.3rem;
}

.article-toc {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.15rem;
  margin: 0 0 1.5rem;
}

.toc-list {
  margin: 0;
  padding-left: 1.35rem;
  columns: 2 240px;
  column-gap: 1.5rem;
  font-size: 0.91rem;
}

.toc-list li {
  margin-bottom: 0.3rem;
  break-inside: avoid;
}

.toc-list a {
  color: var(--navy-mid);
  text-decoration: none;
}

.toc-list a:hover {
  text-decoration: underline;
}

.author-box {
  margin-top: 1.85rem;
  padding: 1.05rem 1.2rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.author-box-bio {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.author-box-links {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.data-download-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0.85rem;
  padding: 0.6rem 0.9rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--muted);
}

.callout {
  background: var(--surface-alt);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.15rem;
  margin: 1.35rem 0;
}

.callout.warn {
  background: var(--amber-soft);
  border-left-color: var(--amber);
}

.callout.tip {
  background: var(--teal-soft);
  border-left-color: var(--teal);
}

.article-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 0.85rem;
  margin: 0.85rem 0 1.15rem;
  padding: 0.65rem 0.9rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--muted);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.78rem;
}

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin: 1.35rem 0;
}

.verdict-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.verdict-card.verdict-no {
  border-top-color: var(--amber);
}

.verdict-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.verdict-card.verdict-no .verdict-title {
  color: var(--amber);
}

.verdict-card ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.93rem;
}

.math-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy-mid);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.35rem 0;
  box-shadow: var(--shadow-sm);
}

.math-card-title {
  margin: 0 0 0.65rem;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--navy);
}

.math-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}

.math-row strong,
.math-row .num-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.math-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 0.65rem;
  margin-top: 0.2rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--teal);
}

.math-total span:last-child {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.inline-tool-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.1rem;
  margin: 1.6rem 0;
  padding: 1.05rem 1.2rem;
  background: linear-gradient(135deg var(--in-oklab), var(--surface-alt) 0%, var(--teal-soft) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.inline-tool-cta-text h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.inline-tool-cta-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .verdict-grid {
    grid-template-columns: 1fr;
  }
}

.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.sidebar-box h3 {
  margin-top: 0;
  font-size: 1rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
}

/* ==========================================================================
   Responsive Data Table with Sticky Headers & Mobile Container Cards
   ========================================================================== */
.table-wrapper {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 75vh;
  margin: 1.25rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  container-type: inline-size;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.table-wrapper caption {
  padding: 0.75rem 0.95rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
  color: var(--navy);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}

.table-wrapper th,
.table-wrapper td {
  padding: 0.68rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table-wrapper thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0B2545;
  color: #FFFFFF;
  font-weight: 700;
  white-space: nowrap;
}

.table-wrapper tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
  font-weight: 700;
  color: var(--navy);
  border-right: 1px solid var(--border);
}

.table-wrapper thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #0B2545;
}

.table-wrapper tbody tr:nth-child(even) th[scope="row"],
.table-wrapper tbody tr:nth-child(even) td {
  background: var(--stripe-bg);
}

.table-wrapper tbody tr:hover td,
.table-wrapper tbody tr:hover th[scope="row"] {
  background: var(--hover-row);
}

@container (width < 600px) {
  .table-wrapper {
    max-height: none;
    overflow-x: visible;
    border: none;
    background: transparent;
  }
  .table-wrapper thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .table-wrapper tbody,
  .table-wrapper tr,
  .table-wrapper td,
  .table-wrapper th[scope="row"] {
    display: block;
    width: 100%;
    position: static;
    border-right: none;
  }
  .table-wrapper tbody tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
    padding: 0.25rem 0;
  }
  .table-wrapper th[scope="row"] {
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .table-wrapper td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    text-align: right;
  }
  .table-wrapper td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted);
    text-align: left;
  }
}

/* ==========================================================================
   Accessible Native <details>/<summary> Accordions
   ========================================================================== */
.accordion-group {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.4rem;
}

details.faq-item,
details.pack-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: clip;
}

details.faq-item summary,
details.pack-group summary {
  list-style: none;
  cursor: pointer;
  padding: 0.88rem 1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker,
details.pack-group summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::before,
details.pack-group summary::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background-color: var(--teal);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.25s ease;
}

details[open] > summary::before {
  transform: rotate(90deg);
}

details.faq-item .details-body,
details.pack-group .details-body {
  padding: 0 1rem 1rem 2.65rem;
  color: var(--ink);
  font-size: 0.96rem;
}

@media (prefers-reduced-motion: no-preference) {
  details.faq-item::details-content,
  details.pack-group::details-content {
    interpolate-size: allow-keywords;
    block-size: 0;
    overflow: clip;
    contain: layout;
    transition: block-size 0.28s ease, content-visibility 0.28s ease;
    transition-behavior: allow-discrete;
  }
  details[open]::details-content {
    block-size: auto;
  }
}

/* ==========================================================================
   Interactive Tool Panels, Inputs, Summary & Comparison UI
   ========================================================================== */
.tool-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  margin: 1.25rem 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.5rem;
  align-items: start;
}

.tool-grid > * {
  min-width: 0;
}

@media (max-width: 840px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }
}

.control-group {
  margin-bottom: 1rem;
}

.control-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.32rem;
}

.control-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 700;
}

select, input[type="number"], input[type="text"], input[type="search"], input[type="date"], textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.52rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}

input[type="range"].jc-range {
  --track-h: 8px;
  --thumb-d: 22px;
  --pct: 0%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 36px;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
  margin: 0;
}

input[type="range"].jc-range::-webkit-slider-runnable-track {
  height: var(--track-h);
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--teal) 0%,
    var(--teal) var(--pct),
    var(--border) var(--pct),
    var(--border) 100%
  );
}

input[type="range"].jc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--thumb-d);
  height: var(--thumb-d);
  margin-top: calc((var(--track-h) - var(--thumb-d)) / 2);
  border-radius: 50%;
  background: #0B2545;
  border: 3px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(11, 37, 69, 0.35);
}

input[type="range"].jc-range::-moz-range-track {
  height: var(--track-h);
  border-radius: 999px;
  background: var(--border);
}

input[type="range"].jc-range::-moz-range-progress {
  height: var(--track-h);
  border-radius: 999px;
  background: var(--teal);
}

input[type="range"].jc-range::-moz-range-thumb {
  width: var(--thumb-d);
  height: var(--thumb-d);
  border-radius: 50%;
  background: #0B2545;
  border: 3px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(11, 37, 69, 0.35);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.42rem 0;
  cursor: pointer;
}

.check-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.inline-form input[type="text"],
.inline-form input[type="search"] {
  flex: 1 1 240px;
}

.custom-pack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.summary-card {
  background: linear-gradient(155deg var(--in-oklab), #09203E 0%, #0E3460 58%, #0A4D52 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 84px;
}

.summary-title {
  color: #99F6E4;
  margin: 0;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summary-total {
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1.15;
  margin: 0.35rem 0 0.3rem;
}

.summary-sub {
  color: #CBD5E1;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.summary-note {
  font-size: 0.84rem;
  color: #CBD5E1;
  margin: 0.85rem 0 0;
}

.line-items {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.line-items li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.91rem;
}

.line-items strong {
  font-family: var(--font-mono);
}

.score-meters {
  display: grid;
  gap: 0.8rem;
  margin: 0.85rem 0 1rem;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.cab-feedback {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 0.85rem;
  font-size: 0.9rem;
  color: #E2E8F0;
}

.cab-list-hdr {
  margin: 0.5rem 0 0.25rem;
  font-weight: 700;
  color: #99F6E4;
}

.cab-feedback ul {
  margin: 0 0 0.5rem;
  padding-left: 1.15rem;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 720px) {
  .filter-bar {
    grid-template-columns: 1fr;
  }
}

.compare-tray {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (max-width: 780px) {
  .compare-tray {
    grid-template-columns: 1fr;
  }
}

.ship-pin-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.ship-pin-card h3 {
  margin: 0.15rem 0 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.16rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--navy);
  border: 1px solid var(--border);
}

.tag.lng {
  background: var(--teal-soft);
  color: var(--teal);
  border-color: var(--teal);
}

.tag.amber-tag {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: var(--amber);
}

/* Footer */
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 320px;
  background: #0B2545;
  color: #D7E3F1;
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.footer-heading {
  color: #FFFFFF;
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.38rem;
}

.site-footer a {
  color: #CBD5E1;
  text-decoration: none;
}

.site-footer a:hover {
  color: #99F6E4;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  color: #A5B4C7;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-prefs-btn {
  background: none;
  border: 0;
  padding: 0;
  color: #99F6E4;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* Preferences Modal & GDPR Banner & Toasts */
.prefs-dialog {
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  max-width: 480px;
  width: calc(100% - 2rem);
  background: transparent;
  box-shadow: var(--shadow-md);
}

.prefs-dialog::backdrop {
  background: rgba(4, 11, 22, 0.6);
}

.prefs-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.prefs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.modal-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
}

.prefs-section {
  margin-bottom: 1.15rem;
}

.prefs-label {
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--navy);
}

.prefs-help {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.theme-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.theme-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.prefs-status {
  font-size: 0.85rem;
  color: var(--teal);
  margin: 0.55rem 0 0;
  font-weight: 600;
}

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: #091E3A;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.85rem 0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25);
}

.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.consent-inner p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 72ch;
}

.consent-inner a {
  color: #99F6E4;
}

.consent-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.toast-region {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: grid;
  gap: 0.5rem;
  pointer-events: none;
}

.jc-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #0B2545;
  color: #FFFFFF;
  border: 1px solid #2DD4BF;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.95rem;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  inset: auto 1rem 1rem auto;
}

.jc-toast:not(:popover-open):not(.is-visible) {
  display: none;
}

.jc-toast-close {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0.1rem 0.45rem;
  font-size: 1rem;
  line-height: 1.2;
}

.sources-list {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1.25rem;
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin: 0.5rem 0 0.25rem;
}

.progress-fill {
  height: 100%;
  background: #14B8A6;
  width: 0%;
  transition: width 0.2s ease;
}

/* AdSense Auto ads: keep layout clean without overflow or blank ad voids */
.google-auto-placed {
  clear: both;
  max-inline-size: 100%;
  margin-block: 1.75rem !important;
  overflow: hidden;
}

main ins.adsbygoogle {
  max-inline-size: 100%;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

/* Wave-2 Components: Inline SVG Diagrams, Ship-vs-Ship, Affiliates, Ad Slots, Pins & Embed */
.ship-diagram {
  margin: 1.35rem 0;
  padding: 1rem 1.1rem 0.75rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.ship-diagram svg {
  display: block;
  width: 100%;
  height: auto;
}

.ship-diagram figcaption {
  margin-top: 0.65rem;
  font-size: 0.84rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

.vs-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #081B33;
  box-shadow: var(--shadow-md);
  margin: 1.15rem 0 0;
}

.vs-hero-side {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #081B33;
}

.vs-hero-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vs-hero-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 0.85rem 0.65rem;
  background: linear-gradient(to top, rgba(6, 16, 30, 0.88) 0%, rgba(6, 16, 30, 0.45) 65%, transparent 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.vs-hero-label strong {
  font-size: 0.96rem;
  line-height: 1.25;
}

.vs-hero-label span {
  font-size: 0.78rem;
  color: #99F6E4;
  font-family: var(--font-mono);
}

.vs-hero-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #081B33;
  color: #FFFFFF;
  border: 2.5px solid #2DD4BF;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.vs-hero-figcap {
  margin-bottom: 1.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.vs-thumb {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #081B33;
}

.vs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover .vs-thumb img {
    transform: scale(1.035);
  }
}

.vs-thumb-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #081B33;
  color: #FFFFFF;
  border: 2px solid #2DD4BF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
}

.vs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  margin: 1.25rem 0;
}

@media (max-width: 720px) {
  .vs-grid {
    grid-template-columns: 1fr;
  }
  .vs-hero {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .vs-hero-side:first-child .vs-hero-label {
    padding-bottom: 2.15rem;
  }
  .vs-hero-label strong {
    font-size: 0.9rem;
  }
}

.vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.88rem;
}

.delta-pos {
  color: var(--teal);
  font-weight: 700;
}

.delta-neg {
  color: var(--amber);
  font-weight: 700;
}

.ad-slot {
  display: block;
  margin: 1.5rem 0;
  padding: 0.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  contain: layout style;
  text-align: center;
}

.ad-slot-banner {
  min-height: 100px;
}

.ad-slot-in-article {
  min-height: 250px;
}

.affiliate-box {
  margin: 1.45rem 0;
  padding: 1rem 1.2rem;
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
}

.affiliate-disclosure {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.pin-download-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 0.8rem 1rem;
  background: var(--teal-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.embed-code-box {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--ink);
  resize: vertical;
}

.btn-offline-saved {
  border-color: var(--teal) !important;
  background: var(--teal-soft) !important;
  color: var(--teal) !important;
}

.visually-hidden {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   2026–2027 Mega-Ship Matchmaker & Crowd-vs-Size Explorer (/ship-finder/)
   ========================================================================== */
.choice-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 0.65rem;
}

.choice-fieldset legend {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.45rem;
  padding: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.55rem;
}

.choice-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.choice-grid-inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.62rem 0.78rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
  font-size: 0.88rem;
  line-height: 1.32;
}

.choice-card:hover {
  border-color: var(--teal);
  background: var(--surface-alt);
}

.choice-card input[type="radio"],
.choice-card input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
}

.choice-card:has(input:checked),
.choice-card.is-selected {
  border-color: var(--teal);
  background: var(--teal-soft);
  box-shadow: 0 0 0 1px var(--teal);
}

.choice-card span {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.choice-card strong {
  color: var(--navy);
  font-size: 0.87rem;
}

.choice-card small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.choice-card.checkbox-pill {
  align-items: center;
  min-height: 50px;
}

.finder-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.05rem;
}

.match-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.match-reasons {
  margin: 0.55rem 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.87rem;
  color: var(--ink);
  display: grid;
  gap: 0.3rem;
}

.match-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.match-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.scatter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.scatter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-sm);
}

.scatter-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.dot-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  vertical-align: middle;
  margin-right: 0.3rem;
}

.dot-key.dot-top { background: #F59E0B; box-shadow: 0 0 0 2px var(--teal); }
.dot-key.dot-eco { background: var(--teal); }
.dot-key.dot-2027 { background: var(--amber); }
.dot-key.dot-std { background: var(--navy-mid); opacity: 0.75; }

.scatter-svg {
  width: 100%;
  height: auto;
  display: block;
}

.scatter-dot {
  cursor: pointer;
  transition: transform 0.15s ease;
}

.scatter-dot:hover circle.dot-core,
.scatter-dot.is-active circle.dot-core {
  stroke: var(--navy);
  stroke-width: 2.5px;
}

.ship-inspector {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ship-inspector h3 {
  margin: 0.25rem 0 0.2rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.inspector-dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.inspector-dl > div {
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.inspector-dl dt {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inspector-dl dd {
  margin: 0.1rem 0 0;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--navy);
  font-family: var(--font-mono);
}

.inspector-note {
  margin: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.45;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 0.85rem;
}

.countdown-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  box-shadow: var(--shadow-sm);
}

.countdown-card h3 {
  margin: 0.25rem 0 0.3rem;
  font-size: 1.02rem;
}

.countdown-metric {
  margin: 0;
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 900px) {
  .scatter-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Accessible Tabs, Directory Filtering & Pagination
   ========================================================================== */
:root.js .jc-page-deferred {
  display: none;
}

@property --fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.jc-tabs {
  margin-top: 1.15rem;
}

.jc-tablist {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
  scroll-padding-inline: 2.5rem;
  border-bottom: 1px solid var(--border);
  --fade-size: 2.5rem;
  --fade-dir: right;
  --fade-start-pos: 0;
  --fade-end-pos: 100%;
  mask:
    linear-gradient(black, black) no-clip subtract,
    linear-gradient(to var(--fade-dir), black, transparent) var(--fade-start-pos) 0 / var(--fade-start) 100% no-repeat no-clip,
    linear-gradient(to var(--fade-dir), transparent, black) var(--fade-end-pos) 0 / var(--fade-end) 100% no-repeat no-clip;
  animation: jc-tab-fade-start linear both, jc-tab-fade-end linear both;
  animation-timeline: scroll(self inline);
  animation-range: 0 var(--fade-size), calc(100% - var(--fade-size)) 100%;
}

.jc-tablist::-webkit-scrollbar {
  display: none;
}

@keyframes jc-tab-fade-start {
  to {
    --fade-start: var(--fade-size);
  }
}

@keyframes jc-tab-fade-end {
  from {
    --fade-end: var(--fade-size);
  }
}

@supports not (animation-timeline: scroll()) {
  .jc-tablist {
    transition: --fade-start 0.2s, --fade-end 0.2s;
  }
  .jc-tablist.more-start {
    --fade-start: var(--fade-size);
  }
  .jc-tablist.more-end {
    --fade-end: var(--fade-size);
  }
}

.jc-tablist [role="tab"] {
  position: relative;
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.05rem;
  border: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.jc-tablist [role="tab"]:hover {
  color: var(--navy);
  background: var(--surface-alt);
}

.jc-tablist [role="tab"][aria-selected="true"] {
  color: var(--navy);
  background: var(--surface-alt);
}

.jc-tablist [role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  border-block-end: 3px solid var(--teal);
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.jc-tablist [role="tab"][aria-selected="true"] .tab-count {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal);
}

/* Keep padding/margin/border off [role="tabpanel"] itself for hidden="until-found" */
.jc-tab-panels {
  display: block;
}

.jc-tab-panels > [role="tabpanel"] {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.jc-tab-panel-inner {
  padding-top: 1.15rem;
}

.directory-toolbar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  margin: 0.65rem 0 0.9rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.filter-pills:last-child {
  margin-bottom: 0;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.filter-pill:hover {
  border-color: var(--teal);
  background: var(--surface-alt);
}

.filter-pill[aria-pressed="true"] {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.directory-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.directory-controls .control-label {
  white-space: nowrap;
}

.directory-toolbar-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
}

.directory-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}

.directory-summary {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.ship-spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.ship-spec-strip span {
  padding: 0.16rem 0.48rem;
  border-radius: 6px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 600;
}

.empty-state-card {
  background: var(--surface-alt);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1rem 0;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--navy-mid);
  text-decoration: underline;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--teal);
}

.jc-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.65rem 0 0.5rem;
}

.jc-pagination[hidden] {
  display: none;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.page-btn:hover:not([aria-disabled="true"]):not([aria-current="page"]) {
  background: var(--surface-alt);
  border-color: var(--teal);
}

.page-btn[aria-current="page"] {
  background: #0B2545;
  color: #FFFFFF;
  border-color: #0B2545;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:root[data-theme="dark"] .page-btn[aria-current="page"],
:root:has(> head > meta[name="color-scheme"][content="dark"]) .page-btn[aria-current="page"] {
  background: var(--teal);
  color: #051E1D;
  border-color: var(--teal);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not(:has(> head > meta[name="color-scheme"][content="light"])) .page-btn[aria-current="page"] {
    background: var(--teal);
    color: #051E1D;
    border-color: var(--teal);
  }
}

.page-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 0.25rem;
  color: var(--muted);
  font-weight: 700;
}

/* Print Stylesheet (Clean PDF Checklist, Cost Summary & Ship Specs) */
@media print {
  ins.adsbygoogle,
  .google-auto-placed,
  .ad-slot,
  .affiliate-box,
  .pin-download-bar,
  .article-trust-bar,
  .inline-tool-cta,
  #jc-finder-form,
  .jc-tablist,
  .directory-toolbar,
  .directory-meta-row,
  .jc-pagination,
  .site-header,
  .site-footer,
  .consent-banner,
  .toast-region,
  .nav-drawer,
  .prefs-dialog,
  .breadcrumbs,
  .tool-actions,
  .inline-form,
  .article-toc,
  .data-download-bar,
  #jc-calc-form,
  #jc-drink-form,
  #jc-cabin-form,
  #jc-itinerary-form,
  aside:not(.author-box) {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 11pt;
  }
  .tool-grid,
  .article-layout {
    display: block !important;
  }
  .summary-card,
  .article-main,
  .tool-panel,
  .geo-takeaways,
  .author-box,
  details.pack-group {
    position: static !important;
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #999999 !important;
    box-shadow: none !important;
  }
  .summary-title,
  .summary-sub,
  .summary-note {
    color: #111111 !important;
  }
  .line-items li {
    border-bottom: 1px solid #CCCCCC !important;
  }
  details.pack-group:not([hidden]) {
    display: block !important;
  }
  a::after {
    content: "";
  }
}

@media (forced-colors: active) {
  .card,
  .stat-box,
  .tool-panel,
  .hero-figure,
  .summary-card,
  .vs-hero,
  .eyebrow,
  .media-badge,
  .btn,
  .vs-hero-badge,
  .vs-thumb-badge,
  .filter-pill[aria-pressed="true"],
  .page-btn[aria-current="page"],
  .jc-tablist [role="tab"][aria-selected="true"] {
    border: 1px solid CanvasText;
    forced-color-adjust: auto;
  }
  .summary-card,
  .hero,
  .site-footer,
  .media-badge {
    background: Canvas;
    color: CanvasText;
  }
}
