@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/sourcesans3.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sourcesans3-italic.woff2") format("woff2");
}
@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/spectral-500.woff2") format("woff2");
}
@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/spectral-600.woff2") format("woff2");
}
@font-face {
  font-family: Spectral;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/spectral-700.woff2") format("woff2");
}
@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/spectral-500i.woff2") format("woff2");
}
@font-face {
  font-family: Spectral;
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/spectral-600i.woff2") format("woff2");
}

:root {
  --board: #12160f;
  --board-2: #1a2016;
  --ink: #f6f1e6;
  --ink-dim: #ddd4c2;
  --brass: #e2c27a;
  --brass-ink: #241c0d;
  --paper: #f3ecdf;
  --paper-ink: #1c1914;
  --paper-dim: #5a5144;
  --line: rgba(226, 194, 122, 0.42);
  --danger: #8c2f28;
  --ok-ink: #e7f2dc;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  --serif: Spectral, "Iowan Old Style", Palatino, serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --measure: 68ch;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--board);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  min-width: 0;
}
img { max-width: 100%; height: auto; }
a { color: var(--brass); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass); color: var(--brass-ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--brass);
  color: var(--brass-ink);
  padding: 0.4rem 0.7rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.6rem;
  padding: 0.4rem 1.1rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--board);
}
.mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.mark:hover { color: var(--brass); }
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.nav-button { display: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); }
.nav-tools { display: none; }
.tools { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.tools a { color: var(--ink); font-weight: 600; text-decoration: none; }
.tools form { margin: 0; }
.tools button, .nav-tools button {
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}
.age-mark {
  font-family: var(--serif);
  color: var(--brass);
  font-weight: 600;
}

.btn, button.btn, .cookie-bar button, .form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.45rem 1rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--brass);
  cursor: pointer;
  background: transparent;
  color: var(--brass);
}
.btn-brass, .tools .btn-brass, .cookie-bar button[value="all"], .form button.btn-brass {
  background: var(--brass);
  color: var(--brass-ink);
  border-color: var(--brass);
}
.btn-brass:hover, .tools .btn-brass:hover, .form button.btn-brass:hover { background: #f0d48f; color: var(--brass-ink); }
.cookie-bar button[value="essential"] {
  color: var(--paper-ink);
  border-color: #5c5144;
  background: transparent;
}
.btn-line { color: var(--ink); border-color: var(--ink-dim); }
.btn-line:hover { border-color: var(--brass); color: var(--brass); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.1rem 0; }

.hero, .band, .crumbs, .flash {
  width: min(1120px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: end;
  padding: 2.4rem 0 2.8rem;
}
.hero-copy, .band-head, .notice, .sheet, .account-wrap, .split { min-width: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); margin: 0 0 0.8rem; }
.lede, .stake { font-size: 1.25rem; max-width: var(--measure); margin: 0; color: var(--ink); }
.stake { margin-top: 0.85rem; }
.fine { color: var(--ink-dim); font-size: 0.95rem; max-width: var(--measure); }
.hero-photo { position: relative; margin: 0; }
.hero-photo img, .notice img { display: block; width: 100%; object-fit: cover; }
.hero-photo img { height: min(68vh, 34rem); }
.hero-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  align-content: end;
}
.hero-banner a { display: block; background: #0c100c; min-width: 0; }
.hero-photo.hero-banner img {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #0c100c;
}
.cat-still {
  position: relative;
  width: min(22rem, 100%);
  margin: 0.4rem 0 0;
  background: #0c100c;
}
.cat-still img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #0c100c;
}
.pin {
  position: absolute;
  z-index: 1;
  top: 0.45rem;
  left: 0.7rem;
  width: 1.35rem;
  height: auto;
  display: block;
  filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, 0.45));
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .pin { transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1); }
  .notice:hover .pin, .hero-photo:hover .pin { transform: translateY(7px); }
}

.band { padding: 0.4rem 0 2.4rem; }
.band-head { margin-bottom: 1rem; }
.band-head h2, .sheet h2, .prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 0.45rem;
}
.band-head p { margin: 0; max-width: var(--measure); color: var(--ink-dim); }
.rail, .live-grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.2rem 0 0.8rem;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail-follow { margin-top: 1rem; }
.notice {
  position: relative;
  flex: 0 0 16.5rem;
  scroll-snap-align: start;
  background: var(--board-2);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.notice img { height: 11.5rem; }
.notice-game img,
.notice-cat img {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #0c100c;
}
.notice-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.8rem 0.9rem;
  background: var(--paper);
  color: var(--paper-ink);
}
.notice-copy strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.notice-copy span { color: var(--paper-dim); }
.notice-copy .details {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.45rem;
  padding: 0.22rem 0.6rem;
  background: var(--brass);
  color: var(--brass-ink);
  font-weight: 700;
  line-height: 1.3;
}
.notice:hover { color: inherit; }
.notice-empty {
  min-height: 14rem;
  border: 1px dashed var(--line);
  background: transparent;
  justify-content: flex-end;
  padding: 1rem;
  color: var(--ink-dim);
}
.notice-empty p { margin: 0; }
.live-grid { display: grid; grid-template-columns: repeat(2, 16.5rem); justify-content: start; gap: 0.85rem; overflow: visible; }
.notice-live { flex: none; width: 16.5rem; max-width: 100%; justify-self: start; }

.sheet {
  background: var(--paper);
  color: var(--paper-ink);
  color-scheme: light;
  padding: clamp(1.2rem, 2.5vw, 2.2rem);
  box-shadow: var(--shadow);
}
.sheet a { color: #6d5014; }
.sheet a:hover { color: var(--paper-ink); }
.prose { max-width: 76ch; }
.prose p, .prose li { max-width: var(--measure); }
.prose h2 { margin-top: 2rem; }
.prose h2 + p, .prose h2 + ul { margin-top: 0.4rem; }
.rg-band .sheet h2 { margin-top: 0; }
.pay-sheet { margin-top: 0.4rem; }
.pay-list { list-style: none; margin: 0; padding: 0; }
.pay-list li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(36, 28, 13, 0.15);
}
.pay-list li:first-child { border-top: 0; padding-top: 0; }
.pay-list img { width: auto; height: 2.15rem; object-fit: contain; object-position: left center; }
.pay-list img[src*="interac"] { height: 3.25rem; }
.pay-word { font-family: var(--serif); font-weight: 600; }
.pay-list h3 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.facts, .pay-list dl { margin: 0; }
.facts div, .pay-list dl div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.35rem 0;
}
dt { font-weight: 700; }
dd { margin: 0; }
.help-list { padding-left: 1.1rem; }
.help-list li { margin: 0.8rem 0; }
.help-list span { display: block; color: var(--paper-dim); }

.crumbs { padding: 0.7rem 0 0; font-size: 0.95rem; color: var(--ink-dim); }
.crumbs a { color: var(--ink-dim); }
.flash {
  margin-top: 0.8rem;
  padding: 0.7rem 0.9rem;
  background: var(--board-2);
  border: 1px solid var(--line);
}
.flash-error { color: #ffd0c8; border-color: #a85a52; }
.flash-ok { color: var(--ok-ink); }

.form { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.sheet .fine { color: var(--paper-dim); }
.form h1, .form h2 { margin-bottom: 0.2rem; }
.form label { font-weight: 700; margin-top: 0.55rem; }
.form input, .form select, .form textarea {
  width: min(100%, 28rem);
  min-height: 2.7rem;
  padding: 0.4rem 0.55rem;
  font: inherit;
  color: var(--paper-ink);
  background: #fffdf8;
  border: 1px solid #c8bda8;
  caret-color: #6d5014;
}
.form textarea { min-height: 8rem; }
.form button { margin-top: 0.8rem; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; max-width: var(--measure); }
.check input { width: 1.1rem; min-height: 1.1rem; margin-top: 0.25rem; }
.dob { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; }
.dob select { width: auto; }
fieldset { border: 0; margin: 0.4rem 0 0; padding: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; }
.field-error { color: var(--danger); margin: 0.15rem 0; font-weight: 700; max-width: var(--measure); }
.hp { position: absolute; left: -9999px; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1rem; }
.form-in-sheet input, .form-in-sheet select { background: #fff; }
.account-wrap { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.side { display: flex; flex-direction: column; gap: 0.35rem; }
.side a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 0.25rem 0; }
.side a[aria-current="page"] { color: var(--brass); }
.message { border-top: 1px solid rgba(36, 28, 13, 0.15); padding-top: 0.8rem; margin-top: 0.8rem; }
.message h2 { font-size: 1.4rem; }
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem; align-items: start; }
.game-page { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1rem; align-items: start; }
.game-page .hero-photo img {
  height: auto;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  max-height: min(68vh, 34rem);
  background: #0c100c;
}
.faq-search { font-weight: 700; }
#faq-q { width: min(100%, 28rem); margin: 0.4rem 0 1rem; min-height: 2.7rem; font: inherit; padding: 0.4rem 0.55rem; }
.faq h2 { margin: 1.4rem 0 0.4rem; }
.faq-item { border-top: 1px solid rgba(36, 28, 13, 0.15); padding: 0.55rem 0; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin: 0.45rem 0 0.2rem; max-width: var(--measure); }
.faq-none { font-weight: 700; }

.billing {
  margin-top: 2rem;
  padding: 2rem 1.1rem 2.4rem;
  background: #0c0f0b;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
}
.billing-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.billing-name { font-family: var(--serif); color: var(--ink); font-size: 1.25rem; margin: 0 0 0.4rem; }
.billing p { margin: 0.35rem 0; }
.billing a { color: var(--brass); }
.billing-links { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.billing-links a { color: var(--ink); text-decoration: none; font-weight: 700; }
.logo-row {
  width: min(1120px, 100%);
  margin: 1.5rem auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.logo-row li { min-width: 0; }
.logo-row img { height: 2.4rem; width: auto; background: transparent; }
.logo-row a { display: inline-block; }
.logo-row span, .billing-end { display: block; font-size: 0.92rem; margin-top: 0.35rem; }
.billing-end { width: min(1120px, 100%); margin: 1.2rem auto 0; }
.cookie-bar {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.1rem;
  background: var(--paper);
  color: var(--paper-ink);
  color-scheme: light;
  border-top: 1px solid #c8bda8;
}
.cookie-bar p { margin: 0; max-width: 62ch; flex: 1 1 16rem; }
.cookie-bar form { display: flex; flex-wrap: wrap; gap: 0.65rem 0.8rem; align-items: center; justify-content: flex-end; flex: 1 1 22rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-settings { flex: 1 1 100%; }
.cookie-settings summary {
  cursor: pointer;
  font-weight: 700;
  width: fit-content;
}
.cookie-panel {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid #c8bda8;
}
.cookie-panel .btn { justify-self: start; }
code { font-family: ui-monospace, monospace; font-size: 0.92em; }

@media (max-width: 980px) {
  .nav-button {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0 0.6rem;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
  }
  .nav {
    display: none;
    position: absolute;
    z-index: 6;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--board-2);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 0 0.6rem;
  }
  .nav a, .nav-tools a, .nav-tools button {
    padding: 0.65rem 1.1rem;
    display: block;
    text-align: left;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-tools { display: flex; flex-direction: column; }
  .hero, .about, .game-page, .split, .account-wrap, .billing-grid, .live-grid, .logo-row {
    grid-template-columns: 1fr;
  }
  .hero-photo img { height: 16rem; }
  h1 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
}

@media (max-width: 640px) {
  .tools .btn-brass { display: none; }
  .facts div, .pay-list dl div, .pay-list li { grid-template-columns: 1fr; }
  .hero { padding: 1rem 0 0.4rem; gap: 0.75rem; }
  h1 { font-size: 2.05rem; margin-bottom: 0.4rem; }
  .lede, .stake { font-size: 1.05rem; }
  .stake { margin-top: 0.45rem; }
  .actions { margin: 0.65rem 0 0; }
  .cookie-bar { padding: 0.55rem 0.85rem; }
  .hero-photo img { height: 13rem; }
}
