:root {
  --ink: #f7f1e7;
  --muted: #c9bda7;
  --muted-dark: #6f6552;
  --navy-950: #0e0c08;
  --navy-900: #1b170f;
  --navy-850: #262015;
  --navy-800: #342c1d;
  --navy-700: #443a25;
  --blue: #c8a96e;
  --blue-soft: #e4c17d;
  --gold: #d9aa42;
  --gold-bright: #f7d776;
  --red: #bf3b3f;
  --red-dark: #5e202b;
  --green: #2cc58b;
  --border: #594b31;
  --line: rgba(232,211,169,.2);
  --shadow: 0 22px 70px rgba(0, 0, 0, .32);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 70% -20%, rgba(180,152,99,.18), transparent 38rem),
    var(--navy-950);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}

a {
  color: inherit;
}

.prototype-banner {
  min-height: 30px;
  padding: 7px 5vw;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: #090705;
  border-bottom: 1px solid rgba(217, 170, 66, .34);
  color: #b9c8d4;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.prototype-banner span:first-child {
  color: var(--gold-bright);
  font-weight: 900;
}

.casino-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 80px);
  background: rgba(14,12,8,.94);
  border-bottom: 1px solid rgba(217, 170, 66, .3);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-chip {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 25px;
  box-shadow: 0 0 18px rgba(217, 170, 66, .24);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 16px;
  letter-spacing: .08em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: clamp(12px, 2.6vw, 30px);
}

.main-nav a {
  color: #c7d6e1;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-bright);
}

.account-quick {
  display: grid;
  min-width: 150px;
  justify-items: end;
  gap: 3px;
}

.account-quick > span {
  max-width: 180px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-quick strong {
  color: var(--gold-bright);
  font-size: 15px;
}

.compact-button {
  margin-top: 4px;
}

.sportsbook-hero {
  width: 100%;
  padding: 0 0 44px;
}

.eyebrow {
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gold-button,
.outline-button,
.reload-button,
.icon-button,
.market-button,
.view-game-button,
.close-button {
  border: 0;
  border-radius: 7px;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.gold-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  color: #1e1910;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(217, 170, 66, .18);
}

.gold-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(217, 170, 66, .28);
}

.outline-button {
  min-height: 42px;
  padding: 10px 14px;
  background: rgba(33,28,18,.7);
  border: 1px solid #6a5a3a;
  color: #d7e6f0;
  font-size: 12px;
  font-weight: 850;
}

.outline-button:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.hero-board-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid rgba(217, 170, 66, .52);
  border-bottom: 1px solid rgba(217, 170, 66, .52);
  background: #17130c;
  box-shadow: var(--shadow);
}

.hero-board-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
}

.hero-board-static-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-board-character-accents {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-board-character {
  position: absolute;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.06) contrast(1.03);
  pointer-events: none;
}

.hero-character-nfl-left,
.hero-character-nfl-right {
  top: 25.19%;
  width: 6.34%;
  height: 7.65%;
  clip-path: ellipse(50% 50% at 50% 50%);
}

.hero-character-nfl-left { left: 3.29%; }
.hero-character-nfl-right { left: 18.36%; }

.hero-character-soccer-champions-left,
.hero-character-soccer-champions-right,
.hero-character-soccer-epl-left,
.hero-character-soccer-epl-right,
.hero-character-soccer-laliga-left,
.hero-character-soccer-laliga-right {
  top: 25.08%;
  width: 4.43%;
  height: 7.86%;
  border-radius: 50%;
}

.hero-character-soccer-champions-left { left: 27.87%; }
.hero-character-soccer-champions-right { left: 45.15%; }
.hero-character-soccer-epl-left { left: 52.81%; }
.hero-character-soccer-epl-right { left: 68.78%; }
.hero-character-soccer-laliga-left { left: 75.06%; }
.hero-character-soccer-laliga-right { left: 92.28%; }

.hero-character-basketball-left,
.hero-character-basketball-right {
  top: 58.87%;
  width: 5.98%;
  height: 8.93%;
  clip-path: ellipse(50% 50% at 50% 50%);
}

.hero-character-basketball-left { left: 3.83%; }
.hero-character-basketball-right { left: 20.63%; }

.hero-character-hockey-left,
.hero-character-hockey-right {
  top: 57.49%;
  width: 7.18%;
  height: 9.56%;
  clip-path: ellipse(50% 50% at 50% 50%);
}

.hero-character-hockey-left { left: 27.09%; }
.hero-character-hockey-right { left: 43.66%; }

.hero-character-baseball-left,
.hero-character-baseball-right {
  top: 57.92%;
  width: 6.70%;
  height: 8.71%;
  clip-path: ellipse(50% 50% at 50% 50%);
}

.hero-character-baseball-left { left: 51.38%; }
.hero-character-baseball-right { left: 66.63%; }

.hero-character-golf-left,
.hero-character-golf-right {
  top: 57.92%;
  width: 5.02%;
  height: 8.93%;
  clip-path: ellipse(50% 50% at 50% 50%);
}

.hero-character-golf-left { left: 74.64%; }
.hero-character-golf-right { left: 92.11%; }

.hero-board-logo-panels {
  position: absolute;
  top: 24%;
  right: 2.8%;
  bottom: 11%;
  left: 2.8%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(4px, .65vw, 12px);
  z-index: 2;
  pointer-events: none;
}

.hero-board-logo-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28%;
}

.hero-board-logo-panel:nth-child(n + 5) {
  padding-top: 34%;
}

.hero-board-logo-panel img {
  display: block;
  width: 33%;
  height: clamp(32px, 6.5vw, 105px);
  max-width: 130px;
  object-fit: contain;
}

.hero-board-hotspots {
  position: absolute;
  top: 24%;
  right: 2.8%;
  bottom: 11%;
  left: 2.8%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(4px, .65vw, 12px);
  z-index: 3;
}

.hero-hotspot {
  position: relative;
  min-width: 0;
  border: 2px solid transparent;
  border-radius: clamp(7px, 1vw, 16px);
  background: transparent;
  color: transparent;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hero-hotspot span {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: calc(100% - 20px);
  padding: 7px 10px;
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  background: rgba(14,12,8,.9);
  color: var(--gold-bright);
  font-size: clamp(9px, 1vw, 13px);
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .18s ease;
}

.hero-hotspot:hover,
.hero-hotspot:focus-visible {
  background: rgba(217, 170, 66, .14);
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(247, 215, 118, .28), 0 0 25px rgba(217, 170, 66, .18);
}

.hero-hotspot:hover span,
.hero-hotspot:focus-visible span {
  opacity: 1;
}

.hero-board-overlay {
  position: absolute;
  right: clamp(14px, 3vw, 42px);
  bottom: clamp(12px, 2vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(217, 170, 66, .55);
  border-radius: 999px;
  background: rgba(14,12,8,.84);
  color: #f0dfb2;
  font-size: clamp(9px, .85vw, 12px);
  font-weight: 800;
  z-index: 3;
}

.hero-board-grid {
  position: absolute;
  top: 24%;
  right: 2.8%;
  bottom: 11%;
  left: 2.8%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(3px, .55vw, 10px);
  padding: clamp(4px, .55vw, 9px);
  border: 1px solid rgba(217, 170, 66, .76);
  background: #17130c;
  box-shadow: inset 0 0 22px rgba(0, 0, 0, .62);
  z-index: 5;
}

.hero-grid-card {
  display: grid;
  grid-template-rows: minmax(48px, .34fr) minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 2px solid #dbb978;
  border-radius: clamp(5px, .7vw, 12px);
  background:
    linear-gradient(180deg, rgba(99,83,54,.94), rgba(42,35,23,.97)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 13px);
  color: #f5f8f8;
  box-shadow: inset 0 0 0 1px rgba(247, 215, 118, .2), 0 0 18px rgba(218,185,120,.16);
  overflow: hidden;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
  text-decoration: none;
}

.hero-grid-card:hover,
.hero-grid-card:focus-visible {
  border-color: var(--gold-bright);
  background:
    linear-gradient(180deg, rgba(173,147,95,.98), rgba(53,45,29,.98)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 13px);
  box-shadow: inset 0 0 0 1px rgba(247, 215, 118, .42), 0 0 26px rgba(217, 170, 66, .24);
  transform: translateY(-2px);
}

.hero-grid-card-header {
  display: grid;
  grid-template-columns: minmax(24px, .42fr) minmax(0, 1.22fr) minmax(24px, .42fr);
  min-width: 0;
  align-items: center;
  gap: 2px;
  padding: 2px clamp(2px, .35vw, 7px);
  border-bottom: 1px solid rgba(247, 215, 118, .44);
  background: linear-gradient(180deg, rgba(110,93,61,.92), rgba(61,51,33,.86));
}

.hero-grid-character {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 92px;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(1.06) contrast(1.03) drop-shadow(0 8px 9px rgba(0, 0, 0, .38));
  pointer-events: none;
}

.hero-grid-card-title {
  min-width: 0;
  color: #fff9ed;
  font-size: clamp(11px, 1.35vw, 22px);
  font-weight: 950;
  letter-spacing: .035em;
  line-height: 1.02;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .55);
}

.hero-grid-card[data-hero-league="college"] .hero-grid-card-title,
.hero-grid-card[data-hero-league="champions"] .hero-grid-card-title,
.hero-grid-card[data-hero-league="futsal"] .hero-grid-card-title {
  font-size: clamp(8px, .95vw, 16px);
  letter-spacing: .02em;
}

.hero-grid-card-body {
  display: grid;
  min-width: 0;
  min-height: 0;
  align-content: center;
  justify-items: center;
  gap: clamp(3px, .45vw, 8px);
  padding: clamp(4px, .6vw, 10px);
  background:
    linear-gradient(180deg, rgba(45,38,24,.88), rgba(30,25,16,.96)),
    repeating-linear-gradient(0deg, rgba(229,198,139,.08) 0 1px, transparent 1px 15px);
}

.hero-grid-logo {
  display: block;
  width: clamp(51px, 6.75vw, 129px);
  height: clamp(51px, 10.5vw, 159px);
  object-fit: contain;
}

.hero-grid-card-body small {
  min-width: 0;
  color: #f9df9c;
  font-family: Georgia, serif;
  font-size: clamp(7px, .72vw, 12px);
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
}

.game-formats-section {
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 42px) clamp(20px, 3.5vw, 64px) clamp(18px, 2.5vw, 36px);
  border-top: 1px solid rgba(217, 170, 66, .45);
  border-bottom: 1px solid rgba(217, 170, 66, .28);
  background:
    linear-gradient(180deg, rgba(28,24,16,.95), rgba(19,16,10,.98)),
    repeating-linear-gradient(0deg, rgba(229,198,139,.05) 0 1px, transparent 1px 15px);
}

.game-formats-heading {
  max-width: 880px;
  margin: 0 auto clamp(16px, 2vw, 26px);
  text-align: center;
}

.game-formats-heading h2 {
  margin: 7px 0 8px;
  color: #fff8e8;
  font-family: Georgia, serif;
  font-size: clamp(25px, 3vw, 44px);
  line-height: 1;
}

.game-formats-heading p {
  max-width: 780px;
  margin: 0 auto;
  color: #c7b99f;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.5;
}

.game-formats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
}

.game-format-card {
  display: grid;
  min-width: 0;
  min-height: 310px;
  grid-template-rows: auto auto 1fr auto auto;
  align-content: start;
  cursor: pointer;
  padding: clamp(15px, 1.35vw, 23px);
  border: 1px solid #72603f;
  border-radius: 12px;
  background:
    linear-gradient(155deg, rgba(75,64,41,.96), rgba(33,28,18,.98)),
    repeating-linear-gradient(0deg, rgba(229,198,139,.06) 0 1px, transparent 1px 14px);
  box-shadow: inset 0 0 0 1px rgba(247, 215, 118, .12), 0 10px 22px rgba(0, 0, 0, .22);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  color: inherit;
  text-decoration: none;
}

.game-format-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(247, 215, 118, .24), 0 14px 28px rgba(0, 0, 0, .3), 0 0 22px rgba(217, 170, 66, .13);
}

.game-format-card:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.game-format-card-top {
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.game-format-character {
  display: block;
  width: 100%;
  max-width: 210px;
  height: clamp(112px, 9vw, 150px);
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .38));
}

.game-format-mark {
  display: inline-grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border: 1px solid rgba(247, 215, 118, .82);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #f7d776, #bf7d1f 62%, #623410);
  color: #1e1910;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -.04em;
  box-shadow: 0 0 0 4px rgba(36,30,20,.66), 0 5px 15px rgba(0, 0, 0, .35);
}

.mark-pickem {
  font-size: 20px;
}

.mark-fantasy {
  font-size: 10px;
  letter-spacing: -.08em;
}

.mark-props {
  font-size: 19px;
}

.mark-parlay {
  font-size: 30px;
  line-height: 1;
}

.mark-squares {
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
}

.mark-squares i {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid #1e1910;
  background: rgba(255, 248, 224, .82);
}

.game-format-tag {
  color: #f4d77f;
  font-size: clamp(8px, .65vw, 10px);
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
}

.game-format-card h3 {
  margin: 0 0 9px;
  color: #fff8e8;
  font-family: Georgia, serif;
  font-size: clamp(19px, 1.45vw, 27px);
  line-height: 1.05;
}

.game-format-card p {
  margin: 0;
  color: #c5d4df;
  font-size: clamp(11px, .88vw, 14px);
  line-height: 1.48;
}

.game-format-detail {
  align-self: end;
  margin-top: 18px;
  padding-top: 11px;
  border-top: 1px solid rgba(218,185,120,.28);
  color: #f4d77f;
  font-size: clamp(9px, .72vw, 12px);
  font-weight: 850;
  line-height: 1.25;
}

.format-open-button {
  display: block;
  width: 100%;
  min-height: 38px;
  margin-top: 15px;
  padding: 8px 10px;
  border: 1px solid rgba(247, 215, 118, .68);
  border-radius: 7px;
  background: rgba(25,21,14,.62);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
}

.format-open-button:hover,
.format-open-button:focus-visible {
  border-color: var(--gold-bright);
  background: linear-gradient(135deg, rgba(210, 157, 41, .28), rgba(60,51,33,.9));
  color: #fff9db;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(44, 197, 139, .14), 0 0 15px rgba(44, 197, 139, .9);
}

.sportsbook-shell,
.workbench,
.ledger-section {
  max-width: 1580px;
  margin-right: auto;
  margin-left: auto;
  padding-right: clamp(20px, 5vw, 80px);
  padding-left: clamp(20px, 5vw, 80px);
}

.sportsbook-shell {
  padding-top: 56px;
  padding-bottom: 58px;
}

.section-intro,
.ledger-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-intro h2,
.ledger-heading h2,
.account-card h2,
.bet-slip h2 {
  margin: 8px 0 9px;
  color: #fff9ed;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.03em;
}

.section-intro p,
.ledger-heading p,
.account-card .muted {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.board-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.sport-tabs {
  display: flex;
  gap: 9px;
  margin-top: 29px;
  padding: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.sport-tab {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #5b4d32;
  border-radius: 8px;
  background: #292316;
  color: #bdd0de;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.sport-tab span:first-child {
  font-size: 18px;
}

.sport-tab small {
  color: #afa082;
  font-size: 10px;
  font-weight: 750;
}

.sport-tab:hover,
.sport-tab[aria-selected="true"] {
  border-color: var(--gold);
  background: linear-gradient(135deg, #4a3e29, #322b1c);
  color: var(--gold-bright);
}

.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 13px;
  padding: 13px 0;
}

.day-navigation {
  display: flex;
  align-items: center;
  gap: 7px;
}

.day-tabs {
  display: flex;
  gap: 6px;
}

.day-tab {
  min-width: 91px;
  padding: 9px 11px;
  border: 1px solid #5b4d32;
  border-radius: 7px;
  background: #221c12;
  color: #d4c7ae;
  font-size: 11px;
  font-weight: 850;
}

.day-tab span,
.day-tab small {
  display: block;
}

.day-tab small {
  margin-top: 3px;
  color: #a49476;
  font-size: 10px;
}

.day-tab:hover,
.day-tab[aria-selected="true"] {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: #2a2317;
  border: 1px solid #5b4d32;
  color: var(--gold-bright);
  font-size: 24px;
  line-height: 1;
}

.icon-button:hover {
  border-color: var(--gold);
  background: #423824;
}

.board-surface {
  overflow: hidden;
  border: 1px solid #6e5d3c;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(109,92,60,.12), transparent 25%),
    #231e13;
  box-shadow: var(--shadow);
}

.board-column-head,
.game-row {
  display: grid;
  grid-template-columns: minmax(245px, 1.25fr) repeat(3, minmax(145px, .78fr)) minmax(110px, .48fr);
  gap: 12px;
  align-items: center;
}

.board-column-head {
  min-height: 39px;
  padding: 0 17px;
  background: #453a26;
  border-bottom: 1px solid #6e5d3c;
  color: #dccba9;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
}

.game-row {
  min-height: 96px;
  padding: 12px 17px;
  border-bottom: 1px solid var(--line);
}

.game-row:last-child {
  border-bottom: 0;
}

.game-row:hover {
  background: rgba(188,159,103,.08);
}

.game-start {
  display: grid;
  gap: 3px;
}

.game-start strong {
  color: #f8f1e5;
  font-size: 12px;
}

.game-start small {
  color: #bcad8f;
  font-size: 11px;
}

.game-start em {
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.matchup-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #edf4f8;
  text-align: left;
}

.team-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 850;
}

.team-line span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(217, 170, 66, .62);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #705f3d, #2a2317);
  font-size: 15px;
}

.team-logo {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(217, 170, 66, .62);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #705f3d, #2a2317);
  vertical-align: middle;
}

.team-logo img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.team-logo-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #fff4c8;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.team-logo-small {
  width: 25px;
  height: 25px;
}

.team-logo-detail {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.team-logo-detail .team-logo-fallback {
  font-size: 12px;
}

.team-logo-format {
  width: 26px;
  height: 26px;
}

.at-mark {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
}

.market-cell {
  display: grid;
  gap: 5px;
}

.market-cell-label {
  display: none;
  color: #b09f7e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.market-button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 7px 9px;
  background: #352d1d;
  border: 1px solid #625336;
  color: #e8f1f5;
  font-size: 11px;
  font-weight: 850;
  text-align: left;
}

.market-button span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-button span:last-child {
  color: var(--gold-bright);
  white-space: nowrap;
}

.market-button:hover,
.market-button.selected {
  background: linear-gradient(140deg, #5f5034, #443a25);
  border-color: var(--gold);
  color: #fff8e7;
  box-shadow: 0 0 0 2px rgba(217, 170, 66, .12);
}

.market-button-unavailable,
.detail-market-button.market-button-unavailable {
  cursor: not-allowed;
  opacity: .78;
  border-style: dashed;
  color: #c4b79f;
}

.market-button-unavailable:hover,
.detail-market-button.market-button-unavailable:hover {
  background: #352d1d;
  border-color: #625336;
  color: #c4b79f;
  box-shadow: none;
}

.view-game-button {
  min-height: 39px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid #66583c;
  color: var(--blue-soft);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
}

.view-game-button:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.board-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 17px;
  background: rgba(12,10,6,.35);
  border-top: 1px solid var(--line);
  color: #a39477;
  font-size: 10px;
  letter-spacing: .04em;
}

.board-empty {
  display: grid;
  min-height: 120px;
  place-content: center;
  gap: 7px;
  padding: 24px;
  color: #d7e6ed;
  text-align: center;
}

.board-empty strong {
  color: var(--gold-bright);
  font-size: 14px;
}

.board-empty span {
  color: #bcad8f;
  font-size: 12px;
}

.feed-note {
  margin: 13px 0 0;
  color: #a39478;
  font-size: 11px;
  line-height: 1.5;
}

.all-games-section {
  max-width: 1580px;
  margin: 0 auto;
  padding: 36px clamp(20px, 5vw, 80px) 70px;
  border-top: 1px solid rgba(183,156,103,.16);
}

.all-games-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.all-games-heading h2 {
  margin: 8px 0 9px;
  color: #fff9ed;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.03em;
}

.all-games-heading h2 span {
  color: var(--gold-bright);
}

.all-games-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.schedule-refresh-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.schedule-refresh-status.is-live {
  color: #72e0b3;
}

.schedule-refresh-status.is-error {
  color: #ffb4a6;
}

.all-games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}

.schedule-empty {
  display: grid;
  gap: 8px;
  padding: 28px;
  border: 1px dashed #66583c;
  border-radius: 11px;
  background: #221d13;
  color: #c4b79f;
}

.schedule-empty strong {
  color: var(--gold-bright);
  font-size: 14px;
}

.schedule-empty span {
  font-size: 12px;
  line-height: 1.5;
}

.all-game-card {
  display: grid;
  gap: 14px;
  padding: 17px;
  border: 1px solid #55482f;
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(79,67,43,.24), transparent 52%),
    #221d13;
}

.all-game-card:hover {
  border-color: #a08858;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}

.all-game-card-top,
.all-game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.all-game-number {
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
}

.all-game-time {
  color: #c3b59b;
  font-size: 11px;
  font-weight: 800;
}

.all-game-title {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #eef5f6;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
}

.all-game-title:hover {
  color: var(--gold-bright);
}

.all-game-team {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.all-game-team .team-mark {
  width: 25px;
  height: 25px;
  font-size: 13px;
}

.all-game-event {
  color: #f8f1e5;
}

.all-game-venue {
  color: #b8a98d;
  font-size: 11px;
  font-weight: 750;
}

.all-game-title .at-mark {
  flex: 0 0 auto;
}

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

.all-game-markets .market-cell {
  min-width: 0;
}

.all-game-markets .market-cell-label {
  display: block;
  margin-bottom: 5px;
}

.all-game-markets .market-button {
  min-height: 36px;
  padding: 6px 8px;
  font-size: 10px;
}

.all-game-card-footer {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.all-game-card-footer > span {
  color: #a39478;
  font-size: 10px;
  line-height: 1.3;
}

.all-game-card-footer .view-game-button {
  flex: 0 0 auto;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .65fr);
  align-items: start;
  gap: 18px;
  padding-top: 20px;
  padding-bottom: 70px;
}

.account-card,
.bet-slip {
  border: 1px solid #5b4d32;
  border-radius: 13px;
  background: linear-gradient(145deg, #332b1c, #221c12);
  box-shadow: 0 13px 40px rgba(0, 0, 0, .2);
}

.account-card {
  padding: clamp(24px, 4vw, 39px);
}

.account-card h2 {
  max-width: 520px;
}

.account-form {
  max-width: 690px;
  margin-top: 25px;
}

.account-form > label {
  display: block;
  margin-bottom: 7px;
  color: #c5d7e2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.input-row {
  display: flex;
  gap: 9px;
}

.input-row input {
  min-width: 0;
  flex: 1;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #67583b;
  border-radius: 7px;
  outline: 0;
  background: #19150e;
  color: #fff;
}

.input-row input::placeholder {
  color: #706652;
}

.account-status {
  min-height: 24px;
  margin-top: 15px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
}

.account-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.account-metrics > div,
.record-strip > div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(204,176,123,.25);
  border-radius: 8px;
  background: rgba(15,13,8,.34);
}

.account-metrics span,
.record-strip span {
  color: #baab8e;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-metrics strong,
.record-strip strong {
  color: #f8e4aa;
  font-size: 20px;
}

.reload-button {
  min-height: 43px;
  margin-top: 13px;
  padding: 10px 14px;
  background: rgba(191, 59, 63, .16);
  border: 1px solid #a84a52;
  color: #ffb3a4;
  font-size: 12px;
  font-weight: 900;
}

.reload-button:hover {
  background: rgba(191, 59, 63, .26);
  border-color: #df6970;
}

.bet-slip {
  position: static;
  padding: 24px;
}

.slip-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.bet-slip h2 {
  margin-bottom: 0;
  font-size: 31px;
}

.slip-count {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #1c1810;
  font-size: 13px;
  font-weight: 950;
}

.slip-items {
  display: grid;
  gap: 9px;
  margin-top: 21px;
}

.slip-empty {
  padding: 18px 14px;
  border: 1px dashed #66583d;
  border-radius: 9px;
  color: #b7aa91;
  font-size: 12px;
  line-height: 1.5;
}

.slip-item {
  padding: 13px;
  border: 1px solid #584a30;
  border-radius: 9px;
  background: rgba(14,12,8,.35);
}

.slip-item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.slip-team-pair {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  color: #d5e2e9;
  font-size: 10px;
  font-weight: 850;
}

.slip-team-pair span:not(.team-logo) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slip-team-pair b {
  color: var(--gold);
  font-size: 9px;
}

.slip-item strong,
.slip-item small,
.slip-item em {
  display: block;
}

.slip-item strong {
  color: #e9f1f4;
  font-size: 12px;
  line-height: 1.3;
}

.slip-item small {
  margin-top: 4px;
  color: #bdad8e;
  font-size: 10px;
}

.slip-item em {
  margin-top: 9px;
  color: var(--gold-bright);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.slip-live-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border: 1px solid rgba(44, 197, 139, .52);
  border-radius: 999px;
  background: rgba(44, 197, 139, .12);
  color: #74e6b7;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.slip-placed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  color: #cabea8;
  font-size: 10px;
  font-weight: 800;
}

.slip-pending-row {
  display: grid;
  gap: 6px;
  margin-top: 11px;
  color: #dce8ed;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.slip-pending-tag {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 4px 6px;
  border: 1px solid rgba(217, 170, 66, .72);
  border-radius: 999px;
  background: rgba(217, 170, 66, .14);
  color: #ffe7a1;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.remove-selection {
  padding: 0;
  background: transparent;
  border: 0;
  color: #b6a78b;
  font-size: 18px;
  line-height: 1;
}

.remove-selection:hover {
  color: #ff9f94;
}

.stake-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: #cabea8;
  font-size: 11px;
  font-weight: 800;
}

.stake-input {
  width: 92px;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid #635437;
  border-radius: 6px;
  outline: 0;
  background: #1c170f;
  color: #fff;
}

.slip-footer {
  display: grid;
  gap: 11px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #584a30;
}

.slip-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #cabea8;
  font-size: 12px;
  font-weight: 850;
}

.slip-total strong {
  color: var(--gold-bright);
  font-size: 16px;
}

.full-button {
  width: 100%;
}

.slip-footer small {
  color: #a6987d;
  font-size: 10px;
  line-height: 1.45;
}

.ledger-section {
  padding-top: 10px;
  padding-bottom: 90px;
}

.ledger-heading {
  align-items: start;
}

.ledger-heading h2 {
  max-width: 520px;
}

.post-bet-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(233, 186, 69, .72);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(72,61,40,.96), rgba(36,30,20,.98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.post-bet-actions[hidden] {
  display: none;
}

.post-bet-copy {
  display: grid;
  gap: 4px;
}

.post-bet-copy strong {
  color: #fff4cd;
  font-size: 15px;
}

.post-bet-copy > span {
  color: #cec1a9;
  font-size: 12px;
}

.post-bet-actions .gold-button {
  flex: 0 0 auto;
}

.all-game-card.continue-target {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(242, 202, 99, .34), 0 22px 50px rgba(0, 0, 0, .32);
  animation: continue-target-pulse 2.6s ease-out;
}

@keyframes continue-target-pulse {
  0%, 100% { transform: translateY(0); }
  18% { transform: translateY(-4px); }
  38% { transform: translateY(0); }
}

.ledger-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.record-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 25px;
}

.record-strip > div {
  background: #231e13;
}

.record-strip strong {
  font-size: 22px;
}

.bet-history {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.history-empty {
  padding: 21px;
  border: 1px dashed #66583c;
  border-radius: 9px;
  color: #b4a78e;
  font-size: 13px;
}

.history-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(155px, .65fr) minmax(160px, .5fr);
  gap: 16px;
  align-items: center;
  padding: 17px;
  border: 1px solid #4d412a;
  border-radius: 10px;
  background: #231e13;
}

.history-card h3,
.history-card p {
  margin: 0;
}

.history-card h3 {
  color: #ecf3f4;
  font-size: 13px;
}

.history-card p {
  margin-top: 5px;
  color: #b8aa90;
  font-size: 11px;
  line-height: 1.4;
}

.history-card .history-market {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 850;
}

.history-card .history-amounts {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: #c8bca5;
  font-size: 11px;
  text-align: right;
}

.history-amounts strong {
  color: #e9f1f4;
  font-size: 14px;
}

.status-pill {
  display: inline-flex;
  min-width: 61px;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-pending {
  background: rgba(194,164,107,.18);
  color: #f3d291;
}

.status-win {
  background: rgba(44, 197, 139, .17);
  color: #78edbd;
}

.status-loss {
  background: rgba(191, 59, 63, .18);
  color: #ff9b93;
}

.status-push {
  background: rgba(217, 170, 66, .18);
  color: var(--gold-bright);
}

.history-settlement {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 1px;
  padding-top: 12px;
  border-top: 1px solid rgba(217,192,144,.16);
}

.history-settlement small {
  margin-right: 5px;
  color: #736852;
  font-size: 10px;
  font-weight: 800;
}

.settle-button {
  padding: 6px 8px;
  border: 1px solid #5b4d32;
  border-radius: 5px;
  background: #342c1d;
  color: #c9dae3;
  font-size: 10px;
  font-weight: 900;
}

.settle-button:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.game-dialog {
  width: min(960px, calc(100% - 28px));
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 25px;
  border: 1px solid var(--gold);
  border-radius: 15px;
  background:
    radial-gradient(circle at 85% 0, rgba(180,152,99,.22), transparent 30rem),
    #1f1b11;
  color: var(--ink);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .72);
}

.game-dialog::backdrop {
  background: rgba(7,6,4,.78);
  backdrop-filter: blur(5px);
}

.stake-dialog,
.credit-dialog {
  width: min(540px, calc(100% - 28px));
}

.format-dialog {
  width: min(1180px, calc(100% - 28px));
}

.format-dialog-title {
  margin: 12px 0 7px;
  color: #fff9ed;
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .94;
}

.format-dialog-lede {
  max-width: 850px;
  margin: 0;
  color: #cfc3ad;
  font-size: 13px;
  line-height: 1.55;
}

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

.format-guide-block {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #5a4c31;
  border-radius: 10px;
  background: rgba(44,37,24,.68);
}

.format-guide-block span {
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.format-guide-block strong {
  color: #e6f0f4;
  font-size: 12px;
  line-height: 1.45;
}

.format-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  padding: 13px;
  border: 1px solid #5a4c31;
  border-radius: 11px;
  background: rgba(44,37,24,.78);
}

.format-toolbar-secondary {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}

.format-control {
  display: grid;
  gap: 6px;
}

.format-control label,
.format-control > span {
  color: #f4d77f;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.format-control select,
.format-control input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #69593a;
  border-radius: 7px;
  background: #1c170f;
  color: #eff7f9;
  font: inherit;
}

.format-control select:focus,
.format-control input:focus {
  outline: 2px solid rgba(247, 215, 118, .7);
  outline-offset: 1px;
}

.format-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-top: 23px;
}

.format-section-heading h3 {
  margin: 0;
  color: #fff9ed;
  font-size: 17px;
}

.format-section-heading p {
  margin: 0;
  color: #b9ab8f;
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.format-prediction-note {
  margin-top: 11px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(56,48,31,.5);
  color: #ccc0a9;
  font-size: 11px;
  line-height: 1.45;
}

.format-prediction-note strong {
  color: #f4d77f;
}

.format-game-list,
.format-prop-list,
.format-leg-list,
.format-player-grid {
  display: grid;
  gap: 10px;
  margin-top: 11px;
}

.format-game-row,
.format-prop-card,
.format-leg-card,
.format-player-card {
  padding: 13px;
  border: 1px solid #5a4c31;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(61,51,33,.78), rgba(31,26,17,.9));
}

.format-game-row {
  display: grid;
  grid-template-columns: minmax(210px, .9fr) minmax(0, 1.7fr);
  gap: 13px;
  align-items: center;
}

.format-game-info,
.format-prop-info,
.format-leg-info,
.format-player-info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.format-game-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.format-game-label strong {
  min-width: 0;
}

.format-at {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
}

.format-player-team {
  display: flex;
  align-items: center;
  gap: 6px;
}

.format-game-info strong,
.format-prop-info strong,
.format-leg-info strong,
.format-player-info strong {
  color: #fff9ed;
  font-size: 14px;
  line-height: 1.15;
}

.format-game-info span,
.format-prop-info span,
.format-leg-info span,
.format-player-info span {
  color: #c5b79d;
  font-size: 11px;
  line-height: 1.35;
}

.format-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.format-choice,
.format-player-choice,
.format-leg-choice,
.format-period-choice {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #625336;
  border-radius: 7px;
  background: #2f281a;
  color: #e8f1f5;
  font-size: 11px;
  font-weight: 850;
  text-align: left;
}

.format-choice span:first-child,
.format-player-choice span:first-child,
.format-leg-choice span:first-child,
.format-period-choice span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.format-choice span:last-child,
.format-player-choice span:last-child,
.format-leg-choice span:last-child,
.format-period-choice span:last-child {
  color: var(--gold-bright);
  white-space: nowrap;
}

.format-choice:hover,
.format-choice.is-selected,
.format-player-choice:hover,
.format-player-choice.is-selected,
.format-leg-choice:hover,
.format-leg-choice.is-selected,
.format-period-choice:hover,
.format-period-choice.is-selected {
  border-color: var(--gold);
  background: linear-gradient(140deg, #5f5034, #443a25);
  box-shadow: 0 0 0 2px rgba(217, 170, 66, .12);
  color: #fff8e7;
}

.format-choice:disabled,
.format-player-choice:disabled,
.format-leg-choice:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.format-prop-card,
.format-leg-card {
  display: grid;
  grid-template-columns: minmax(200px, .92fr) minmax(0, 1.6fr);
  gap: 13px;
  align-items: center;
}

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

.format-player-card {
  display: grid;
  gap: 9px;
}

.format-player-prediction {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(217, 170, 66, .35);
  border-radius: 8px;
  background: rgba(34,28,18,.7);
}

.format-player-prediction span {
  color: #f4d77f;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.format-player-prediction strong {
  color: #fff8e7;
  font-size: 15px;
  line-height: 1.15;
}

.format-player-prediction small {
  color: #c5b79d;
  font-size: 10px;
  line-height: 1.35;
}

.format-player-choice {
  width: 100%;
}

.format-player-choice small {
  color: #b5c9d3;
  font-size: 10px;
  font-weight: 700;
}

.format-squares-wrap {
  overflow-x: auto;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #5a4c31;
  border-radius: 11px;
  background: rgba(26,22,14,.84);
}

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

.format-squares-team-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid #5a4c31;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(61,51,33,.82), rgba(31,26,17,.92));
}

.format-squares-team-home {
  border-color: rgba(247, 215, 118, .5);
}

.format-helmet {
  position: relative;
  display: grid;
  width: 76px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(247, 215, 118, .8);
  border-radius: 55% 58% 46% 34%;
  background: linear-gradient(145deg, #645537, #2b2418 68%);
  box-shadow: inset -8px -8px 13px rgba(0, 0, 0, .3), 0 6px 16px rgba(0, 0, 0, .26);
}

.format-squares-team-home .format-helmet {
  background: linear-gradient(145deg, #806425, #221c12 68%);
}

.format-helmet::after {
  position: absolute;
  right: -17px;
  bottom: -3px;
  width: 27px;
  height: 22px;
  border: 2px solid #cbd5d8;
  border-left: 0;
  border-radius: 0 13px 10px 0;
  content: "";
  transform: skewY(-12deg);
}

.format-helmet img,
.format-helmet-fallback {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  object-fit: contain;
}

.format-helmet-fallback {
  color: #fff8e7;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
}

.format-squares-team-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.format-squares-team-copy span {
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.format-squares-team-copy strong {
  overflow: hidden;
  color: #fff9ed;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.format-squares-team-copy small {
  color: #c5b79d;
  font-size: 10px;
}

.format-squares-key {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 11px;
  color: #c5b79d;
  font-size: 10px;
  line-height: 1.4;
}

.format-squares-key strong {
  color: #f4d77f;
}

.format-squares-grid {
  display: grid;
  min-width: 650px;
  grid-template-columns: 44px repeat(10, minmax(45px, 1fr));
  gap: 4px;
}

.format-square-axis,
.format-square-cell {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid #5d4f33;
  border-radius: 5px;
  background: #342c1d;
  color: #dcebf0;
  font-size: 11px;
  font-weight: 900;
}

.format-square-axis {
  border-color: rgba(247, 215, 118, .45);
  background: #4a3e29;
  color: var(--gold-bright);
}

.format-square-corner {
  padding: 4px;
  font-size: 8px;
  line-height: 1.1;
  text-align: center;
}

.format-square-cell:hover,
.format-square-cell.is-selected {
  border-color: var(--gold-bright);
  background: #7e5a1a;
  color: #fff9d7;
  box-shadow: 0 0 0 2px rgba(247, 215, 118, .14);
}

.format-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.format-periods-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  color: #c5b79d;
  font-size: 10px;
}

.format-periods-heading strong {
  color: #f4d77f;
  font-size: 11px;
}

.format-period-choice {
  min-width: 130px;
  justify-content: center;
}

.format-period-choice > span:first-child {
  display: grid;
  gap: 2px;
}

.format-period-choice > span:first-child small {
  color: #c5b79d;
  font-size: 9px;
  font-weight: 700;
}

.format-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  margin-top: 22px;
  padding: 15px;
  border: 1px solid rgba(217, 170, 66, .72);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(77,66,43,.76), rgba(24,20,13,.94));
}

.format-summary strong,
.format-summary span {
  display: block;
}

.format-summary strong {
  color: #fff9ed;
  font-size: 14px;
}

.format-summary span {
  margin-top: 5px;
  color: #b1c4ce;
  font-size: 11px;
  line-height: 1.45;
}

.format-summary-odds {
  color: var(--gold-bright) !important;
  font-size: 17px !important;
  font-weight: 950;
  white-space: nowrap;
}

.format-submit-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 13px;
}

.format-submit-row .gold-button,
.format-submit-row .outline-button {
  min-width: 150px;
}

.format-empty {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  padding: 20px;
  border: 1px dashed #63553a;
  border-radius: 10px;
  background: rgba(28,24,16,.72);
  color: #c4b79f;
}

.format-empty strong {
  color: var(--gold-bright);
}

.format-empty span {
  font-size: 12px;
  line-height: 1.45;
}

.stake-selection-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #685839;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(77,66,43,.62), rgba(31,26,17,.82));
}

.stake-selection-card strong,
.stake-selection-card span,
.stake-selection-card small {
  display: block;
}

.stake-selection-card strong {
  color: #fff9ed;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.05;
}

.stake-selection-card span {
  margin-top: 8px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
}

.stake-selection-card small {
  margin-top: 6px;
  color: #c7b99f;
  font-size: 11px;
}

.credit-prompt-title {
  margin: 14px 0 8px;
  color: #fff9ed;
  font-family: Georgia, serif;
  font-size: clamp(30px, 5vw, 48px);
  line-height: .98;
}

.credit-prompt-copy {
  margin: 0;
  color: #cabea8;
  font-size: 13px;
  line-height: 1.55;
}

.stake-form {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.stake-form > label {
  color: #c5d7e2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stake-form input {
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #635437;
  border-radius: 7px;
  outline: 0;
  background: #1c170f;
  color: #fff;
}

.stake-amount-block {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(217, 170, 66, .72);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(77,66,43,.76), rgba(24,20,13,.94));
  box-shadow: inset 0 0 0 1px rgba(255, 235, 164, .08), 0 12px 28px rgba(0, 0, 0, .2);
}

.stake-amount-block-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.stake-amount-label {
  color: #fff1b9;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: .1em;
}

.stake-amount-badge {
  padding: 5px 7px;
  border: 1px solid rgba(217, 170, 66, .65);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  white-space: nowrap;
}

.stake-input-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.stake-input-line input {
  min-width: 0;
  flex: 1;
}

.stake-input-highlight {
  gap: 12px;
  padding: 5px 7px 5px 12px;
  border: 2px solid var(--gold);
  border-radius: 9px;
  background: #13100a;
  box-shadow: 0 0 0 4px rgba(217, 170, 66, .12), 0 0 22px rgba(217, 170, 66, .14);
}

.stake-input-highlight:focus-within {
  border-color: #fff0a7;
  box-shadow: 0 0 0 4px rgba(217, 170, 66, .2), 0 0 28px rgba(217, 170, 66, .26);
}

.stake-input-highlight input {
  min-height: 64px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #fff9dd;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.stake-input-highlight input::placeholder {
  color: #706550;
  font-size: 20px;
}

.stake-input-highlight input:focus {
  outline: 0;
}

.stake-input-line span {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  white-space: nowrap;
}

.stake-amount-help {
  margin: 11px 0 0;
  color: #b1c4ce;
  font-size: 12px;
  line-height: 1.45;
}

.stake-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 8px;
}

.stake-dialog-actions .gold-button,
.stake-dialog-actions .outline-button {
  min-width: 125px;
}

.dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}

.close-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: #352d1d;
  border: 1px solid #65573a;
  color: #deebf0;
  font-size: 25px;
}

.close-button:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.detail-title {
  margin: 12px 0 6px;
  color: #fff9ed;
  font-family: Georgia, serif;
  font-size: clamp(32px, 5vw, 59px);
  line-height: .95;
}

.detail-meta {
  margin: 0;
  color: #c4b79f;
  font-size: 12px;
}

.detail-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #635336;
  border-radius: 11px;
  background: rgba(42,35,23,.72);
}

.detail-team {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #f3f8f8;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
}

.detail-team:last-child {
  justify-content: flex-end;
  text-align: right;
}

.detail-team .team-mark {
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.detail-team-name {
  overflow-wrap: anywhere;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.directory-team-cards-section {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(108,92,61,.5);
}

.directory-team-cards-heading h3 {
  margin: 0 0 6px;
  color: var(--gold-bright);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.directory-team-cards-heading p {
  margin: 0 0 14px;
  color: #c4b79f;
  font-size: 12px;
  line-height: 1.45;
}

.directory-team-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.directory-team-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #594b31;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(53,45,29,.96), rgba(30,25,16,.96));
}

.directory-team-card-side {
  grid-column: 1 / -1;
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
}

.directory-team-card .team-logo-detail {
  grid-row: 2;
  width: 48px;
  height: 48px;
}

.directory-team-card-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.directory-team-card-copy strong {
  overflow-wrap: anywhere;
  color: #f5f7f6;
  font-size: 15px;
  line-height: 1.15;
}

.directory-team-card-copy span {
  color: #c4b79f;
  font-size: 10px;
  line-height: 1.3;
}

.directory-team-card-link {
  grid-column: 1 / -1;
  justify-self: start;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.directory-team-card-link:hover,
.directory-team-card-link:focus-visible {
  color: #fff1b4;
  outline: 2px solid #fff1b4;
  outline-offset: 3px;
}

.detail-matchup > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
}

.market-section {
  margin-top: 24px;
}

.market-section h3 {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-prop-source {
  color: #b8ab91;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.props-unavailable .text-button {
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid #605135;
  border-radius: 5px;
  background: #2f281a;
  color: var(--gold-bright);
  font: inherit;
  cursor: pointer;
}

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

.detail-market-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #605135;
  border-radius: 7px;
  background: #2f281a;
  color: #e6f0f2;
  font-size: 12px;
  font-weight: 850;
  text-align: left;
}

.detail-market-button span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-market-button span:last-child {
  color: var(--gold-bright);
  white-space: nowrap;
}

.detail-market-button:hover {
  border-color: var(--gold);
  background: #443a25;
}

.detail-note {
  margin: 22px 0 0;
  color: #ab9d82;
  font-size: 11px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  max-width: min(360px, calc(100% - 44px));
  padding: 13px 15px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: #322b1c;
  color: #fff5d7;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1061px) {
  body.bet-slip-open {
    --bet-slip-dock-width: min(340px, calc(100vw - 40px));
    --bet-slip-dock-gap: 18px;
  }

  body.bet-slip-open .hero-board-stage {
    width: calc(100% - var(--bet-slip-dock-width) - var(--bet-slip-dock-gap));
    margin-right: calc(var(--bet-slip-dock-width) + var(--bet-slip-dock-gap));
    transition: width .22s ease, margin-right .22s ease;
  }

  .bet-slip[data-slip-open="false"] {
    display: none;
  }

  .all-games-section {
    padding-right: calc(clamp(20px, 5vw, 80px) + 360px);
  }

  body:not(.bet-slip-open) .all-games-section {
    padding-right: clamp(20px, 5vw, 80px);
  }

  .workbench {
    grid-template-columns: 1fr;
  }

  .bet-slip[data-slip-open="true"] {
    position: fixed;
    top: 112px;
    right: clamp(16px, 2vw, 34px);
    z-index: 25;
    width: var(--bet-slip-dock-width);
    max-height: calc(100vh - 132px);
    overflow: auto;
  }
}

@media (max-width: 1060px) {
  .casino-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 0 4px;
  }

  .account-quick {
    margin-left: auto;
  }

  .sportsbook-hero {
    padding-bottom: 34px;
  }

  .all-games-grid {
    grid-template-columns: 1fr;
  }

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

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

  .format-game-row,
  .format-prop-card,
  .format-leg-card {
    grid-template-columns: 1fr;
  }

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

  .format-summary {
    grid-template-columns: 1fr;
  }

  .board-column-head,
  .game-row {
    grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(120px, .72fr)) minmax(100px, .43fr);
  }

  .workbench {
    grid-template-columns: 1fr;
  }

  .bet-slip {
    position: static;
  }

  .bet-slip[data-slip-open="false"] {
    display: none;
  }
}

@media (max-width: 780px) {
  .prototype-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .board-toolbar,
  .section-intro,
  .ledger-heading {
    display: grid;
    align-items: start;
  }

  .post-bet-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .post-bet-actions .gold-button {
    width: 100%;
  }

  .board-actions,
  .ledger-actions {
    justify-content: flex-start;
  }

  .hero-board-hotspots {
    top: 24%;
    right: 2%;
    bottom: 11%;
    left: 2%;
    gap: 3px;
  }

  .hero-hotspot {
    border-width: 1px;
  }

  .hero-board-grid {
    right: 2%;
    left: 2%;
    gap: 2px;
    padding: 3px;
  }

  .hero-grid-card {
    border-width: 1px;
  }

  .hero-grid-card-header {
    grid-template-columns: minmax(17px, .38fr) minmax(0, 1.24fr) minmax(17px, .38fr);
  }

  .hero-grid-card-title {
    font-size: clamp(8px, 1.8vw, 16px);
  }

  .hero-grid-card[data-hero-league="college"] .hero-grid-card-title,
  .hero-grid-card[data-hero-league="champions"] .hero-grid-card-title,
  .hero-grid-card[data-hero-league="futsal"] .hero-grid-card-title {
    font-size: clamp(6px, 1.15vw, 11px);
  }

  .hero-grid-card-body {
    gap: 2px;
    padding: 3px;
  }

  .hero-grid-card-body small {
    font-size: clamp(6px, 1.05vw, 10px);
  }

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

  .game-format-character {
    height: 150px;
  }

  .hero-board-overlay {
    right: 12px;
    bottom: 10px;
    left: 12px;
    justify-content: center;
    padding: 7px 9px;
    font-size: 9px;
  }

  .all-games-heading {
    display: grid;
    align-items: start;
  }

  .day-navigation {
    justify-content: space-between;
  }

  .day-tabs {
    flex: 1;
  }

  .day-tab {
    flex: 1;
  }

  .board-column-head {
    display: none;
  }

  .game-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    padding: 16px;
  }

  .game-start,
  .matchup-link {
    grid-column: 1 / -1;
  }

  .market-cell-label {
    display: block;
  }

  .market-button {
    min-height: 42px;
    padding: 7px;
    font-size: 10px;
  }

  .view-game-button {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .record-strip > div:nth-child(4),
  .record-strip > div:nth-child(5) {
    grid-column: span 1;
  }

  .history-card {
    grid-template-columns: 1fr auto;
  }

  .history-card .history-amounts {
    justify-items: end;
  }

  .history-card .history-market {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 560px) {
  .casino-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .account-quick {
    min-width: 120px;
  }

  .account-quick > span {
    max-width: 125px;
  }

  .account-quick strong {
    font-size: 13px;
  }

  .compact-button {
    padding: 7px 9px;
    font-size: 10px;
  }

  .sportsbook-hero {
    padding-bottom: 26px;
  }

  .hero-board-hotspots {
    top: 24%;
    right: 1.5%;
    bottom: 12%;
    left: 1.5%;
    gap: 2px;
  }

  .hero-board-grid {
    right: 1.5%;
    left: 1.5%;
    gap: 1px;
    padding: 2px;
  }

  .hero-grid-card-header {
    grid-template-columns: minmax(12px, .34fr) minmax(0, 1.32fr) minmax(12px, .34fr);
  }

  .hero-grid-card-title {
    font-size: 8px;
  }

  .hero-grid-card[data-hero-league="college"] .hero-grid-card-title,
  .hero-grid-card[data-hero-league="champions"] .hero-grid-card-title,
  .hero-grid-card[data-hero-league="futsal"] .hero-grid-card-title {
    font-size: 6px;
  }

  .hero-grid-logo {
    width: 45px;
    height: 57px;
  }

  .game-formats-grid {
    grid-template-columns: 1fr;
  }

  .format-toolbar {
    grid-template-columns: 1fr;
  }

  .format-quick-guide {
    grid-template-columns: 1fr;
  }

  .format-squares-team-strip {
    grid-template-columns: 1fr;
  }

  .format-periods-heading {
    display: grid;
  }

  .format-player-grid {
    grid-template-columns: 1fr;
  }

  .format-section-heading {
    display: grid;
    align-items: start;
  }

  .format-section-heading p {
    text-align: left;
  }

  .format-choice-grid {
    grid-template-columns: 1fr;
  }

  .game-format-card {
    min-height: 0;
  }

  .game-format-character {
    height: 170px;
  }

  .hero-board-overlay {
    right: 8px;
    bottom: 7px;
    left: 8px;
    gap: 6px;
    padding: 6px 8px;
    font-size: 8px;
  }

  .hero-board-overlay .status-dot {
    width: 6px;
    height: 6px;
  }

  .all-games-section {
    padding-top: 28px;
    padding-bottom: 52px;
  }

  .all-game-card {
    padding: 13px;
  }

  .all-game-card-top,
  .all-game-card-footer {
    align-items: flex-start;
  }

  .all-game-card-footer {
    display: grid;
  }

  .all-game-card-footer .view-game-button {
    width: 100%;
  }

  .day-tab {
    min-width: 0;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
  }

  .day-tab small {
    font-size: 9px;
  }

  .input-row {
    display: grid;
  }

  .account-metrics {
    gap: 6px;
  }

  .account-metrics > div {
    padding: 10px 8px;
  }

  .account-metrics strong {
    font-size: 16px;
  }

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

  .record-strip > div:nth-child(5) {
    grid-column: 1 / -1;
  }

  .detail-market-grid {
    grid-template-columns: 1fr;
  }

  .detail-matchup {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .directory-team-cards {
    grid-template-columns: 1fr;
  }

  .detail-team:last-child {
    justify-content: flex-start;
    text-align: left;
  }

  .detail-matchup > span {
    display: none;
  }

  .board-foot {
    display: grid;
  }
}

.auth-fields{display:grid;gap:8px;margin-top:18px}.auth-fields label,.auth-form>label{color:#c5d7e2;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.auth-fields input,.auth-form input{width:100%;min-height:43px;padding:10px 12px;border:1px solid #67583b;border-radius:7px;background:#19150e;color:#fff;font:inherit}.auth-fields input:focus-visible,.auth-form input:focus-visible{outline:2px solid #f2cd62;outline-offset:2px}.auth-hint,.auth-error{margin:8px 0;color:#c6b89e;font-size:11px;line-height:1.45}.auth-error{color:#ffaaa0}.auth-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}.auth-form[hidden],[data-account-logout][hidden],#creditReloadButton[hidden]{display:none!important}.reload-button:disabled{opacity:.48;cursor:not-allowed;transform:none}

.brand-logo{display:block;width:54px;height:54px;object-fit:contain;border-radius:50%;background:#090705;box-shadow:0 0 16px rgba(217,170,66,.26)}

/* The schedule and wager dialogs are live boards in the ISN casino room. */
body{background:linear-gradient(#090906ba,#090906e8),url('/brand/polished-floor.png') center top/cover fixed;color:#f6ebcf}
.prototype-banner,.casino-header{background:linear-gradient(110deg,#18150eeF,#070b08f5,#241c0ef2);border-color:#b49250;color:#d5c6a5}
.main-nav a,.brand-copy small,.account-quick>span{color:#d9c9a4}
.all-games-section{position:relative;border:5px solid #b89754;border-radius:16px;padding:clamp(14px,2.5vw,32px);background:radial-gradient(circle,#d9b6600b .7px,transparent 1px) 0 0/4px 4px,#080d0a;box-shadow:0 0 0 2px #382916,0 0 0 6px #e6c47f,0 14px 42px #000b,inset 0 0 30px #0008;margin-block:24px 44px}
.all-games-heading{align-items:center;padding:5px 0 20px;border-bottom:2px solid #ae8a45;margin-bottom:18px}
.all-games-heading h2{color:#f6d88f;font-family:Georgia,serif;letter-spacing:.015em}
.all-games-heading .eyebrow{color:#f2d085;letter-spacing:.18em}
.all-games-heading p,.schedule-refresh-status,.all-game-card-footer>span{color:#c4bc9e}
.all-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.all-game-card{background:linear-gradient(#0f1b12,#080f0b)!important;border:1px solid #8b733d!important;border-radius:5px;box-shadow:inset 0 1px 0 #e2bd6a28,0 4px 8px #0006;overflow:hidden}
.all-game-card-top{background:linear-gradient(#2b2618,#171a10)!important;border-bottom:1px solid #746039;color:#f9d985}
.all-game-number,.all-game-time{color:#eac16c!important;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.045em}
.all-game-title{color:#fff2d4!important;background:transparent!important}
.all-game-markets{background:#080e0b!important;border-block:1px solid #8f784233}
.market-button,.detail-market-button,.format-choice,.format-leg-choice{background:linear-gradient(#15291d,#0b1710)!important;border-color:#847045!important;color:#fce6a8!important;border-radius:4px;font-variant-numeric:tabular-nums;box-shadow:inset 0 0 10px #0003}
.market-button strong,.detail-market-button strong,.format-choice>span:last-child,.format-leg-choice>span:last-child{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#f5cc74!important;text-shadow:0 0 9px #ebc1662b}
.market-button:hover:not(:disabled),.detail-market-button:hover:not(:disabled),.format-choice:hover,.format-leg-choice:hover{background:#29442c!important;border-color:#ffe5a3!important}
.market-button.is-selected,.detail-market-button.is-selected,.format-choice.is-selected,.format-leg-choice.is-selected{background:#604922!important;border-color:#ffe5a3!important}
.market-button-unavailable{color:#a9a58e!important;background:#121711!important;opacity:.75}
.all-game-card-footer{background:#10170e!important;border-top:1px solid #746039}
.view-game-button,.outline-button,.direct-sport-selector select{background:#1c2115!important;border:1px solid #a98a48!important;color:#f3d795!important}
.game-dialog,.bet-slip,.account-card,.ledger-section{background:linear-gradient(125deg,#211c12,#0c140e 60%,#211d13)!important;border:2px solid #b89754!important;box-shadow:0 0 0 3px #332819,0 16px 55px #000a!important;color:#f5e9cb}
.dialog-top,.slip-header,.slip-footer,.all-game-card-footer{border-color:#907440!important}
.detail-matchup,.stake-selection-card,.slip-item,.history-card,.format-game-card,.format-prop-card,.format-leg-card,.market-section{background:#0b160f!important;border-color:#7f6c3d!important}
.stake-amount-block,.stake-input-highlight{background:#182819!important;border-color:#d8b567!important}
.stake-input-line input,.account-form input,.auth-fields input,.format-stake-input,input[type=number]{background:#0b130d!important;color:#ffedbb!important;border-color:#a88a4c!important}
.slip-live-tag,.post-bet-actions{background:#173b28!important;border-color:#b69856!important;color:#f7e3aa!important}
.record-strip,.account-metrics,.format-toolbar,.format-summary,.schedule-refresh-status{border-color:#7d693c!important;background-color:#111a10!important}
.gold-button,.reload-button{background:linear-gradient(#f6de9b,#ba9148)!important;color:#21180a!important}
@media(max-width:900px){.all-games-grid{grid-template-columns:1fr}.all-games-section{margin-inline:12px;width:calc(100% - 24px);border-width:3px;padding:12px}.casino-header{position:relative}}
@media(max-width:550px){.all-games-heading{gap:14px;align-items:stretch}.all-games-heading h2{font-size:24px}.all-game-markets{gap:5px}.market-button{min-height:48px;padding:8px 5px}.game-dialog{max-width:calc(100vw - 12px);padding:12px}.direct-sport-selector{gap:8px}}

@media(max-width:550px){.all-game-markets{grid-template-columns:1fr;gap:10px}.all-game-markets .market-cell{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.all-game-markets .market-cell-label{grid-column:1/-1;margin-bottom:0}.all-game-markets .market-button{min-height:52px;padding:8px;font-size:12px;gap:5px}.market-button span:first-child{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}.market-button-unavailable{white-space:normal;line-height:1.25}}
