/* casinolotse.ch — archetype 5 Swiss modular */
:root {
  --bg: #F5F7FB;
  --surface: #ffffff;
  --text: #1A1D26;
  --muted: #5c6478;
  --accent: #1E853E;
  --cta: #1E853E;
  --accent-2: #1A3B8B;
  --hot: #1E853E;
  --ok: #2a6fd4;
  --line: rgba(26, 29, 38, 0.1);
  --grid-fine: rgba(26, 59, 139, 0.06);
  --grid-major: rgba(26, 59, 139, 0.11);
  --radius: 6px;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px),
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 1.6rem 1.6rem, 1.6rem 1.6rem, 8rem 8rem, 8rem 8rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .5rem; }
#siteChromeStart { display: block; min-height: 4.75rem; }
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  min-height: 4.75rem;
  background: var(--surface);
  border-bottom: 2px solid var(--accent-2);
}
.brand-logo, .footer-logo { height: 52px; width: auto; background: transparent; }
.footer-logo { height: 84px; }
.brand--footer,
.site-footer .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: .45rem .7rem;
  line-height: 0;
}
.site-footer .footer-logo,
.brand--footer .footer-logo {
  height: 72px;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-left: auto; }
.nav-link.is-active { color: var(--accent); font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; }
.badge-18 { font: 600 .75rem var(--mono); background: var(--accent-2); color: #fff; padding: .2rem .45rem; border-radius: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1rem; border-radius: var(--radius); font-weight: 600; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); }
a.btn-play, .btn-play {
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  border-color: transparent;
}
a.btn-play:hover, .btn-play:hover { filter: brightness(1.08); color: #fff; }
.page {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  gap: 0 clamp(1rem, 3vw, 2rem);
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 3rem;
}
.page-toc--leftfolio {
  position: sticky; top: 1rem; align-self: start;
  padding: .75rem 0; border-left: 3px solid var(--accent-2);
  padding-left: .75rem; font-size: .85rem;
}
.page-toc__link { display: flex; gap: .5rem; padding: .35rem 0; text-decoration: none; color: var(--muted); }
.page-toc__link:hover, .page-toc__link.is-current { color: var(--accent); }
.page-toc__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); margin-top: .45rem; }
.page-toc__link.is-current .page-toc__dot { background: var(--accent); }
.page-toc--mobile {
  grid-column: 1 / -1; overflow-x: auto; display: flex; gap: .5rem; padding: .5rem 0;
  -webkit-overflow-scrolling: touch;
}
.page-toc--mobile .page-toc__links { display: flex; gap: .5rem; flex-wrap: nowrap; }
.page-toc--mobile .page-toc__link { white-space: nowrap; background: #fff; border: 1px solid var(--line); padding: .35rem .65rem; border-radius: var(--radius); }
.hero {
  position: relative; padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}
.hero:has(.hero-background) {
  min-height: clamp(28rem, calc(100svh - 6.5rem), 46rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  overflow: hidden;
}
body[data-page="online-blackjack"] .hero:has(.hero-background) {
  display: block;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
}
body[data-page="online-blackjack"] .hero:has(.hero-background) img.hero-background {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
body[data-page="online-blackjack"] .hero-copy {
  max-width: none;
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: #101826;
}
img.hero-background {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover; object-position: center center;
  opacity: 1; filter: none;
  z-index: 0; pointer-events: none;
}
.hero > *:not(.hero-background) { position: relative; z-index: 1; }
.hero-copy {
  max-width: min(36rem, 100%);
  width: min(36rem, 100%);
  padding: 1.15rem 1.3rem 1.2rem;
  border-radius: 10px;
  background: rgba(8, 16, 32, 0.72);
}
.hero:has(.hero-background) .kicker { color: #d6e4ff; }
.hero:has(.hero-background) h1 { color: #fff; }
.hero:has(.hero-background) .lede { color: #e8eef6; }
.hero-author {
  display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center;
  margin-top: 1rem; padding: .75rem; background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: var(--radius);
}
.hero-author img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; }
.kicker { font: 600 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 .35rem; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; margin: 0 0 .75rem; }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.section { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.section.prose p { max-width: 68ch; }
.ranking-block { min-width: 0; max-width: 100%; }
.ranking-block h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.rank-cards {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
  max-width: 100%;
}
.rank-card,
.rank-card--row {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: .7rem .85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: .9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.rank-card__badge {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  font: 700 .78rem var(--mono);
  display: grid;
  place-items: center;
}
.rank-card__brand {
  flex: 0 1 11rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  min-width: 0;
  max-width: 11.5rem;
}
.rank-card__logo-link { display: block; flex: 0 0 auto; line-height: 0; }
.rank-card__logo {
  display: block;
  width: 108px;
  height: 64px;
  max-width: 108px;
  max-height: 64px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
}
.rank-card__id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  min-width: 0;
}
.rank-card__name { margin: 0; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.rank-card__stars { display: flex; gap: 1px; line-height: 1; }
.rank-card__star { color: #d5d8e0; font-size: .85rem; }
.rank-card__star.is-on { color: var(--accent); }
.rank-card__features {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: .3rem;
}
.rank-card__features li {
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.25;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: rgba(30, 133, 62, 0.1);
  color: var(--accent-2);
  overflow-wrap: anywhere;
}
.rank-card__pays {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .3rem;
}
.rank-card__pays img {
  width: 2.6rem;
  height: 1.65rem;
  max-width: 2.6rem;
  max-height: 1.65rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 4px;
}
.rank-card__bonus {
  flex: 0 1 13rem;
  min-width: 0;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.3;
}
.rank-card__bonus-label {
  display: block;
  font-size: .68rem;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rank-card__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  align-self: center;
}
.rank-card__cta .btn-play { padding: .7rem 1.15rem; }
.rank-card__pos { font: 700 1.1rem var(--mono); color: var(--accent-2); }
.slots-lobby { background: #0f1628; color: #e8ecf4; padding: 1.5rem; border-radius: var(--radius); }
.slots-lobby__tabs {
  display: flex; flex-wrap: nowrap; gap: .5rem; overflow-x: auto; margin-bottom: 1rem;
  padding-bottom: .45rem; scrollbar-width: thin;
}
.slots-lobby__tabs::-webkit-scrollbar { height: 7px; }
.slots-lobby__tabs::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.slots-lobby__tab {
  flex: 0 0 auto;
  background: var(--cta);
  color: #0b1a12;
  border: 2px solid var(--cta);
  padding: .45rem .85rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
}
.slots-lobby__tab:hover { filter: brightness(1.08); }
.slots-lobby__tab.is-active {
  background: #fff;
  color: #0b1a12;
  border-color: var(--cta);
  outline: 2px solid var(--cta);
}
.slots-lobby__grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(var(--slot-cols, 3), minmax(0, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.slot-tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius); overflow: hidden; }
.slot-tile__media { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: .5rem; }
.slot-tile__media img { object-fit: contain; width: 100%; height: 100%; }
.slot-tile__name { font-size: .8rem; padding: .4rem .5rem; color: var(--text); text-align: center; }
.pay-logos { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .5rem; list-style: none; padding: 0; }
.page > *,
#main { min-width: 0; }
.page-toc--mobile { max-width: 100%; min-width: 0; }
.table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pay-table,
.content-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.content-table:not(.pay-table) { table-layout: fixed; }
.pay-table th,
.pay-table td,
.content-table th,
.content-table td {
  border: 1px solid var(--line);
  padding: .5rem .4rem;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: break-word;
}
.pay-method { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.pay-method img {
  width: 3.25rem;
  height: 2rem;
  object-fit: contain;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.cell-good, .yes { color: #1f7a4d; font-weight: 700; }
.cell-bad { color: #a33; font-weight: 600; }
.cell-good::before, .yes::before { content: "✓ "; }
.cell-bad::before { content: "– "; }
.deposit-steps { padding: .5rem 0 1rem; }
.deposit-steps__rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1.1rem .25rem .75rem;
  scrollbar-width: thin;
  position: relative;
}
.deposit-steps__rail::-webkit-scrollbar { height: 7px; }
.deposit-steps__rail::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
.deposit-steps__item {
  position: relative;
  flex: 0 0 min(15rem, 78vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}
.deposit-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: 2rem;
  width: calc(100% - 1rem);
  height: 3px;
  background: linear-gradient(90deg, var(--cta), rgba(30, 133, 62, 0.25));
  z-index: 0;
}
.deposit-steps__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-family: var(--mono);
}
.deposit-steps__card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cta);
  border-radius: var(--radius);
  padding: .75rem;
}
.deposit-steps__card strong { display: block; margin-bottom: .35rem; color: var(--accent-2); }
.deposit-steps__card p { margin: 0; font-size: .92rem; color: var(--muted); }
@media (min-width: 981px) {
  .deposit-steps__rail { display: grid; overflow: visible; }
  .deposit-steps[data-count="3"] .deposit-steps__rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deposit-steps[data-count="4"] .deposit-steps__rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .deposit-steps__item { flex: none; width: auto; }
  .deposit-steps__item:not(:last-child)::after { display: none; }
}
.faq .acc-trigger { width: 100%; text-align: left; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.faq .acc-panel { padding: 0 1rem 1rem; border: 1px solid var(--line); border-top: 0; }
.author-card { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1.25rem; background: var(--surface); border-radius: var(--radius); margin-top: 1rem; }
.site-footer { background: var(--accent-2); color: #e8ecf8; padding: 2rem clamp(1rem,4vw,3rem); margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); max-width: 72rem; margin: 0 auto; }
.legal-line { text-align: center; font-size: .8rem; opacity: .85; margin-top: 1.5rem; }
.to-top { position: fixed; right: 1rem; bottom: 1rem; opacity: 0; pointer-events: none; border: 0; background: var(--accent); color: #fff; width: 2.5rem; height: 2.5rem; border-radius: var(--radius); cursor: pointer; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 960px) {
  .page { grid-template-columns: 1fr; }
  .page-toc--leftfolio { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav:not(.is-open) { display: none; width: 100%; }
  .nav.is-open { display: flex; width: 100%; flex-direction: column; align-items: flex-start; }
  .rank-card,
  .rank-card--row {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 2.35rem .85rem .9rem;
  }
  .rank-card__badge {
    position: absolute;
    left: .7rem;
    top: .7rem;
  }
  .rank-card__brand {
    flex: 1 1 100%;
    max-width: none;
    align-items: center;
  }
  .rank-card__logo-link { margin-inline: auto; }
  .rank-card__id { align-items: center; width: 100%; }
  .rank-card__name, .rank-card__stars { justify-content: center; text-align: center; }
  .rank-card__features { display: none; }
  .rank-card__pays {
    flex: 1 1 auto;
    justify-content: flex-start;
  }
  .rank-card__bonus {
    flex: 1 1 auto;
    text-align: right;
  }
  .rank-card__cta { flex: 1 1 100%; width: 100%; }
  .rank-card__cta .btn-play { width: 100%; }
  .pay-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 961px) {
  .header-cta { margin-left: .5rem; }
}

/* Phone: payment compare stays in the column — method beside a 2-column metric grid */
@media (max-width: 720px) {
  .table-scroll:has(.pay-table) { overflow: visible; }
  .pay-table { min-width: 0; width: 100%; }
  .pay-table thead { display: none; }
  .pay-table,
  .pay-table tbody { display: block; width: 100%; max-width: 100%; }
  .pay-table tr {
    display: grid;
    grid-template-columns: minmax(7.4rem, 0.95fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "method m1 m2"
      "method m3 m4";
    gap: 0.35rem 0.5rem;
    align-items: start;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    min-width: 0;
    max-width: 100%;
  }
  .pay-table td {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    border: 0;
    padding: 0;
    min-width: 0;
    font-size: 0.86rem;
  }
  .pay-table td:first-child { grid-area: method; align-self: center; overflow-wrap: normal; }
  .pay-table td:nth-child(2) { grid-area: m1; }
  .pay-table td:nth-child(3) { grid-area: m2; }
  .pay-table td:nth-child(4),
  .pay-table td:nth-child(5) { display: none; }
  .pay-table td:nth-child(6) { grid-area: m3; display: flex; }
  .pay-table td:nth-child(7) { grid-area: m4; display: flex; }
  .pay-table td:nth-child(2)::before { content: "Einzahlung"; }
  .pay-table td:nth-child(3)::before { content: "Auszahlung"; }
  .pay-table td:nth-child(6)::before { content: "Minimum"; }
  .pay-table td:nth-child(7)::before { content: "CH-Tauglich"; }
  body[data-page="online-blackjack"] .hero:has(.hero-background) {
    display: block;
    aspect-ratio: auto;
    min-height: 0;
    padding: 0;
  }
  body[data-page="online-blackjack"] img.hero-background {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  body[data-page="online-blackjack"] .hero-copy {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    background: #101826;
  }
  .site-header { position: relative; z-index: 5; }
  .pay-table td:nth-child(n+2)::before {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .pay-method { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .pay-method__name { white-space: normal; overflow-wrap: normal; }
}
/* Legal chrome has no TOC, so it must not sit in the sidebar track. */
body[data-legal-page="true"] .page {
  grid-template-columns: minmax(0, 1fr);
}
body[data-legal-page="true"] #main {
  grid-column: 1 / -1;
  min-width: 0;
  max-width: 100%;
}
body[data-legal-page="true"] h1,
body[data-legal-page="true"] h2,
body[data-legal-page="true"] .section.prose p {
  overflow-wrap: break-word;
}
/* 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;
}

.bj-compare h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.bj-variant {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: .95rem 1rem 1.05rem;
  margin: .85rem 0 0;
}
.bj-variant h3 { margin: 0 0 .45rem; font-size: 1.08rem; }
.bj-variant__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem .75rem;
  margin: 0 0 .7rem;
}
.bj-variant__facts div { margin: 0; min-width: 0; }
.bj-variant__facts dt {
  font: 600 .68rem var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.bj-variant__facts dd { margin: .12rem 0 0; font-weight: 650; }
.bj-variant p { margin: 0; max-width: 68ch; }
.blackjack-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.1rem 0 0;
}
.blackjack-games[data-grid-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.blackjack-game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
}
.blackjack-game-card__media {
  background: #102418;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blackjack-game-card__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.blackjack-game-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.8rem 0.85rem;
  flex: 1 1 auto;
}
.blackjack-game-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.blackjack-game-card__provider,
.blackjack-game-card__rtp {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.blackjack-game-card__rtp { color: var(--accent-2); font-weight: 600; }
.blackjack-game-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.45rem;
}
.btn-play-free,
.btn-play-real {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font: 600 0.92rem var(--font);
}
.btn-play-free {
  background: var(--cta);
  color: #fff;
  border: 2px solid var(--cta);
}
.btn-play-real {
  background: #fff;
  color: var(--accent-2);
  border: 2px solid var(--accent-2);
}
.bj-modal[hidden] { display: none !important; }
.bj-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.bj-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 32, 0.62);
}
.bj-modal__panel {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  background: var(--surface);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 16px 40px rgba(8, 16, 32, 0.28);
}
.bj-modal__close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  font-weight: 700;
  cursor: pointer;
}
body.bj-modal-open { overflow: hidden; }
@media (max-width: 980px) {
  .blackjack-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bj-variant__facts { grid-template-columns: 1fr; }
}
