/* AMEX8 backup page. Theme tokens mirror amex8.net (checked 19 Nov 2026). */

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/satoshi-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/satoshi-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --body: #0e0e0f;
  --panel: #1e1e24;
  --panel-2: #36363b;
  --inset: #131316;
  --gold: #c89d67;
  --gold-soft: #e6cba6;
  --gold-deep: #51412e;
  --text: #fafafa;
  --muted: #b9b9c0;
  --line: rgba(183, 180, 180, 0.3);
  --line-soft: rgba(255, 255, 255, 0.08);
  --pink: #e63d69;
  --blue: #4c6ceb;
  --tan: #af8c65;
  --amber: #d59a4c;
  --ink: #17120b;
  --radius: 8px;
  --radius-lg: 16px;
  --wrap: 1360px;
  --gutter: 10px;
  --header-h: 56px;
  --tabbar-h: 62px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  /* The fixed tab bar (and its raised button) must not cover a focused link. */
  scroll-padding-bottom: calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom, 0px));
}

body {
  margin: 0;
  background: var(--body);
  color: var(--text);
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--gold-soft);
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--ink);
  box-shadow: 0 0 10px 1px rgba(200, 157, 103, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(200, 157, 103, 0.18);
  color: #fff;
}

.btn-lg {
  min-height: 50px;
  padding: 12px 26px;
  font-size: 16px;
}

.btn small {
  font-size: 0.78em;
  font-weight: 700;
  opacity: 0.8;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--body);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  width: 104px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions .btn {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 10px;
}

.hero-banner {
  width: 100%;
  aspect-ratio: 1920 / 600;
  object-fit: cover;
  border-radius: var(--radius);
  background: #1a0508;
}

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.35;
}

.notice .icon {
  font-size: 20px;
  color: var(--gold);
}

.notice p {
  flex: 1;
  min-width: 0;
}

.badge-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--gold-deep);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
}

.intro {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.intro-main,
.facts {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
}

.intro-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Jump links. On desktop they sit at the foot of the intro panel, which is
   stretched to the height of the key-facts panel beside it. */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 13.5px;
  text-decoration: none;
}

.jump a:hover,
.jump a:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.6rem, 1.15rem + 2vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lead {
  margin-top: 12px;
  color: #e9e9ec;
  font-size: 1.02rem;
  max-width: 62ch;
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}

.cta-row .btn {
  padding-inline: 10px;
}

.fineprint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.fineprint time {
  color: var(--text);
}

/* Key facts */

.facts h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.facts h2 .icon {
  font-size: 26px;
  color: var(--gold);
}

.facts dl {
  margin-top: 10px;
}

.facts dl > div {
  display: grid;
  grid-template-columns: minmax(96px, 34%) 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.45;
}

.facts dl > div:first-child {
  border-top: 0;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  color: var(--text);
}

.facts .fineprint {
  margin-top: 6px;
}

/* ---------- Category bar ---------- */

.catbar {
  margin-top: 14px;
}

.catbar ul {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--panel);
  border-radius: var(--radius);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.catbar ul::-webkit-scrollbar {
  display: none;
}

.catbar li {
  flex: none;
}

.catbar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14.5px;
  text-decoration: none;
  white-space: nowrap;
}

.catbar .ring {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(237, 237, 237, 0.3), rgba(54, 54, 59, 0.15));
}

.catbar .ring img {
  width: 20px;
  height: 20px;
  filter: grayscale(1) brightness(1.4);
}

.catbar a:hover,
.catbar a:focus-visible {
  color: var(--gold);
  background: rgba(200, 157, 103, 0.1);
}

.catbar a:hover .ring img,
.catbar a:focus-visible .ring img {
  filter: none;
}

/* ---------- Feature tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 84px;
  padding: 10px 10px 10px 8px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.tile img {
  width: 52px;
  height: 52px;
  flex: none;
}

.tile > div {
  min-width: 0;
}

.tile strong,
.tile span {
  overflow-wrap: anywhere;
}

.tile strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.tile span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.3;
}

/* Brand tile colour behind the icon only. The fade finishes at --tile-fade, which is
   kept just short of where the text starts, so white copy always sits on the deeper
   shade (4.5:1 or better). */

.tile {
  --tile-fade: 56px;
}

.tile-referral {
  background: #c9285a linear-gradient(90deg, var(--pink) 0, #c9285a var(--tile-fade));
}

.tile-promo {
  background: #3f5fdc linear-gradient(90deg, var(--blue) 0, #3f5fdc var(--tile-fade));
}

.tile-vip {
  background: #8a6a45 linear-gradient(90deg, var(--tan) 0, #8a6a45 var(--tile-fade));
}

.tile-aff {
  background: #a06418 linear-gradient(90deg, var(--amber) 0, #a06418 var(--tile-fade));
}

/* ---------- Panels ---------- */

.panel {
  margin-top: 14px;
  padding: 18px 14px;
  background: var(--panel);
  border-radius: var(--radius-lg);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.panel-head .icon {
  font-size: 28px;
  color: var(--gold);
}

.panel-head h2 {
  flex: 1;
  font-size: 1.06rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.panel-intro {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 78ch;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips li {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold-deep);
  color: var(--gold-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ---------- Long-form guide ---------- */

.prose p {
  color: #dedee3;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 70ch;
}

.prose p + p,
.prose p + .terms,
.prose .terms + p,
.prose p + .note,
.prose .note + p {
  margin-top: 12px;
}

.prose strong {
  color: #fff;
}

.prose h3 {
  margin: 20px 0 8px;
  font-size: 1.04rem;
  line-height: 1.3;
}

.prose h3:first-child {
  margin-top: 0;
}

/* Short glossary rows: term on the left, meaning on the right. */
.terms {
  display: grid;
  gap: 8px;
  max-width: 70ch;
}

.terms > div {
  display: grid;
  grid-template-columns: minmax(104px, 30%) 1fr;
  gap: 12px;
  padding: 9px 12px;
  background: var(--inset);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.terms dt {
  color: var(--gold-soft);
  font-weight: 700;
}

.terms dd {
  color: #dedee3;
}

.prose .note,
p.note {
  padding: 11px 14px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(200, 157, 103, 0.09);
  color: #e9e3d8;
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 70ch;
}

.asof {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* One block per game lobby */

.lobby {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.lobby:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.lobby-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lobby-head img {
  width: 44px;
  height: 44px;
  flex: none;
}

.lobby-head h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.lobby-count {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-deep);
  color: var(--gold-soft);
  font-size: 12.5px;
  white-space: nowrap;
}

.lobby-body {
  display: grid;
  gap: 16px;
}

.lobby-media h4 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lobby-media h4:not(:first-child) {
  margin-top: 14px;
}

/* Game thumbnails, styled like the lobby cards on amex8.net */

.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.game {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--inset);
}

.game img {
  width: 100%;
  aspect-ratio: 287 / 200;
  object-fit: cover;
}

.game figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 7px 5px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.88));
  color: #fff;
  font-size: 11.5px;
  line-height: 1.25;
}

/* Provider logo tiles */

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 8px;
}

.logos li {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 7px;
  background: var(--inset);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logos-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logos-wide li {
  aspect-ratio: 26 / 9;
  padding: 6px 12px;
}

.titles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.titles li {
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: #d5d5da;
  font-size: 12.5px;
  line-height: 1.5;
}

/* Promotions */

.promos {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.promo {
  overflow: hidden;
  border-radius: 10px;
  background: var(--inset);
  border: 1px solid var(--line-soft);
}

.promo img {
  width: 100%;
  aspect-ratio: 960 / 300;
  object-fit: cover;
}

.promo figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 9px 12px 10px;
  font-size: 14px;
  line-height: 1.4;
}

.promo figcaption strong {
  color: #fff;
}

.promo figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.split {
  display: grid;
  gap: 16px;
}

.trio {
  display: grid;
  gap: 18px;
}

/* Headline figures beside the "What is AMEX8?" text */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.stats li {
  padding: 14px;
  background: var(--inset);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.stats strong {
  display: block;
  color: var(--gold);
  font-size: 1.75rem;
  line-height: 1.1;
}

.stats span {
  display: block;
  margin-top: 5px;
  color: #d5d5da;
  font-size: 13.5px;
  line-height: 1.4;
}

/* Two-column guide area */

.duo {
  display: grid;
  gap: 14px;
}

.duo .panel {
  margin-top: 0;
}

.duo {
  margin-top: 14px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  min-height: 34px;
  font-size: 15px;
  line-height: 1.5;
  color: #e4e4e8;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.steps strong {
  color: #fff;
}

.panel-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
}

.ticks {
  display: grid;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.5;
  color: #e4e4e8;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 7px;
  height: 12px;
  border: solid var(--gold);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.ticks strong {
  color: #fff;
}

/* FAQ */

.faq details {
  border-top: 1px solid var(--line-soft);
}

.faq details:first-of-type {
  border-top: 0;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 2px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .answer {
  padding: 0 2px 16px;
  color: #dcdce0;
  font-size: 15px;
  max-width: 82ch;
}

.faq .answer p + p {
  margin-top: 8px;
}

/* Responsible gambling */

.rg {
  border: 1px solid var(--gold-deep);
  border-left: 5px solid var(--gold);
}

.rg p {
  color: #e4e4e8;
  font-size: 15px;
  max-width: 86ch;
}

.rg p + p {
  margin-top: 10px;
}

.helplines {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.helplines li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 10px 12px;
  background: var(--inset);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  font-size: 14.5px;
}

.helplines span {
  color: var(--muted);
}

.helplines a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 22px;
}

.footer-top {
  background: var(--panel-2);
}

.footer-top .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-block: 14px;
}

.footer-top img {
  width: 110px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  font-size: 14.5px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #d5d5da;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  background: var(--panel);
  padding-block: 18px 22px;
}

.footer-cols {
  display: grid;
  gap: 16px;
}

.footer-bottom h2 {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 92ch;
}

.footer-bottom p + p {
  margin-top: 8px;
}

.footer-bottom .chips li {
  background: rgba(255, 255, 255, 0.07);
  color: #dedee3;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

.footer-marks {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mark-18 {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Mobile tab bar ---------- */

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--panel);
  border-top: 1px solid var(--line-soft);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.tabbar ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--tabbar-h);
}

.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: #d9d9de;
  font-size: 11.5px;
  line-height: 1.1;
  text-decoration: none;
}

.tabbar .icon {
  font-size: 22px;
}

.tabbar a:hover,
.tabbar a:focus-visible {
  color: var(--gold);
}

.tabbar .tab-main {
  color: var(--gold);
  font-weight: 700;
}

.tabbar .tab-main .bubble {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 5px var(--panel), 0 0 12px 2px rgba(200, 157, 103, 0.5);
}

/* ---------- 404 ---------- */

.lost {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding-block: 30px;
  text-align: center;
}

.lost .panel {
  width: 100%;
  max-width: 560px;
  padding: 30px 22px;
}

.lost p {
  margin-top: 10px;
  color: var(--muted);
}

.lost .cta-row {
  justify-content: center;
  margin-top: 20px;
}

/* ---------- Breakpoints ---------- */

@media (max-width: 359px) {
  .tile {
    --tile-fade: 46px;
    gap: 6px;
  }

  .tile img {
    width: 42px;
    height: 42px;
  }

  .tile strong {
    font-size: 14px;
  }
}

@media (min-width: 560px) {
  .promos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logos-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .game figcaption {
    font-size: 12.5px;
  }

  .helplines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-row {
    grid-template-columns: repeat(2, max-content);
  }

  .cta-row .btn {
    padding-inline: 26px;
  }

  .tile {
    --tile-fade: 76px;
    min-height: 92px;
    padding: 12px 14px 12px 10px;
    gap: 12px;
  }

  .tile img {
    width: 68px;
    height: 68px;
  }

  .tile strong {
    font-size: 18px;
  }

  .tile span {
    font-size: 13.5px;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 24px;
    --header-h: 84px;
  }

  html {
    scroll-padding-bottom: 0;
  }

  body {
    padding-bottom: 0;
  }

  .tabbar {
    display: none;
  }

  .brand img {
    width: 170px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .btn {
    min-height: 42px;
    padding: 8px 20px;
    font-size: 16px;
  }

  .hero {
    padding-top: 16px;
  }

  .notice {
    margin-top: 16px;
    padding: 6px 14px;
    font-size: 14.5px;
  }

  .intro {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
  }

  .intro-main,
  .facts {
    padding: 26px 28px;
  }

  .catbar,
  .tiles,
  .panel,
  .duo {
    margin-top: 22px;
  }

  .duo .panel {
    margin-top: 0;
  }

  /* No touch scrolling to rely on at this size: let the lobby links wrap instead. */
  .catbar ul {
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 14px;
    justify-content: space-between;
    overflow-x: visible;
  }

  .tiles {
    gap: 22px;
  }

  .tile {
    --tile-fade: 96px;
    min-height: 100px;
    padding: 14px 18px 14px 12px;
    gap: 14px;
  }

  .tile img {
    width: 84px;
    height: 84px;
  }

  .tile strong {
    font-size: 21px;
  }

  .tile span {
    font-size: 14px;
  }

  .panel {
    padding: 22px 20px 24px;
  }

  .panel-head {
    margin-bottom: 16px;
  }

  .panel-head h2 {
    font-size: 1.12rem;
  }

  .lobby {
    padding-top: 26px;
    margin-top: 26px;
  }

  .lobby-body {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .lobby-head img {
    width: 52px;
    height: 52px;
  }

  .lobby-head h3 {
    font-size: 1.36rem;
  }

  .split {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .stats {
    gap: 14px;
  }

  .stats li {
    padding: 18px;
  }

  .stats strong {
    font-size: 2.2rem;
  }

  .logos {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }

  .logos-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .ticks-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 40px;
  }

  .helplines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-top img {
    width: 140px;
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 40px;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 36px;
    --header-h: 96px;
  }

  .tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tile {
    --tile-fade: 84px;
    padding-left: 10px;
    gap: 12px;
  }

  .tile img {
    width: 74px;
    height: 74px;
  }

  .tile strong {
    font-size: 19px;
  }

  .brand img {
    width: 184px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
