/* ============================================================
   SS Casino - layered mobile lobby stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Prefix: view20197-
   ============================================================ */

:root {
  --view20197-bg: #0f0f23;
  --view20197-bg-deep: #070714;
  --view20197-surface: #171733;
  --view20197-surface-2: #1e1e40;
  --view20197-surface-3: #26264f;
  --view20197-line: rgba(240, 238, 255, 0.13);
  --view20197-line-strong: rgba(255, 235, 59, 0.35);
  --view20197-orange: #e65100;
  --view20197-orange-deep: #b93f00;
  --view20197-yellow: #ffeb3b;
  --view20197-coral: #f08080;
  --view20197-pink: #ff69b4;
  --view20197-ink: #f7f5ff;
  --view20197-muted: #b7b1d8;
  --view20197-faint: #8d87b0;
  --view20197-radius: 6px;
  --view20197-radius-lg: 8px;
  --view20197-head-font: "Trebuchet MS", "Segoe UI", Verdana, Arial, sans-serif;
  --view20197-body-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --view20197-header-h: 100px;
  --view20197-nav-h: 84px;
  --view20197-frame: 430px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--view20197-bg-deep);
  color: var(--view20197-ink);
  font-family: var(--view20197-body-font);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* Phone canvas: stays narrow on desktop, full width on phones */
.view20197-app {
  width: 100%;
  max-width: var(--view20197-frame);
  min-height: 100vh;
  background: var(--view20197-bg);
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: var(--view20197-yellow);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--view20197-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.view20197-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   Fixed header - layer 1 brand, layer 2 actions
   ============================================================ */

.view20197-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--view20197-frame);
  z-index: 70;
  background: rgba(15, 15, 35, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--view20197-line);
}

/* Brand row: logo image + site name only */
.view20197-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 12px;
  border-bottom: 1px solid var(--view20197-line);
}

.view20197-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--view20197-radius);
  border: 1px solid var(--view20197-line-strong);
  object-fit: cover;
  flex: none;
}

.view20197-brand-name {
  font-family: var(--view20197-head-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: lowercase;
  color: var(--view20197-ink);
}

.view20197-brand-name b {
  color: var(--view20197-yellow);
  font-weight: 700;
}

/* Action row: register / login / menu */
.view20197-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px;
}

.view20197-btn {
  font-family: var(--view20197-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--view20197-radius);
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.view20197-btn:active {
  transform: translateY(1px) scale(0.97);
}

.view20197-btn-primary {
  background: var(--view20197-orange);
  color: #fff;
  box-shadow: 0 2px 0 var(--view20197-orange-deep);
}

.view20197-btn-primary:hover {
  background: #ff6a0f;
  color: #fff;
}

.view20197-btn-outline {
  background: transparent;
  color: var(--view20197-yellow);
  border-color: var(--view20197-yellow);
}

.view20197-btn-outline:hover {
  background: rgba(255, 235, 59, 0.1);
  color: var(--view20197-yellow);
}

.view20197-btn-coral {
  background: transparent;
  color: var(--view20197-coral);
  border-color: var(--view20197-coral);
}

.view20197-btn-coral:hover {
  background: rgba(240, 128, 128, 0.1);
  color: var(--view20197-coral);
}

.view20197-menu-btn {
  margin-left: auto;
  background: var(--view20197-surface-2);
  color: var(--view20197-ink);
  border: 1px solid var(--view20197-line);
}

.view20197-menu-btn .view20197-menu-ico {
  width: 18px;
  height: 14px;
  position: relative;
  flex: none;
}

.view20197-menu-ico span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.15s ease, width 0.2s ease;
}

.view20197-menu-ico span:nth-child(1) { top: 0; }
.view20197-menu-ico span:nth-child(2) { top: 6px; width: 75%; }
.view20197-menu-ico span:nth-child(3) { top: 12px; }

.view20197-header.view20197-menu-open .view20197-menu-ico span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.view20197-header.view20197-menu-open .view20197-menu-ico span:nth-child(2) {
  opacity: 0;
}

.view20197-header.view20197-menu-open .view20197-menu-ico span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Layered dropdown menu panel */
.view20197-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--view20197-surface);
  border-bottom: 1px solid var(--view20197-line-strong);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.view20197-header.view20197-menu-open .view20197-menu {
  max-height: 620px;
}

.view20197-menu-inner {
  padding: 8px 12px 16px;
}

.view20197-menu-group + .view20197-menu-group {
  margin-top: 10px;
  border-top: 1px solid var(--view20197-line);
  padding-top: 10px;
}

.view20197-menu-label {
  font-family: var(--view20197-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--view20197-coral);
  padding: 6px 4px 6px 12px;
  position: relative;
}

.view20197-menu-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--view20197-pink);
  border-radius: 2px;
}

.view20197-menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.view20197-menu-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius);
  background: var(--view20197-surface-2);
  color: var(--view20197-ink);
  font-size: 13px;
  font-weight: 600;
}

.view20197-menu-link:hover {
  border-color: var(--view20197-line-strong);
  color: var(--view20197-yellow);
}

.view20197-menu-link.view20197-menu-here {
  border-color: var(--view20197-yellow);
  color: var(--view20197-yellow);
  box-shadow: inset 0 -2px 0 var(--view20197-yellow);
}

/* ============================================================
   Main column
   ============================================================ */

.view20197-main {
  padding: calc(var(--view20197-header-h) + 12px) 12px calc(var(--view20197-nav-h) + 28px);
}

/* ============================================================
   Hero
   ============================================================ */

.view20197-hero {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(230, 81, 0, 0.35), transparent 60%),
    radial-gradient(90% 80% at 0% 110%, rgba(255, 105, 180, 0.16), transparent 55%),
    var(--view20197-surface);
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius-lg);
  padding: 18px 14px 16px;
  position: relative;
  overflow: hidden;
}

.view20197-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--view20197-orange), var(--view20197-yellow), var(--view20197-pink));
}

.view20197-kicker {
  display: inline-block;
  font-family: var(--view20197-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--view20197-yellow);
  border: 1px solid var(--view20197-line-strong);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.view20197-h1 {
  font-family: var(--view20197-head-font);
  font-size: 25px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.view20197-hero-text {
  color: var(--view20197-muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.view20197-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.view20197-cta-row .view20197-btn {
  flex: 1 1 140px;
}

/* ============================================================
   Banner carousel
   ============================================================ */

.view20197-carousel {
  position: relative;
  margin-top: 14px;
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius-lg);
  overflow: hidden;
  background: var(--view20197-surface-2);
  touch-action: pan-y;
}

.view20197-slide {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.view20197-slide.view20197-slide-on {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.view20197-slide-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.view20197-slide-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 20, 0.88));
  color: var(--view20197-ink);
  font-family: var(--view20197-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
}

.view20197-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.view20197-dot {
  width: 22px;
  height: 6px;
  min-height: 6px;
  padding: 0;
  border-radius: 3px;
  border: 1px solid var(--view20197-yellow);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
}

.view20197-dot.view20197-dot-on {
  background: var(--view20197-yellow);
}

.view20197-arrow {
  position: absolute;
  top: 10px;
  z-index: 5;
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: var(--view20197-radius);
  border: 1px solid var(--view20197-line-strong);
  background: rgba(15, 15, 35, 0.75);
  color: var(--view20197-yellow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}

.view20197-arrow:hover {
  background: rgba(230, 81, 0, 0.55);
  color: #fff;
}

.view20197-arrow-prev { left: 8px; }
.view20197-arrow-next { right: 8px; }

/* ============================================================
   Quick shortcut tiles
   ============================================================ */

.view20197-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.view20197-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 8px;
  background: var(--view20197-surface);
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius);
  color: var(--view20197-muted);
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  min-height: 44px;
}

.view20197-tile:hover {
  border-color: var(--view20197-line-strong);
  color: var(--view20197-yellow);
}

.view20197-tile-ico {
  width: 30px;
  height: 30px;
  border-radius: var(--view20197-radius);
  border: 1px solid var(--view20197-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--view20197-yellow);
}

.view20197-tile-ico svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   Game sections
   ============================================================ */

.view20197-section {
  margin-top: 22px;
  border-top: 1px solid var(--view20197-line);
  padding-top: 14px;
}

.view20197-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.view20197-h2 {
  font-family: var(--view20197-head-font);
  font-size: 18.5px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--view20197-ink);
}

.view20197-h2 em {
  font-style: normal;
  color: var(--view20197-yellow);
}

.view20197-section-more {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--view20197-coral);
  border-bottom: 1px dashed var(--view20197-coral);
  padding-bottom: 1px;
  white-space: nowrap;
}

.view20197-section-intro {
  color: var(--view20197-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

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

/* Light floating game card */
.view20197-game {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 4px 7px;
  background: rgba(30, 30, 64, 0.55);
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius);
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.view20197-game:hover {
  border-color: var(--view20197-line-strong);
  background: rgba(38, 38, 79, 0.75);
  transform: translateY(-2px);
}

.view20197-game:active {
  transform: scale(0.95);
}

.view20197-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(240, 238, 255, 0.08);
  background: var(--view20197-surface);
}

.view20197-game-name {
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--view20197-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 27px;
  word-break: break-word;
}

/* Wider phones get a fifth column */
@media (min-width: 400px) {
  .view20197-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ============================================================
   Content panels (analysis / summary modules)
   ============================================================ */

.view20197-panel {
  margin-top: 22px;
  background: var(--view20197-surface);
  border: 1px solid var(--view20197-line);
  border-left: 3px solid var(--view20197-yellow);
  border-radius: var(--view20197-radius);
  padding: 14px 14px 16px;
}

.view20197-panel-pink { border-left-color: var(--view20197-pink); }
.view20197-panel-coral { border-left-color: var(--view20197-coral); }
.view20197-panel-orange { border-left-color: var(--view20197-orange); }

.view20197-panel .view20197-h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.view20197-p {
  color: var(--view20197-muted);
  font-size: 13.5px;
  margin-bottom: 10px;
}

.view20197-p:last-child {
  margin-bottom: 0;
}

.view20197-p strong,
.view20197-facts strong,
.view20197-a strong {
  color: var(--view20197-ink);
  font-weight: 700;
}

.view20197-steps {
  list-style: none;
  counter-reset: view20197step;
  margin: 4px 0 12px;
  display: grid;
  gap: 8px;
}

.view20197-steps li {
  counter-increment: view20197step;
  position: relative;
  padding: 8px 10px 8px 40px;
  background: var(--view20197-surface-2);
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius);
  color: var(--view20197-muted);
  font-size: 13px;
}

.view20197-steps li::before {
  content: counter(view20197step);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--view20197-orange);
  color: #fff;
  font-family: var(--view20197-head-font);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view20197-facts {
  list-style: none;
  margin: 4px 0 12px;
  display: grid;
  gap: 8px;
}

.view20197-facts li {
  position: relative;
  padding-left: 26px;
  color: var(--view20197-muted);
  font-size: 13px;
}

.view20197-facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--view20197-yellow);
  border-bottom: 2px solid var(--view20197-yellow);
  transform: rotate(-45deg);
}

.view20197-qa {
  margin-top: 12px;
  border-top: 1px dashed var(--view20197-line);
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

.view20197-q {
  font-family: var(--view20197-head-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--view20197-coral);
  margin-bottom: 2px;
}

.view20197-q::before {
  content: "Q. ";
  color: var(--view20197-pink);
}

.view20197-a {
  color: var(--view20197-muted);
  font-size: 13px;
}

/* ============================================================
   Homepage extended footer
   ============================================================ */

.view20197-ext {
  margin-top: 26px;
  border-top: 2px solid var(--view20197-line-strong);
  padding-top: 16px;
  display: grid;
  gap: 16px;
}

.view20197-ext-title {
  font-family: var(--view20197-head-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--view20197-coral);
  margin-bottom: 8px;
}

.view20197-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.view20197-dir-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius);
  background: var(--view20197-surface);
  color: var(--view20197-muted);
  font-size: 12px;
  font-weight: 600;
}

.view20197-dir-link:hover {
  color: var(--view20197-yellow);
  border-color: var(--view20197-line-strong);
}

.view20197-ext-brand {
  color: var(--view20197-muted);
  font-size: 12.5px;
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius);
  background: var(--view20197-surface);
  padding: 10px 12px;
}

.view20197-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.view20197-promos .view20197-btn {
  width: 100%;
  font-size: 12px;
  padding: 0 8px;
}

.view20197-disclaimer {
  color: var(--view20197-faint);
  font-size: 11.5px;
  line-height: 1.55;
  border-left: 2px solid var(--view20197-coral);
  padding-left: 10px;
}

/* ============================================================
   Universal footer (copyright only)
   ============================================================ */

.view20197-footer {
  margin-top: 18px;
  border-top: 1px solid var(--view20197-line);
  padding: 12px 0 4px;
  text-align: center;
  color: var(--view20197-faint);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

/* ============================================================
   Fixed mobile bottom navigation (5 roles, outlined bar)
   ============================================================ */

.view20197-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--view20197-frame);
  z-index: 70;
  background: rgba(15, 15, 35, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--view20197-line-strong);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.view20197-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 2px 6px;
  min-height: 44px;
  background: transparent;
  border: 0;
  border-radius: var(--view20197-radius);
  color: var(--view20197-muted);
  cursor: pointer;
  font-family: var(--view20197-body-font);
}

.view20197-nav-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--view20197-yellow);
  transition: transform 0.2s ease;
}

.view20197-nav-item.view20197-nav-active {
  color: var(--view20197-yellow);
}

.view20197-nav-item.view20197-nav-active::before {
  transform: translateX(-50%) scaleX(1);
}

.view20197-nav-ico {
  width: 34px;
  height: 30px;
  border: 1px solid var(--view20197-line);
  border-radius: var(--view20197-radius);
  background: var(--view20197-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.view20197-nav-ico svg {
  width: 17px;
  height: 17px;
  transition: transform 0.18s ease;
}

.view20197-nav-item:hover .view20197-nav-ico {
  border-color: var(--view20197-line-strong);
}

.view20197-nav-item:active .view20197-nav-ico {
  transform: translateY(1px) scale(0.9);
  background: rgba(230, 81, 0, 0.25);
}

.view20197-nav-item:active .view20197-nav-ico svg {
  transform: scale(1.12);
}

.view20197-nav-item.view20197-nav-active .view20197-nav-ico {
  border-color: var(--view20197-yellow);
  background: rgba(255, 235, 59, 0.1);
}

.view20197-nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ============================================================
   Short-distance reveal transitions
   ============================================================ */

.view20197-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.view20197-reveal.view20197-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .view20197-slide,
  .view20197-reveal,
  .view20197-game,
  .view20197-nav-ico,
  .view20197-nav-ico svg {
    transition: none;
  }
  .view20197-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Small-phone guard rails
   ============================================================ */

@media (max-width: 339px) {
  .view20197-h1 { font-size: 22px; }
  .view20197-directory,
  .view20197-promos { grid-template-columns: 1fr; }
  .view20197-action-row { gap: 6px; }
  .view20197-btn { padding: 0 10px; font-size: 12px; }
}

/* Compatible access and editorial additions */
html { scroll-padding-top: 116px; scroll-padding-bottom: 100px; }
.view20197-main { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.view20197-menu { visibility: hidden; }
.view20197-header.view20197-menu-open .view20197-menu {
  visibility: visible;
  max-height: calc(100dvh - 190px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.view20197-btn-primary { background: var(--view20197-orange-deep); }
.view20197-steps li::before { background: var(--view20197-orange-deep); }
.view20197-btn-primary:hover { background: #a63800; }
.view20197-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.view20197-game { min-width: 0; min-height: 44px; font-family: inherit; }
.view20197-game-name { display: block; overflow: visible; min-height: 28px; overflow-wrap: anywhere; }
.view20197-game-img { flex-shrink: 0; }
.view20197-grid { align-items: stretch; }
.view20197-carousel { overflow: hidden; }
.view20197-slide { visibility: hidden; }
.view20197-slide.view20197-slide-on { visibility: visible; }
.view20197-slide-img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.view20197-game-img { height: auto; }
.view20197-slide-caption { position: static; display: block; padding: 8px 12px; min-height: 44px; background: var(--view20197-surface); }
.view20197-carousel-tools { display: flex; align-items: center; justify-content: space-between; padding: 6px; gap: 2px; background: var(--view20197-bg); }
.view20197-carousel-tools .view20197-arrow { position: static; width: 44px; height: 44px; min-height: 44px; flex: none; }
.view20197-dots { position: static; gap: 0; }
.view20197-dot { width: 44px; height: 44px; min-height: 44px; border: 0; background: transparent; position: relative; }
.view20197-dot::after { content: ''; position: absolute; width: 24px; height: 6px; top: 19px; left: 10px; border: 1px solid var(--view20197-yellow); border-radius: 2px; }
.view20197-dot.view20197-dot-on { background: transparent; }
.view20197-dot.view20197-dot-on::after { background: var(--view20197-yellow); }
.view20197-pause { min-height: 44px; min-width: 52px; border: 1px solid var(--view20197-coral); color: var(--view20197-coral); background: transparent; border-radius: 4px; cursor: pointer; font: 600 11px var(--view20197-body-font); }
.view20197-pause[aria-pressed='true'] { background: var(--view20197-coral); color: var(--view20197-bg); }
.view20197-p a, .view20197-a a, .view20197-hero-text a, .view20197-steps a, .view20197-branch a, .view20197-checks a { display: block; min-height: 44px; padding: 9px 0; text-decoration: underline; text-underline-offset: 3px; }
.view20197-h1, .view20197-h2, .view20197-menu-link, .view20197-dir-link { overflow-wrap: anywhere; }
.view20197-disclaimer, .view20197-footer { color: var(--view20197-muted); }
.view20197-reveal { opacity: 1; transform: none; }
.view20197-in { animation: view20197-arrive .25s ease both; }
@keyframes view20197-arrive { from { transform: translateY(5px); } to { transform: translateY(0); } }
.view20197-help-intro { border-top: 3px solid var(--view20197-orange); padding: 16px 0 6px; }
.view20197-subtitle { color: var(--view20197-coral); font-family: var(--view20197-head-font); font-size: 16px; margin: 16px 0 5px; }
.view20197-note { border: 1px solid var(--view20197-coral); background: rgba(240,128,128,.06); padding: 12px; margin: 14px 0; }
.view20197-track { border-left: 2px solid var(--view20197-orange); list-style: none; padding-left: 14px; display: grid; gap: 18px; margin: 16px 0; }
.view20197-track li { position: relative; }
.view20197-track li::before { content: ''; width: 8px; height: 8px; background: var(--view20197-yellow); position: absolute; left: -19px; top: 8px; }
.view20197-track strong { color: var(--view20197-ink); }
.view20197-inline-action { display: flex; width: 100%; min-height: 44px; margin: 10px 0 16px; }
.view20197-checks { display: grid; gap: 0; margin: 14px 0; }
.view20197-checks dt { color: var(--view20197-yellow); font-weight: 700; padding-top: 12px; border-top: 1px solid var(--view20197-line); }
.view20197-checks dd { margin: 0 0 12px; color: var(--view20197-muted); font-size: 13.5px; }
.view20197-payment-lead { padding: 16px 12px; border: 1px solid var(--view20197-line); border-top: 4px solid var(--view20197-pink); background: var(--view20197-surface-2); }
.view20197-branch { border-top: 1px solid var(--view20197-line); padding: 14px 0; }
.view20197-branch-label { display: inline-block; padding: 3px 8px; color: var(--view20197-bg); background: var(--view20197-coral); font-weight: 700; margin-bottom: 8px; }
.view20197-branch ol { padding-left: 22px; color: var(--view20197-muted); font-size: 13.5px; }
.view20197-branch li { margin: 9px 0; }
.view20197-compare { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 12px 0; }
.view20197-compare div { border-top: 2px solid var(--view20197-orange); background: var(--view20197-surface); padding: 10px; }
.view20197-compare .view20197-p { font-size: 13px; }
@media (min-width: 400px) { .view20197-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .view20197-in { animation: none; } }

/* Wide screens: keep the centered phone canvas, deepen the frame */
@media (min-width: 700px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(230, 81, 0, 0.08), transparent 70%),
      var(--view20197-bg-deep);
  }
  .view20197-app {
    border-left: 1px solid var(--view20197-line);
    border-right: 1px solid var(--view20197-line);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  }
}
