/* ==========================================================================
   7s casino - mobile-first canvas stylesheet
   File   : css/7s-casino-canvas-dac89b.css
   Prefix : viewdac89-
   Canvas : stable 320-430px phone frame, centered on wide screens
   Palette: #2C3E50 ink / #D3D3D3 paper / #FFD700 gold
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --viewdac89-ink: #2c3e50;            /* canvas background */
  --viewdac89-ink-deep: #223140;       /* bars, panels */
  --viewdac89-ink-night: #1b2836;      /* fixed bars backdrop */
  --viewdac89-backdrop: #141e29;       /* page behind the canvas */
  --viewdac89-panel: rgba(255, 255, 255, 0.045);
  --viewdac89-panel-strong: rgba(255, 255, 255, 0.08);
  --viewdac89-paper: #d3d3d3;          /* primary text */
  --viewdac89-paper-dim: rgba(211, 211, 211, 0.74);
  --viewdac89-paper-faint: rgba(211, 211, 211, 0.52);
  --viewdac89-gold: #ffd700;           /* accent */
  --viewdac89-gold-deep: #e3be00;
  --viewdac89-gold-soft: rgba(255, 215, 0, 0.16);
  --viewdac89-gold-line: rgba(255, 215, 0, 0.42);
  --viewdac89-line: rgba(211, 211, 211, 0.16);
  --viewdac89-line-soft: rgba(211, 211, 211, 0.1);
  --viewdac89-ink-text: #223140;       /* text on gold */
  --viewdac89-radius-card: 12px;       /* light card rounding */
  --viewdac89-radius-tile: 10px;
  --viewdac89-radius-btn: 7px;         /* compact button rounding */
  --viewdac89-radius-chip: 999px;
  --viewdac89-font-head: "Trebuchet MS", "Seravek", "Gill Sans", "Avenir Next", "Segoe UI", sans-serif;
  --viewdac89-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --viewdac89-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
  --viewdac89-tap: 44px;               /* minimum touch target */
}

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

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

body {
  margin: 0;
  background: var(--viewdac89-backdrop);
  color: var(--viewdac89-paper);
  font-family: var(--viewdac89-font-body);
  font-size: 14.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  margin: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--viewdac89-gold); }

:focus-visible {
  outline: 2px solid var(--viewdac89-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--viewdac89-gold);
  color: var(--viewdac89-ink-text);
}

/* ---------- phone canvas ---------- */
.viewdac89-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% -8%, rgba(255, 215, 0, 0.07), transparent 60%),
    var(--viewdac89-ink);
  overflow-x: clip;
}

/* wide screens keep the centered phone frame with a quiet vignette */
@media (min-width: 480px) {
  body {
    background:
      radial-gradient(70% 40% at 50% 0%, rgba(255, 215, 0, 0.05), transparent 70%),
      var(--viewdac89-backdrop);
  }
  .viewdac89-shell {
    box-shadow: var(--viewdac89-shadow);
    border-inline: 1px solid var(--viewdac89-line-soft);
  }
}

/* ---------- fixed top bar (edge-aligned functional header) ---------- */
.viewdac89-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(27, 40, 54, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--viewdac89-gold-line);
}

.viewdac89-topbar::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg,
    var(--viewdac89-gold) 0%,
    rgba(255, 215, 0, 0.25) 45%,
    var(--viewdac89-gold) 100%);
}

.viewdac89-topbar__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
}

.viewdac89-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.viewdac89-brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--viewdac89-gold-line);
  object-fit: cover;
  flex: none;
}

.viewdac89-brand__name {
  font-family: var(--viewdac89-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--viewdac89-paper);
  white-space: nowrap;
}

.viewdac89-brand__name em {
  font-style: normal;
  color: var(--viewdac89-gold);
}

.viewdac89-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.viewdac89-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--viewdac89-tap);
  padding: 8px 14px;
  border-radius: var(--viewdac89-radius-btn);
  font-family: var(--viewdac89-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

.viewdac89-btn:active { transform: scale(0.96); }

.viewdac89-btn--gold {
  background: linear-gradient(180deg, var(--viewdac89-gold), var(--viewdac89-gold-deep));
  color: var(--viewdac89-ink-text);
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.22);
}

.viewdac89-btn--ghost {
  border: 1px solid var(--viewdac89-gold-line);
  color: var(--viewdac89-paper);
  background: rgba(255, 215, 0, 0.05);
}

.viewdac89-menu-btn {
  width: var(--viewdac89-tap);
  height: var(--viewdac89-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--viewdac89-radius-btn);
  border: 1px solid var(--viewdac89-line);
  color: var(--viewdac89-paper);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.viewdac89-menu-btn:active { transform: scale(0.94); }

.viewdac89-menu-btn svg { width: 20px; height: 20px; }

/* ---------- stacked menu overlay ---------- */
.viewdac89-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  background: rgba(20, 30, 41, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.viewdac89-overlay.viewdac89-is-open {
  opacity: 1;
  visibility: visible;
}

.viewdac89-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--viewdac89-line-soft);
}

.viewdac89-overlay__title {
  font-family: var(--viewdac89-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--viewdac89-gold);
}

.viewdac89-overlay__close {
  width: var(--viewdac89-tap);
  height: var(--viewdac89-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--viewdac89-line);
  border-radius: var(--viewdac89-radius-btn);
  color: var(--viewdac89-paper);
}

.viewdac89-overlay__close svg { width: 18px; height: 18px; }

.viewdac89-overlay__list {
  list-style: none;
  margin: 0;
  padding: 6px 0 26px;
  overflow-y: auto;
}

.viewdac89-overlay__list li {
  border-bottom: 1px solid var(--viewdac89-line-soft);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li {
  transform: translateY(0);
  opacity: 1;
}

.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(1) { transition-delay: 0.03s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(2) { transition-delay: 0.06s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(3) { transition-delay: 0.09s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(4) { transition-delay: 0.12s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(5) { transition-delay: 0.15s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(6) { transition-delay: 0.18s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(7) { transition-delay: 0.21s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(8) { transition-delay: 0.24s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(9) { transition-delay: 0.27s; }
.viewdac89-overlay.viewdac89-is-open .viewdac89-overlay__list li:nth-child(10) { transition-delay: 0.3s; }

.viewdac89-overlay__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--viewdac89-paper);
  font-family: var(--viewdac89-font-head);
  font-size: 15.5px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.viewdac89-overlay__link span {
  font-family: var(--viewdac89-font-body);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--viewdac89-paper-faint);
  text-align: right;
}

.viewdac89-overlay__link:active,
.viewdac89-overlay__link:hover {
  color: var(--viewdac89-gold);
  background: var(--viewdac89-gold-soft);
  padding-left: 24px;
}

body.viewdac89-no-scroll { overflow: hidden; }

/* ---------- main flow ---------- */
.viewdac89-main {
  padding-top: 62px;                    /* clears the fixed top bar */
  padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); /* clears the bottom rack */
}

.viewdac89-sec { padding: 24px 14px 4px; }

.viewdac89-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--viewdac89-gold);
  border: 1px solid var(--viewdac89-gold-line);
  border-radius: var(--viewdac89-radius-chip);
  padding: 3px 10px;
  margin-bottom: 10px;
}

.viewdac89-h2 {
  font-family: var(--viewdac89-font-head);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--viewdac89-paper);
}

.viewdac89-h2 em { font-style: normal; color: var(--viewdac89-gold); }

.viewdac89-p {
  margin: 0 0 12px;
  color: var(--viewdac89-paper-dim);
}

.viewdac89-p strong,
.viewdac89-branch__body strong { color: var(--viewdac89-paper); font-weight: 600; }

.viewdac89-p a,
.viewdac89-branch__body a,
.viewdac89-facts a {
  color: var(--viewdac89-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.viewdac89-p a:active,
.viewdac89-branch__body a:active { text-decoration-thickness: 2px; }

/* ---------- hero ---------- */
.viewdac89-hero {
  padding: 20px 14px 8px;
  background:
    radial-gradient(90% 60% at 85% -10%, rgba(255, 215, 0, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(255, 215, 0, 0.05), transparent 70%);
}

.viewdac89-h1 {
  font-family: var(--viewdac89-font-head);
  font-size: clamp(25px, 7.4vw, 31px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 8px 0 10px;
  color: var(--viewdac89-paper);
}

.viewdac89-h1 em { font-style: normal; color: var(--viewdac89-gold); }

.viewdac89-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.viewdac89-hero__stat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--viewdac89-paper-dim);
  border: 1px solid var(--viewdac89-line);
  border-radius: var(--viewdac89-radius-chip);
  padding: 3px 10px;
  background: var(--viewdac89-panel);
}

.viewdac89-hero__stat b { color: var(--viewdac89-gold); font-weight: 700; }

/* ---------- carousel ---------- */
.viewdac89-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: var(--viewdac89-radius-card);
  overflow: hidden;
  border: 1px solid var(--viewdac89-gold-line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.viewdac89-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.viewdac89-slide.viewdac89-is-on {
  opacity: 1;
  visibility: visible;
}

.viewdac89-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewdac89-slide__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  font-family: var(--viewdac89-font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--viewdac89-ink-text);
  background: linear-gradient(180deg, var(--viewdac89-gold), var(--viewdac89-gold-deep));
  border-radius: var(--viewdac89-radius-chip);
  padding: 4px 11px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.viewdac89-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 10px 0 2px;
}

.viewdac89-dot {
  width: 22px;
  height: 10px;
  border-radius: var(--viewdac89-radius-chip);
  background: var(--viewdac89-line);
  transition: background-color 0.25s ease, width 0.25s ease;
}

.viewdac89-dot.viewdac89-is-on {
  width: 34px;
  background: var(--viewdac89-gold);
}

/* staggered primary / secondary CTA pair */
.viewdac89-ctarow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
}

.viewdac89-ctarow .viewdac89-btn--gold {
  width: 78%;
  min-height: 50px;
  font-size: 15px;
}

.viewdac89-ctarow .viewdac89-btn--ghost {
  width: 56%;
  align-self: flex-end;
  min-height: 44px;
  font-size: 13px;
}

/* ---------- game groups (grouped cover cards) ---------- */
.viewdac89-group {
  background: var(--viewdac89-panel);
  border: 1px solid var(--viewdac89-line-soft);
  border-radius: var(--viewdac89-radius-card);
  padding: 12px 10px 12px;
  margin: 12px 0 4px;
}

.viewdac89-group__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px 10px;
  border-bottom: 1px dashed var(--viewdac89-line);
  margin-bottom: 11px;
}

.viewdac89-group__mark {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--viewdac89-gold);
  transform: rotate(45deg);
  flex: none;
}

.viewdac89-group__title {
  font-family: var(--viewdac89-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--viewdac89-paper);
  margin: 0;
}

.viewdac89-group__count {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--viewdac89-gold);
  border: 1px solid var(--viewdac89-gold-line);
  border-radius: var(--viewdac89-radius-chip);
  padding: 2px 9px;
  white-space: nowrap;
}

.viewdac89-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 8px;
}

/* 375-430px phones get the roomier 5-column track */
@media (min-width: 393px) {
  .viewdac89-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 9px; }
}

.viewdac89-cover {
  position: relative;
  border-radius: var(--viewdac89-radius-tile);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--viewdac89-line-soft);
  background: var(--viewdac89-ink-deep);
  transition: transform 0.12s ease, border-color 0.2s ease;
}

.viewdac89-cover:active {
  transform: scale(0.95);
  border-color: var(--viewdac89-gold);
}

@media (hover: hover) {
  .viewdac89-cover:hover { border-color: var(--viewdac89-gold-line); }
}

.viewdac89-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewdac89-cover__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 4px 4px;
  background: linear-gradient(180deg, transparent, rgba(20, 30, 41, 0.55) 30%, rgba(20, 30, 41, 0.94));
  color: var(--viewdac89-paper);
  font-size: 10px;
  line-height: 1.28;
  font-weight: 600;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------- scenario branch cards ---------- */
.viewdac89-branches {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
}

.viewdac89-branch {
  background: var(--viewdac89-panel);
  border: 1px solid var(--viewdac89-line-soft);
  border-left: 3px solid var(--viewdac89-gold);
  border-radius: var(--viewdac89-radius-card);
  padding: 12px 13px;
}

.viewdac89-branch__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--viewdac89-gold);
  background: var(--viewdac89-gold-soft);
  border-radius: var(--viewdac89-radius-chip);
  padding: 2px 9px;
  margin-bottom: 6px;
}

.viewdac89-branch__title {
  font-family: var(--viewdac89-font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--viewdac89-paper);
  margin: 0 0 4px;
}

.viewdac89-branch__body {
  margin: 0;
  font-size: 13.8px;
  color: var(--viewdac89-paper-dim);
}

/* ---------- checklist ---------- */
.viewdac89-checklist {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
}

.viewdac89-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: var(--viewdac89-tap);
  padding: 10px 2px;
  border-bottom: 1px dashed var(--viewdac89-line);
}

.viewdac89-checklist__item:last-child { border-bottom: 0; }

.viewdac89-checklist__tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--viewdac89-gold);
  color: var(--viewdac89-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.viewdac89-checklist__item b {
  display: block;
  font-family: var(--viewdac89-font-head);
  font-size: 14px;
  color: var(--viewdac89-paper);
}

.viewdac89-checklist__item p { margin: 2px 0 0; font-size: 13.5px; color: var(--viewdac89-paper-dim); }

/* ---------- fact summary rows ---------- */
.viewdac89-facts {
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.viewdac89-facts__item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--viewdac89-panel);
  border: 1px solid var(--viewdac89-line-soft);
  border-radius: var(--viewdac89-radius-tile);
  padding: 10px 12px;
}

.viewdac89-facts__num {
  flex: none;
  font-family: var(--viewdac89-font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--viewdac89-gold);
  width: 20px;
}

.viewdac89-facts__item p { margin: 0; font-size: 13.5px; color: var(--viewdac89-paper-dim); }

.viewdac89-facts__item b { color: var(--viewdac89-paper); font-weight: 600; }

/* ---------- extended footer (homepage only) ---------- */
.viewdac89-extfoot {
  margin-top: 26px;
  padding: 22px 14px 14px;
  background:
    linear-gradient(180deg, rgba(255, 215, 0, 0.06), transparent 30%),
    var(--viewdac89-ink-deep);
  border-top: 1px solid var(--viewdac89-gold-line);
}

.viewdac89-extfoot__title {
  font-family: var(--viewdac89-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--viewdac89-gold);
  margin: 0 0 10px;
}

.viewdac89-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.viewdac89-promo-tile {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--viewdac89-tap);
  padding: 9px 11px;
  border-radius: var(--viewdac89-radius-btn);
  border: 1px solid var(--viewdac89-gold-line);
  background: var(--viewdac89-gold-soft);
  color: var(--viewdac89-paper);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.2s ease, transform 0.12s ease, border-color 0.2s ease;
}

.viewdac89-promo-tile:active {
  transform: scale(0.97);
  background: rgba(255, 215, 0, 0.26);
  border-color: var(--viewdac89-gold);
}

.viewdac89-promo-tile svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--viewdac89-gold);
}

.viewdac89-promo-tile--wide { grid-column: 1 / -1; }

.viewdac89-extfoot__brand {
  font-size: 13.5px;
  color: var(--viewdac89-paper-dim);
  margin: 0 0 20px;
}

/* two-column page directory */
.viewdac89-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-bottom: 20px;
}

.viewdac89-directory a {
  display: block;
  text-decoration: none;
  font-family: var(--viewdac89-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--viewdac89-paper);
  padding: 7px 0 2px;
  border-bottom: 1px solid var(--viewdac89-line-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.viewdac89-directory a::before {
  content: "\203A";
  color: var(--viewdac89-gold);
  font-weight: 800;
  margin-right: 6px;
}

.viewdac89-directory a:active,
.viewdac89-directory a:hover {
  color: var(--viewdac89-gold);
  border-color: var(--viewdac89-gold-line);
}

.viewdac89-directory span {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: var(--viewdac89-paper-faint);
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--viewdac89-line-soft);
}

.viewdac89-extfoot__note {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--viewdac89-paper-faint);
  border-top: 1px solid var(--viewdac89-line);
  padding-top: 12px;
  margin: 0;
}

/* ---------- copyright bar (all pages) ---------- */
.viewdac89-foot {
  padding: 16px 14px 8px;
  text-align: center;
  border-top: 1px solid var(--viewdac89-line-soft);
}

.viewdac89-foot__copy {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: var(--viewdac89-paper-faint);
}

.viewdac89-foot__copy b { color: var(--viewdac89-paper-dim); font-weight: 600; }

/* ---------- fixed bottom navigation rack ---------- */
.viewdac89-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(27, 40, 54, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--viewdac89-gold-line);
  padding: 5px 2px calc(5px + env(safe-area-inset-bottom, 0px));
}

.viewdac89-bottomnav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 4px 2px;
  color: var(--viewdac89-paper-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}

.viewdac89-bottomnav__item svg {
  width: 22px;
  height: 22px;
  transition: color 0.2s ease, transform 0.15s ease;
}

.viewdac89-bottomnav__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.75;
  transition: opacity 0.2s ease, letter-spacing 0.2s ease;
}

/* active role: gold color switch plus a light marker dot */
.viewdac89-bottomnav__item.viewdac89-is-active { color: var(--viewdac89-gold); }

.viewdac89-bottomnav__item.viewdac89-is-active svg { transform: translateY(-1px); }

.viewdac89-bottomnav__item.viewdac89-is-active .viewdac89-bottomnav__label {
  opacity: 1;
  letter-spacing: 0.9px;
}

.viewdac89-bottomnav__item.viewdac89-is-active::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 3px;
  border-radius: var(--viewdac89-radius-chip);
  background: var(--viewdac89-gold);
}

.viewdac89-bottomnav__item:active svg { transform: scale(0.9); }

/* ---------- motion discipline ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- small-canvas hardening (320px floor) ---------- */
@media (max-width: 340px) {
  .viewdac89-brand__name { font-size: 15.5px; }
  .viewdac89-btn { padding: 8px 10px; font-size: 12px; }
  .viewdac89-grid { gap: 7px 6px; }
  .viewdac89-directory { gap: 8px 10px; }
}

/* ---------- help pages: breadcrumb ---------- */
.viewdac89-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--viewdac89-paper-faint);
}

.viewdac89-crumb a {
  color: var(--viewdac89-gold);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.viewdac89-crumb span[aria-current="page"] { color: var(--viewdac89-paper); }

/* ---------- download page: vertical step rail ---------- */
.viewdac89-rail {
  list-style: none;
  margin: 12px 0 6px;
  padding: 0 0 0 6px;
  display: grid;
  gap: 0;
}

.viewdac89-rail__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  position: relative;
}

.viewdac89-rail__item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--viewdac89-gold-line);
}

.viewdac89-rail__item:last-child::before { display: none; }

.viewdac89-rail__num {
  width: 36px;
  height: 36px;
  margin-top: 2px;
  border-radius: var(--viewdac89-radius-btn);
  background: var(--viewdac89-gold);
  color: var(--viewdac89-ink-text);
  font-family: var(--viewdac89-font-head);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.viewdac89-rail__body {
  background: var(--viewdac89-panel);
  border: 1px solid var(--viewdac89-line-soft);
  border-radius: var(--viewdac89-radius-card);
  padding: 10px 12px 12px;
  margin-bottom: 10px;
}

.viewdac89-rail__body h3 {
  margin: 0 0 4px;
  font-family: var(--viewdac89-font-head);
  font-size: 15px;
  color: var(--viewdac89-paper);
}

.viewdac89-rail__body p {
  margin: 0;
  font-size: 13.6px;
  color: var(--viewdac89-paper-dim);
}

/* caution slips for mistakes */
.viewdac89-slips { display: grid; gap: 8px; margin: 12px 0 4px; }

.viewdac89-slip {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  border-radius: var(--viewdac89-radius-tile);
  overflow: hidden;
  background: var(--viewdac89-panel);
  border: 1px solid var(--viewdac89-line-soft);
}

.viewdac89-slip__bar { background: var(--viewdac89-gold); }

.viewdac89-slip__body { padding: 10px 12px; }

.viewdac89-slip__body h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-family: var(--viewdac89-font-head);
  color: var(--viewdac89-paper);
}

.viewdac89-slip__body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--viewdac89-paper-dim);
}

/* responsible-play limit band */
.viewdac89-guard {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
}

.viewdac89-guard__cell {
  border-radius: var(--viewdac89-radius-card);
  border: 1px solid var(--viewdac89-gold-line);
  background: var(--viewdac89-gold-soft);
  padding: 12px;
}

.viewdac89-guard__cell b {
  display: block;
  font-family: var(--viewdac89-font-head);
  color: var(--viewdac89-gold);
  margin-bottom: 4px;
}

.viewdac89-guard__cell p { margin: 0; font-size: 13.5px; color: var(--viewdac89-paper); }

/* square decision ticks, distinct from the homepage round ticks */
.viewdac89-boxes { list-style: none; margin: 12px 0 4px; padding: 0; }

.viewdac89-boxes li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid var(--viewdac89-line-soft);
}

.viewdac89-boxes li:last-child { border-bottom: 0; }

.viewdac89-boxes i {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 4px;
  border: 1.5px solid var(--viewdac89-gold);
  display: inline-block;
}

.viewdac89-boxes b { color: var(--viewdac89-paper); }
.viewdac89-boxes p { margin: 2px 0 0; font-size: 13.5px; color: var(--viewdac89-paper-dim); }

/* ---------- casino help page: scenario + gates + kit ---------- */
.viewdac89-scene {
  margin: 8px 0 12px;
  padding: 14px 14px 12px;
  border-radius: var(--viewdac89-radius-card);
  background:
    linear-gradient(180deg, rgba(255, 215, 0, 0.12), transparent 55%),
    var(--viewdac89-ink-deep);
  border: 1px solid var(--viewdac89-gold-line);
}

.viewdac89-scene p { margin: 0 0 8px; color: var(--viewdac89-paper); }
.viewdac89-scene p:last-child { margin: 0; color: var(--viewdac89-paper-dim); }

.viewdac89-gates { display: grid; gap: 8px; margin: 12px 0 4px; }

.viewdac89-gate {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 44px;
  border-radius: var(--viewdac89-radius-tile);
  overflow: hidden;
  border: 1px solid var(--viewdac89-line-soft);
}

.viewdac89-gate__flag {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--viewdac89-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: var(--viewdac89-gold);
  color: var(--viewdac89-ink-text);
}

.viewdac89-gate--hold .viewdac89-gate__flag {
  background: transparent;
  color: var(--viewdac89-gold);
  border-right: 1px solid var(--viewdac89-gold-line);
}

.viewdac89-gate__copy { padding: 10px 12px; background: var(--viewdac89-panel); }
.viewdac89-gate__copy h3 { margin: 0 0 3px; font-size: 14.5px; font-family: var(--viewdac89-font-head); color: var(--viewdac89-paper); }
.viewdac89-gate__copy p { margin: 0; font-size: 13.4px; color: var(--viewdac89-paper-dim); }

.viewdac89-rows { margin: 12px 0 4px; display: grid; gap: 0; }

.viewdac89-row {
  padding: 11px 2px;
  border-bottom: 1px dashed var(--viewdac89-line);
}

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

.viewdac89-row h3 {
  margin: 0 0 3px;
  font-size: 14.5px;
  font-family: var(--viewdac89-font-head);
  color: var(--viewdac89-gold);
}

.viewdac89-row p { margin: 0; font-size: 13.6px; color: var(--viewdac89-paper-dim); }

.viewdac89-kit {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
}

.viewdac89-kit__item {
  padding: 10px 12px;
  border-radius: var(--viewdac89-radius-btn);
  background: var(--viewdac89-panel-strong);
  border: 1px solid var(--viewdac89-line);
}

.viewdac89-kit__item b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--viewdac89-gold);
  margin-bottom: 3px;
}

.viewdac89-kit__item p { margin: 0; font-size: 13.5px; color: var(--viewdac89-paper-dim); }

.viewdac89-helpcta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 12px 0 4px;
}

.viewdac89-helpcta .viewdac89-btn--gold { min-height: 50px; font-size: 15px; }
.viewdac89-helpcta .viewdac89-btn--ghost { min-height: 44px; width: 86%; align-self: flex-end; }

.viewdac89-inline {
  background: none;
  border: 0;
  padding: 0;
  color: var(--viewdac89-gold);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 44px;
}
