/* rev-20261008lh */
/* pikaplay.fi — Soft brutalism #3, sticky-right TOC
   Not a recolor of siirtomaksukasinot.com (left ticket rail). */
/* Self-hosted latin faces. Fallbacks are size-adjusted to Roboto (Android
   Lighthouse) so the hero swap does not reflow div.page. */
@font-face {
  font-family: "Syne Fallback";
  src: local("Roboto"), local("Arial");
  size-adjust: 104.98%;
  ascent-override: 88.11%;
  descent-override: 26.20%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Karla Fallback";
  src: local("Roboto"), local("Segoe UI"), local("Arial");
  size-adjust: 97.92%;
  ascent-override: 93.65%;
  descent-override: 25.74%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Plex Fallback";
  src: local("Roboto Mono"), local("Roboto"), local("Arial");
  size-adjust: 114.53%;
  ascent-override: 89.49%;
  descent-override: 24.01%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../assets/fonts/syne-latin.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: "Karla";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/karla-latin.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500.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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-600.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;
}
:root {
  --ink: #111111;
  --paper: #f3efe6;
  --surface: #fffdf8;
  --gold: #e8b923;
  --gold-ink: #6e5208;
  --line: #111111;
  --muted: #5c564c;
  --ok: #1f6b45;
  --edge: clamp(1.75rem, 20vw, 18rem);
  --edge-rail: clamp(1.25rem, 3.5vw, 4rem);
  --header-h: 4.5rem;
  --display: "Syne", "Syne Fallback", "Arial Black", sans-serif;
  --ui: "Karla", "Karla Fallback", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Plex Fallback", ui-monospace, monospace;
  --radius: 0;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}
::selection { background: var(--gold); color: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--ui);
  font-synthesis: none;
  line-height: 1.65;
  font-size: 1.05rem;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a.btn:hover, a.btn-primary:hover { color: var(--ink); }
button, .btn { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus { left: 12px; background: #fff; padding: 8px 12px; z-index: 80; }

#siteChromeStart {
  display: block;
  box-sizing: border-box;
  min-height: var(--header-h);
  border-bottom: 4px solid transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  min-height: var(--header-h);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  padding: 0.55rem clamp(0.85rem, 2.4vw, 1.75rem);
  background: var(--surface);
  color: var(--ink);
  border-bottom: 4px solid var(--ink);
  overflow: visible;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
  max-width: min(22rem, 32%);
  color: inherit;
  text-decoration: none;
}
.brand-logo {
  height: 36px;
  width: auto;
  max-width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(0.82rem, 1.1vw, 1.05rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--ink);
  border: 0;
  color: var(--gold);
  padding: 10px 12px;
  font-weight: 700;
}
.site-header > .mobile-header-cta { display: none !important; }
.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 2px;
}
.nav a, .nav summary {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 8px;
  list-style: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav > details > summary::after { content: " +"; color: var(--gold-ink); }
.nav > a:hover, .nav > summary:hover, .nav > a.is-active {
  background: var(--gold);
}
.nav details { position: relative; z-index: 50; }
.nav details a { display: block; text-transform: none; letter-spacing: 0; }
.nav details a:hover, .nav details a.is-active { background: var(--gold); }
.nav details ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0px);
  min-width: 220px;
  background: var(--surface);
  border: 4px solid var(--ink);
  padding: 8px;
  margin: 0;
  list-style: none;
}
.badge-18 {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  border: 2px solid var(--ink);
  padding: 4px 8px;
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(14rem, 17vw, 18rem);
  gap: clamp(1.5rem, 3vw, 3.25rem);
  align-items: start;
  width: 100%;
  padding: 1.5rem var(--edge-rail) 4rem var(--edge);
  min-width: 0;
}
#main {
  min-width: 0;
  max-width: 100%;
  grid-column: 1;
  grid-row: 1;
  overflow-x: clip;
}
.anchor-nav,
.page-toc--rail {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  align-self: start;
  margin-top: clamp(7.5rem, 11vw, 10.25rem);
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow-y: auto;
  padding: 1rem;
  border: 4px solid var(--ink);
  background: var(--surface);
}
.page-toc__head { margin-bottom: 0.85rem; }
.page-toc__label {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.page-toc__hint { font-size: 0.8rem; color: var(--muted); }
.page-toc__links { display: flex; flex-direction: column; gap: 0.4rem; }
.page-toc__link {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.35rem 0.2rem;
}
.page-toc__num { font-family: var(--mono); font-size: 0.72rem; color: var(--gold-ink); }
.page-toc__link:hover {
  background: var(--gold);
  transform: translateX(4px);
}
.page-toc__link.is-active {
  background: var(--ink);
  color: var(--gold);
}
.page-toc__link.is-active .page-toc__num { color: var(--gold); }

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  display: block;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.1rem 1.5rem 1.35rem;
  background:
    linear-gradient(90deg, var(--gold) 0 12px, transparent 12px),
    repeating-linear-gradient(-45deg, #efe6cc 0 10px, #f7f1e4 10px 20px);
  color: var(--ink);
  min-height: 8.5rem;
  border: 4px solid var(--ink);
  border-left: 12px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
}
.hero::after { content: none; }
.hero > :not(.hero-background) { position: relative; z-index: 2; }
.kicker {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-ink);
  margin: 0 0 8px;
}
.hero h1, .section h1, .section h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(1.45rem, 4.4vw, 4rem);
  max-width: 100%;
}
.lede { font-size: 1.12rem; max-width: 62ch; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  padding: 12px 16px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.btn-primary,
.nav > a.header-cta {
  background: var(--gold);
  color: var(--ink);
  border: 3px solid var(--ink);
}
a.btn-primary:hover,
.btn-primary:hover,
.nav > a.header-cta:hover {
  background: var(--ink);
  color: var(--gold);
}
.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 1;
  background: var(--gold);
  color: #111111;
  border: 3px dashed var(--ink);
  cursor: not-allowed;
  pointer-events: none;
}
a.btn.btn-primary,
a.btn.btn-primary.is-disabled,
a.btn.btn-primary[aria-disabled="true"] {
  background-color: #e8b923;
  color: #111111;
}

.section {
  padding: 2.1rem 0 2.4rem;
  margin-top: 0;
  background: transparent;
  border: 0;
  border-bottom: 4px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 1.2rem 0 1.4rem;
  border: 4px solid var(--ink);
}
.criteria-grid span {
  padding: 14px 12px;
  border-right: 4px solid var(--ink);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 700;
}
.criteria-grid span:last-child { border-right: 0; }
.criteria-grid b {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--gold-ink);
  margin-bottom: 4px;
}

.pika-stack { display: grid; gap: 0; border: 4px solid var(--ink); }
.pika-slab {
  display: grid;
  grid-template-columns: auto minmax(8.5rem, 11rem) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface);
  border-bottom: 4px solid var(--ink);
  min-width: 0;
}
.pika-brand { min-width: 0; display: grid; justify-items: start; gap: 4px; }
.pika-offer {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.pika-offer .pika-bonus { flex: 1 1 auto; }
.pika-logo-link { display: block; color: inherit; text-decoration: none; }
.pika-slab:last-child { border-bottom: 0; }
.pika-slab:hover { background: #fff4c4; }
.pika-num {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  border: 2px solid var(--ink);
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pika-logo-wrap { min-width: 0; }
.pika-logo {
  display: block;
  width: 6.2rem;
  height: 2.9rem;
  object-fit: contain;
  background: #0a0a0a;
  border: 2px solid var(--ink);
  padding: 4px;
}
.pika-meta { min-width: 0; }
.pika-slab h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.pika-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--gold-ink);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pika-stars b {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  letter-spacing: 0;
}
.pika-pays {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
}
.pay-chip {
  display: block;
  width: 4.2rem;
  height: 2.6rem;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--ink);
  padding: 2px;
}
.pika-bonus {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 0;
}
.pika-bonus .bonus-prefix {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a3206;
  margin-right: 0.35rem;
}
.pika-slab .btn { white-space: nowrap; flex: 0 0 auto; justify-self: end; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  padding: 2px 7px;
}

.table-scroll {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 8px;
  border: 4px solid var(--ink);
}
.pay-table,
.prose .content-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.92rem;
}
.pay-table th,
.prose .content-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--gold);
}
.pay-table td,
.prose .content-table td {
  padding: 11px 12px;
  border-bottom: 2px solid var(--ink);
  background: var(--surface);
}
.pay-table tr.is-current td { background: var(--gold); font-weight: 800; }
.yes, .cell-good { color: var(--ok); font-weight: 800; }
.cell-bad { color: #9b2331; font-weight: 800; }
.cell-mid { color: var(--muted); font-weight: 700; }

.pay-method {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pay-method img,
.pay-chip {
  display: block;
  width: 4.5rem;
  height: 3rem;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--ink);
  flex: 0 0 auto;
  padding: 2px;
}
.pika-pays .pay-chip {
  width: 2.55rem;
  height: 1.65rem;
}
.pay-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  border: 4px solid var(--ink);
}
.pay-logo {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: #fff;
}
.pay-logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 120 / 80;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}
.pay-logo figcaption {
  padding: 6px 8px 8px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--mono);
  border-top: 2px solid var(--ink);
}

.slots-lobby { background: #1a1408; color: #fffdf8; padding: 1.1rem; border: 4px solid var(--ink); }
.slots-lobby h2, .slots-lobby .kicker { color: var(--gold); }
.slots-lobby p { color: #f3efe6; }
.slot-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 12px;
  scrollbar-color: var(--gold) #1a1408;
}
.slot-tab {
  flex: 0 0 auto;
  border: 3px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  padding: 8px 12px;
  cursor: pointer;
}
.slot-tab.is-active {
  background: #fffdf8;
  color: var(--ink);
  outline: 3px solid var(--gold);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 4px solid var(--ink);
}
.slot-grid[hidden] { display: none; }
.slot-tile, .slot-card {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.slot-tile { transition: transform 0.15s ease; }
.slot-tile:hover { transform: scale(1.03); z-index: 1; }
.slot-card img, .slot-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}
.slot-tile__name, .slot-card figcaption {
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  border-top: 3px solid var(--ink);
}
.deposit-steps { margin: 1rem 0 1.2rem; }
.deposit-steps__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  position: relative;
}
.deposit-steps__rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 4px;
  background: var(--gold);
}
.deposit-steps__item { position: relative; min-width: 0; }
.deposit-steps__num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 800;
  border: 3px solid var(--ink);
  margin-bottom: 8px;
}
.deposit-steps__card {
  background: var(--surface);
  border: 3px solid var(--ink);
  padding: 10px;
  min-height: 7rem;
}
.deposit-steps__card p { margin: 6px 0 0; font-size: 0.9rem; }

.article-figure {
  margin: 1.2rem 0;
  padding: 0;
  border: 4px solid var(--ink);
  background: var(--surface);
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.article-figure figcaption {
  padding: 8px 10px;
  font-size: 0.82rem;
  border-top: 3px solid var(--ink);
}

.note {
  padding: 14px 0;
  margin-top: 12px;
  background: transparent;
  border: 0;
  font-weight: 700;
}
.author-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding: 18px;
  background: var(--surface);
  border: 4px solid var(--ink);
}
.author-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 3px solid var(--ink);
}
.author-card h3 { font-family: var(--display); font-weight: 800; margin: 0 0 6px; text-transform: uppercase; }
.author-card p { margin: 0; }
.author-portrait {
  max-width: 280px;
  margin: 0 0 1.2rem;
  padding: 0;
  border: 4px solid var(--ink);
  background: var(--surface);
}
.author-portrait figcaption {
  padding: 8px 10px;
  font-size: 0.82rem;
  border-top: 3px solid var(--ink);
}
.author-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.1rem 0 0;
  border: 4px solid var(--ink);
}
.author-facts div {
  padding: 12px 14px;
  border-right: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background: var(--surface);
}
.author-facts div:nth-child(2n) { border-right: 0; }
.author-facts div:nth-child(n+3) { border-bottom: 0; }
.author-facts b {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 4px;
}
.writes-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  border: 4px solid var(--ink);
}
.writes-list li { border-bottom: 3px solid var(--ink); }
.writes-list li:last-child { border-bottom: 0; }
.writes-list a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.writes-list a:hover { background: var(--gold); }
.author-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.faq { counter-reset: faq; }
.faq details {
  padding: 0;
  margin-top: 0;
  border: 0;
  border-bottom: 3px solid var(--ink);
  border-radius: 0;
  background: transparent;
  counter-increment: faq;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-family: var(--display);
  text-transform: uppercase;
  padding: 14px 0;
  list-style: none;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
}
.faq summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 14px; max-width: 70ch; }

.site-footer {
  background: var(--ink);
  color: #e6dcc8;
  padding: 2.5rem var(--edge) 1.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.9fr 1.1fr;
  gap: 28px 24px;
}
.footer-logo { width: min(160px, 100%); height: auto; margin-bottom: 12px; }
.site-footer p { margin: 0 0 0.75rem; font-size: 0.92rem; }
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: #fff; }
.site-footer h4 {
  font-family: var(--display);
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  text-transform: uppercase;
}
.footer-responsible {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 28px;
  padding: 16px 18px;
  border: 3px solid var(--gold);
  background: #1a1a1a;
}
.footer-age {
  display: grid;
  place-items: center;
  min-width: 3.4rem;
  height: 3.4rem;
  border: 3px solid var(--gold);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
}
.footer-responsible p { margin: 0; }
.legal-line {
  margin: 22px 0 0;
  border-top: 3px solid var(--gold);
  padding-top: 16px;
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deposit-steps__rail {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scrollbar-color: var(--gold) var(--paper);
  }
  .deposit-steps__item { flex: 0 0 16rem; }
}

.prose p { max-width: none; }
.prose h3 { margin: 1.3em 0 0.5em; font-family: var(--display); font-weight: 800; text-transform: uppercase; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.35em 0; }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--gold);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1239px) and (min-width: 861px) {
  .page {
    display: flex;
    flex-direction: column;
    padding-right: var(--edge);
  }
  .page-toc--rail, .anchor-nav {
    order: -1;
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    width: 100%;
    margin-top: 0;
    max-height: none;
    overflow: visible;
  }
  .page-toc__links { flex-direction: row; flex-wrap: wrap; }
  .page-toc__link { grid-template-columns: auto auto; }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .pika-slab { grid-template-columns: auto minmax(7rem, 9rem) minmax(0, 1fr); }
  .pika-offer { flex-wrap: nowrap; }
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-responsible { grid-template-columns: auto minmax(0, 1fr); }
  .criteria-grid { grid-template-columns: 1fr 1fr; }
  .criteria-grid span { border-bottom: 4px solid var(--ink); }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deposit-steps__rail {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scrollbar-color: var(--gold) var(--paper);
  }
  .deposit-steps__item { flex: 0 0 16rem; }
  .pika-stack { width: 100%; max-width: 100%; min-width: 0; }
  .pika-slab {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    padding: 12px 12px 14px;
  }
  .pika-num {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
  }
  .pika-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
    padding: 2px 2.8rem 0;
  }
  .pika-logo-wrap,
  .pika-logo-link {
    display: block;
    width: min(10.5rem, 72%);
    max-width: 100%;
    margin-inline: auto;
  }
  .pika-logo {
    width: 100%;
    max-width: 100%;
    height: 2.75rem;
    object-fit: contain;
    object-position: center;
  }
  .pika-slab h3 { font-size: 1rem; margin: 0; }
  .pika-stars { justify-content: center; }
  .pika-brand .tags { display: none; }
  .pika-offer {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr);
    grid-template-areas:
      "pays bonus"
      "cta cta";
    align-items: center;
    gap: 8px 10px;
    width: 100%;
    min-width: 0;
  }
  .pika-offer .btn { grid-area: cta; grid-column: 1 / -1; width: 100%; }
  .pika-pays {
    grid-area: pays;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    min-width: 0;
    max-width: 100%;
  }
  .pika-pays .pay-chip {
    width: 1.95rem;
    height: 1.3rem;
    flex: 0 0 auto;
    padding: 1px;
  }
  .pika-bonus {
    grid-area: bonus;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .pay-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-table { min-width: 0; }
  .pay-table thead { display: none; }
  .pay-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 6px 10px;
    border-bottom: 3px solid var(--ink);
    padding: 8px;
  }
  .pay-table td { border: 0; padding: 2px 0; background: transparent; }
  .pay-table td.pay-method { grid-column: 1 / -1; }
  .pay-chip {
    width: 3.6rem;
    height: 2.2rem;
  }
  .pika-bonus {
    font-size: 0.82rem;
    align-self: center;
  }
  .pika-slab .btn {
    justify-self: stretch;
    align-self: center;
    width: 100%;
    padding: 10px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    white-space: normal;
  }
}

@media (max-width: 860px) {
  :root { --edge: clamp(0.875rem, 10vw, 9rem); }
  .page { display: block; padding: 12px var(--edge) 48px; }
  .page-toc--rail, .anchor-nav { display: none !important; }
  .hero {
    padding: 0.85rem 0 1rem 0.7rem;
    border-left-width: 8px;
  }
  .hero h1 {
    font-size: clamp(1.35rem, calc((100vw - 5.5rem) / 11.2), 2.05rem);
    letter-spacing: -0.055em;
    line-height: 1;
  }
  .section h2 {
    font-size: clamp(1.15rem, 5.6vw, 1.65rem);
    line-height: 1.12;
    max-width: 100%;
  }
  .site-header { padding: 8px 12px; gap: 8px; }
  .brand { flex: 1 1 auto; max-width: none; min-width: 0; }
  .brand-mark { overflow: visible; text-overflow: clip; font-size: 0.95rem; }
  .brand-logo { height: 32px; width: auto; max-width: 44px; }
  .site-header > .mobile-header-cta {
    display: inline-flex !important;
    margin-left: auto;
    padding: 8px 10px;
    font-size: 0.72rem;
  }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 4px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--edge) 20px;
    flex: 1 0 100%;
  }
  .nav.is-open { display: flex; }
  .nav details ul { position: static; border: 0; }
  .author-card { grid-template-columns: 1fr; }
  .author-facts { grid-template-columns: 1fr; }
  .author-facts div { border-right: 0; }
  .author-facts div:nth-child(n+3) { border-bottom: 4px solid var(--ink); }
  .author-facts div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-responsible { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
/* 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 */
