/* SlotGig: a printed slot guide.
   Newsprint paper, two inks (black and a ticket red), Clarendon headlines (Besley),
   a newspaper grotesk for figures and controls (Schibsted Grotesk).
   Rules carry meaning: the thick-and-thin rule opens a page or a new entry,
   a 2px rule opens a section, hairlines separate rows. */

@font-face { font-family: "Besley"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/besley-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/besley-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Besley"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/besley-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Besley"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/besley-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/besley-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/besley-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/besley-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/besley-latin-ext-900-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Greek letters (/el/): Besley and Schibsted Grotesk have none, so these subsets stand in for them under the same names.
   Roboto Slab (Apache 2.0) for the slab serif, Inter (SIL OFL 1.1) for the grotesk; @fontsource 5.1.1. */
@font-face { font-family: "Besley"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/roboto-slab-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/roboto-slab-greek-700-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/roboto-slab-greek-900-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Besley"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/roboto-slab-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/inter-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/inter-greek-700-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

:root {
  --paper: #E9E8E1;   /* newsprint */
  --stock: #F6F5EF;   /* card stock for forms you fill in */
  --ink: #000;
  --ink-2: #4A4943;   /* secondary text */
  --hair: #A8A69C;    /* row rules */
  --red: #C8102E;     /* second ink */
  --red-deep: #9E0C24;
  --gold: #FFC629;    /* real-money button */
  --gold-hi: #FFD65C;
  --gold-deep: #B8860B;
  --serif: "Besley", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
}
[hidden] { display: none !important; }
.card-line dd, .fig b { font-variant-numeric: tabular-nums; }
img { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Thick-and-thin rule: opens the page and every new entry. */
.mast, .foot { position: relative; }
.mast { border-bottom: 5px solid var(--ink); margin-bottom: 7px; }
.mast::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; border-bottom: 1px solid var(--ink); }

/* ---------- Masthead ---------- */
.mast-row { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px 28px; padding-top: 22px; padding-bottom: 14px; }
.logo { font: 900 2.6rem/0.9 var(--serif); letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.mast-tag { margin: 0; font: 400 1rem/1.3 var(--serif); font-style: italic; color: var(--ink-2); padding-bottom: 3px; }
.mast-nav { display: flex; gap: 22px; padding-bottom: 2px; }
.mast-nav a { font-weight: 700; text-decoration: none; padding-bottom: 2px; border-bottom: 3px solid transparent; }
.mast-nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* ---------- Page openers ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 22px 0 0; padding: 0; font-size: 0.875rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--hair); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.front { padding-top: 40px; padding-bottom: 8px; }
.front h1 { font-weight: 900; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 0.98; letter-spacing: -0.02em; max-width: 14ch; }
.lead { font: 400 1.3125rem/1.5 var(--serif); max-width: 46ch; margin: 18px 0 0; }
.front .lead { color: var(--ink-2); }

/* ---------- Provider index (top of every catalogue) ---------- */
.index { margin-top: 34px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.index ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.index li { border-right: 1px solid var(--hair); }
.index a { display: block; padding: 9px 14px; font-size: 0.9375rem; font-weight: 700; text-decoration: none; }
.index li:first-child a { padding-left: 0; }
.index a span { font-weight: 400; color: var(--ink-2); margin-left: 3px; }
.index a[aria-current="page"] { color: var(--red); }
.index a[aria-current="page"] span { color: var(--red); }

.tools { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 32px; padding: 20px 0 24px; }
.field { display: grid; gap: 4px; }
.field > span { font-size: 0.8125rem; font-weight: 700; }
.field input, .field select {
  font: 400 1.25rem/1.2 var(--serif); color: var(--ink); background: transparent;
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 6px 2px; min-width: 0;
}
.field-search { flex: 1 1 280px; max-width: 420px; }
.field-search input { width: 100%; }
.field select { padding-right: 26px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 10px center / 6px 6px no-repeat,
              linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 4px center / 6px 6px no-repeat; }
.field input::placeholder { color: var(--ink-2); opacity: 0.7; }

/* ---------- Contact sheet of games ---------- */
.sheet {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); border-left: 1px solid var(--ink);
}
.sheet-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entry { display: flex; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.entry[hidden] { display: none; }
.entry-link { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 16px; text-decoration: none; color: var(--ink); }
.entry-link:hover { color: var(--ink); }
.entry-link:focus-visible { outline-offset: -4px; }
.entry-art { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--ink); outline: 1px solid var(--ink); }
.entry-prov { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-2); }
.entry-name { font: 700 1.3125rem/1.12 var(--serif); margin: 2px 0 10px; overflow-wrap: anywhere; }
.entry-link:hover .entry-name { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entry-figs { margin-top: auto; display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 6px 10px; padding-top: 8px; border-top: 1px solid var(--hair); font-size: 0.8125rem; line-height: 1.25; }
.fig { min-width: 0; }
.fig-k { display: block; color: var(--ink-2); font-size: 0.75rem; }
.fig b { font: 700 0.9375rem/1.2 var(--serif); white-space: nowrap; }
.fig-players { grid-column: 1 / -1; }
.fig-players .fig-k { display: inline; margin-right: 4px; }
.fig-score b { color: var(--red); }
.fig-score.is-empty b { color: var(--ink-2); }
.fig[hidden] { display: none; }
.empty { padding: 28px 0; font: 400 1.25rem var(--serif); }

/* ---------- Home shelves ---------- */
.shelf { margin-top: 52px; }
.shelf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding-bottom: 12px; }
.shelf-head h2 { font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; }
.shelf-head p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.all-row { margin-top: 28px; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Studios list (home) ---------- */
.studios { margin-top: 72px; }
.sheet-h { margin-top: 30px; }
.studios > h2, .related > h2, .sheet-h { font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; padding-bottom: 12px; }
.studio-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 2px solid var(--ink); }
.studio-list li { padding: 16px 0 18px; border-bottom: 1px solid var(--hair); }
.studio-list a { font: 700 1.375rem/1.2 var(--serif); text-decoration: none; }
.studio-list a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.studio-count { display: block; font-size: 0.875rem; color: var(--ink-2); margin-top: 2px; }
.studio-list p { margin: 8px 0 0; font: 400 1rem/1.5 var(--serif); max-width: 60ch; }

/* ---------- Game page ---------- */
.game-head { padding-top: 26px; padding-bottom: 24px; }
.game-head h1 { font-weight: 900; font-size: clamp(2.75rem, 7.6vw, 6rem); line-height: 0.95; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.game-head h1.is-long { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; }
.byline { margin: 16px 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.byline a { color: var(--red); font-weight: 700; text-decoration: none; }
.byline a:hover { text-decoration: underline; }

/* The demo sits on a black plate with a halftone screen behind the cover. */
.stage-band { background: var(--ink); color: var(--paper); padding: 22px 0; }
.stage {
  position: relative; aspect-ratio: 16 / 9; max-height: 78vh; margin: 0 auto; overflow: hidden; isolation: isolate;
  background: #000 radial-gradient(circle, #2a2a27 1.1px, transparent 1.3px) 0 0 / 7px 7px;
}
.stage-cover {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: 18px; padding: 20px; text-align: center;
}
.stage-art { display: block; width: min(440px, 52vw); height: auto; aspect-ratio: 4 / 3; object-fit: contain; outline: 1px solid #55544e; background: #000; }
.stage-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }

.btn {
  display: inline-block; font: 700 1.125rem/1 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  padding: 15px 24px; border: 2px solid currentColor; border-radius: 0; background: transparent; color: inherit;
}
.btn-play { background: var(--red); border-color: var(--red); color: #fff; }
.btn-play:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
/* Under the game picture: a gold real-money button, then an outlined free-demo button (pill shapes, like the big
   slot sites). The same gold button stays under a running demo. */
.btn-real, .btn-demo { border-radius: 999px; }
.btn-real { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); border-color: var(--gold);
  color: #141414; font-weight: 800; box-shadow: 0 5px 0 var(--gold-deep); }
.btn-real:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #141414; }
.btn-real:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-deep); }
.btn-demo { background: transparent; border-color: #fff; color: #fff; }
.btn-demo:hover { background: #fff; color: var(--ink); }
.stage-actions { flex-direction: column; align-items: stretch; width: min(440px, 52vw); gap: 14px; }
.stage-actions .btn { font-size: 1.1875rem; padding: 17px 24px; }
.stage-start { display: block; cursor: pointer; }
.stage-start:hover .stage-art { outline-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .btn-real:active { transform: none; } }
.btn-quiet { font-size: 0.9375rem; padding: 9px 14px; color: var(--paper); border-width: 1px; }
.btn-quiet:hover { color: #fff; }

.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.stage:fullscreen { aspect-ratio: auto; max-height: none; }
.stage.is-max { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; max-height: none; }
.no-scroll, .no-scroll body { overflow: hidden; }
.stage-loading { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; background: rgba(0, 0, 0, 0.88); color: var(--paper); }
.stage-loading p { margin: 0; max-width: 46ch; }
.stage-slow { font-size: 0.9375rem; color: #bdbbb2; }
.stage-slow a { color: #fff; font-weight: 700; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #44433e; border-top-color: var(--red); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-exit { position: absolute; top: 12px; right: 12px; z-index: 3; font: 700 0.9375rem var(--sans); color: var(--paper); background: #000; border: 1px solid var(--paper); padding: 8px 14px; cursor: pointer; }
.stage-bar { display: flex; justify-content: center; align-items: center; gap: 12px; }
.stage-bar:has(> :not([hidden])) { padding-top: 18px; }
.stage-bar .btn-real { width: min(560px, 100%); font-size: 1.25rem; padding: 18px 24px; margin-bottom: 5px; }

/* Card line: the game's key figures in one ruled row, like a race card. */
.card-line {
  display: grid; grid-template-columns: 1.3fr; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column;
  margin: 0; border-bottom: 2px solid var(--ink);
}
.card-line > div { padding: 14px 14px 16px; border-right: 1px solid var(--hair); min-width: 0; }
.card-line > div:first-child { padding-left: 0; }
.card-line > div:last-child { border-right: 0; }
.card-line dt { font-size: 0.8125rem; color: var(--ink-2); }
.card-line dt a { text-decoration-color: var(--hair); }
.card-line dd { margin: 4px 0 0; font: 700 1.125rem/1.2 var(--serif); overflow-wrap: break-word; }
.card-line dd b { font-weight: 900; }
.card-line small { font: 400 0.875rem var(--sans); color: var(--ink-2); margin-left: 2px; }
.cl-score dd b { font-size: 2.6rem; line-height: 0.9; color: var(--red); }
.cl-players dd b { font-size: 2.6rem; line-height: 0.9; }
.cl-note, .cl-tally { display: block; margin: 6px 0 0; font: 400 0.8125rem/1.3 var(--sans); color: var(--ink-2); }

.game-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 40px; padding-bottom: 32px; align-items: start; }

/* Review text */
.prose { max-width: 680px; font: 400 1.125rem/1.68 var(--serif); }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose a { text-decoration-color: var(--red); }
.review-title { font-weight: 900; font-size: clamp(1.9rem, 3.2vw, 2.4rem); line-height: 1.05; }
.prose .lead { font-size: 1.3125rem; margin: 16px 0 26px; max-width: none; }
.prose h3 { font-weight: 700; font-size: 1.375rem; line-height: 1.2; margin: 28px 0 10px; }
.part { margin-top: 44px; padding-top: 14px; border-top: 2px solid var(--ink); }
.part > h2 { font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.08; margin-bottom: 14px; }
.part > section > h3:first-child { margin-top: 18px; }
section[aria-labelledby], h2[id], h3[id] { scroll-margin-top: 20px; }

.contents { margin: 0 0 8px; padding: 12px 0 14px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--sans); }
.contents h3 { font: 700 0.875rem var(--sans); margin: 0 0 6px; }
.contents ul { columns: 2; column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.contents li { margin: 0; break-inside: avoid; font-size: 0.9375rem; line-height: 1.6; }
.contents a { text-decoration: none; }
.contents a:hover { text-decoration: underline; }

.balance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.balance h3 { font: 700 1rem var(--sans); margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.balance ul { list-style: none; padding: 0; margin: 0; }
.balance li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--hair); margin: 0; font-size: 1.0625rem; line-height: 1.45; }
.balance li::before { position: absolute; left: 0; top: 7px; font: 900 1.125rem/1.3 var(--sans); }
.pros li::before { content: "+"; color: var(--red); }
.cons li::before { content: "\2212"; }

.verdict p:first-of-type { font-size: 1.3125rem; line-height: 1.55; }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; font: 700 1.125rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin: 0 0 16px; }

.sources { margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--ink); font: 400 0.875rem/1.55 var(--sans); color: var(--ink-2); }
.sources summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.sources a { overflow-wrap: anywhere; }

/* ---------- Sidebar ---------- */
.side { display: grid; gap: 36px; }
.side h2 { font-weight: 900; font-size: 1.5rem; line-height: 1.1; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.side table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.side th, .side td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.side th { font-weight: 400; color: var(--ink-2); padding-right: 12px; width: 42%; }
.side td { font-weight: 700; overflow-wrap: anywhere; }
.side td small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.8125rem; margin-top: 2px; }

/* The ballot: a slip you mark with a cross. */
.ballot { background: var(--stock); border: 2px solid var(--ink); padding: 18px 18px 16px; }
.ballot h2 { border-bottom: 0; padding-bottom: 0; }
.ballot[hidden] { display: none; }
.ballot-help { margin: 6px 0 14px; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.ballot-boxes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ballot-boxes label { position: relative; display: grid; place-items: center; aspect-ratio: 1; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; }
.ballot-boxes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.box-n { font: 900 1.5rem/1 var(--serif); }
.ballot-boxes label:hover { background: #fff; }
.ballot-boxes label:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.mark { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); fill: none; stroke: var(--red); stroke-width: 4.5; stroke-linecap: round; opacity: 0; pointer-events: none; }
.mark path { stroke-dasharray: 70; stroke-dashoffset: 70; }
.ballot-boxes label:has(input:checked) .mark { opacity: 1; }
.ballot-boxes label:has(input:checked) .mark path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.32s ease-out; }
.ballot-boxes label:has(input:checked) .box-n { opacity: 0.35; }
.ballot-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.75rem; color: var(--ink-2); }
.ballot-tally { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--hair); font-size: 0.875rem; color: var(--ink-2); }
.ballot-tally b { color: var(--ink); }
.ballot-msg { margin: 6px 0 0; font-size: 0.875rem; font-weight: 700; min-height: 1.3em; }
.ballot-msg.is-error { color: var(--red); }
.ballot.is-off .ballot-boxes { opacity: 0.45; pointer-events: none; }

.scorecard td { white-space: nowrap; }
.bar { display: inline-block; vertical-align: middle; width: 54px; height: 8px; margin-right: 8px; border: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--ink) var(--f), transparent var(--f)); }
.scorecard tr.total th, .scorecard tr.total td { border-bottom: 2px solid var(--ink); color: var(--ink); font-weight: 700; }
.scorecard tr.total td { color: var(--red); }
.note { margin: 10px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }

.more ul { list-style: none; margin: 0; padding: 0; }
.more li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 0.9375rem; }
.more li a { font-weight: 700; text-decoration: none; }
.more li a:hover { text-decoration: underline; }
.more li span { color: var(--ink-2); white-space: nowrap; }
.all-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.9375rem; text-decoration-color: var(--red); }

.related { margin-top: 48px; margin-bottom: 16px; }

/* ---------- Provider pages ---------- */
.prov-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 40px; align-items: start; padding-top: 30px; }
.prov-head h1 { font-weight: 900; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 0.98; letter-spacing: -0.02em; }
.prov-head .lead { max-width: 52ch; }
.prov-facts { margin: 0; border-top: 2px solid var(--ink); }
.prov-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.prov-facts dt { color: var(--ink-2); font-size: 0.9375rem; }
.prov-facts dd { margin: 0; font-weight: 700; text-align: right; }
.prov-side { display: grid; gap: 18px; }
/* Right under the studio's name: a dark plate with the real-money and demo buttons (like the game stage). */
.prov-cta { display: grid; gap: 14px; justify-items: stretch; align-content: center; min-height: 372px; margin: 22px 0 20px; padding: 30px max(22px, calc((100% - 440px) / 2));
  background: var(--ink) radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px) 0 0 / 14px 14px; }
.prov-cta .btn { font-size: 1.125rem; padding: 16px 22px; text-align: center; }
.prov-cta .btn-real { margin-bottom: 4px; }
.prov-body { padding-top: 56px; }
.compare { margin-top: 40px; }
.table-scroll { overflow-x: auto; }
.ledger { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ledger thead th { text-align: left; font-size: 0.8125rem; font-weight: 700; padding: 8px 12px 8px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.ledger tbody th, .ledger td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.ledger tbody th { font-weight: 700; }
.ledger tbody th a { text-decoration: none; }
.ledger tbody th a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.ledger tbody th small { display: block; font-weight: 400; color: var(--ink-2); margin-top: 2px; max-width: 70ch; }
.ledger .num { text-align: right; padding-right: 24px; }
.ledger td:nth-child(2) { font-weight: 700; }
.prov-table td:nth-child(2) { font-weight: 400; }

.notfound { padding-bottom: 80px; }
.notfound .btn { margin-top: 18px; }

/* ---------- Footer ---------- */
.foot { margin-top: 80px; border-top: 1px solid var(--ink); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 5px solid var(--ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding-top: 40px; padding-bottom: 24px; }
.logo-small { font-size: 1.9rem; }
.foot-about p { margin: 14px 0 0; max-width: 54ch; font-size: 0.9375rem; }
.foot .quiet { color: var(--ink-2); font-size: 0.875rem; }
.age { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--red); border-radius: 50%; color: var(--red); font: 900 0.875rem/1 var(--sans); margin-right: 6px; vertical-align: middle; }
.foot-h { font: 700 0.875rem var(--sans); margin-bottom: 8px; }
.foot-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.foot-list li { padding: 5px 0; border-bottom: 1px solid var(--hair); break-inside: avoid; font-size: 0.9375rem; }
.foot-list a { text-decoration: none; font-weight: 700; }
.foot-list span { color: var(--ink-2); }
.foot-base { padding-top: 14px; padding-bottom: 28px; font-size: 0.8125rem; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.region-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.region-nav span { color: var(--ink-2); }
.region-nav a { color: var(--ink); text-decoration: none; }
.region-nav a:hover { color: var(--red); text-decoration: underline; }
.region-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); }

/* ---------- Regional editions (/au/, /ca/: added by the worker) ---------- */
.region-intro { margin-top: 52px; max-width: 760px; }
.region-intro h2 { font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; padding-top: 10px; border-top: 2px solid var(--ink); margin-bottom: 12px; }
.region-intro p { font: 400 1.0625rem/1.62 var(--serif); margin: 0 0 0.9em; }
.region-intro a { text-decoration-color: var(--red); }
.region-block { margin: 0 0 16px; padding: 10px 0 10px 14px; border-left: 4px solid var(--red); font-size: 0.9375rem; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1080px) {
  .card-line { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; }
  .card-line > div { border-bottom: 1px solid var(--hair); }
  .card-line > div:nth-child(4n) { border-right: 0; }
  .card-line > div:nth-child(4n + 1) { padding-left: 0; }
  .game-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 860px) {
  .mast-row { grid-template-columns: 1fr auto; }
  .mast-tag { grid-column: 1 / -1; grid-row: 2; }
  .game-body, .prov-head { grid-template-columns: minmax(0, 1fr); }
  .side { max-width: 560px; }
  .studio-list { grid-template-columns: minmax(0, 1fr); }
  .sheet-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .logo { font-size: 2.1rem; }
  .mast-row { padding-top: 16px; }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-link { padding: 10px 10px 12px; }
  .entry-name { font-size: 1.0625rem; }
  .entry-figs { gap: 4px 8px; }
  .fig b { font-size: 0.875rem; }
  .card-line { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
  .card-line > div { border-right: 1px solid var(--hair); }
  .card-line > div:nth-child(4n) { border-right: 1px solid var(--hair); }
  .card-line > div:nth-child(2n) { border-right: 0; padding-right: 0; }
  .card-line > div:nth-child(2n + 1) { padding-left: 0; }
  .card-line > div:nth-child(4n + 1) { padding-left: 0; }
  .stage { aspect-ratio: 3 / 4; max-height: none; }
  .stage-art { width: min(320px, 82vw); }
  .stage-actions { flex-direction: column; align-items: stretch; width: min(320px, 100%); }
  .stage-actions .btn { font-size: 1.0625rem; padding: 15px 20px; }
  .prov-cta { min-height: 400px; }
  /* Before the demo starts the plate takes the height of the picture and the two buttons (small phones). */
  .stage:has(> .stage-cover) { aspect-ratio: auto; }
  .stage:has(> .stage-cover) > .stage-cover { position: relative; inset: auto; }
  .contents ul, .foot-list { columns: 1; }
  .balance { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .prose { font-size: 1.0625rem; }
  .prose .lead, .lead { font-size: 1.1875rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .tools { gap: 14px 20px; }
  .index ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .index li { flex: none; }
  .index a { padding: 9px 12px; font-size: 0.875rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .stage-band, .ballot, .tools, .index, .mast-nav { display: none; }
}

/* Provider game pictures (325×234) fill the 4:3 frame. */
.entry-art[src^="/img/pp/"], .stage-art[src^="/img/pp/"], .entry-art[src^="/img/sl/"], .stage-art[src^="/img/sl/"] { object-fit: cover; }

/* Pay tables inside reviews. */
.prose .table-scroll { margin: 18px 0 22px; }
.paytable caption { text-align: left; font-size: 0.8125rem; color: var(--ink-2); padding-bottom: 6px; caption-side: top; }
.paytable td, .paytable td:nth-child(2) { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Bilingual navigation and popular slots */
.mast-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.language-nav { position: relative; align-self: center; font-size: .8125rem; line-height: 1.2; }
.lang-menu summary { list-style: none; cursor: pointer; border: 1px solid var(--ink); padding: 8px 30px 8px 10px; white-space: nowrap; position: relative; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.lang-menu[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--ink); color: var(--paper); }
.lang-menu ul { position: absolute; z-index: 40; right: 0; top: calc(100% + 4px); min-width: 100%; margin: 0; padding: 4px 0; list-style: none; background: var(--stock); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.lang-menu a { display: block; padding: 8px 14px; text-decoration: none; white-space: nowrap; }
.lang-menu a[aria-current="page"] { font-weight: 700; }
.lang-menu a:hover { background: var(--ink); color: var(--paper); }
.popular-notes { margin-top: 14px; max-width: 76ch; font-size: .875rem; color: var(--ink-2); }
.popular-notes summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.popular-notes p { margin: 10px 0; }
.popular-notes ul { padding-left: 20px; }
.provider-notes { margin-top: 36px; max-width: var(--wrap); }
.provider-notes p { max-width: 70ch; }
html[lang="de"] .entry-figs { grid-template-columns: minmax(0,auto) minmax(0,auto) minmax(0,auto); }
html[lang="de"] .fig b { white-space: normal; overflow-wrap: anywhere; }
/* Masthead: logo, tagline, search, providers link and language switch. */
.mast-row { grid-template-columns: auto minmax(0,1fr) auto auto; grid-template-areas: "logo tag search actions"; }
.mast-row > .logo { grid-area: logo; } .mast-row > .mast-tag { grid-area: tag; } .mast-row > .site-search { grid-area: search; } .mast-row > .mast-actions { grid-area: actions; }
.site-search { position: relative; width: 250px; align-self: center; }
.site-search input { width: 100%; height: 35px; font: 400 1rem/1.2 var(--sans); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; padding: 0 10px 0 32px; -webkit-appearance: none; appearance: none;
  background: var(--stock) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='6.5' cy='6.5' r='5'/%3E%3Cpath d='M10.5 10.5 15 15'/%3E%3C/svg%3E") 10px 50% / 15px 15px no-repeat; }
.site-search input::placeholder { color: var(--ink-2); opacity: 1; }
.site-search input::-webkit-search-decoration { -webkit-appearance: none; }
.site-results { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; width: max(100%, 340px); max-height: min(70vh, 460px); overflow-y: auto; margin: 0; padding: 0; list-style: none; background: var(--stock); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.site-results li + li { border-top: 1px solid var(--hair); }
.site-results a { display: block; padding: 9px 12px; text-decoration: none; line-height: 1.3; }
.site-results .r-name { display: block; font-weight: 700; }
.site-results .r-meta { display: block; font-size: .8125rem; color: var(--ink-2); }
.site-results .r-prov .r-name::after { content: " →"; }
.site-results a:hover, .site-results [aria-selected="true"] a { background: var(--ink); color: var(--paper); }
.site-results a:hover .r-meta, .site-results [aria-selected="true"] .r-meta { color: var(--paper); }
.site-results .r-empty { padding: 10px 12px; color: var(--ink-2); }
.fig b { white-space: normal; overflow-wrap: anywhere; }
h1, h2 { overflow-wrap: break-word; }
html[lang="de"] h1, html[lang="de"] h2 { -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 1080px) {
  .mast-row { grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "logo search actions" "tag tag tag"; }
  .site-search { justify-self: end; width: 100%; max-width: 320px; }
}
@media (max-width: 760px) {
  .mast-row { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "logo actions" "search search" "tag tag"; }
  .site-search { justify-self: stretch; max-width: none; }
  .site-results { left: 0; right: 0; width: auto; }
  .mast-actions { gap: 12px 18px; }
}
@media (max-width: 480px) {
  .mast-row { grid-template-columns: minmax(0,1fr); grid-template-areas: "logo" "actions" "search" "tag"; align-items: start; }
  .mast-actions { justify-content: space-between; }
}
