@charset "UTF-8";
:root {
  color-scheme: var(--color-scheme,dark);
  --bg: #141715;
  --panel: #1c201d;
  --raised: #252a26;
  --raised-text: #f2f3e9;
  --raised-muted: #adb8ae;
  --accent-soft-text: #b3ee63;
  --line: #303730;
  --text: #f2f3e9;
  --muted: #939e94;
  --green: #b3ee63;
  --gold: #ebc675;
  --red: #ef9698;
  --ink: #182111;
  --panel-text: #f2f3e9;
  --panel-muted: #adb8ae;
  --canvas-text: #f2f3e9;
  --canvas-muted: #adb8ae;
  --accent-text: #b3ee63;
  --accent-soft: #2c3924;
  --accent-border: #63754a;
  --positive: #b3ee63;
  --focus: #b3ee63;
  --canvas-focus: #b3ee63;
  --panel-focus: #b3ee63;
  --color-scheme: dark;
  font-family: Inter,"Segoe UI",sans-serif;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
button,input,select {
  font: inherit;
}
button,a,input,summary {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: .4;
}
button,input,select {
  color: inherit;
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
input,select {
  min-width: 0;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}
h1,h2,h3,p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
  line-height: 1.12;
}
h2 {
  font-size: 20px;
  letter-spacing: -.5px;
}
h3 {
  font-size: 16px;
}
small {
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
}
.grow {
  flex: 1;
}
.icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.art {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.playbtn,.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  line-height: 1.3;
}
.playbtn:hover,.cta:hover {
  background: var(--green);
}
.ghost {
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--raised-text);
  padding: 10px 14px;
  border-radius: 8px;
}
.ghost:hover {
  border-color: var(--accent-border);
}
.notice {
  padding: 12px 16px;
  border: 1px solid var(--red);
  background: var(--panel);
  color: var(--panel-text);
  border-radius: 8px;
}
.notice:empty {
  display: none;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
.top {
  height: 76px;
  background: var(--panel);
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  letter-spacing: -1px;
  font-weight: 900;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: var(--green);
  color: var(--ink);
  transform: rotate(-8deg);
  font-size: 27px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  color: inherit;
  padding-top: 7px;
}
.top-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-weight: 600;
  font-size: 12px;
}
.top-links a {
  color: var(--muted);
}
.top-links a:hover {
  color: var(--text);
}
.wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--panel);
  padding: 6px 8px 6px 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wallet .money-icon {
  color: var(--gold);
  font-size: 19px;
}
.wallet b {
  font-size: 14px;
}
.wallet small {
  color: var(--muted);
  font-size: 10px;
}
.wallet .wallet-link {
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--green);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  font-weight: 800;
  flex-shrink: 0;
}
.profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  max-width: 160px;
}
.profile-link strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-chat {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 8px;
}
.floor {
  display: grid;
  grid-template-columns: 198px minmax(0,1fr) 274px;
  min-height: calc(100vh - 76px);
}
.side {
  border-right: 1px solid var(--line);
  padding: 24px 14px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
}
.nav-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 1.6px;
  margin: 17px 12px 9px;
}
.side a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 12px;
  border-radius: 7px;
}
.side a.on {
  color: var(--accent-soft-text);
  background: var(--accent-soft);
}
.side a:hover {
  background: var(--raised);
  color: var(--raised-text);
}
.side a .count {
  margin-left: auto;
  font-size: 9px;
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--accent-soft-text);
}
.side-footer {
  margin-top: auto;
  padding: 18px 11px 5px;
  border-top: 1px solid var(--line);
}
.side-footer strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
.side-footer p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
  margin-bottom: 0;
}
.main {
  padding: 27px 28px 36px;
  min-width: 0;
  max-width: 1640px;
  width: 100%;
  margin: auto;
  align-self: start;
}
.welcome {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
}
.welcome h1 {
  font-size: 21px;
  letter-spacing: -.5px;
  margin: 0 0 4px;
}
.welcome p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.status-pill {
  margin-left: auto;
  font-size: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  white-space: nowrap;
}
.status-pill:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 100%;
  margin-right: 7px;
}
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 285px;
  background: radial-gradient(ellipse at 79% 62%,#40563a 0%,#233123 44%,#202b20 80%);
  border: 1px solid #3b4b33;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.feature-copy {
  padding: 31px 0 30px 31px;
  z-index: 1;
}
.feature h2 {
  font-size: clamp(32px,3vw,48px);
  line-height: 1.06;
  letter-spacing: -1.9px;
  font-weight: 800;
  margin: 17px 0 15px;
}
.feature h2 em {
  font-family: Georgia,serif;
  font-weight: 400;
  color: #d6efa4;
}
.feature-copy>p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #b8c5b1;
  max-width: 255px;
}
.feature .cta {
  margin-top: 7px;
  font-size: 12px;
  padding: 12px 17px;
}
.feature-art {
  position: absolute;
  width: 56%;
  height: 100%;
  right: -1%;
  top: 0;
}
.feature-footer {
  display: flex;
  gap: 6px;
  position: absolute;
  bottom: 17px;
  right: 24px;
}
.feature-footer span {
  height: 4px;
  width: 4px;
  border-radius: 4px;
  background: #67805b;
}
.feature-footer span:first-child {
  width: 20px;
  background: var(--green);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin: 17px 0 25px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.benefit .icon {
  color: var(--accent-text);
  width: 25px;
  height: 25px;
}
.benefit b {
  font-size: 11px;
  display: block;
}
.benefit small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 0 15px;
}
.section-heading h2 {
  font-size: 18px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-heading .eyebrow {
  color: var(--panel-text);
  letter-spacing: 1px;
  margin-left: 5px;
  font-size: 8px;
  border: 1px solid var(--line);
  padding: 3px 5px;
  border-radius: 3px;
}
.section-heading>a {
  color: var(--muted);
  font-size: 11px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.tile {
  display: block;
  min-width: 0;
  transition: transform .18s;
}
.tile:hover {
  transform: translateY(-4px);
}
.poster {
  height: auto;
  aspect-ratio: 1/1.18;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 50% 35%,var(--glow),transparent 75%),var(--tint);
  border: 1px solid #ffffff0a;
}
.poster:after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #ffffff10;
  border-radius: 5px;
  pointer-events: none;
}
.poster-art {
  position: absolute;
  top: 9%;
  width: 117%;
  height: 74%;
  left: -8%;
  transition: transform .25s;
}
.tile:hover .poster-art {
  transform: rotate(-4deg) scale(1.04);
}
.poster-word {
  position: absolute;
  bottom: 11%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: clamp(16px,1.5vw,26px);
  line-height: 1;
  letter-spacing: -1px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 2px 8px #0003;
}
.poster-small {
  position: absolute;
  bottom: 4%;
  left: 0;
  right: 0;
  text-align: center;
  letter-spacing: 2px;
  font-size: 7px;
  font-weight: 700;
  opacity: .55;
}
.poster-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 1;
  background: #18251cc9;
  color: #d9efc2;
  border: 1px solid #ffffff20;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .6px;
}
.tile-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 1px 1px;
  gap: 4px;
}
.tile-caption strong {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile-caption small {
  font-size: 8px;
  color: var(--muted);
}
.tile.soon {
  opacity: .55;
}
.tile.soon:hover {
  transform: none;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 3px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  padding: 9px 13px;
  font-weight: 700;
}
.filter[aria-pressed=true] {
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}
.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  max-width: 200px;
  color: var(--muted);
}
.search input {
  border: 0;
  background: transparent;
  padding: 9px 0;
  width: 100%;
  font-size: 11px;
}
.empty {
  padding: 30px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
}
.activity {
  margin-top: 29px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.data-table th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  padding: 12px;
}
.data-table td {
  padding: 13px 12px;
  border-top: 1px solid var(--line);
}
.data-table th:last-child,.data-table td:last-child {
  text-align: right;
}
.data-table tr:nth-child(even) {
  background: var(--panel);
}
.positive {
  color: var(--positive);
}
.negative {
  color: var(--red);
}
.page-footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 10px;
}
.page-footer .brand {
  font-size: 15px;
  color: var(--text);
}
.page-footer p {
  margin: 0;
}
.chat {
  border-left: 1px solid var(--line);
  background: var(--panel);
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat-head {
  padding: 22px 17px 15px;
  border-bottom: 1px solid var(--line);
}
.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
.chat-title h2 {
  font-size: 14px;
  margin: 0;
}
.chat-title .icon {
  color: var(--muted);
  width: 16px;
}
.chat-status {
  font-size: 8px;
  margin-left: auto;
  color: var(--muted);
  letter-spacing: 1px;
}
.chat-close {
  display: none;
  background: transparent;
  border: 0;
  color: var(--muted);
}
.room-tabs {
  display: flex;
  gap: 5px;
  overflow: auto;
}
.room-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 11px;
  white-space: nowrap;
}
.room-tab[aria-pressed=true] {
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}
.chat-note {
  padding: 11px 16px;
  color: var(--muted);
  font-size: 9px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}
.chat-note .icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}
#chat-log {
  list-style: none;
  margin: 0;
  padding: 18px 15px;
  overflow: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
}
#chat-log li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
#chat-log .avatar {
  width: 28px;
  height: 28px;
  font-size: 10px;
  border-radius: 8px;
}
#chat-log .message-content {
  min-width: 0;
  flex: 1;
}
#chat-log strong {
  font-size: 10px;
  color: var(--text);
}
#chat-log time {
  font-size: 8px;
  color: var(--muted);
  float: right;
  padding-top: 2px;
}
#chat-log p {
  font-size: 11px;
  color: var(--text);
  line-height: 1.7;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.chat-empty {
  text-align: center;
  margin: auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.composer {
  margin: 0 13px 13px;
  padding: 10px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 6px;
}
.composer input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 11px;
  padding: 5px;
  color: var(--raised-text);
}
.composer button {
  padding: 7px 10px;
  border-radius: 5px;
}
.chat-meta {
  padding: 0 16px 13px;
  font-size: 8px;
  color: var(--muted);
}
.chat-error {
  font-size: 10px;
  color: var(--red);
  padding: 0 15px;
}
.chat-error:empty {
  display: none;
}
.mobile-nav {
  display: none;
}
.table-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 21px;
}
.table-heading h1 {
  font-size: 26px;
  margin: 0;
}
.table-heading .back {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--muted);
}
.table-heading .muted {
  margin-left: auto;
  font-size: 10px;
}
.game-table {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.game-surface {
  position: relative;
  min-height: 360px;
  background: radial-gradient(ellipse at 50% 40%,#2c4534,#1c3025 62%,#1b2820);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #415138;
  gap: 16px;
  overflow: hidden;
}
.game-surface:before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid #b8d28a13;
  border-radius: 100px;
  pointer-events: none;
}
.felt-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: #839d78;
  text-transform: uppercase;
  margin: 0;
}
.idle-art {
  width: 230px;
  height: 200px;
  filter: drop-shadow(0 16px 14px #0003);
}
.surface-title {
  color: #c8d3bf;
  font-size: 12px;
  margin: 0;
}
.bet-panel {
  padding: 21px 25px;
}
.bet-panel .picks {
  margin-bottom: 18px;
}
.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}
.picks legend {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 700;
}
.pick {
  position: relative;
  display: block;
}
.pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.pick span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 52px;
  min-height: 42px;
  padding: 9px 16px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--raised-text);
  font-weight: 700;
}
.pick input:checked+span {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}
.pick input:focus-visible+span {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.stake-picks .pick span {
  width: 49px;
  height: 49px;
  min-width: 49px;
  min-height: 49px;
  border-radius: 50%;
  padding: 3px;
  font-size: 11px;
  background: var(--raised);
  border: 3px dashed var(--accent-border);
  box-shadow: 0 3px 0 var(--line), inset 0 0 0 2px var(--panel);
  color: var(--raised-text);
}
.stake-picks .pick input:checked+span {
  background: var(--green);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--green), 0 3px 0 var(--line), inset 0 0 0 2px var(--green);
  transform: translateY(-3px);
}
.stake-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stake-hint {
  font-size: 10px;
  color: var(--muted);
}
.game-form .choices {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.choice-play {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  padding: 13px;
  font-size: 14px;
  font-weight: 800;
}
.choice-play:hover {
  background: var(--raised);
  border-color: var(--accent-border);
  color: var(--raised-text);
}
.choice-play .art {
  width: 44px;
  height: 44px;
}
.number-field {
  display: grid;
  gap: 7px;
  flex: 1;
  min-width: 130px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 15px;
}
.number-field input {
  width: 100%;
  accent-color: var(--green);
}
.options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-bet {
  width: 100%;
  margin-top: 18px;
  padding: 15px;
}
.table-info {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.table-info summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  padding: 10px 0;
}
.table-info p {
  margin: 8px 0 0;
}
.result {
  border: 1px solid #547045;
  background: #283d27;
  border-radius: 10px;
  padding: 18px 24px;
  text-align: center;
  width: min(100%,450px);
}
.result.loss {
  border-color: #654549;
  background: #34282a;
}
.result.push {
  background: #303228;
  border-color: #686842;
}
.result h2 {
  font-size: 22px;
  margin: 0 0 4px;
}
.result .result-value {
  font-size: 36px;
  letter-spacing: -1px;
  font-weight: 800;
  color: var(--positive);
  font-variant-numeric: tabular-nums;
}
.result.loss .result-value {
  color: #edb4af;
}
.result small {
  display: block;
  color: #b4c0a8;
}
.result-lines {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 11px;
  color: #c5cdbd;
}
.proof {
  margin: 18px 0 0;
  font-size: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.proof summary {
  cursor: pointer;
}
.board-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #c6d4bc;
  font-size: 12px;
  text-align: center;
}
.board-lines li {
  margin: 5px 0;
}
.hand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hand-label {
  width: 100%;
  text-align: center;
  font-size: 9px;
  letter-spacing: 2px;
  color: #a9bea0;
  margin: 3px 0;
}
.playing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg,#fffef2,#dddccd);
  color: #253c31;
  width: 66px;
  height: 94px;
  padding: 6px 9px;
  border-radius: 6px;
  box-shadow: 2px 5px 0 #09110c44;
  font-family: Georgia,serif;
  font-size: 19px;
  font-weight: 700;
}
.playing-card .suit {
  align-self: center;
  font-size: 32px;
  line-height: 1;
}
.playing-card .corner {
  font-size: 10px;
  align-self: flex-end;
}
.playing-card.red {
  color: #b84853;
}
.playing-card.hidden-card {
  background: repeating-linear-gradient(45deg,#334d3b,#334d3b 3px,#42604a 3px,#42604a 5px);
  border: 4px solid #c5c8b4;
  align-items: center;
  justify-content: center;
  color: #c7d2aa;
}
.board-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.board-actions button {
  min-width: 80px;
}
.mines {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 9px;
  width: min(100%,360px);
  margin: 12px auto;
}
.mines button {
  aspect-ratio: 1;
  border: 1px solid #536048;
  border-bottom: 5px solid #18271c;
  background: linear-gradient(145deg,#45563c,#33432d);
  border-radius: 9px;
  padding: 8px;
  color: #869b77;
  font-size: 22px;
  transition: transform .15s,background .15s;
}
.mines button:hover:enabled {
  transform: translateY(-2px);
  background: #506743;
}
.mines button.gem {
  background: #3f6742;
  opacity: 1;
  border-color: #6b9d5a;
}
.mines button.bomb {
  background: #66353b;
  opacity: 1;
  border-color: #9b5259;
}
.mines .art {
  height: 100%;
  width: 100%;
}
.board-note {
  font-size: 12px;
  color: var(--gold);
  text-align: center;
}
.board-finished {
  margin-top: 16px;
  text-align: center;
}
.game-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.game-tools button {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 3px;
  font-size: 10px;
}
.game-tools .icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}
.game-table.busy .game-surface {
  opacity: .8;
}
.game-table.busy {
  cursor: wait;
}
.table {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 12px;
  margin: 16px 0;
}
.bet {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.bet label,.name label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin: 20px 0;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.stat small {
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 24px;
  margin-top: 6px;
}
.name {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.rewards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3,1fr);
}
.reward {
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.reward .icon {
  color: var(--gold);
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
}
.reward p {
  font-size: 12px;
  color: var(--muted);
}
.gate-wrap {
  max-width: 1240px;
  margin: auto;
  padding: 28px;
}
.gate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 32px;
}
.gate-header p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.gate-wrap .feature {
  min-height: 440px;
}
.gate-wrap .feature-copy {
  padding: 62px 0 50px 50px;
}
.gate-wrap .feature h2 {
  font-size: 62px;
}
.gate-wrap .feature-copy>p:not(.eyebrow) {
  max-width: 350px;
  font-size: 14px;
}
.gate-wrap .feature-art {
  width: 56%;
  height: 100%;
}
.gate-wrap .tiles {
  grid-template-columns: repeat(6,minmax(0,1fr));
}
.gate-wrap .poster {
  aspect-ratio: 1;
}
.gate-wrap .poster-word {
  font-size: 19px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none!important;
}
.tower-visual {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 220px;
}
.tower-floor {
  display: flex;
  gap: 8px;
  height: 22px;
}
.tower-floor i {
  flex: 1;
  border-radius: 3px;
  background: #42563a;
  border-bottom: 3px solid #142918;
}
.tower-floor.cleared i {
  background: #afdc75;
}
.multiplier {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--positive);
}
.crash-visual {
  width: 170px;
  height: 130px;
}
.hold-cards {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.hold-cards button {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 10px;
}
.hold-cards button[aria-pressed=true] .playing-card {
  outline: 3px solid #c8f596;
  transform: translateY(-5px);
}
@keyframes reveal {
  from {
    transform: scale(.96);
    opacity: .3;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes deal {
  from {
    transform: translateY(-16px) rotate(-8deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes toss {
  50% {
    transform: translateY(-22px) rotateY(180deg);
  }
}
@media(min-width:1650px) {
  .tiles {
    grid-template-columns: repeat(6,minmax(0,1fr));
  }
  .originals.tiles {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .feature-art {
    right: 5%;
    width: 46%;
  }
  .feature {
    min-height: 315px;
  }
}
@media(max-width:1250px) {
  .floor {
    grid-template-columns: 165px minmax(0,1fr) 240px;
  }
  .top {
    gap: 18px;
    padding: 0 18px;
  }
  .top-links {
    display: none;
  }
  .main {
    padding: 24px 20px;
  }
  .side {
    padding: 20px 10px;
  }
  .side a {
    font-size: 11px;
    gap: 10px;
  }
  .benefit {
    padding: 11px 9px;
    gap: 7px;
  }
  .benefit small {
    font-size: 8px;
  }
  .benefit .icon {
    width: 19px;
  }
  .feature-copy {
    padding-left: 24px;
  }
  .feature {
    min-height: 275px;
  }
  .tiles {
    gap: 10px;
  }
  .poster-word {
    font-size: 19px;
  }
  .profile-link strong {
    display: none;
  }
}
@media(max-width:1050px) {
  .floor {
    grid-template-columns: 170px minmax(0,1fr);
  }
  .chat {
    display: none;
    position: fixed;
    right: 0;
    top: 76px;
    bottom: 0;
    width: 310px;
    z-index: 12;
    box-shadow: -20px 0 70px #0009;
  }
  .chat.open {
    display: flex;
  }
  .chat-close {
    display: block;
    margin-left: 8px;
  }
  .feature-art {
    width: 53%;
    right: 0;
  }
  .feature h2 {
    font-size: 44px;
  }
  .poster-word {
    font-size: 24px;
  }
}
@media(max-width:720px) {
  .top {
    height: 65px;
    padding: 0 15px;
    gap: 12px;
  }
  .brand {
    font-size: 20px;
  }
  .brand small {
    display: none;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
    font-size: 23px;
    border-radius: 9px;
  }
  .wallet {
    margin-left: auto;
    gap: 7px;
    padding: 5px 8px;
    background: var(--panel);
  }
  .wallet b {
    font-size: 12px;
  }
  .wallet small,.wallet-link,.top>.grow,.profile-link {
    display: none;
  }
  .top-chat {
    padding: 4px;
  }
  .floor {
    display: block;
    min-height: calc(100vh - 65px);
  }
  .side {
    display: none;
  }
  .main {
    padding: 21px 16px 88px;
  }
  .welcome {
    margin-bottom: 17px;
  }
  .welcome h1 {
    font-size: 18px;
  }
  .welcome p {
    font-size: 10px;
  }
  .status-pill {
    font-size: 8px;
    padding: 6px 8px;
  }
  .feature {
    min-height: 268px;
    grid-template-columns: 1fr;
  }
  .feature-copy {
    padding: 26px 0 24px 22px;
    max-width: 68%;
  }
  .feature h2 {
    font-size: 36px;
    margin-top: 13px;
    margin-bottom: 15px;
    letter-spacing: -1.3px;
  }
  .feature .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .feature-copy>p:not(.eyebrow) {
    font-size: 10px;
    max-width: 170px;
  }
  .feature-art {
    width: 65%;
    right: -21%;
    top: 7%;
    height: 91%;
    opacity: .9;
  }
  .feature .cta {
    font-size: 11px;
    padding: 11px 14px;
  }
  .feature-footer {
    display: none;
  }
  .benefits {
    gap: 7px;
    margin: 13px 0 22px;
  }
  .benefit {
    display: block;
    text-align: center;
    padding: 11px 4px;
  }
  .benefit .icon {
    margin-bottom: 5px;
    width: 18px;
    height: 18px;
  }
  .benefit b {
    font-size: 9px;
  }
  .benefit small {
    font-size: 7px;
    margin-top: 3px;
  }
  .tiles {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px 12px;
  }
  .originals.tiles {
    grid-template-columns: repeat(4,145px);
    overflow: auto;
    padding: 2px 0 8px;
    scroll-snap-type: x mandatory;
  }
  .originals .tile {
    scroll-snap-align: start;
  }
  .poster-word {
    font-size: 22px;
  }
  .tile-caption strong {
    font-size: 11px;
  }
  .section-heading {
    margin-top: 23px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading>a {
    font-size: 10px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
  }
  .filter-bar {
    gap: 12px;
  }
  .search {
    max-width: none;
    flex-basis: 100%;
    order: -1;
  }
  .search input {
    padding: 12px 0;
    font-size: 12px;
  }
  .filter {
    font-size: 10px;
    padding: 8px 10px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--panel);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 9px 5px max(9px,env(safe-area-inset-bottom));
    z-index: 15;
  }
  .mobile-nav a,.mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 9px;
    background: none;
    border: 0;
    min-width: 55px;
  }
  .mobile-nav .on {
    color: var(--accent-text);
  }
  .mobile-nav .icon {
    width: 20px;
    height: 20px;
  }
  .chat {
    top: 65px;
    bottom: 67px;
    height: auto;
    width: min(100%,360px);
  }
  .page-footer {
    font-size: 9px;
    gap: 15px;
  }
  .page-footer .brand {
    display: none;
  }
  .table-heading {
    gap: 10px;
  }
  .table-heading h1 {
    font-size: 22px;
  }
  .table-heading .muted {
    font-size: 8px;
  }
  .game-surface {
    min-height: 310px;
    padding: 24px 16px;
  }
  .game-surface:before {
    inset: 10px;
    border-radius: 60px;
  }
  .bet-panel {
    padding: 19px 16px;
  }
  .stake-row {
    gap: 9px;
    align-items: start;
  }
  .stake-hint {
    font-size: 8px;
    max-width: 78px;
    padding-top: 22px;
  }
  .stake-picks {
    gap: 9px;
  }
  .stake-picks .pick span {
    width: 43px;
    height: 43px;
    min-width: 43px;
    min-height: 43px;
    font-size: 10px;
    color: var(--raised-text);
  }
  .choice-play {
    padding: 11px;
    font-size: 13px;
    gap: 8px;
  }
  .choice-play .art {
    width: 32px;
    height: 32px;
  }
  .playing-card {
    width: 54px;
    height: 79px;
    font-size: 16px;
    padding: 5px 7px;
  }
  .playing-card .suit {
    font-size: 27px;
  }
  .mines {
    max-width: 300px;
    gap: 7px;
  }
  .board-actions {
    gap: 7px;
  }
  .board-actions button {
    min-width: 62px;
    padding: 10px;
  }
  .account-grid {
    gap: 8px;
  }
  .stat {
    padding: 13px;
  }
  .stat strong {
    font-size: 19px;
  }
  .stat small {
    font-size: 9px;
  }
  .rewards {
    grid-template-columns: 1fr;
  }
  .data-table {
    font-size: 10px;
  }
  .data-table td,.data-table th {
    padding: 10px 5px;
  }
  .gate-wrap {
    padding: 20px 16px;
  }
  .gate-header {
    padding-bottom: 24px;
  }
  .gate-header p {
    font-size: 9px;
    max-width: 105px;
    text-align: right;
  }
  .gate-wrap .feature {
    min-height: 380px;
  }
  .gate-wrap .feature-copy {
    padding: 32px 0 32px 23px;
    max-width: 80%;
  }
  .gate-wrap .feature h2 {
    font-size: 46px;
  }
  .gate-wrap .feature-copy>p:not(.eyebrow) {
    font-size: 12px;
    max-width: 205px;
  }
  .gate-wrap .feature-art {
    width: 71%;
    right: -24%;
    top: 29%;
    height: 65%;
    opacity: .7;
  }
  .gate-wrap .tiles {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .gate-wrap .poster {
    aspect-ratio: 1/1.1;
  }
  .gate-wrap .poster-word {
    font-size: 24px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
.slot-reels {
  display: flex;
  gap: 9px;
  justify-content: center;
  padding: 15px;
  border: 7px solid #a98441;
  border-radius: 16px;
  background: #282720;
  box-shadow: 0 6px 0 #5e472b;
}
.reel {
  width: 64px;
  height: 85px;
  background: linear-gradient(#bebcaf,#fffef0 35%,#efedde 65%,#b7b3a2);
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 33px;
  color: #29392a;
  box-shadow: inset 0 3px 8px #0002;
}
.scratch-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
}
.scratch-grid .reel {
  width: 54px;
  height: 54px;
  font-size: 25px;
}
.reel.hit {
  outline: 3px solid #c8f596;
}
.number-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 430px;
}
.number-ball {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: 50%;
  background: #34472f;
  border: 1px solid #72845e;
  color: #d7e4c8;
  font-weight: 800;
  box-shadow: 0 3px 0 #172518;
}
.number-ball.hit {
  background: #bee47d;
  color: #233817;
  border-color: #dcffb0;
}
.dice-faces .number-ball {
  border-radius: 8px;
  background: var(--text);
  color: #253823;
  font-size: 24px;
  width: 46px;
  height: 46px;
}
.bingo-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.draw-group {
  margin: 8px 0;
}
.draw-group .hand-label {
  margin-bottom: 12px;
}
.rps-showdown {
  display: flex;
  gap: 25px;
  align-items: center;
}
.rps-showdown>div {
  text-align: center;
  padding: 18px;
  background: #31482d;
  border: 1px solid #506a44;
  border-radius: 12px;
}
.case-prize {
  text-align: center;
}
.case-prize>.art {
  width: 190px;
  height: 180px;
}
.table-scroll {
  overflow: auto;
}
.table-scroll caption {
  text-align: left;
  padding: 12px 0;
}
@media(max-width:720px) {
  .feature-copy {
    max-width: 80%;
  }
  .feature h2 {
    font-size: 34px;
  }
  .feature-art {
    right: -26%;
    top: 17%;
    height: 85%;
  }
  .reel {
    width: 54px;
    height: 72px;
    font-size: 29px;
  }
  .rps-showdown {
    gap: 12px;
  }
  .number-ball {
    min-width: 30px;
    height: 30px;
    font-size: 12px;
  }
}
.economy-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin: 20px 0;
}
.asset-card {
  padding: 23px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.asset-card h2,.asset-card h3 {
  margin: 17px 0 9px;
}
.asset-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.asset-icon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  border-radius: 13px;
  color: var(--accent-soft-text);
}
.asset-icon .icon {
  width: 28px;
  height: 28px;
}
.asset-price {
  color: var(--gold);
  font-size: 25px;
  font-weight: 800;
  margin: 15px 0;
}
.asset-price small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
.asset-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: end;
}
.asset-actions label {
  display: grid;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  flex: 1;
}
.asset-actions select {
  max-width: 100%;
  font-size: 11px;
}
.asset-actions button {
  font-size: 11px;
}
.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.member-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.member-row form {
  margin-left: auto;
}
.member-row small {
  color: var(--muted);
}
.member-row .ghost {
  font-size: 10px;
}
.economy-grid .empty {
  grid-column: 1/-1;
}
@media(max-width:720px) {
  .economy-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .asset-card {
    padding: 20px;
  }
  .asset-price {
    font-size: 23px;
  }
}
/* Optical refinement: scalable vectors, readable balances, restrained motion. */
:root {
  --muted: #adb8ae;
}
body {
  text-rendering: optimizeLegibility;
}
.account-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.stat {
  min-width: 0;
  container-type: inline-size;
}
.stat small {
  font-size: 12px;
}
.stat strong {
  font-variant-numeric: tabular-nums;
  /* Fit signed 64-bit totals without splitting digits across lines. */
  font-size: clamp(16px, 7cqi, 24px);
  white-space: nowrap;
  overflow-wrap: normal;
}
.art, .wallet-coin {
  shape-rendering: geometricPrecision;
}
.wallet {
  gap: 12px;
  min-height: 58px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 3px 12px #0000000d;
}
.wallet-coin {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
.wallet-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wallet .wallet-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
}
.wallet-amount {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.wallet b {
  font-size: 23px;
  line-height: 1.1;
  font-weight: 750;
  color: var(--text);
  letter-spacing: .2px;
}
.wallet-amount small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .6px;
}
.wallet .wallet-link {
  font-size: 12px;
  padding: 10px 12px;
  margin-left: 6px;
  background: var(--green);
  color: var(--ink);
  border: 1px solid var(--green);
}
.wallet .wallet-link:hover {
  background: var(--green);
}
.side a {
  font-size: 13px;
}
.top-links {
  font-size: 13px;
}
.nav-label {
  color: var(--muted);
  font-size: 10px;
}
.welcome p, .feature-copy>p:not(.eyebrow), .asset-card p {
  font-size: 14px;
}
.benefit b {
  font-size: 13px;
}
.benefit small {
  font-size: 11px;
}
.asset-actions label, .asset-actions select, .asset-actions button {
  font-size: 13px;
}
.poster {
  border-color: #ffffff24;
  box-shadow: inset 0 1px 0 #ffffff12, 0 5px 16px #0002;
}
.poster-small {
  font-size: 9px;
  opacity: .85;
  letter-spacing: 1.3px;
}
.poster-badge {
  font-size: 10px;
}
.poster-word {
  text-shadow: 0 2px 3px #0005;
  letter-spacing: -.5px;
}
.poster-art {
  transition: transform 240ms cubic-bezier(.2,.7,.25,1);
}
/* Avoid scaling a composited SVG layer on hover; its native geometry stays crisp. */
.tile:hover .poster-art {
  transform: translateY(-4px);
}
.idle-art {
  filter: none;
}
button, .cta, .ghost {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
@media (max-width: 1000px) {
  .wallet {
    gap: 9px;
    background: var(--panel);
  }
  .wallet b {
    font-size: 21px;
  }
}
@media (max-width: 720px) {
  .top {
    padding: 0 12px;
    gap: 10px;
    height: 76px;
  }
  .top .brand {
    font-size: 19px;
    gap: 7px;
  }
  .top .brand small {
    display: none;
  }
  .wallet {
    padding: 7px 9px;
    gap: 7px;
    min-height: 54px;
    margin-left: auto;
    background: var(--panel);
  }
  .wallet-coin {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .wallet b {
    font-size: clamp(16px, 4.7vw, 21px);
  }
  .wallet .wallet-label {
    display: block;
    font-size: 10px;
  }
  .wallet-amount small {
    display: inline;
    font-size: 9px;
  }
  .wallet-amount {
    gap: 4px;
  }
  .wallet .wallet-link {
    display: none;
  }
  .top-chat {
    padding: 5px;
  }
  .poster-small {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile:hover, .tile:hover .poster-art {
    transform: none;
  }
}
/* One editable amount is submitted; quick chips only fill that same field. */
.stake-control {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}
.stake-control legend {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.custom-stake {
  display: grid;
  gap: 7px;
  width: min(100%, 240px);
  color: var(--muted);
  font-size: 12px;
}
.custom-stake input {
  width: 100%;
  min-width: 0;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.stake-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 16px 0 12px;
}
.stake-chip {
  width: 49px;
  height: 49px;
  padding: 3px;
  border: 3px dashed var(--accent-border);
  border-radius: 50%;
  background: var(--raised);
  color: var(--raised-text);
  font-size: 11px;
  font-weight: 750;
  box-shadow: 0 3px 0 var(--line), inset 0 0 0 2px var(--panel);
}
.stake-chip[aria-pressed=true] {
  background: var(--green);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--green), 0 3px 0 var(--line), inset 0 0 0 2px var(--green);
}
#stake-help {
  display: block;
  max-width: 330px;
  line-height: 1.6;
  font-size: 12px;
}
.profile-saved {
  color: var(--positive);
  font-size: 14px;
}
.bet input[aria-invalid=true] {
  border-color: var(--red);
}
@media (max-width: 720px) {
  .stake-row {
    flex-wrap: wrap;
  }
  .stake-control {
    flex-basis: 100%;
  }
  .stake-hint {
    max-width: none;
    padding-top: 0;
    font-size: 11px;
  }
  .bet input {
    max-width: 100%;
    font-size: 16px;
  }
  .mobile-nav > a, .mobile-nav > button, .mobile-more {
    flex: 1;
    min-width: 0;
  }
  .mobile-nav > a, .mobile-nav > button, .mobile-more summary {
    min-height: 44px;
    justify-content: center;
  }
  .mobile-more {
    position: relative;
  }
  .mobile-more summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    list-style: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 9px;
  }
  .mobile-more summary::-webkit-details-marker {
    display: none;
  }
  .mobile-more.on summary, .mobile-more[open] summary {
    color: var(--accent-text);
  }
  .mobile-more-links {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: 240px;
    max-width: calc(100vw - 32px);
    padding: 8px;
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    background: var(--panel);
    box-shadow: 0 -10px 30px #0005;
  }
  .mobile-more-links a {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--text);
    font-size: 14px;
  }
  .mobile-more-links a:hover, .mobile-more-links a[aria-current=page] {
    color: var(--accent-soft-text);
    background: var(--accent-soft);
  }
  .mobile-more summary:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 6px;
  }
  .chat {
    top: 76px;
  }
}
/* Theme surfaces: the canvas and panels may use opposite light/dark palettes. */
body {
  --text: var(--canvas-text);
  --muted: var(--canvas-muted);
  --focus: var(--canvas-focus);
  font-family: Inter, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
:where(.top, .side, .chat, .mobile-nav, .mobile-more-links, .wallet, .benefit, .search, .table, .stat, .reward, .asset-card, .game-table, .table-scroll, .data-table, .table-heading .back, .theme-color-card, .theme-preview) {
  --text: var(--panel-text);
  --muted: var(--panel-muted);
  --focus: var(--panel-focus);
  color: var(--text);
}
:where(.table, .reward, .asset-card, .appearance) .eyebrow {
  color: var(--accent-text);
}
.table-scroll, .data-table {
  background: var(--panel);
}
.section-heading .eyebrow {
  background: var(--panel);
}
input, select, textarea {
  color: var(--raised-text);
  caret-color: var(--raised-text);
  accent-color: var(--green);
}
input::placeholder, textarea::placeholder {
  color: var(--raised-muted);
  opacity: 1;
}
input:disabled, select:disabled {
  cursor: not-allowed;
  opacity: .65;
}
input:hover:not(:disabled), select:hover:not(:disabled) {
  border-color: var(--accent-border);
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
button, .playbtn, .cta, .ghost {
  touch-action: manipulation;
}
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.playbtn, .cta {
  min-height: 44px;
  box-shadow: 0 2px 0 #00000012;
}
.playbtn:hover:not(:disabled), .cta:hover {
  box-shadow: inset 0 0 0 2px var(--ink), 0 3px 8px #00000012;
}
.ghost:hover:not(:disabled) {
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}
.notice {
  line-height: 1.65;
  border-inline-start-width: 4px;
  overflow-wrap: anywhere;
}
.top {
  box-shadow: 0 1px 12px #0000000a;
}
.brand-mark {
  box-shadow: 0 3px 0 #00000016;
}
.top-links a, .side a, .room-tab, .filter {
  transition: background-color 160ms ease, color 160ms ease;
}
.top-links a:hover, .page-footer a:hover, .section-heading > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.side a.on {
  box-shadow: inset 3px 0 0 var(--green);
}
.side a .count {
  border: 1px solid var(--accent-border);
}
.wallet {
  min-width: 0;
  background: var(--panel);
}
.wallet-amount {
  min-width: 0;
}
.wallet b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet .wallet-link:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}
.avatar {
  border: 1px solid var(--accent-border);
}
.status-pill {
  color: var(--canvas-text);
  background: transparent;
}
.welcome p {
  line-height: 1.65;
}
.benefit, .stat, .reward, .asset-card, .table {
  box-shadow: 0 3px 14px #00000006;
}
.section-heading h2 {
  line-height: 1.4;
}
.tile-caption {
  padding-block: 11px 3px;
}
.tile-caption strong {
  font-size: 12px;
}
.tile-caption small {
  font-size: 10px;
}
.filter:hover:not([aria-pressed=true]) {
  background: var(--panel);
  color: var(--panel-text);
}
.filter[aria-pressed=true] {
  background: var(--green);
  color: var(--ink);
}
.search:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.search input:focus-visible {
  outline: none;
}
.data-table {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.data-table th {
  font-weight: 650;
}
.data-table td {
  line-height: 1.65;
}
.table-scroll {
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) var(--panel);
}
.table-scroll caption {
  padding-inline: 12px;
}
.chat-status, .chat-meta, #chat-log time {
  font-size: 10px;
}
.chat-note, .chat-empty {
  font-size: 11px;
}
#chat-log {
  scrollbar-color: var(--line) var(--panel);
}
#chat-log strong, #chat-log p {
  font-size: 12px;
}
.composer input {
  color: var(--raised-text);
}
.composer:focus-within {
  border-color: var(--panel-focus);
}
.bet-panel {
  background: var(--panel);
}
.picks legend, .number-field, .stake-hint, .game-tools, .game-tools button {
  font-size: 12px;
}
.pick span {
  min-height: 44px;
  color: var(--raised-text);
}
.pick input:checked+span {
  box-shadow: inset 0 0 0 1px var(--accent-border);
}
.stake-chip:hover:not(:disabled) {
  outline: 2px solid var(--accent-border);
  outline-offset: 2px;
}
.confirmation-panel {
  padding-block: 30px;
}
.confirmation-panel h2 {
  max-width: 32ch;
  line-height: 1.35;
}
.confirmation-panel .board-actions {
  justify-content: flex-start;
}
.account-grid .stat small {
  font-size: 12px;
  line-height: 1.5;
}
.stat strong {
  letter-spacing: -.6px;
}
.bet label, .name label {
  font-size: 13px;
}
.bet input, .name input {
  width: 100%;
}
.reward p {
  font-size: 13px;
  line-height: 1.7;
}
.asset-icon {
  border: 1px solid var(--accent-border);
}
.asset-card h2, .asset-card h3 {
  line-height: 1.35;
}
.asset-actions button, .asset-actions select {
  min-height: 44px;
}
.member-row {
  flex-wrap: wrap;
}
/* Artwork and table felt are deliberately independent of a personal palette. */
.feature, .poster, .game-surface {
  --text: #f2f3e9;
  --muted: #b8c7b2;
  --focus: #e5f4d0;
  color: var(--text);
}
.feature .eyebrow {
  color: #cfebaf;
}
.poster {
  color: #f8faee;
}
.game-surface {
  --positive: #c8f596;
  --red: #f6b2b2;
  --gold: #efd597;
  --focus: #e5f4d0;
}
.game-surface .ghost {
  background: #304638;
  color: #f2f3e9;
  border-color: #78916f;
}
.game-surface .ghost:hover:not(:disabled) {
  background: #405845;
  color: #ffffff;
  border-color: #b0c9a1;
}
.felt-label {
  color: #b8c7b2;
}
.hand-label, .surface-title, .result small {
  color: #c8d8c0;
}
.result, .result.loss, .result.push {
  color: #f2f3e9;
}
.result .result-value {
  color: #c8f596;
}
.result.loss .result-value {
  color: #f6b2b2;
}
.result.push .result-value {
  color: #efd597;
}
.dice-faces .number-ball {
  background: #f2f3e9;
}
/* Personal appearance editor: native color control plus optional exact values. */
.appearance {
  padding: clamp(20px, 3vw, 30px);
}
.appearance-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.appearance-heading h2 {
  margin-bottom: 8px;
  font-size: 22px;
}
.appearance-heading p {
  color: var(--muted);
  max-width: 55ch;
  margin-bottom: 0;
  line-height: 1.7;
}
.theme-personal, .theme-sample-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-text);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}
.theme-personal {
  flex-shrink: 0;
}
.theme-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 20px 26px;
}
.theme-preset {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}
.theme-preset:hover {
  border-color: var(--accent-border);
  background: var(--raised);
  color: var(--raised-text);
}
.theme-preset[aria-pressed=true] {
  border-color: var(--accent-border);
  box-shadow: inset 0 0 0 1px var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-soft-text);
}
.theme-swatch {
  display: flex;
  flex: 0 0 38px;
  height: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.theme-swatch span {
  flex: 1;
  min-width: 0;
}
.theme-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.theme-color-card {
  min-width: 0;
  margin: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
}
.theme-color-card legend {
  padding-inline: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}
.theme-picker-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.theme-picker-row input[type=color] {
  display: block;
  width: 58px;
  height: 58px;
  min-width: 44px;
  flex: 0 0 58px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  cursor: pointer;
}
.theme-picker-row input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.theme-picker-row input[type=color]::-webkit-color-swatch {
  border: 0;
  border-radius: 6px;
}
.theme-picker-row input[type=color]::-moz-color-swatch {
  border: 0;
  border-radius: 6px;
}
.theme-hex {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
}
.theme-hex input {
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 14px;
  letter-spacing: .2px;
}
.theme-rgb {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.theme-rgb label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}
.theme-rgb input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.theme-preview {
  margin-block: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 5px 18px #00000008;
}
.theme-preview-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.theme-preview h3 {
  color: var(--text);
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 9px;
}
.theme-preview p {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 18px;
}
.theme-sample-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 11px 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}
.theme-sample-button:disabled {
  opacity: 1;
  cursor: default;
}
.theme-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}
.theme-actions button {
  min-height: 44px;
}
#theme-status {
  min-height: 1.6em;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 14px 0 0;
}
#theme-error {
  margin-bottom: 20px;
}
.theme-color-card input[aria-invalid=true] {
  border-color: var(--red);
}
@media (max-width: 1250px) {
  .theme-fields {
    grid-template-columns: 1fr;
  }
  .theme-color-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 18px;
  }
  .theme-rgb {
    margin-top: 0;
  }
}
@media (max-width: 720px) {
  .floor {
    min-height: calc(100vh - 76px);
  }
  .top-chat, .chat-close {
    min-height: 40px;
  }
  .benefit b {
    font-size: 12px;
    line-height: 1.4;
  }
  .benefit small {
    font-size: 10px;
    line-height: 1.5;
  }
  .benefit {
    padding: 12px 7px;
  }
  .tile-caption strong {
    font-size: 12px;
  }
  .filter {
    min-height: 42px;
    font-size: 12px;
  }
  .table {
    padding: 18px;
  }
  .bet label, .name label {
    width: 100%;
    min-width: 0;
  }
  .data-table {
    font-size: 11px;
  }
  .table-heading {
    flex-wrap: wrap;
  }
  .table-heading .muted {
    margin-left: 0;
  }
  .chat input, .search input, .number-field input, .theme-rgb input, .theme-hex input {
    font-size: 16px;
  }
  .appearance-heading {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
  }
  .theme-presets {
    gap: 8px;
    margin-block: 18px 24px;
  }
  .theme-preset {
    flex: 1 1 calc(50% - 8px);
    font-size: 12px;
  }
  .theme-color-card {
    display: block;
    padding: 15px;
  }
  .theme-rgb {
    margin-top: 16px;
  }
  .theme-preview {
    padding: 19px;
  }
  .theme-actions button {
    flex: 1 1 auto;
  }
  .confirmation-panel .board-actions button {
    flex: 1;
  }
}
@media (max-width: 380px) {
  .main {
    padding-inline: 12px;
  }
  .top {
    padding-inline: 10px;
    gap: 8px;
  }
  .top .brand {
    font-size: 17px;
    gap: 6px;
  }
  .theme-preset {
    flex-basis: 100%;
  }
  .theme-actions button {
    width: 100%;
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile:hover, .tile:hover .poster-art {
    transform: none;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Enhancement must never reveal an explicitly hidden control. */
[hidden] {
  display: none !important;
}
/* Inputs sit on raised fills; transparent inputs inherit their actual surface. */
.search input {
  color: var(--panel-text);
  caret-color: var(--panel-text);
}
.search input::placeholder {
  color: var(--panel-muted);
}
.composer {
  --text: var(--raised-text);
  --muted: var(--raised-muted);
  --focus: var(--raised-text);
  color: var(--text);
}
