/* utlandska-casino.nu — archetype 7 sport / high-energy */
:root {
  --bg: #F5F7FB;
  --text: #1A1D26;
  --navy: #06255D;
  --gold: #D2AA59;
  --accent: #06255D;
  --cta: #D2AA59;
  --accent-2: #D2AA59;
  --hot: #06255D;
  --ok: #1b7a38;
  --arena: #04183F;
  --terracotta: #D2AA59;
  --olive: #06255D;
  --sand: #F6EEDC;
  --paper: #FFFFFF;
  --line: rgba(6, 37, 93, 0.14);
  --shadow: 0 16px 40px rgba(6, 37, 93, 0.14);
  --display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ui: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 100px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  max-width: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(6, 37, 93, 0.07) 0%, transparent 40%),
    linear-gradient(-12deg, rgba(210, 170, 89, 0.14) 0%, transparent 35%),
    var(--bg);
  font-family: var(--ui);
  line-height: 1.62;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #003d87; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 90;
}
.skip:focus {
  left: 12px;
  background: var(--paper);
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--arena);
  background-image: linear-gradient(90deg, var(--arena), var(--accent));
  padding: 6px 16px;
  border-bottom: 2px solid var(--accent-2);
}
.header-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  padding: 8px 16px;
  min-height: var(--header-h);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--accent), var(--accent-2)) 1;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}
.brand img {
  box-sizing: content-box;
  width: auto;
  height: 72px;
  max-width: none;
  aspect-ratio: 204 / 119;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(6, 37, 93, 0.18);
  background: #fff;
  padding: 4px 8px;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-left: auto;
}
.site-nav a,
.nav-dropdown summary {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 999px;
}
.site-nav a.is-active,
.nav-dropdown summary.is-active {
  background: rgba(0, 82, 180, 0.1);
  color: var(--accent);
}
.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}
.nav-dropdown[open] .nav-dropdown__panel { display: flex; }
.nav-dropdown__panel a { border-radius: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--accent);
  background: var(--paper);
  color: var(--accent);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
}
/* Empty chrome slot on pages that still inject the header. Matches ticker + bar so .page does not jump. */
#siteChromeStart {
  min-height: calc(var(--header-h) + 3.15rem);
  box-sizing: border-box;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--cta);
  color: var(--navy);
  box-shadow: 0 4px 0 rgba(0, 52, 120, 0.35);
}
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}
.header-cta { margin-left: 8px; }

.page {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}
#main { min-width: 0; }
.page-toc--chips {
  margin: 0 0 18px;
  padding: 16px 32px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  overflow: visible;
}
.page-toc__links--chips {
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.page-toc__links--chips .page-toc__link {
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.08);
  border: 1px solid transparent;
}
.page-toc__links--chips .page-toc__link:hover,
.page-toc__links--chips .page-toc__link.is-active {
  border-color: var(--accent);
  background: #fff;
}
.page-toc__links--chips .page-toc__dot { display: none; }
.page-toc--rail-right,
.anchor-nav.page-toc--rail-right {
  order: 2;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow-y: auto;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--terracotta);
  background: linear-gradient(90deg, rgba(232, 220, 200, 0.35), transparent);
}
.page-toc__head {
  margin-bottom: 10px;
  overflow: visible;
}
.page-toc__label {
  display: block;
  overflow: visible;
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
}
.page-toc__hint {
  font-size: 0.78rem;
  color: #3a4150;
}
.page-toc__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.page-toc__link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  padding: 6px 0;
  opacity: 0.72;
}
.page-toc__link:hover,
.page-toc__link.is-active {
  opacity: 1;
  color: var(--accent);
  font-weight: 600;
}
.page-toc__dot {
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--olive);
  flex-shrink: 0;
}

.hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.hero-background {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 740 / 423;
  object-fit: contain;
  object-position: center top;
  opacity: 1;
  background: #16345f;
}
.hero-glass,
.hero > .kicker,
.hero > h1,
.hero > .lede {
  position: relative;
}
.hero-glass {
  padding: 20px 22px 24px;
  margin-top: -4px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.92), var(--paper));
  border-top: 3px solid var(--terracotta);
}
/* Commercial hero: existing lockup (kicker + H1 + lede) sits on the photo, left sky. */
.hero:has(.hero-background) .hero-glass {
  position: absolute;
  z-index: 2;
  left: clamp(12px, 3.2vw, 40px);
  top: clamp(16px, 10%, 64px);
  width: min(48%, 34rem);
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 14px 18px 16px;
  background: rgba(255, 252, 247, 0.88);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(6, 37, 93, 0.16);
  color: #06255D;
}
.hero:has(.hero-background) .kicker,
.hero:has(.hero-background) h1,
.hero:has(.hero-background) .lede {
  color: #06255D;
  overflow-wrap: break-word;
}
.hero:has(.hero-background) h1 {
  font-size: clamp(1.7rem, 3.1vw, 2.85rem);
  line-height: 1.08;
  margin: 0 0 8px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}
.hero:has(.hero-background) .lede {
  max-width: none;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 8px;
}
.hero h1,
.section h2 {
  font-family: var(--display);
  line-height: 1.15;
  margin: 0 0 12px;
}
.lede { margin: 0; max-width: 62ch; }

.section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  min-width: 0;
  max-width: 100%;
}
.section.prose,
.section.prose p {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}
.section.prose p { margin: 0 0 1em; }

.ranking-block h2 {
  border-bottom: 2px solid var(--sand);
  padding-bottom: 10px;
}
.affiliate-note {
  font-size: 0.85rem;
  color: rgba(26, 29, 38, 0.65);
  margin: 0 0 12px;
}

.rank-cards {
  --rank-ink: #06255D;
  --rank-star: #D2AA59;
  --rank-chip: #F6EEDC;
  --rank-chip-text: #06255D;
  --rank-edge: #D2AA59;
  --rank-plate: #06255D;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.rank-card,
.rank-card--row {
  position: relative;
  display: grid;
  grid-template-columns:
    2rem
    5.6rem
    minmax(6.2rem, 0.7fr)
    minmax(7.4rem, 1.2fr)
    minmax(7.6rem, 1fr)
    5.5rem
    max-content;
  grid-template-areas: "badge logo id chips bonus pays cta";
  gap: 0.45rem 0.55rem;
  align-items: center;
  padding: 0.65rem 0.8rem 0.65rem 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--rank-edge);
  box-shadow: 0 8px 20px rgba(6, 37, 93, 0.06);
  min-width: 0;
  width: 100%;
  overflow: visible;
}
.rank-card__badge {
  grid-area: badge;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--rank-ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  justify-self: center;
}
.rank-card__brand,
.rank-card__offer {
  display: contents;
}
.rank-card__brand {
  min-width: 0;
}
.rank-card__logo-link {
  grid-area: logo;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.rank-card__logo,
.rank-card__brand img.rank-card__logo {
  width: 80px;
  height: 44px;
  max-width: 80px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.rank-card__id {
  grid-area: id;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
}
.rank-card__name {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.15;
  color: var(--navy);
}
.rank-card__stars {
  display: flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.rank-card__star { color: #d9d3c6; font-size: 0.85rem; }
.rank-card__star.is-on { color: var(--rank-star); }
.rank-card__score { display: none; }
.rank-card__features {
  grid-area: chips;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 0.3rem;
  min-width: 0;
}
.rank-card__features li {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--rank-chip);
  color: var(--rank-chip-text);
}
.rank-card__pays {
  grid-area: pays;
  display: grid;
  grid-template-columns: repeat(2, 2.4rem);
  gap: 0.22rem;
  align-content: center;
  justify-content: center;
  justify-self: center;
  width: 5rem;
}
.rank-card__pays img {
  display: block;
  width: 2.4rem;
  height: 1.45rem;
  max-width: 2.4rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
}
.rank-card__bonus {
  grid-area: bonus;
  margin: 0;
  min-width: 0;
  font-weight: 800;
  font-size: 0.84rem;
  line-height: 1.25;
  color: var(--text);
  overflow-wrap: break-word;
}
.rank-card__bonus-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.12rem;
}
.rank-card__facts { display: none; }
.rank-card__cta {
  grid-area: cta;
  flex: 0 0 auto;
  margin-left: 0;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
}
.rank-card__cta .btn-play {
  border-radius: 999px;
  white-space: nowrap;
  min-width: 5.5rem;
  padding: 0.65rem 1.15rem;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 0 rgba(6, 37, 93, 0.28);
}
.btn-play {
  white-space: nowrap;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 0 rgba(6, 37, 93, 0.28);
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.content-table th,
.content-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: break-word;
}
.pay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.pay-table th,
.pay-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.pay-table th {
  background: var(--sand);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pay-table tr.is-current {
  background: rgba(0, 82, 180, 0.06);
}
.pay-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 700;
}
.pay-method span {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}
.pay-method img {
  width: 56px;
  height: 36px;
  max-width: 56px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
}
.yes,
.cell-good { color: #1b7a38; font-weight: 700; }
.yes::before,
.cell-good::before { content: "✓ "; }
.cell-bad { color: #9a3040; font-weight: 600; }
.cell-mid { color: rgba(26, 29, 38, 0.65); }

.slots-lobby__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.slots-lobby__tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-color: var(--gold) rgba(6, 37, 93, 0.15);
}
.slots-lobby__tab {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
}
.slots-lobby__tab.is-active {
  background: #fff;
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
}
.slots-lobby__grid {
  display: grid;
  grid-template-columns: repeat(var(--slot-cols, 3), minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.slot-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.slot-tile__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.slot-tile__name {
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--sand);
}

.deposit-steps__rail {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.deposit-steps__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.deposit-steps__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.deposit-steps__card {
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  flex: 1;
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  border-top: 3px solid var(--olive);
}
.author-card img {
  border-radius: 50%;
  border: 3px solid var(--sand);
}

.site-footer {
  background: #1A1D26;
  color: #e8e8ec;
  padding: 32px 20px;
  margin-top: 24px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.footer-brand {
  display: inline-block;
  line-height: 0;
}
.footer-brand img {
  box-sizing: content-box;
  height: 52px;
  width: auto;
  max-width: none;
  aspect-ratio: 204 / 119;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px 8px;
}
.site-footer a { color: #b8d4ff; }
.site-footer .legal {
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: 0.95;
  margin-top: 16px;
  max-width: 78ch;
}
.site-footer .legal + .legal { margin-top: 8px; }

.author-profile__head {
  padding: 24px 22px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.author-profile__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
}
.author-profile__photo img {
  border-radius: 14px;
  border: 3px solid var(--sand);
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: var(--shadow);
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .page {
    display: block;
    padding-bottom: 48px;
  }
  .page-toc--rail-right { display: none; }
  .page-toc--mobile {
    display: block;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--paper);
    border-radius: 12px;
    border: 1px solid var(--line);
  }
  .page-toc--mobile .page-toc__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-toc--mobile .page-toc__link {
    background: var(--bg);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    right: 16px;
    top: calc(var(--header-h) + 8px);
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 55;
  }
  .site-nav.is-open { display: flex; }
  :root { --header-h: 72px; }
  .header-bar { position: relative; flex-wrap: nowrap; gap: 8px; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand img { height: 52px; padding: 2px 6px; }
  .nav-toggle { flex: 0 0 auto; margin-left: auto; }
  .header-cta { flex: 0 0 auto; margin-left: 6px; }
  .table-scroll--pay { overflow: hidden; max-width: 100%; border: none; }
  .content-table--pays thead { display: none; }
  .content-table--pays,
  .content-table--pays tbody { display: block; width: 100%; }
  .content-table--pays .pay-method,
  .pay-table .pay-method {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .content-table--pays tr {
    display: grid;
    grid-template-columns: minmax(6.6rem, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 8px;
    align-items: center;
    padding: 10px 8px;
    margin: 0 0 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }
  .content-table--pays td {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: none;
    padding: 0;
    min-width: 0;
    font-size: 0.75rem;
  }
  .content-table--pays td:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .content-table--pays[data-metrics="1"] td:first-child,
  .content-table--pays[data-metrics="2"] td:first-child {
    grid-row: 1 / span 1;
  }
  .content-table--pays[data-metrics="5"] td:first-child,
  .content-table--pays[data-metrics="6"] td:first-child {
    grid-row: 1 / span 3;
  }
  .content-table--pays td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #06255d;
    font-weight: 700;
  }
  .pay-table thead { display: none; }
  .pay-table,
  .pay-table tbody { display: block; width: 100%; }
  .pay-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 8px;
    align-items: center;
    padding: 10px 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 8px;
    background: #fff;
  }
  .pay-table td {
    display: block;
    border: none;
    padding: 0;
    font-size: 0.75rem;
    text-align: left;
  }
  .pay-table td:first-child {
    grid-row: 1 / span 3;
    align-self: center;
  }
  .pay-table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #06255d;
    font-weight: 700;
  }
}

@media (max-width: 720px) {
  .hero:has(.hero-background) .hero-glass {
    left: 10px;
    top: 10px;
    width: min(78%, calc(100% - 20px));
    padding: 10px 12px 12px;
  }
  .hero:has(.hero-background) .kicker {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }
  .hero:has(.hero-background) h1 {
    font-size: clamp(1.15rem, 5.6vw, 1.55rem);
    margin-bottom: 4px;
  }
  .hero:has(.hero-background) .lede {
    font-size: 0.68rem;
    line-height: 1.25;
  }
}

@media (max-width: 980px) {
  .rank-cards {
    max-width: 26rem;
    margin-inline: auto;
  }
  .rank-card,
  .rank-card--row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: none;
    grid-template-areas: none;
    gap: 8px;
    padding: 14px 12px 12px;
    text-align: center;
  }
  .rank-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    width: 1.85rem;
    height: 1.85rem;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
  }
  .rank-card__badge::before { content: none; }
  .rank-card__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
    width: 100%;
    min-width: 0;
    flex: none;
    gap: 6px;
    padding-top: 2px;
  }
  .rank-card__logo-link {
    width: auto;
    margin-inline: auto;
    background: #fff;
    border-color: var(--line);
    padding: 4px;
    justify-self: center;
  }
  .rank-card__logo,
  .rank-card__brand img.rank-card__logo {
    width: 132px;
    height: 48px;
    max-width: 70%;
    margin: 0 auto;
  }
  .rank-card__id { align-items: center; width: 100%; }
  .rank-card__name { width: 100%; text-align: center; }
  .rank-card__stars { justify-content: center; }
  .rank-card__score {
    display: inline;
    margin-left: 0.35rem;
    color: #5c4310;
    font-size: 0.95rem;
  }
  .rank-card__features { display: none; }
  .rank-card__facts {
    display: grid;
    order: 2;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .rank-card__facts[data-fact-count="1"] { grid-template-columns: minmax(0, 1fr); }
  .rank-card__facts[data-fact-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-card__fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
  }
  .rank-card__fact-label {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    color: #06255d;
  }
  .rank-card__fact strong { font-size: 0.95rem; font-weight: 800; color: var(--navy); }
  .rank-card__offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 3;
    width: 100%;
    gap: 8px;
    text-align: center;
  }
  .rank-card__bonus {
    order: 3;
    width: 100%;
    max-width: 22rem;
    margin: 0;
    text-align: center;
    font-size: 0.92rem;
  }
  .rank-card__pays {
    order: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    grid-template-columns: none;
  }
  .rank-card__pays img { width: 40px; height: 26px; max-width: 40px; }
  .rank-card__cta {
    order: 5;
    width: 100%;
    margin-left: 0;
    align-self: stretch;
    justify-self: stretch;
  }
  .rank-card__cta .btn-play,
  .rank-card__cta .btn {
    width: 100%;
    border-radius: 10px;
  }
}
/* legal-footer-chrome */
.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.site-footer .footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* BEGIN legal-page-layout */
body[data-legal-page="true"] .page {
  display: block;
  grid-template-columns: none;
  width: 100%;
  max-width: min(1240px, 100%);
  margin-inline: auto;
  box-sizing: border-box;
  min-width: 0;
}
body[data-legal-page="true"] .page > main,
body[data-legal-page="true"] .page > #main {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
}
body[data-legal-page="true"] .content-layout--legal {
  display: block;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  box-sizing: border-box;
  padding: 2.5rem var(--edge, clamp(1.25rem, 4vw, 3rem)) 4rem;
}
/* TOC-shell sites: `.page` already has ~24px side pad — keep a modest extra
   so hero/prose match commercial `.hero { padding: 48px }` rhythm. */
body[data-legal-page="true"] .page .content-layout--legal {
  padding-left: var(--legal-edge, 1.5rem);
  padding-right: var(--legal-edge, 1.5rem);
}
body[data-legal-page="true"] .hero {
  padding: clamp(3.5rem, 8vw, 7rem) var(--edge, clamp(1.25rem, 4vw, 3rem)) clamp(2.4rem, 5vw, 4rem);
  box-sizing: border-box;
}
body[data-legal-page="true"] .page > main > .hero,
body[data-legal-page="true"] .page > #main > .hero {
  padding-left: var(--legal-edge, 1.5rem);
  padding-right: var(--legal-edge, 1.5rem);
}
body[data-legal-page="true"] .hero h1 {
  max-width: min(22ch, 100%);
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  overflow-wrap: anywhere;
  word-break: break-word;
}
body[data-legal-page="true"] .hero .eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green, #0d7c3a);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body[data-legal-page="true"] .hero > p {
  max-width: 48rem;
  color: var(--muted, #5d6f63);
}
body[data-legal-page="true"] .article > .section.prose,
body[data-legal-page="true"] main > .section.prose {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
  max-width: 48rem;
}
body[data-legal-page="true"] .section.prose h2 {
  margin: 0 0 1rem;
  color: var(--ink, #173523);
}
body[data-legal-page="true"] .section.prose h3 {
  margin: 1.6rem 0 0.75rem;
}
body[data-legal-page="true"] .section.prose p,
body[data-legal-page="true"] .section.prose li {
  overflow-wrap: break-word;
  color: var(--ink, #173523);
}
body[data-legal-page="true"] .section.prose a {
  color: var(--green-deep, #07572a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
body[data-legal-page="true"] .legal-back {
  margin-top: 1.5rem;
}
/* END legal-page-layout */
