/* ==========================================================================
   table-game-app.cfd - shared stylesheet
   Canvas: 320-430px mobile-first, centered phone canvas on wide screens.
   Palette: #FF1493 / #141414 / #FF8C00 / #880E4F / #FFF8DC
   Design tone: bold compact headings + light body, low-radius sectioned
   zones, pure image cards with short names, fact-summary-then-expand
   rhythm, state-color-only motion, solid primary + outlined secondary CTA.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --view20485-c-page: #0e0c0d;      /* page behind the canvas */
  --view20485-c-bg: #141414;        /* canvas background */
  --view20485-c-panel: #1e181b;     /* raised panel */
  --view20485-c-panel-2: #241d21;   /* icon tile fill */
  --view20485-c-pink: #FF1493;      /* primary action */
  --view20485-c-orange: #FF8C00;    /* focus / accent */
  --view20485-c-plum: #880E4F;      /* deep section tone */
  --view20485-c-cream: #FFF8DC;     /* main text */
  --view20485-c-dim: rgba(255, 248, 220, 0.70);
  --view20485-c-faint: rgba(255, 248, 220, 0.50);
  --view20485-c-line: #3b3136;      /* hairline */
  --view20485-c-ink: #141414;       /* text on solid pink */
  --view20485-radius: 4px;
  --view20485-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0 auto;
  max-width: 430px;                 /* phone canvas */
  min-height: 100vh;
  background: var(--view20485-c-bg);
  color: var(--view20485-c-cream);
  font-family: var(--view20485-font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

@media (min-width: 431px) {
  body {
    box-shadow: 0 0 0 1px var(--view20485-c-line), 0 0 44px rgba(0, 0, 0, 0.65);
  }
}

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

a { color: var(--view20485-c-pink); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

button { font-family: inherit; }

*:focus-visible {
  outline: 2px solid var(--view20485-c-orange);
  outline-offset: 2px;
}

.view20485-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--view20485-c-orange);
  color: var(--view20485-c-ink);
  padding: 10px 14px;
  font-weight: 800;
  z-index: 200;
}
.view20485-skip:focus { left: 8px; top: 8px; }

/* ==========================================================================
   Top bar: minimal title + action band
   ========================================================================== */
.view20485-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  z-index: 120;
  background: linear-gradient(180deg, #191416 0%, #141414 100%);
  border-bottom: 1px solid var(--view20485-c-line);
}

.view20485-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 56px;
  padding: 6px 10px;
}

.view20485-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
}

.view20485-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--view20485-radius);
  border: 1px solid var(--view20485-c-line);
  flex: 0 0 auto;
}

.view20485-brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--view20485-c-cream);
  white-space: nowrap;
}
.view20485-brand:hover .view20485-brand-name { color: var(--view20485-c-pink); }

.view20485-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* ---------- buttons ---------- */
.view20485-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--view20485-radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.view20485-btn-solid {
  background: var(--view20485-c-pink);
  border: 1px solid var(--view20485-c-pink);
  color: var(--view20485-c-ink);
}
.view20485-btn-solid:hover, .view20485-btn-solid:active {
  background: var(--view20485-c-orange);
  border-color: var(--view20485-c-orange);
  color: var(--view20485-c-ink);
  text-decoration: none;
}
.view20485-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 20, 147, 0.85);
  color: var(--view20485-c-cream);
}
.view20485-btn-ghost:hover, .view20485-btn-ghost:active {
  background: rgba(136, 14, 79, 0.35);
  border-color: var(--view20485-c-orange);
  color: var(--view20485-c-cream);
  text-decoration: none;
}
.view20485-btn-compact { min-height: 36px; padding: 0 10px; font-size: 12px; }

.view20485-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--view20485-c-line);
  border-radius: var(--view20485-radius);
  cursor: pointer;
  color: var(--view20485-c-cream);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.view20485-menu-btn:hover { border-color: var(--view20485-c-pink); color: var(--view20485-c-pink); }
.view20485-menu-ico { display: block; width: 18px; height: 12px; position: relative; }
.view20485-menu-ico span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}
.view20485-menu-ico span:nth-child(1) { top: 0; }
.view20485-menu-ico span:nth-child(2) { top: 5px; }
.view20485-menu-ico span:nth-child(3) { top: 10px; }

/* ---------- layered dropdown menu ---------- */
.view20485-menu {
  position: fixed;
  top: 57px;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  max-height: 0;
  overflow: hidden;
  background: #191416;
  border-bottom: 1px solid transparent;
  z-index: 110;
  transition: max-height 0.25s ease, border-color 0.25s ease;
}
.view20485-menu.view20485-is-open {
  max-height: 78vh;
  overflow-y: auto;
  border-bottom-color: var(--view20485-c-plum);
}
.view20485-menu-group { padding: 6px 14px 2px; }
.view20485-menu-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--view20485-c-orange);
  padding: 8px 0 2px;
}
.view20485-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(59, 49, 54, 0.55);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--view20485-c-cream);
}
.view20485-menu-link:hover, .view20485-menu-link:focus-visible {
  color: var(--view20485-c-pink);
  text-decoration: none;
}
.view20485-menu-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--view20485-c-plum);
  border-right: 2px solid var(--view20485-c-plum);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.view20485-menu-link:hover::after { border-color: var(--view20485-c-pink); }
.view20485-menu-note {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 11px;
  color: var(--view20485-c-faint);
}

.view20485-scrim {
  position: fixed;
  inset: 57px 0 0 0;
  background: rgba(10, 8, 9, 0.66);
  z-index: 105;
  display: none;
}
.view20485-scrim.view20485-is-open { display: block; }

/* ==========================================================================
   Main canvas
   ========================================================================== */
.view20485-main {
  padding: 68px 12px calc(96px + env(safe-area-inset-bottom, 0px));
}

/* ---------- hero ---------- */
.view20485-hero { padding: 8px 0 2px; }
.view20485-h1 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--view20485-c-cream);
}
.view20485-h1 em {
  font-style: normal;
  color: var(--view20485-c-pink);
}
.view20485-lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--view20485-c-dim);
}
.view20485-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.view20485-cta-row .view20485-btn { flex: 1 1 140px; }

/* ---------- banner carousel ---------- */
.view20485-carousel {
  margin: 16px 0 4px;
}
.view20485-cframe {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--view20485-radius);
  overflow: hidden;
  border: 1px solid var(--view20485-c-line);
  background: var(--view20485-c-panel);
}
.view20485-cslide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.view20485-cslide.view20485-is-on {
  opacity: 1;
  visibility: visible;
}
.view20485-cslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view20485-ccap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.88) 78%);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  color: var(--view20485-c-cream);
  letter-spacing: 0.02em;
}
.view20485-cdots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.view20485-cdot {
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.view20485-cdot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 248, 220, 0.45);
  transition: background-color 0.2s ease;
}
.view20485-cdot.view20485-is-on::before { background: var(--view20485-c-pink); }

/* ---------- fact strip ---------- */
.view20485-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 4px;
}
.view20485-fact {
  background: var(--view20485-c-panel);
  border: 1px solid var(--view20485-c-line);
  border-left: 3px solid var(--view20485-c-pink);
  border-radius: var(--view20485-radius);
  padding: 8px 10px;
}
.view20485-fact b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--view20485-c-cream);
  line-height: 1.3;
}
.view20485-fact span {
  font-size: 10.5px;
  color: var(--view20485-c-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.view20485-factnote {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--view20485-c-faint);
}

/* ==========================================================================
   Section blocks (shared)
   ========================================================================== */
.view20485-block {
  margin: 22px 0 0;
}
.view20485-h2 {
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 4px solid var(--view20485-c-pink);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 800;
  color: var(--view20485-c-cream);
}
.view20485-sum {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--view20485-c-cream);
}
.view20485-body {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--view20485-c-dim);
}
.view20485-body a { font-weight: 700; }

/* ---------- numbered steps ---------- */
.view20485-steps {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  counter-reset: view20485-step;
}
.view20485-steps li {
  counter-increment: view20485-step;
  position: relative;
  padding: 0 0 10px 38px;
  font-size: 13.5px;
  color: var(--view20485-c-dim);
}
.view20485-steps li::before {
  content: counter(view20485-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--view20485-c-plum);
  color: var(--view20485-c-cream);
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--view20485-radius);
}
.view20485-steps li b { color: var(--view20485-c-cream); }

/* ---------- expandable criteria (fact summary then expand) ---------- */
.view20485-item {
  border: 1px solid var(--view20485-c-line);
  border-left: 3px solid var(--view20485-c-orange);
  border-radius: var(--view20485-radius);
  background: var(--view20485-c-panel);
  margin: 0 0 8px;
}
.view20485-item summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--view20485-c-cream);
  transition: color 0.15s ease;
}
.view20485-item summary::-webkit-details-marker { display: none; }
.view20485-item summary:hover { color: var(--view20485-c-pink); }
.view20485-item summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 800;
  color: var(--view20485-c-pink);
  transition: color 0.15s ease;
}
.view20485-item[open] summary::after { content: "\2013"; color: var(--view20485-c-orange); }
.view20485-item p {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 13px;
  color: var(--view20485-c-dim);
}

/* ---------- comparison table ---------- */
.view20485-tablewrap {
  border: 1px solid var(--view20485-c-line);
  border-radius: var(--view20485-radius);
  overflow: hidden;
}
.view20485-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.view20485-table th {
  text-align: left;
  padding: 9px 10px;
  background: var(--view20485-c-plum);
  color: var(--view20485-c-cream);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.view20485-table td {
  padding: 9px 10px;
  border-top: 1px solid rgba(59, 49, 54, 0.6);
  vertical-align: top;
  color: var(--view20485-c-dim);
}
.view20485-table td:first-child {
  color: var(--view20485-c-cream);
  font-weight: 800;
  white-space: normal;
  width: 34%;
}

/* ==========================================================================
   Game floors
   ========================================================================== */
.view20485-floor {
  margin: 18px 0 0;
}
.view20485-floor-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
}
.view20485-h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--view20485-c-cream);
}
.view20485-chip {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--view20485-c-orange);
  border: 1px solid rgba(255, 140, 0, 0.55);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.view20485-floor-note {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--view20485-c-dim);
}
.view20485-floor-note a { font-weight: 700; }

.view20485-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

/* pure image card + short name underneath */
.view20485-gcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  margin: 0;
  padding: 5px;
  background: var(--view20485-c-panel);
  border: 1px solid var(--view20485-c-line);
  border-radius: var(--view20485-radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.view20485-gcard:hover, .view20485-gcard:active {
  border-color: var(--view20485-c-pink);
  background: var(--view20485-c-panel-2);
}
.view20485-gcard-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: #100d0f;
}
.view20485-gcard-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--view20485-c-dim);
  min-height: 28px;
}
.view20485-gcard:hover .view20485-gcard-name { color: var(--view20485-c-cream); }

/* phone canvas breakpoint: widen grids inside the 430px canvas */
@media (min-width: 430px) {
  .view20485-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 8px; }
  .view20485-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .view20485-gcard-name { font-size: 11px; }
  .view20485-h1 { font-size: 27px; }
  .view20485-ccap { font-size: 14px; }
}

@media (max-width: 359px) {
  .view20485-gcard-name { font-size: 10px; }
  .view20485-btn-compact { padding: 0 8px; }
  .view20485-h1 { font-size: 22px; }
}

/* ==========================================================================
   Extended footer (home only)
   ========================================================================== */
.view20485-xfoot {
  margin: 26px 0 0;
  border-top: 3px solid var(--view20485-c-plum);
  background: #171315;
  border-radius: 0 0 var(--view20485-radius) var(--view20485-radius);
  padding: 14px 12px 12px;
}
.view20485-xlabel {
  display: block;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--view20485-c-orange);
}
.view20485-xdir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 0 0 14px;
}
.view20485-xdir a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--view20485-c-cream);
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}
.view20485-xdir a:hover, .view20485-xdir a:focus-visible { color: var(--view20485-c-pink); text-decoration: none; }
.view20485-xdir span {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--view20485-c-faint);
}
.view20485-xbrand {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--view20485-c-dim);
  border-left: 3px solid var(--view20485-c-pink);
  padding-left: 10px;
}
.view20485-xbrand b { color: var(--view20485-c-cream); }
.view20485-xpromos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.view20485-xpromos .view20485-btn { min-height: 48px; padding: 0 8px; font-size: 12px; text-align: center; }
.view20485-xdisclaimer {
  margin: 0;
  padding: 8px 10px;
  border-left: 3px solid var(--view20485-c-orange);
  background: rgba(255, 140, 0, 0.06);
  font-size: 11px;
  line-height: 1.5;
  color: var(--view20485-c-faint);
}

/* ==========================================================================
   Common footer + fixed bottom icon rack
   ========================================================================== */
.view20485-foot {
  margin: 18px 0 0;
  padding: 12px 0 4px;
  border-top: 1px solid var(--view20485-c-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--view20485-c-faint);
}
.view20485-foot b { color: var(--view20485-c-dim); font-weight: 700; }

.view20485-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: linear-gradient(180deg, #191416 0%, #100d0f 100%);
  border-top: 1px solid var(--view20485-c-line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.view20485-bitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  min-height: 52px;
  padding: 2px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--view20485-c-dim);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.view20485-bitem:hover { color: var(--view20485-c-cream); text-decoration: none; transform: translateY(-2px); }
.view20485-bitem:active { transform: translateY(-2px); }
.view20485-bico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--view20485-radius);
  background: var(--view20485-c-panel-2);
  border: 1px solid var(--view20485-c-line);
  color: var(--view20485-c-cream);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.view20485-bico svg { width: 17px; height: 17px; display: block; }
.view20485-blabel {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--view20485-c-faint);
  transition: color 0.15s ease;
}
/* active role: label emphasis + lifted icon tile */
.view20485-bitem:hover .view20485-blabel { color: var(--view20485-c-cream); }
.view20485-bitem.view20485-is-active .view20485-blabel {
  color: var(--view20485-c-pink);
  font-weight: 800;
}
.view20485-bitem.view20485-is-active .view20485-bico {
  border-color: var(--view20485-c-pink);
  color: var(--view20485-c-pink);
}
.view20485-bitem.view20485-is-cash .view20485-bico {
  border-color: rgba(255, 140, 0, 0.6);
  color: var(--view20485-c-orange);
}

/* ---------- motion budget: state colors only, respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .view20485-bitem:hover { transform: none; }
}
