@font-face {
  font-family: Bricolage;
  src: url('/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ice: #daf2ef;
  --paper: #f5faf7;
  --ink: #11242b;
  --muted: #435f65;
  --grid: #a9cbc8;
  --berry: #a21a5d;
  --pink: #f4bcda;
  --pink-dark: #90234f;
  --shadow: #0c2229;
  font: 500 100%/1.55 Bricolage, system-ui, sans-serif;
  color: var(--ink);
  background: var(--ice);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 7.1vw, 6.2rem); font-weight: 760; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.6vw, 3.25rem); font-weight: 730; text-wrap: balance; }
a { color: var(--berry); text-underline-offset: .22em; }
img { max-width: 100%; display: block; height: auto; }
button, input { font: inherit; }
:focus-visible { outline: .19rem solid var(--berry); outline-offset: .23rem; }
[hidden] { display: none !important; }

.frame { max-width: 82rem; width: calc(100% - clamp(1.8rem, 7vw, 6.25rem)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 2; transform: translateY(-160%); padding: .7rem; background: #fff; }
.skip:focus { transform: none; }
.banner { border-bottom: 1px solid var(--grid); }
.mast { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 5rem; gap: 1rem; }
.wordmark { display: inline-flex; width: fit-content; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-size: 1.45rem; font-weight: 800; letter-spacing: -.067em; white-space: nowrap; }
.wordmark span { color: var(--berry); margin-left: -.42rem; }
.mast nav { display: flex; gap: clamp(1rem, 2.7vw, 2.65rem); justify-content: center; align-items: center; }
.mast nav a, .give-support { text-decoration: none; color: var(--ink); font-weight: 660; white-space: nowrap; }
.mast nav a:hover, .mast nav a[aria-current] { color: var(--berry); text-decoration: underline; }
.give-support { justify-self: end; border: 1px solid var(--ink); padding: .44rem .74rem; border-radius: .34rem; font-size: .9rem; }
.give-support:hover { color: var(--berry); border-color: currentColor; }
.give-support span { color: var(--berry); }

.slot-hub { padding-bottom: clamp(2.5rem, 6vw, 6rem); }
.slot-hub-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.6rem);
  padding: clamp(1rem, 3vw, 2.6rem);
  border-radius: .65rem;
  background: #11242b;
  color: var(--paper);
}
.slot-hub-head h1 { font-size: clamp(2.42rem, 5.5vw, 5.35rem); text-wrap: pretty; }
.slot-hub-head p { margin-top: 1rem; max-width: 37ch; color: #d9ebed; font-size: clamp(1rem, 2vw, 1.26rem); }
.slot-hub-head img { width: 100%; aspect-ratio: 3/2; margin: 0; border-radius: .5rem; object-fit: cover; }
.slot-board { margin-top: clamp(1.85rem, 4vw, 3.35rem); scroll-margin-top: 1rem; }
.slot-board > h2 { margin-bottom: .84rem; }
.filter-target { display: block; height: 0; scroll-margin-top: .9rem; }
.slot-filter-panel {
  display: grid;
  gap: .55rem;
  padding: clamp(.76rem, 2vw, 1.12rem);
  background: var(--paper);
  border: 1px solid var(--grid);
  border-radius: .48rem;
}
.slot-filter-panel > a { justify-self: start; }
.slot-filter { display: grid; grid-template-columns: 5.6rem 1fr; align-items: baseline; gap: .28rem .6rem; }
.slot-filter > div { display: flex; flex-wrap: wrap; gap: .4rem; }
.slot-filter-panel a {
  display: inline-block;
  padding: .27rem .64rem;
  border: 1px solid var(--grid);
  border-radius: .3rem;
  text-decoration: none;
  color: var(--ink);
  font-size: .87rem;
}
.slot-filter-panel a:hover { border-color: var(--berry); }
.slot-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.4rem);
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.slot-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--grid);
  border-radius: .55rem;
  background: var(--paper);
}
.slot-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.slot-card-text { display: flex; flex-direction: column; flex: 1; padding: clamp(.8rem, 2vw, 1.3rem); }
.slot-card h3 { margin: .38rem 0; font-size: clamp(1.28rem, 2.7vw, 2.15rem); }
.slot-card-stats { margin-top: .28rem; color: var(--muted); font-size: .88rem; }
.slot-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .62rem .88rem;
  margin-top: auto;
  padding-top: 1.1rem;
}
.slot-action, .slot-demo button {
  display: inline-block;
  padding: .46rem .76rem;
  border: 1px solid var(--ink);
  border-radius: .32rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
}
.slot-action:hover, .slot-demo button:hover { background: var(--berry); border-color: var(--berry); }
.slot-legend {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(1.8rem, 4vw, 3.75rem);
}
.slot-legend img { width: 100%; border-radius: .55rem; }
.slot-legend p { margin-top: .66rem; max-width: 55ch; }
.slot-guide { padding-bottom: clamp(2rem, 5vw, 4.5rem); }
.slot-paper .table-wrap { margin-block: 1.35rem 1.6rem; }
.slot-paper table { min-width: 0; table-layout: fixed; }
.slot-paper th:first-child { width: 40%; }
.slot-paper th, .slot-paper td { overflow-wrap: anywhere; }
.slot-paper .slot-reading + .slot-reading, .slot-paper .slot-demo { margin-top: clamp(1.6rem, 4vw, 3.2rem); }
.slot-reading p + p { margin-top: .66rem; }
.slot-paper .slot-demo {
  max-width: 48rem;
  padding: clamp(.65rem, 2.5vw, 1.45rem);
  border: 1px solid var(--grid);
  border-radius: .55rem;
  background: var(--ice);
}
.slot-demo-stage { width: 100%; border-radius: .38rem; overflow: hidden; background: var(--ink); }
.slot-demo-stage img { width: 100%; max-height: 21rem; object-fit: cover; }
.slot-demo-stage iframe { display: block; width: 100%; min-height: 16rem; aspect-ratio: 16/10; border: 0; }
.slot-demo p { margin-top: .68rem; }
.slot-demo-actions { display: flex; align-items: center; gap: .64rem .88rem; flex-wrap: wrap; margin-top: .92rem; }
.slot-neighbours { max-width: 48rem; margin: 1.8rem auto 0; }
.slot-neighbours h2 { margin-bottom: .6rem; font-size: clamp(1.36rem, 3.2vw, 2.18rem); }
.slot-neighbours ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  list-style: none;
  padding: 0;
  margin: 0 0 .88rem;
}
.slot-neighbours li { padding: .7rem; background: var(--ice); border: 1px solid var(--grid); border-radius: .35rem; }
.slot-neighbours li span { display: block; color: var(--muted); font-size: .84rem; }
@media (max-width: 1040px) {
  .slot-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .slot-hub-head, .slot-legend { grid-template-columns: minmax(0, 1fr); }
  .slot-hub-head img { max-height: 18rem; }
}
@media (max-width: 600px) {
  .slot-cards, .slot-neighbours ul { grid-template-columns: minmax(0, 1fr); }
  .slot-filter { grid-template-columns: minmax(0, 1fr); }
  .slot-paper td, .slot-paper th { padding-inline: .45rem; }
}

.landing { padding-block: clamp(1.1rem, 3vw, 2.6rem) 4rem; }
.landing-index { display: grid; grid-template: "intro routes" auto "slots slots" auto / minmax(0, 3fr) minmax(14rem, 1fr); gap: .85rem; align-items: stretch; }
.landing-index > .routes { grid-area: routes; }
.landing-index > .featured-slots { grid-area: slots; margin-top: .25rem; }
.stage { grid-area: intro; position: relative; display: grid; min-height: clamp(27rem, 38vw, 36rem); align-items: end; isolation: isolate; overflow: hidden; background: #122b32; color: #fffafc; border-radius: .8rem 4rem .8rem .8rem; }
.stage-shot, .stage::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-shot { object-fit: cover; object-position: 58% 49%; z-index: -2; }
.stage::after { z-index: -1; content: ""; background: linear-gradient(90deg, #0a2026f7 0, #0a2026d6 33%, #0a202652 64%, transparent 92%), linear-gradient(0deg, #0a2026dd, transparent 45%); }
.stage-copy { padding: clamp(1.35rem, 5vw, 4.4rem); max-width: 53rem; }
.scope { font: 650 .74rem/1.35 ui-monospace, Consolas, monospace; letter-spacing: .11em; color: var(--berry); }
.stage .scope { color: #f6bedb; margin-bottom: 1.1rem; }
.stage h1 { max-width: 11.6ch; text-wrap: initial; line-height: .93; }
.stage-lead { margin-top: 1.35rem; max-width: 32rem; color: #e7f4f2; font-size: clamp(1rem, 1.6vw, 1.27rem); line-height: 1.47; }
.primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.1rem; width: fit-content; padding: .72rem 1rem; background: var(--pink); color: #39152e; text-decoration: none; font-weight: 760; border-radius: .34rem; }
.stage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: 1.25rem; }
.stage-actions a:not(.primary) { color: #e7f4f2; }
.primary:hover { background: #ffe1ef; }
.stage :focus-visible { outline-color: #fff; }

.routes { display: grid; grid-auto-rows: 1fr; border-radius: .65rem; overflow: hidden; background: #8d1b51; }
.route { display: flex; justify-content: space-between; align-items: flex-start; gap: .55rem; padding: clamp(.9rem, 2vw, 1.55rem); color: #fff9fc; text-decoration: none; }
.route + .route { border-top: 1px solid #be5789; }
.route:hover { background: #64143c; }
.route strong { display: block; font-size: clamp(1.15rem, 2.2vw, 1.67rem); letter-spacing: -.035em; line-height: 1.12; }
.route span span { display: block; margin-top: .52rem; font-size: .94rem; line-height: 1.38; color: #fce0ef; }
.route > span:last-child { color: #ffd8eb; font-size: 1.32rem; line-height: 1; }
.routes a:focus-visible { outline-color: #fff; outline-offset: -.35rem; }
.payment-paths { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem 1.1rem; margin-top: .8rem; }
.payment-paths a { padding-block: .25rem; font-weight: 690; }
.payment-paths a > span { margin-left: .1rem; }

.round-result { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 4vw, 3.25rem); padding: clamp(1.2rem, 4vw, 2.55rem); margin-block: clamp(2rem, 5vw, 4.5rem); background: var(--pink); border-radius: 2rem .6rem .6rem .6rem; }
.math-intro > p { margin-top: .6rem; }
.math-intro .formula { margin-top: 1.1rem; font: 600 clamp(.85rem, 2.1vw, 1.2rem)/1.4 ui-monospace, Consolas, monospace; }
.formula b { color: var(--pink-dark); }
.round-result form { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .8rem; align-content: start; align-items: center; min-width: 0; }
.round-result label { font-size: .87rem; font-weight: 680; }
.round-result label[for="round-return"] { grid-area: 1/2; }
.round-result input { min-width: 0; width: 100%; border: 1px solid #8a5372; border-radius: .29rem; color: var(--ink); background: #fff9fc; padding: .63rem .65rem; }
.round-result button { grid-column: 1/-1; display: flex; justify-content: space-between; gap: .5rem; margin-top: .45rem; background: var(--ink); color: #fff; border: 0; border-radius: .34rem; padding: .73rem .9rem; font-weight: 720; cursor: pointer; }
.round-result button:hover { background: #29424e; }
.round-result output { grid-column: 1/-1; display: block; min-height: 1.44rem; font-weight: 720; }
.round-result output[data-state="loss"] { color: #80184b; }

.stories h2 { margin-bottom: 1.2rem; }
.stories ul, .topic-index ul { padding: 0; list-style: none; margin: 0; }
.stories ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.55rem, 1.8vw, 1.35rem); }
.stories li a { display: block; height: 100%; overflow: hidden; border: 1px solid var(--grid); border-radius: .48rem; background: var(--paper); text-decoration: none; color: var(--ink); }
.stories li a:hover { border-color: var(--berry); }
.stories img { width: 100%; aspect-ratio: 1.92; object-fit: cover; }
.stories li a div { position: relative; display: grid; gap: .3rem; padding: .85rem 2.85rem 1rem .9rem; }
.stories li a span { color: var(--berry); font-size: .84rem; font-weight: 650; }
.stories li a strong { letter-spacing: -.03em; font-size: clamp(1.04rem, 2.15vw, 1.38rem); line-height: 1.22; }
.stories .story-go { position: absolute; right: 1rem; bottom: .85rem; font-size: 1.38rem; }
.small-feature { margin-top: 3.6rem; border-block: 1px solid var(--grid); display: grid; grid-template-columns: .6fr 1fr; gap: clamp(.75rem, 3vw, 2.8rem); align-items: center; padding-block: 1rem; }
.small-feature img { object-fit: cover; width: 100%; max-height: 17rem; border-radius: .42rem; }
.small-feature h2 { font-size: clamp(1.3rem, 3.3vw, 2.7rem); }
.small-feature p { margin-block: .65rem; max-width: 58ch; color: var(--muted); }

.featured-slots {
  margin-block: 1.15rem 1.75rem;
  padding: clamp(.7rem, 2vw, 1.4rem);
  border: 1px solid #a5cdca;
  border-radius: .75rem;
  background: #cce8e5;
  scroll-margin-top: .7rem;
}
.feature-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem .95rem;
  margin-bottom: .8rem;
}
.feature-heading h2 { font-size: clamp(1.62rem, 3vw, 2.55rem); }
.feature-heading > div, .feature-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .8rem;
}
.preview-feature-button, .feature-rules, .feature-demo {
  padding: .37rem .6rem;
  border-radius: .32rem;
  font-size: .87rem;
  font-weight: 670;
}
.preview-feature-button { border: 1px solid var(--grid); background: var(--paper); color: var(--ink); cursor: pointer; }
.preview-feature-button:hover { border-color: var(--berry); color: var(--berry); }
.feature-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-game {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--grid);
  border-radius: .55rem;
  background: var(--paper);
}
.feature-game img { width: 100%; height: clamp(5.7rem, 12vw, 9.75rem); object-fit: cover; object-position: center 54%; }
.feature-game-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(.55rem, 1.4vw, .9rem); }
.feature-game h3 { margin-top: .32rem; font-size: clamp(1.06rem, 2.25vw, 1.85rem); }
.feature-studio { color: var(--muted); font-size: .83rem; }
.feature-rtp { margin-block: .36rem .64rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.feature-game .feature-actions { margin-top: auto; }
.feature-rules { padding-inline: 0; }
.feature-demo { border: 1px solid var(--ink); background: var(--ink); color: white; text-decoration: none; }
.feature-demo:hover { background: var(--berry); border-color: var(--berry); }
.feature-popup {
  position: fixed;
  inset: 0;
  width: min(34rem, calc(100% - 1.55rem));
  max-height: calc(100dvh - 1.65rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--grid);
  border-radius: .85rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.2rem 4rem #071f2a70;
  overscroll-behavior: contain;
}
.feature-popup::backdrop { background: #061920bf; }
html:has(.feature-popup[open]) { overflow: hidden; }
.feature-popup > img { width: 100%; max-height: min(39dvh, 17rem); object-fit: cover; }
.feature-popup-copy { padding: clamp(.8rem, 3vw, 1.35rem); }
.feature-popup-copy h2 { margin-block: .24rem .6rem; }
.feature-popup-copy > p:last-of-type { margin-block: .52rem .7rem; }
.feature-close { position: absolute; top: .6rem; right: .6rem; margin: 0; }
.feature-close button {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid var(--grid);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: 650 1.55rem/1 system-ui, sans-serif;
}
.feature-close button:hover { color: var(--berry); }

.home-editorial {
  margin-top: 3.6rem;
  padding: clamp(.9rem, 3.2vw, 2.7rem);
  border: 1px solid var(--grid);
  border-radius: .75rem;
  background: var(--paper);
}
.home-editorial header { max-width: 51rem; }
.home-editorial header h2 { text-wrap: pretty; }
.home-editorial header p { margin-top: .64rem; color: var(--muted); font-size: clamp(1rem, 1.75vw, 1.17rem); }
.home-guide-layout {
  display: grid;
  grid-template-columns: minmax(12rem, .38fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(.8rem, 3vw, 2.75rem);
  margin-top: 1.35rem;
}
.home-contents { padding: .85rem; border: 1px solid var(--grid); border-radius: .42rem; background: var(--ice); }
.home-contents h3 { font-size: 1.18rem; }
.home-contents ul { display: grid; gap: .38rem; padding-inline-start: 1.1rem; margin-block: .66rem .08rem; }
.home-chapter { padding: 1.2rem 0; border-top: 1px solid var(--grid); scroll-margin-top: 1.2rem; }
.home-chapter:first-child { padding-top: .2rem; border-top: 0; }
.home-chapter h3 { font-size: clamp(1.32rem, 2.6vw, 2.25rem); }
.home-chapter p { max-width: 72ch; margin-top: .71rem; }
.home-chapter ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: .32rem 1.1rem; margin-bottom: .25rem; }
@media (max-width: 700px) {
  .home-guide-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 550px) {
  .feature-games { grid-template-columns: minmax(0, 1fr); }
  .feature-game { display: grid; grid-template-columns: minmax(76px, .44fr) minmax(0, 1fr); }
  .feature-game img { height: 100%; min-height: 7.9rem; }
  .feature-game-copy { min-width: 0; }
}

.hub, .guide, .service { padding-block: 1rem 4rem; }
.trail { display: flex; align-items: center; flex-wrap: wrap; gap: .52rem; color: var(--muted); font-size: .87rem; margin-bottom: 1.25rem; }
.trail a { color: var(--muted); }
.hub-head { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1rem, 3.2vw, 2.3rem); align-items: center; }
.hub-head > div { padding-block: .65rem; }
.hub-head h1 { font-size: clamp(2.7rem, 6.5vw, 5.65rem); text-wrap: initial; }
.hub-head p { margin-top: 1rem; max-width: 52ch; color: var(--muted); font-size: 1.07rem; }
.hub-head img { width: 100%; max-height: 21rem; object-fit: cover; border-radius: .45rem 3rem .45rem .45rem; }
.topic-index { margin-top: clamp(2rem, 5vw, 4.6rem); }
.topic-index h2 { margin-bottom: .9rem; }
.topic-index li { border-top: 1px solid var(--grid); }
.topic-index li:last-child { border-bottom: 1px solid var(--grid); }
.topic-index li a { display: grid; grid-template-columns: 4fr 5fr auto; gap: .85rem 1.2rem; align-items: center; padding: 1rem .4rem; text-decoration: none; color: var(--ink); }
.topic-index li a:hover { background: var(--paper); }
.topic-index strong { font-size: clamp(1.09rem, 2.4vw, 1.5rem); letter-spacing: -.035em; line-height: 1.14; }
.topic-index a span { color: var(--muted); }
.topic-index a span:last-child { color: var(--berry); font-size: 1.4rem; }
.hub-image { margin-top: 1.1rem; }
.hub-image img { width: 100%; max-height: 19rem; object-fit: cover; border-radius: .45rem; }
.topic-index small { display: block; margin-bottom: .32rem; color: var(--berry); font-size: .76rem; font-weight: 700; }
.topic-index strong { display: block; }
.hub-payment-link { margin-top: 1.05rem; }
.method-links { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin-top: 1.2rem; }
.method > picture { display: block; }
.method-facts { margin-top: 0; }
.method-facts th[scope="row"] { width: 32%; }
.method-facts a { display: inline-block; }
.method > section ol { color: var(--muted); padding-left: 1.25rem; }
.method > section li + li { margin-top: .35rem; }
.method-photo { max-width: 48rem; margin: 1.55rem auto; }
.method-photo img { width: 100%; max-height: 22rem; object-fit: cover; border-radius: .44rem; }
.method .question details + details { border-top: 0; }
.method .guide-next .table-wrap { margin: .85rem 0 .95rem; }

.guide { max-width: 67rem; }
.guide-title { padding: clamp(.6rem, 3vw, 2.2rem) clamp(0rem, 2vw, 1.5rem) 1.4rem; }
.guide-title .scope { margin-bottom: .7rem; text-transform: uppercase; }
.guide-title h1, .service h1 { font-size: clamp(2.35rem, 5.3vw, 4.75rem); text-wrap: initial; }
.standfirst { margin-top: .88rem; max-width: 64ch; font-size: clamp(1rem, 2vw, 1.27rem); color: var(--muted); }
.dateline { margin-top: .85rem; color: var(--muted); font-size: .8rem; }
.paper { padding: clamp(.83rem, 3.55vw, 2.7rem); background: var(--paper); border: 1px solid var(--grid); border-radius: .55rem; }
.paper > section { max-width: 48rem; margin-inline: auto; }
.paper > section + section, .table-wrap, .closing-photo { margin-top: 1.7rem; }
.paper > section h2 { margin-bottom: .58rem; font-size: clamp(1.36rem, 3.2vw, 2.18rem); }
.paper > section p { color: var(--muted); }
.paper .scope, .paper h2 { color: var(--ink); }
.opening-photo, .closing-photo img { width: 100%; max-height: 23rem; object-fit: cover; border-radius: .44rem; }
.opening-photo { margin-bottom: 1.6rem; }
.closing-photo { margin-bottom: 1.65rem; }
.table-wrap { overflow-x: auto; margin-bottom: 1.6rem; }
table { width: min(100%, 48rem); margin-inline: auto; border-collapse: collapse; font-variant-numeric: tabular-nums; text-align: start; }
caption { text-align: left; padding-bottom: .55rem; color: var(--muted); font-weight: 700; }
th, td { border: 1px solid #98b8b7; text-align: start; padding: .65rem .72rem; vertical-align: top; }
thead th { color: #fff; background: var(--ink); text-align: start; }
tbody th { background: var(--ice); font-weight: 680; }
.question details { border-block: 1px solid var(--grid); padding-block: .62rem; }
.question summary { cursor: pointer; font-weight: 680; }
.question details p { margin-top: .5rem; }
.reading-sources ul { padding-left: 1.3rem; margin-block: .7rem 0; }
.service { max-width: 56rem; }
.service .paper { margin-top: 1.45rem; }
.service h1 + p { margin-top: .85rem; }

.foot { border-top: 1px solid var(--grid); }
.end { min-height: 6.3rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.end nav { display: flex; flex-wrap: wrap; gap: .5rem 1.05rem; }
.end nav a, .end small { color: var(--muted); }

@media (max-width: 820px) {
  .mast { grid-template-columns: 1fr auto; min-height: 0; gap: .48rem; padding-block: .8rem .45rem; }
  .mast nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; gap: .4rem; border-top: 1px solid var(--grid); padding-top: .5rem; }
  .mast nav a { padding: .35rem .12rem; font-size: .89rem; white-space: normal; text-align: center; line-height: 1.3; }
  .landing-index { grid-template: "intro" "slots" "routes" / minmax(0, 1fr); }
  .payment-paths { justify-content: flex-start; gap: .1rem .8rem; }
  .stage { min-height: clamp(27.2rem, 97vw, 35rem); border-top-right-radius: 2.7rem; }
  .stage::after { background: linear-gradient(90deg,#0a2026e8,#0a20267a 70%),linear-gradient(0deg,#0a2026f7,transparent 90%); }
  .stage h1 { font-size: clamp(2.85rem, 10vw, 4.7rem); }
  .round-result, .small-feature, .hub-head { grid-template-columns: 1fr; }
  .stories ul { grid-template-columns: 1fr; }
  .stories img { aspect-ratio: 2.25; }
  .topic-index li a { grid-template-columns: 1fr auto; gap: .24rem .7rem; }
  .topic-index a span:nth-child(2) { grid-row: 2; }
  .topic-index a span:last-child { grid-column: 2; grid-row: 1/3; }
}
@media (max-width: 440px) {
  th, td { font-size: .82rem; padding: .52rem .36rem; }
  .end { display: grid; }
}
@media (max-width: 379px) {
  .mast nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .16rem .38rem; }
}
