/* UK Prize Club — native CSS, design tokens from technical brief */
:root {
  --royal-navy: #1a3a6b;
  --british-gold: #b8860b;
  --club-crimson: #8b0000;
  --billiard-green: #1a4a2e;
  --parchment: #f8f4ec;
  --portland: #c8bea8;
  --tweed: #6b5a3e;
  --dark-oak: #1e1a14;
  --mist: #7a7a8a;
  --wedgwood: #4b6ea8;
  --font-fell: "IM Fell English", Georgia, serif;
  --font-playfair: "Playfair Display", Georgia, serif;
  --font-lora: "Lora", Georgia, serif;
  --font-inter: "Inter", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --radius: 3px;
  --header-h: clamp(64px, 12vw, 88px);
  --container: min(1200px, 100% - 40px);
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-lora);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.55;
  color: var(--dark-oak);
  background: var(--parchment);
}

body.upc-age-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--royal-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--club-crimson);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99999;
  padding: 12px 20px;
  background: var(--british-gold);
  color: var(--dark-oak);
  font-family: var(--font-inter);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(30, 26, 20, 0.94);
  border-bottom: 1px solid rgba(184, 134, 11, 0.28);
  backdrop-filter: blur(10px);
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--british-gold);
  font-family: var(--font-fell);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  letter-spacing: 0.02em;
}

.brand:hover {
  color: #d4a84a;
}

.brand__mark {
  flex-shrink: 0;
}

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

.hdr-crowns {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--british-gold);
  font-size: 0.9rem;
  margin-right: 4px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(184, 134, 11, 0.45);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
  color: var(--parchment);
}

.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.menu-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--british-gold);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 10px 0 16px;
  border-top: 1px solid rgba(184, 134, 11, 0.15);
}

.nav-main a {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--parchment);
}

.nav-main a:hover {
  color: var(--british-gold);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(184, 134, 11, 0.12);
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer__nav a,
.mobile-drawer__auth a,
.mobile-drawer__auth button {
  font-family: var(--font-inter);
  text-decoration: none;
}

.mobile-drawer__nav a {
  color: var(--parchment);
  font-size: 15px;
}

.mobile-drawer__nav a:hover {
  color: var(--british-gold);
}

.mobile-drawer__auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 989px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-main {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-drawer.is-open .mobile-drawer__auth {
    display: flex;
  }
}

@media (min-width: 990px) {
  .mobile-drawer {
    display: none !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .header-actions {
    display: flex;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  padding: 11px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--british-gold);
  color: var(--dark-oak);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.btn--primary:hover {
  background: #c99a2e;
  color: var(--dark-oak);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35);
}

.btn--navy {
  background: var(--royal-navy);
  color: var(--parchment);
}

.btn--navy:hover {
  background: #244a82;
  color: var(--parchment);
  box-shadow: 0 6px 18px rgba(26, 58, 107, 0.35);
}

.btn--secondary {
  background: #1a3a6b;
  color: #fff;
  border: 1px solid #142d52;
}

.btn--secondary:hover {
  background: #244a82;
  color: #000;
  border-color: #1a3a6b;
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--parchment);
  border: 1px solid rgba(248, 244, 236, 0.35);
}

.btn--ghost:hover {
  background: rgba(248, 244, 236, 0.08);
  color: var(--british-gold);
}

.btn--crimson {
  background: var(--club-crimson);
  color: var(--parchment);
}

.btn--crimson:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(139, 0, 0, 0.35);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* —— Hero —— desktop: copy ~60% + image 40% right; mobile: dimmed photo background */
.hero {
  position: relative;
  min-height: 0;
  padding: clamp(28px, 5vw, 48px) 0 clamp(32px, 6vw, 56px);
  background: var(--dark-oak);
  color: var(--parchment);
  overflow: hidden;
}

.hero__bg {
  display: none;
}

.hero__veil {
  display: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(90deg, var(--british-gold) 0 1px, transparent 1px 40px);
  pointer-events: none;
  z-index: 1;
}

.hero__lamps {
  display: none;
}

@media (max-width: 899px) {
  .hero__bg {
    display: block;
    position: absolute;
    inset: 0;
    background-image: url("../img/ukpc-hero-london.webp");
    background-size: cover;
    background-position: center 40%;
    filter: saturate(1.02) brightness(0.32);
    pointer-events: none;
    z-index: 0;
  }

  .hero__veil {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 6, 4, 0.88) 0%, rgba(8, 6, 4, 0.94) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .hero__lamps {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    background:
      radial-gradient(ellipse 100px 70px at 22% 32%, rgba(255, 210, 120, 0.2), transparent 65%),
      radial-gradient(ellipse 90px 60px at 78% 40%, rgba(255, 200, 100, 0.16), transparent 60%);
    animation: hero-lamps 3.2s ease-in-out infinite alternate;
  }
}

@keyframes hero-lamps {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.65;
  }
}

.hero__grid {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 40%;
    gap: 28px;
    align-items: stretch;
  }
}

.hero__copy {
  max-width: 38rem;
}

@media (min-width: 900px) {
  .hero__copy {
    padding-right: 8px;
  }
}

.hero__h1 {
  font-family: var(--font-fell);
  font-style: italic;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-weight: 400;
  color: var(--british-gold);
  line-height: 1.15;
  margin: 0 0 12px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero__lead {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: rgba(248, 244, 236, 0.92);
  margin: 0 0 18px;
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero__disclaimer {
  font-family: var(--font-inter);
  font-size: 11px;
  color: rgba(200, 196, 188, 0.85);
  max-width: 34rem;
  margin: 0;
}

.hero__aside {
  display: none;
}

@media (min-width: 900px) {
  .hero__aside {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    min-height: 220px;
    max-height: 360px;
  }

  .hero__aside img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 360px;
    object-fit: cover;
    object-position: center 38%;
    display: block;
  }
}

/* —— Stats —— */
.stats-bar {
  background: var(--portland);
  border-block: 1px solid rgba(30, 26, 20, 0.08);
  container-type: inline-size;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
  font-family: var(--font-inter);
}

@media (min-width: 720px) {
  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-inner strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--royal-navy);
}

@container (min-width: 700px) {
  .stats-inner strong {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  }
}

.stats-inner span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tweed);
}

.stats-inner > div {
  border-right: 1px solid rgba(30, 26, 20, 0.1);
  padding-inline: 8px;
}

.stats-inner > div:last-child {
  border-right: none;
}

@media (max-width: 719px) {
  .stats-inner > div:nth-child(2n) {
    border-right: none;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(48px, 8vw, 88px) 20px;
}

.section--felt {
  background: var(--billiard-green);
  color: var(--parchment);
}

.section--felt a:not(.btn) {
  color: #e8dcc8;
}

.section--felt a:not(.btn):hover {
  color: var(--british-gold);
}

.section--cream {
  background: var(--parchment);
}

.section--navy {
  background: var(--royal-navy);
  color: var(--parchment);
  position: relative;
  overflow: hidden;
}

.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: radial-gradient(circle at 20% 30%, var(--british-gold), transparent 45%);
  pointer-events: none;
}

.section__inner {
  /* max-width: var(--container); */
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section__h2 {
  font-family: var(--font-fell);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--british-gold);
  margin: 0 0 12px;
  text-align: center;
}

.section--felt .section__h2 {
  color: var(--british-gold);
}

.section__sub {
  font-family: var(--font-lora);
  font-style: italic;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  color: rgba(248, 244, 236, 0.88);
}

.reveal--static {
  opacity: 1 !important;
  transform: none !important;
}

/* —— Game cards —— */
.card-grid {
  display: grid;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-card {
  background: rgba(30, 26, 20, 0.35);
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  border-color: rgba(184, 134, 11, 0.65);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.game-card__thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.game-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.game-card:hover .game-card__thumb img {
  transform: scale(1.07);
}

.game-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.game-card__body h3 {
  font-family: var(--font-playfair);
  font-size: 1.35rem;
  margin: 0;
  color: var(--british-gold);
}

.game-card__body p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(248, 244, 236, 0.9);
}

.game-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wedgwood);
}

/* Swiper games lobby */
.swiper-games {
  overflow: hidden;
  padding-bottom: 36px;
}

.swiper-games-pagination {
  text-align: center;
  margin-top: 12px;
}

.swiper-games-pagination .swiper-pagination-bullet-active {
  background: var(--british-gold);
}

@media (min-width: 990px) {
  .swiper-games {
    overflow: visible;
  }

  .swiper-games .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transform: none !important;
  }

  .swiper-games .swiper-slide {
    width: auto !important;
  }

  .swiper-games-pagination {
    display: none;
  }
}

/* —— Reginald block —— */
.reginald-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .reginald-grid {
    grid-template-columns: 280px 1fr;
  }
}

.reginald-svg-wrap {
  max-width: 280px;
  margin: 0 auto;
}

/* —— Home: Reginald intro (readable contrast) —— */
.section-reginald {
  background: linear-gradient(180deg, #ebe4d8 0%, #e2d8c8 100%);
  color: #1a1610;
}

.section-reginald .section__h2,
.section-reginald .section-reginald__h2 {
  color: var(--royal-navy) !important;
}

.section-reginald p {
  color: #252018;
  line-height: 1.6;
}

.section-reginald .section-reginald__h2 {
  text-align: left;
}

/* —— Chronicle —— */
.chronicle-columns {
  display: grid;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .chronicle-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.chronicle-item {
  border-top: 3px double rgba(26, 58, 107, 0.35);
  padding-top: 16px;
}

.chronicle-item h3 {
  font-family: var(--font-playfair);
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.chronicle-item p {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.section-chronicle-home {
  background: #faf6ef;
  color: #1e1a14;
}

.section-chronicle-home .section__h2 {
  color: var(--royal-navy) !important;
}

.section-chronicle-home .chronicle-item h3 {
  color: var(--royal-navy);
}

.section-chronicle-home .chronicle-item p {
  color: #2c261c;
}

.section-chronicle-home .chronicle-item a {
  color: #0d1f3d;
  font-weight: 600;
}

.section-chronicle-home .chronicle-item a:hover {
  color: var(--club-crimson);
}

/* —— Why grid —— */
.section-why {
  background: #f4efe6;
  color: #1e1a14;
}

.section-why .section__h2 {
  color: var(--royal-navy) !important;
}

.why-grid {
  display: grid;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4px;
}

@media (min-width: 720px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  background: linear-gradient(165deg, #fffef9 0%, #f2ebe0 100%);
  border: 1px solid rgba(26, 58, 107, 0.28);
  border-radius: 8px;
  padding: 18px 18px 20px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 8px 22px rgba(26, 58, 107, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
@media (max-width: 470px) {
  .why-card {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
}

.why-card:hover {
  border-color: rgba(184, 134, 11, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 12px 32px rgba(26, 58, 107, 0.14);
  transform: translateY(-2px);
}

.why-card svg {
  width: 40px;
  height: 40px;
  color: var(--royal-navy);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}

.why-card h3 {
  font-family: var(--font-playfair);
  margin: 0 0 8px;
  font-size: 1.12rem;
  color: var(--royal-navy);
}

.why-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #3a3428;
  line-height: 1.55;
}

/* —— FAQ cards —— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  margin: 28px auto 0;
}

.faq-item {
  border: 1px solid rgba(26, 58, 107, 0.22);
  border-radius: 8px;
  padding: 18px 20px 20px;
  background: linear-gradient(180deg, #fffdf8 0%, #f4efe6 100%);
  box-shadow: 0 6px 20px rgba(30, 26, 20, 0.06);
}

.faq-item__q {
  font-family: var(--font-playfair);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--royal-navy);
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.faq-item__a {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #2e2a24;
}

.faq-item__a a {
  font-weight: 600;
}

/* —— Lead form (card used on contact / auth / reading room) —— */
.lead-form-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fffdf8;
  border: 1px solid rgba(26, 58, 107, 0.15);
  border-radius: 4px;
  padding: 28px 26px 32px;
  box-shadow: 0 16px 40px rgba(30, 26, 20, 0.08);
}

.lead-form-card h2 {
  font-family: var(--font-fell);
  margin-top: 0;
  color: var(--royal-navy);
}

.lead-field {
  margin-bottom: 14px;
}

.lead-field label {
  display: block;
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.lead-field input,
.lead-field textarea,
.lead-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(30, 26, 20, 0.2);
  border-radius: var(--radius);
  font-family: var(--font-lora);
  font-size: 16px;
  background: #fff;
}

.lead-field input:focus,
.lead-field textarea:focus {
  outline: 2px solid rgba(184, 134, 11, 0.45);
  outline-offset: 1px;
}

.form-status {
  font-family: var(--font-inter);
  font-size: 13px;
  margin-top: 10px;
  min-height: 1.2em;
}

.form-status--ok {
  color: var(--billiard-green);
}

/* —— Footer —— */
.site-footer {
  background: var(--dark-oak);
  color: var(--parchment);
  padding: 48px 20px 28px;
  font-size: 0.92rem;
}

.site-footer a {
  color: #c9b896;
}

.site-footer a:hover {
  color: var(--british-gold);
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 28px;
  display: grid;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col__h {
  font-family: var(--font-playfair);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--british-gold);
  margin: 0 0 14px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-social-label {
  font-family: var(--font-inter);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mist);
  margin: 20px 0 10px;
}

.footer-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(248, 244, 236, 0.08);
}

.footer-social-row .ico {
  flex-shrink: 0;
  color: var(--british-gold);
}

.footer-social-row__txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-social-name {
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 600;
  color: var(--parchment);
}

.footer-social-url {
  font-size: 12px;
  color: var(--mist);
}

.footer-company {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(184, 134, 11, 0.2);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #c9b896;
}

.footer-bottom {
  max-width: 1100px;
  margin: 16px auto 0;
  font-family: var(--font-inter);
  font-size: 11px;
  line-height: 1.65;
  color: var(--mist);
}

.footer-help {
  max-width: 1100px;
  margin: 14px auto 0;
  font-family: var(--font-inter);
  font-size: 12px;
}

.footer-help a {
  margin-right: 6px;
}

/* —— Cookie + Age —— */
#cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 8000;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  pointer-events: none;
}

#cookie-banner[hidden] {
  display: none !important;
}

.cookie-corner {
  position: absolute;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100vw - 32px));
  max-height: min(70vh, calc(100dvh - 48px));
  overflow: auto;
  padding: 20px 22px;
  background: var(--dark-oak);
  border: 1px solid rgba(184, 134, 11, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  transform: translateY(14px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#cookie-banner.is-visible .cookie-corner {
  transform: translateY(0);
  opacity: 1;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

#cookie-banner p {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 13px;
  line-height: 1.55;
  color: var(--parchment);
}

#age-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(14, 12, 10, 0.78);
  backdrop-filter: blur(14px) saturate(130%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#age-overlay[hidden] {
  display: none !important;
}

.age-box {
  max-width: 440px;
  background: var(--parchment);
  border: 1px solid var(--british-gold);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: var(--dark-oak);
}

.age-box h2 {
  font-family: var(--font-fell);
  color: var(--royal-navy);
  margin-top: 0;
}

.age-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

/* —— Content pages —— */
.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.content-page h1 {
  font-family: var(--font-fell);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--royal-navy);
}

.prose p {
  margin: 0 0 1em;
}

.legal-strip {
  height: 4px;
  background: var(--royal-navy);
}

.legal-page {
  background: var(--parchment);
}

.legal-page .content-page {
  max-width: 800px;
}

.legal-crest {
  float: right;
  width: 56px;
  height: 56px;
  margin: 0 0 12px 16px;
  opacity: 0.85;
}

/* —— Play layout —— */
.play-shell {
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #2a2420 0%, var(--dark-oak) 55%);
  color: var(--parchment);
  padding-bottom: 88px;
}

.play-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.play-balance {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--british-gold);
}

.play-stage {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

.play-disclaimer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  text-align: center;
  font-family: var(--font-inter);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  background: rgba(26, 58, 107, 0.92);
  color: var(--parchment);
}

.reginald-bubble {
  position: fixed;
  right: 16px;
  bottom: 44px;
  z-index: 60;
  max-width: min(320px, calc(100vw - 32px));
  background: rgba(248, 244, 236, 0.96);
  color: var(--dark-oak);
  border: 1px solid rgba(26, 58, 107, 0.25);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-fell);
  font-style: italic;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.reginald-bubble.is-on {
  opacity: 1;
}

/* —— Map —— */
.map-embed {
  width: 100%;
  height: min(420px, 55vh);
  border: 0;
  border-radius: 4px;
  margin-top: 20px;
}

/* —— Utility —— */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.tagline {
  font-family: var(--font-inter);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.play-page {
  background: var(--dark-oak);
  color: var(--parchment);
}

.play-page .lead-field input {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(248, 244, 236, 0.25);
  color: var(--parchment);
}

.btn.is-active {
  box-shadow: 0 0 0 2px var(--british-gold);
  border-color: var(--british-gold) !important;
}
