/* /spielautomaten/ — Slot-Katalog hub. Scoped `.sk-*`. Loads after casino.css (oc-* hero/toc base)
   which loads after home.css (poster--{prov} gradient vars, .btn, .eyebrow, .section-head, .faq-item).
   Interactive motion states (sort blob, FLIP re-flow, compare modal polish) are wired by slots.js.
   Provider gradient vars: --pg1/--pg2 set by poster--{prov} (home.css); we apply the gradient locally. */

.sk { --sk-gap: var(--s-16); }

/* (.container--narrow moved to system.css so it's available site-wide; FAQ uses the shared .faq wrapper) */

/* [hidden] must win over the display: values set on these components below
   (attribute vs class = equal specificity → class would otherwise show them). */
.sk-drop__panel[hidden], .sk-active[hidden], .sk-drop__count[hidden],
.sk-empty[hidden], .sk-cbar[hidden] { display: none !important; }

/* ─────────────────────────── HERO ─────────────────────────── */
.sk-hero { position: relative; padding-block: var(--s-96); background: linear-gradient(90deg, var(--hero), var(--bg)); }
/* hero content paints ABOVE the animated motif backdrop (.oseg-hhero, z-index:0) */
.sk-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); gap: var(--s-32) var(--s-64); align-items: center; }
.sk-hero__copy { max-width: 45rem; min-width: 0; }
.sk-hero__copy .accent { color: var(--accent); }
.sk-hero__copy .lead { margin-block: var(--s-20) 0; }
/* jump-nav lives in its own .sk-nav band below the hero (like .pv-nav) — pull it up so the pill floats over the seam */
.sk-nav .oc-toc { margin-top: 0; top: calc(var(--s-32) * -1); }
.sk-catalog { padding-block: var(--s-48) var(--s-64); }
.sk-catalog .section-head { justify-content: center; text-align: center; }
.sk-finder { background: var(--hero); }

/* monogram wall — the catalog is the hero art (upgrades to real thumbs w/ Slotslaunch) */
.sk-hero__wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); perspective: 900px; }
/* pre-hide the hero-wall chips until the GSAP entrance fades them in — kills the server-rendered
   "gradient box appears → disappears → waterfall" flash on hard refresh. Applied to BOTH walls
   (hub + provider) preventively: the same entrance runs on both, so the flash is latent on the
   provider too (just imperceptible with fewer/cached images — surfaces on slow connections / more
   slots). Motion-safe, and only when JS armed it via .oseg-wall-arm (no-JS keeps chips visible).
   hero-wall.js drops the class on entrance start / early-bail so nothing stays hidden. */
@media (prefers-reduced-motion: no-preference) {
  .oseg-wall-arm .sk-hero__wall .sk-chip { opacity: 0; }
}
.sk-chip { aspect-ratio: 3 / 2; border-radius: var(--radius-s); overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow);
  background: linear-gradient(155deg, var(--pg1, #888), var(--pg2, #555)); }
.sk-chip__glyph { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-28);
  color: rgba(255, 255, 255, .92); }
.sk-chip--merkur      { --pg1: #E0A93A; --pg2: #B4611F; }
.sk-chip--novoline    { --pg1: #8A5FC9; --pg2: #3B2E6E; }
.sk-chip--netent      { --pg1: #2FA3A0; --pg2: #14595E; }
.sk-chip--microgaming { --pg1: #C9557F; --pg2: #6E2E4E; }
.sk-chip--own         { --pg1: #00A56A; --pg2: #0C7A52; }

/* ─────────────────────── FILTER BAR ─────────────────────── */
.sk-filter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-24); margin-bottom: var(--s-16);
  display: flex; flex-direction: column; gap: var(--s-12); position: relative; }
.sk-filter__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-12) var(--s-16); }
.sk-filter__row--bottom { justify-content: space-between; }

/* search pill */
.sk-search { display: inline-flex; align-items: center; gap: var(--s-8); flex: 1 1 14rem; min-width: 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: var(--s-8) var(--s-16); color: var(--sub); transition: border-color .2s ease; }
.sk-search:focus-within { border-color: var(--nav-gold); }
.sk-search__ico { display: inline-flex; color: var(--sub); }
.sk-search__input { border: 0; background: none; font: inherit; color: var(--ink); width: 100%; outline: none; }
.sk-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.sk-search__clear { flex: none; width: 2rem; height: auto; border: 0; background: transparent; cursor: pointer;
  color: var(--negative); display: grid; place-content: center; border-radius: 0;
  transition: color .15s ease, background-color .15s ease; }
.sk-search__clear:hover { color: var(--ink); }
.sk-search__clear[hidden] { display: none; }  /* class display must not beat the hidden attribute */

/* provider chips */
.sk-provs { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.sk-prov { font-family: var(--font-display); font-size: var(--fs-14); font-weight: 700;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  border-radius: var(--radius-pill); padding: var(--s-8) var(--s-16); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.sk-prov__n { font-size: var(--fs-12); opacity: .6; margin-left: .15em; }
.sk-prov:hover { border-color: var(--ink); }
.sk-prov.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-primary, #fff); }
.sk-prov.is-active .sk-prov__n { opacity: 1; }

/* theme/feature dropdown pills */
.sk-drops { display: flex; gap: var(--s-8); }
.sk-drop { position: relative; }
.sk-drop__btn { display: inline-flex; align-items: center; gap: var(--s-8); font-family: var(--font-display);
  font-size: var(--fs-14); font-weight: 700; border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); border-radius: var(--radius-pill); padding: var(--s-8) var(--s-16); cursor: pointer; }
.sk-drop__btn[aria-expanded="true"] { border-color: var(--ink); }
.sk-drop__count { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem;
  background: var(--accent); color: var(--on-primary); border-radius: var(--radius-pill); font-size: var(--fs-10); }
.sk-drop__panel { position: absolute; top: calc(100% + var(--s-8)); left: 0; z-index: 10;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow); padding: var(--s-12); min-width: 380px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2) var(--s-8); }
.sk-opt { display: flex; align-items: center; gap: var(--s-8); font-size: var(--fs-14); cursor: pointer;
  padding: var(--s-4) var(--s-8); border-radius: var(--radius-xs); }
.sk-opt:hover { background: var(--bg); }
.sk-opt input { accent-color: var(--accent); }

/* sort segmented control (blob glide driven by slots.js; flat active-bg is the no-JS fallback —
   once JS reveals the pill, .has-pill neutralises it so the moving blob is the only highlight) */
.sk-sort { position: relative; display: inline-flex; gap: var(--s-4); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: var(--s-4); }
.sk-sort__pill { position: absolute; z-index: 0; top: var(--s-4); bottom: var(--s-4); left: 0;
  background: var(--accent); border-radius: var(--radius-pill);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), width .3s ease, opacity .2s ease;
  opacity: 0; }
.sk-sort__pill.is-ready { opacity: 1; }
.sk-sort__btn { position: relative; z-index: 1; font-family: var(--font-display); font-size: var(--fs-14);
  font-weight: 700; border: 0; background: none; color: var(--ink); border-radius: var(--radius-pill);
  padding: var(--s-8) var(--s-16); cursor: pointer; white-space: nowrap; transition: color .2s ease; }
.sk-sort__btn.is-active { background: var(--accent); color: var(--on-primary, #fff); }   /* no-JS fallback */
/* JS on → the moving blob is the only highlight; the white label follows it (hover + resting) */
.sk-sort.has-pill .sk-sort__btn { background: none; color: var(--ink); }
.sk-sort.has-pill .sk-sort__btn.is-current { color: var(--on-primary, #fff); }

.sk-result { margin: 0; font-size: var(--fs-14); color: var(--sub); min-width: 8.125rem; }
.sk-result strong { font-family: var(--font-display); font-size: var(--fs-20); color: var(--nav-gold); }

/* active-filter chips */
.sk-active { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-8); }
.sk-active__label { font-size: var(--fs-14); color: var(--sub); }
.sk-active__chips { display: inline-flex; flex-wrap: wrap; gap: var(--s-8); }
.sk-active .sk-achip { display: inline-flex; align-items: center; gap: var(--s-4); font-size: var(--fs-12);
  color: var(--ink); background: var(--hero); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: var(--s-4) var(--s-8) var(--s-4) var(--s-12); cursor: pointer; }
.sk-active .sk-achip b { font-weight: 700; }
.sk-active__reset { margin-left: auto; }

/* ─────────────────────────── GRID ─────────────────────────── */
.sk-grid { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sk-gap, var(--s-16)); }
.sk-tile { display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease; }
.sk-tile:hover { box-shadow: var(--shadow); transform: translateY(-.25rem); }
.sk-tile[hidden] { display: none; }
/* FLIP re-flow (slots.js): the tiles' own transitions would fight GSAP's per-frame transforms */
.sk-grid.is-anim .sk-tile { transition: none; }

.sk-tile__poster { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2;
  background: linear-gradient(155deg, var(--pg1, #888), var(--pg2, #555)); }
.sk-tile__glyph { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-40);
  color: rgba(255, 255, 255, .9); }
.sk-tile__badge { position: absolute; top: var(--s-8); right: var(--s-8);
  background: color-mix(in srgb, var(--nav-gold) 92%, black 8%); color: #fff;
  font-size: var(--fs-10); font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  padding: var(--s-4) var(--s-8); border-radius: var(--radius-pill); }

.sk-tile__body { display: flex; flex-direction: column; gap: var(--s-8); padding: var(--s-20); flex: 1; }
.sk-tile__prov { margin: 0; font-size: var(--fs-12); letter-spacing: .04em;
  text-transform: uppercase; color: var(--sub); }
.sk-tile__name { margin: 0; font-size: var(--fs-24); color: var(--ink); }

.sk-tile__specs { display: grid; grid-template-columns: repeat(2, 1fr); align-items: flex-start; gap: var(--s-8) var(--s-20); margin: var(--s-8) 0; }
.sk-tile__specs > div { display: flex; flex-direction: column; gap: 0; }
.sk-tile__specs dt { font-size: var(--fs-10); text-transform: uppercase; letter-spacing: .03em; color: var(--sub); }
.sk-tile__specs dd { margin: 0; font-size: var(--fs-16); font-weight: 600; color: var(--ink); }

/* RTP: label left, value right (like .scard__rtp-top), canonical .scard__rtp-bar full-width below
   (filled 0→value by the global home.js) */
.sk-tile__specs .sk-rtp { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s-8); align-items: baseline; }
.sk-rtp dt { grid-column: 1; grid-row: 1; }
.sk-rtp dd { grid-column: 2; grid-row: 1; margin: 0; text-align: right; }
.sk-rtp .scard__rtp-bar { grid-column: 1 / -1; grid-row: 2; margin-top: var(--s-4); }
/* Volatilität: canonical orange .vola pips (filled on viewport by the global stars.js) */
.sk-tile__specs .vola { margin-top: var(--s-4); gap: var(--s-8); }
.sk-tile__specs .vola__val { margin-left: 0; font-size: var(--fs-16); }

/* vola dots — still used by the single slot-review page */
.sk-vola { display: inline-flex; align-items: center; gap: var(--s-8); }
.sk-vola__bar { display: inline-flex; gap: 2px; }
.sk-vola__bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.sk-vola__bar i.is-on { background: var(--nav-gold); }
.sk-vola__val { font-size: var(--fs-12); font-weight: 600; color: var(--ink); }

/* tags (apply filter on click) */
.sk-tile__tags { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-12); }
.sk-tag { font-size: var(--fs-14); border: 1px solid var(--line); background: var(--hero); color: var(--ink);
  border-radius: var(--radius-pill); padding: var(--s-4) var(--s-16); cursor: pointer; transition: all .2s ease; }
.sk-tag:hover { border-color: var(--accent); color: var(--accent); }
.sk-tag--theme { border-color: color-mix(in srgb, var(--nav-gold) 40%, var(--line)); color: var(--nav-gold); font-weight: 600; }

.sk-tile__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12);
  margin-top: auto; padding-top: var(--s-12); border-top: 1px solid var(--line); }
/* play link — underline-draws in from the left on hover (same effect as .provider-card__link "Alle ansehen") */
.sk-tile__play { position: relative; display: inline-block; padding-right: 1.5rem;
  font-family: var(--font-display); font-size: var(--fs-14); font-weight: 600;
  color: var(--primary); text-decoration: none; transition: color .3s ease; }
.sk-tile__play::after { content: '\2192'; position: absolute; top: 0; right: 0; }
.sk-tile__play::before { content: ''; position: absolute; bottom: -1px; right: 1.5rem; left: 0; height: 2px;
  background-color: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .3s ease; }
.sk-tile__play:hover::before { transform-origin: left center; transform: scaleX(1); }

/* compare checkbox (violet = tool; green reserved for money) */
.sk-compare { display: inline-flex; align-items: center; gap: var(--s-8); cursor: pointer; font-size: var(--fs-14); color: var(--sub); transition: color .25s ease; }
.sk-compare:hover { color: var(--ink); }
.sk-compare input { position: absolute; opacity: 0; width: 0; height: 0; }
.sk-compare__box { display: grid; place-items: center; width: 1.25rem; height: 1.25rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-xs); color: transparent; transition: all .15s ease; }
.sk-compare input:checked + .sk-compare__box { background: var(--accent); border-color: var(--accent); color: #fff; }
.sk-compare input:focus-visible + .sk-compare__box { outline: 2px solid var(--accent); outline-offset: 2px; }

/* empty state */
.sk-empty { text-align: center; padding: var(--s-64) var(--s-24); border: 1px dashed var(--line);
  border-radius: var(--radius); background: var(--hero); }
.sk-empty__glyph { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line); font-family: var(--font-display); font-size: var(--fs-36); color: var(--panel-ink); margin-bottom: var(--s-16); }
.sk-empty__h { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-20); margin: 0; }
.sk-empty__hint { color: var(--sub); margin: 0 0 var(--s-16); font-size: var(--fs-16); }

/* ─────────────────────── HERSTELLER TABLE ─────────────────────── */
.sk-makers__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; }
.sk-makers__table { width: 100%; border-collapse: collapse; }
.sk-makers__table thead th { text-align: left; font-size: var(--fs-12); text-transform: uppercase;
  letter-spacing: .04em; color: var(--sub); font-weight: 700; padding: var(--s-16) var(--s-20);
  border-bottom: 2px solid var(--nav-gold); }
.sk-makers__table tbody td, .sk-makers__table tbody th { padding: var(--s-20); border-bottom: 0;
  font-size: var(--fs-16); color: var(--ink); text-align: left; vertical-align: middle; }
.sk-makers__table tbody tr:last-child td, .sk-makers__table tbody tr:last-child th { border-bottom: 0; }
.sk-makers__table tbody tr + tr { border-top: 1px solid var(--line); }
.sk-makers__table tbody tr { transition: background-color .25s ease; }
.sk-makers__table tbody tr:hover { background: var(--hero); }
.sk-makers__table tbody td a { font-weight: 600; color: var(--primary); transition: color .25s ease; }
.sk-makers__table tbody td a:hover { color: var(--accent); }
.sk-makers__name { display: flex; align-items: center; gap: var(--s-12); font-weight: inherit; }
.sk-makers__name small { display: block; font-size: var(--fs-12); color: var(--sub); font-weight: 400; }
.sk-makers__mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none;
  border-radius: var(--radius-s); font-family: var(--font-display); font-weight: 700; color: #fff;
  background: linear-gradient(155deg, var(--pg1, #888), var(--pg2, #555)); }
.sk-makers__count { display: inline-grid; place-items: center; width: 2rem; height: 2rem;
  padding: 0; background: var(--games-bg, var(--accent)); color: var(--on-primary);
  border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; }

/* ─────────────────────── RATGEBER — 3 topic cards ─────────────────────── */
/* Each card: cycling accent top-rule + icon tile + heading + prose + footer arrow-link. */
.sk-guide__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-32); }
.sk-guide__block { position: relative; display: flex; flex-direction: column; padding-top: var(--s-24); }
/* accent top-rule drawn left→right when the card enters the viewport (slots.js adds .is-drawn) */
.sk-guide__block::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 0.25rem;
  background: var(--gc, var(--primary)); transform: scaleX(0); transform-origin: left center;
  transition: transform 1s cubic-bezier(.65, 0, .35, 1); }  /* same timing as the site's RTP bars */
.sk-guide__block.is-drawn::before { transform: scaleX(1); }
.sk-guide__block:nth-child(2)::before { transition-delay: .12s; }
.sk-guide__block:nth-child(3)::before { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .sk-guide__block::before { transform: scaleX(1); transition: none; } }
.sk-guide__block:nth-child(1) { --gc: var(--primary); --gc-soft: color-mix(in srgb, var(--primary) 14%, transparent); }
.sk-guide__block:nth-child(2) { --gc: var(--accent);  --gc-soft: color-mix(in srgb, var(--accent) 14%, transparent); }
.sk-guide__block:nth-child(3) { --gc: var(--star);    --gc-soft: color-mix(in srgb, var(--star) 16%, transparent); }
.sk-guide__head { display: flex; align-items: center; gap: var(--s-12); margin-bottom: var(--s-16); }
.sk-guide__ico { flex: none; display: grid; place-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-s); color: var(--gc); background: var(--gc-soft);
  border: 1px solid color-mix(in srgb, var(--gc) 20%, transparent); }
.sk-guide__ico svg { width: 1.5rem; height: 1.5rem; }
.sk-guide__block h3 { margin: 0; font-size: var(--fs-20); }
.sk-guide__block p { flex: 1 1 auto; margin: 0 0 var(--s-16); color: var(--sub); font-size: var(--fs-16);
  overflow-wrap: break-word; hyphens: auto; }
.sk-guide__block p a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease; }
.sk-guide__block p a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.sk-guide__link { align-self: flex-start; margin-top: auto; position: relative; display: inline-block;
  padding-right: 2rem; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-16);
  color: var(--primary); text-decoration: none; white-space: nowrap; transition: color .25s ease; }
.sk-guide__link:hover { color: var(--accent); }
.sk-guide__link::after { content: '\2192'; position: absolute; top: 0; right: 0; width: 1.5rem; height: auto; font: inherit; }
/* animated underline (same mechanism as .section-head__link — grows from left on hover, exits right) */
.sk-guide__link::before { content: ''; position: absolute; bottom: 0; right: 2rem; left: 0; height: 2px;
  background-color: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .3s ease; }
.sk-guide__link:hover::before { transform-origin: left center; transform: scaleX(1); }

/* ─────────────────────── COMPARE BAR + MODAL ─────────────────────── */
.sk-cbar { position: fixed; left: 0; right: 0; bottom: var(--s-16); z-index: 60; pointer-events: none; }
.sk-cbar__inner { pointer-events: auto; display: flex; align-items: center; gap: var(--s-16);
  background: var(--panel); color: var(--panel-ink); border-radius: var(--radius-pill);
  box-shadow: var(--shadow); padding: var(--s-12) var(--s-24); }
.sk-cbar__thumbs { display: flex; gap: var(--s-4); }
.sk-cbar__thumbs .sk-cbar__thumb { width: 2.25rem; aspect-ratio: 3/4; border-radius: var(--radius-xs);
  background: linear-gradient(155deg, var(--pg1, #888), var(--pg2, #555)); display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-14); }
.sk-cbar__hint { margin: 0; font-size: var(--fs-14); flex: 1; }
.sk-cbar__actions { display: flex; gap: var(--s-8); }
.sk-cbar.is-shake .sk-cbar__inner { animation: sk-shake .3s; }
@keyframes sk-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.sk-modal { border: 0; border-radius: var(--radius); padding: 0; max-width: 56rem; width: calc(100% - var(--s-32));
  /* Scroll the body, not the dialog itself — overflow:hidden clips to the radius so the scrollbar
     can't eat the right-hand corners when the modal gets shorter than the content.
     NB: display:flex lives on [open] only — in the base rule it beats the UA
     `dialog:not([open]){display:none}` and the dialog stays visible after close. */
  max-height: calc(100dvh - var(--s-32)); overflow: hidden;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-alt, var(--shadow)); }
/* Entrance spring — same pure-CSS [open] keyframe as the slot-review dialogs (casino.css @keyframes oc-pop-in).
   CSS-only on the dialog so a top-layer <dialog> isn't ejected from the top layer by JS transforms;
   slots.js only animates INNER elements (column headers + winner tints). */
.sk-modal[open] { display: flex; flex-direction: column; animation: oc-pop-in .32s cubic-bezier(.34, 1.56, .64, 1); }
.sk-modal::backdrop { background: rgba(20, 15, 10, .55); backdrop-filter: blur(2px); }
.sk-modal__head { flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-20) var(--s-24); border-bottom: 1px solid var(--line); }
.sk-modal__title { margin: 0; font-size: var(--fs-24); }
.sk-modal__close { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer;
  transition: color .25s ease, background-color .25s ease; }
.sk-modal__close:hover { background: var(--panel); color: var(--panel-ink); }
.sk-modal__body { flex: 1 1 auto; min-height: 0; padding: var(--s-24); overflow: auto; --sb-color: var(--accent); }
.sk-ctable { width: 100%; border-collapse: collapse; }
.sk-ctable th, .sk-ctable td { padding: var(--s-12) var(--s-16); border-bottom: 1px solid var(--line);
  text-align: left; font-size: var(--fs-14); vertical-align: top; }
.sk-ctable thead th { vertical-align: bottom; }
/* Static example poster (landscape 3:2 — matches the real cover-art aspect so nothing crops).
   Only the /spielautomaten/ example uses this; the live compare modal shows no poster. The
   .slot-thumb <picture> (position:absolute, object-fit:cover from system.css) fills the box. */
.sk-ctable__posterbox { position: relative; display: block; width: 8rem; max-width: 100%; aspect-ratio: 3 / 2;
  margin: 0 0 var(--s-8); border-radius: var(--radius-s); overflow: hidden;
  background: linear-gradient(155deg, var(--pg1, #888), var(--pg2, #555)); }
.sk-ctable__cname { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-16); }
.sk-ctable thead th small { font-weight: 400; color: var(--sub); font-size: var(--fs-12); }
.sk-ctable .sk-ctable__rowlabel { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .03em;
  color: var(--sub); white-space: nowrap; }
.sk-ctable__win { background: color-mix(in srgb, var(--line) 40%, transparent); color: var(--ink); font-weight: 800; }
.sk-ctable__note { font-size: var(--fs-12); color: var(--sub); margin-top: var(--s-12); }

/* Slot-Vergleich — static example comparison card + CTA row (reuses .sk-ctable) */
.sk-verg__example { margin: 0 0 var(--s-24); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s-24); }
.sk-verg__eglabel { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-20);
  letter-spacing: .04em; color: var(--ink); margin: 0 0 var(--s-16); }
.sk-verg__tablewrap { overflow-x: auto; }
.sk-verg__takeaway { margin: 0 0 var(--s-24); color: var(--sub); font-size: var(--fs-lead); }
.sk-verg__takeaway strong { color: var(--ink); }
.sk-verg__cta { display: flex; flex-wrap: wrap; gap: var(--s-12) var(--s-16); }

/* ─────────────────────────── DARK THEME ─────────────────────────── */
/* .sk-hero background is now a theme-token gradient (adapts to dark automatically) — no override needed */
:root[data-theme="dark"] .sk-tag { background: transparent; }

/* ─────────────────────────── TABLET (768–1023px) ─────────────────────────── */
@media (max-width: 63.9375rem) {
  .sk-hero { padding-top: var(--s-64); }
  .sk-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .sk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-filter__row { flex-direction: column; align-items: stretch; }
  .sk-filter__row--bottom { flex-direction: row; align-items: center; }
  .sk-search { flex: 0 0 100%; }
  .sk-guide__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ─────────────────────────── MOBILE (≤767px) ─────────────────────────── */
@media (max-width: 47.9375rem) {
  .sk-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-32); }
  .sk-prov { min-width: 10rem; }
  .sk-active__reset { margin-left: 0; flex: 0 0 100%; }

  .sk-filter { position: static; padding: var(--s-16); }
  .sk-filter__row--top, .sk-filter__row--bottom { flex-direction: column; align-items: stretch; min-width: 0; }
  .sk-search { flex: 1 1 auto; min-width: 0; width: 100%; }
  .sk-provs, .sk-sort { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; min-width: 0; width: 100%; }
  .sk-provs::-webkit-scrollbar, .sk-sort::-webkit-scrollbar { display: none; }
  .sk-drops { width: 100%; }
  .sk-drop { flex: 1; }
  .sk-drop__btn { width: 100%; justify-content: center; }
  .sk-drop__panel { grid-template-columns: minmax(0, 1fr); min-width: 0; width: 15rem; }
  /* Feature is the right-hand tab → anchor its dropdown to the right edge so the 15rem panel
     doesn't run off-screen on narrow phones (Thema, the left tab, stays left-aligned). */
  [data-sk-drop="feature"] .sk-drop__panel { left: auto; right: 0; }
  .sk-result { align-self: flex-start; }

  /* grid → single-column full-width cards (revert to the base vertical tile layout) */
  .sk-grid { grid-template-columns: minmax(0, 1fr); }
  .sk-tile__glyph { font-size: var(--fs-28); }
  .sk-tile__name { font-size: var(--fs-20); }

  .sk-guide__grid { grid-template-columns: 1fr; gap: var(--s-24); }

  /* table → stacked mini-cards */
  .sk-makers__card { border: 0; box-shadow: none; background: none; border-radius: 0; }
  .sk-makers__table, .sk-makers__table tbody, .sk-makers__table tr { display: block; }
  .sk-makers__table thead { display: none; }
  .sk-makers__table tbody tr { background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-m); box-shadow: none; margin-bottom: var(--s-16); padding: var(--s-8) var(--s-16); }
  .sk-makers__table tbody tr:last-child { margin-bottom: 0; }
  .sk-makers__table tbody th { padding: var(--s-20) 0; }
  .sk-makers__table tbody tr:hover { background: var(--surface); }
  .sk-makers__name { padding: var(--s-12) 0; border-bottom: 1px solid var(--line); }
  .sk-makers__table tbody td { display: flex; justify-content: space-between; align-items: center; gap: var(--s-16);
    padding: var(--s-8) 0; border-bottom: 1px solid var(--line); }
  /* override the desktop base rule (tr:last-child td → border 0), which otherwise strips the row
     separators from the LAST stacked card; restore them, then drop only each card's last cell below. */
  .sk-makers__table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .sk-makers__table tbody tr td:last-child { border-bottom: 0; }
  .sk-makers__table tbody td::before { content: attr(data-label); font-size: var(--fs-12);
    text-transform: uppercase; letter-spacing: .03em; color: var(--sub); font-weight: 700; }

  .sk-cbar { bottom: 0; }
  .sk-cbar__inner { border-radius: var(--radius-m) var(--radius-m) 0 0; flex-wrap: wrap; margin-left: var(--s-12); margin-right: var(--s-12); padding-left: var(--s-12); padding-right: var(--s-12); justify-content: center; }
  .sk-cbar__thumbs .sk-cbar__thumb { width: 3rem; }
  .sk-cbar__hint { flex: 1 1 100%; text-align: center; }
  /* compare modal: min-width scales with slot count (variable-length names) → scrolls horizontally in
     its wrapper. 2 slots = 3 cols (label + 2); 3 slots = 4 cols → detect the 4th col via :has().
     Scoped to .sk-modal so the static example (.sk-verg__example) keeps its own 45rem below —
     :has() carries its argument's specificity and would otherwise beat the example override. */
  .sk-modal .sk-ctable { min-width: 36rem; }                              /* 2 slots */
  .sk-modal .sk-ctable:has(thead th:nth-child(4)) { min-width: 50rem; }   /* 3 slots */
  .sk-verg__eglabel { letter-spacing: 0; line-height: 1.25; }
  .sk-verg__example .sk-ctable { min-width: 45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sk-tile, .sk-sort__pill, .sk-compare__box, .sk-modal { transition: none; }
  .sk-modal[open] { animation: none; }
}

/* Responsive fixes 2026-07-16 — laptop↓ (≤1359px) */
@media (max-width: 84.9375rem) {
  .sk-tile__specs { grid-template-columns: minmax(0, 1fr); }
  .sk-tile__specs .vola { margin-top: 0; }
  .sk-cbar__inner { margin-left: var(--s-12); margin-right: var(--s-12); }
}

/* Narrowest phones (≤460px) */
@media (max-width: 28.75rem) {
  .sk-verg__cta { flex-direction: column; }
}
