/* ==========================================================================
   viewport-compact-f04b8b.css
   liv vs new - mobile-first casino portal skin for a 320-430px phone canvas.
   Every class and custom property uses the c4b8b9- prefix.
   Palette anchors: #A0522D / #36454F / #D3D3D3 / #ECF0F1 / #0F0F23
   Design tone: rounded display type + compact body, small radii,
   mixed large/small game cards, scenario-branch rhythm, short transitions,
   full-width primary CTAs.
   ========================================================================== */

:root {
  --c4b8b9-ink: #0F0F23;
  --c4b8b9-night: #060614;
  --c4b8b9-panel: #151531;
  --c4b8b9-card: #1B1B3A;
  --c4b8b9-slate: #36454F;
  --c4b8b9-sienna: #A0522D;
  --c4b8b9-flame: #C97B4B;
  --c4b8b9-sand: #E9B98F;
  --c4b8b9-silver: #D3D3D3;
  --c4b8b9-mist: #ECF0F1;
  --c4b8b9-muted: #9AA6B2;
  --c4b8b9-line: rgba(211, 211, 211, 0.14);
  --c4b8b9-radius-s: 8px;
  --c4b8b9-radius-m: 12px;
  --c4b8b9-radius-l: 16px;
  --c4b8b9-font-round: ui-rounded, "Segoe UI Rounded", "Baloo 2", "Comfortaa", "Quicksand", "Segoe UI", system-ui, sans-serif;
  --c4b8b9-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --c4b8b9-topbar-h: 110px;
  --c4b8b9-bnav-h: 64px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c4b8b9-night);
  color: var(--c4b8b9-mist);
  font-family: var(--c4b8b9-font-body);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a { color: inherit; }

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

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

/* Wide screens keep the same phone canvas, centered like a device frame. */
.c4b8b9-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c4b8b9-ink);
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .c4b8b9-shell {
    border-left: 1px solid var(--c4b8b9-line);
    border-right: 1px solid var(--c4b8b9-line);
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  }
}

/* ==========================================================================
   Fixed top identity bar + action row
   ========================================================================== */

.c4b8b9-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, rgba(15, 15, 35, 0.98), rgba(15, 15, 35, 0.92));
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--c4b8b9-line);
}

.c4b8b9-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px 6px;
}

.c4b8b9-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(201, 123, 75, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  object-fit: cover;
}

.c4b8b9-brandname {
  font-family: var(--c4b8b9-font-round);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--c4b8b9-mist);
}

.c4b8b9-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr 46px;
  gap: 8px;
  padding: 0 12px 10px;
}

.c4b8b9-btn {
  border: 0;
  border-radius: var(--c4b8b9-radius-s);
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.c4b8b9-btn:active { transform: translateY(1px) scale(0.99); }

.c4b8b9-btn--register {
  background: linear-gradient(135deg, var(--c4b8b9-sienna), #7E3E20);
  color: var(--c4b8b9-mist);
  box-shadow: 0 3px 12px rgba(160, 82, 45, 0.45);
}

.c4b8b9-btn--login {
  background: transparent;
  color: var(--c4b8b9-sand);
  border: 1px solid rgba(233, 185, 143, 0.55);
}

.c4b8b9-menubtn {
  width: 46px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c4b8b9-card);
  border: 1px solid var(--c4b8b9-line);
  border-radius: var(--c4b8b9-radius-s);
  color: var(--c4b8b9-silver);
}

.c4b8b9-menubtn svg { width: 22px; height: 22px; fill: currentColor; }

/* ==========================================================================
   Sectioned menu overlay (full-page layered navigation)
   ========================================================================== */

.c4b8b9-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  background: rgba(4, 4, 14, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.c4b8b9-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.c4b8b9-menu-panel {
  width: 100%;
  max-width: 430px;
  height: 100%;
  overflow-y: auto;
  background: #101026;
  border-left: 1px solid var(--c4b8b9-line);
  border-right: 1px solid var(--c4b8b9-line);
  padding: 14px 16px 26px;
  transform: translateY(14px);
  transition: transform 0.22s ease;
}

.c4b8b9-menu.is-open .c4b8b9-menu-panel { transform: translateY(0); }

.c4b8b9-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c4b8b9-line);
}

.c4b8b9-menu-title {
  margin: 0;
  font-family: var(--c4b8b9-font-round);
  font-size: 17px;
  font-weight: 700;
  color: var(--c4b8b9-mist);
}

.c4b8b9-menuclose {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c4b8b9-card);
  border: 1px solid var(--c4b8b9-line);
  border-radius: var(--c4b8b9-radius-s);
  color: var(--c4b8b9-silver);
}

.c4b8b9-menuclose svg { width: 20px; height: 20px; fill: currentColor; }

.c4b8b9-menu-grouplabel {
  margin: 18px 2px 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c4b8b9-flame);
}

.c4b8b9-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 11px 12px;
  margin-bottom: 6px;
  border-radius: var(--c4b8b9-radius-m);
  background: var(--c4b8b9-card);
  border: 1px solid var(--c4b8b9-line);
  text-decoration: none;
  font-size: 14.5px;
  color: var(--c4b8b9-mist);
  transition: background 0.16s ease, border-color 0.16s ease;
}

.c4b8b9-menu-link:active {
  background: #232348;
  border-color: rgba(201, 123, 75, 0.6);
}

.c4b8b9-menu-link::after {
  content: "\203A";
  color: var(--c4b8b9-flame);
  font-size: 18px;
  font-weight: 700;
}

.c4b8b9-menu-cta {
  margin-top: 18px;
}

.c4b8b9-menu-cta .c4b8b9-btn--register {
  width: 100%;
}

/* Body scroll lock while the menu page is open */
.c4b8b9-lock { overflow: hidden; }

/* ==========================================================================
   Main canvas spacing (top bar above, bottom nav below)
   ========================================================================== */

.c4b8b9-main {
  padding: calc(var(--c4b8b9-topbar-h) + 14px) 14px calc(var(--c4b8b9-bnav-h) + 46px);
}

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

.c4b8b9-hero {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(160, 82, 45, 0.28), transparent 60%),
    linear-gradient(180deg, #191938, #12122B);
  border: 1px solid var(--c4b8b9-line);
  border-radius: var(--c4b8b9-radius-l);
  padding: 18px 14px 16px;
  text-align: center;
}

.c4b8b9-hero-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(160, 82, 45, 0.22);
  border: 1px solid rgba(201, 123, 75, 0.5);
  color: var(--c4b8b9-sand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.c4b8b9-hero-title {
  margin: 0 0 10px;
  font-family: var(--c4b8b9-font-round);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--c4b8b9-mist);
}

.c4b8b9-hero-text {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--c4b8b9-silver);
  text-align: left;
}

.c4b8b9-hero-cta {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: var(--c4b8b9-radius-m);
  background: linear-gradient(135deg, var(--c4b8b9-sienna), #8A4423);
  color: var(--c4b8b9-mist);
  font-family: var(--c4b8b9-font-round);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(160, 82, 45, 0.5);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.c4b8b9-hero-cta:active {
  transform: translateY(1px);
  filter: brightness(1.06);
}

.c4b8b9-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.c4b8b9-hero-badge {
  font-size: 11px;
  color: var(--c4b8b9-muted);
  background: rgba(54, 69, 79, 0.4);
  border: 1px solid var(--c4b8b9-line);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ==========================================================================
   Scenario branch strip (new visitor vs returning member)
   ========================================================================== */

.c4b8b9-branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.c4b8b9-branch-card {
  display: block;
  padding: 11px 10px;
  border-radius: var(--c4b8b9-radius-m);
  background: var(--c4b8b9-panel);
  border: 1px solid var(--c4b8b9-line);
  text-decoration: none;
  color: var(--c4b8b9-mist);
  min-height: 44px;
  transition: border-color 0.16s ease;
}

.c4b8b9-branch-card:active { border-color: rgba(201, 123, 75, 0.6); }

.c4b8b9-branch-role {
  display: block;
  font-family: var(--c4b8b9-font-round);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c4b8b9-sand);
  margin-bottom: 3px;
}

.c4b8b9-branch-desc {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--c4b8b9-muted);
}

/* ==========================================================================
   Promo carousel
   ========================================================================== */

.c4b8b9-caro {
  position: relative;
  margin-top: 14px;
  border-radius: var(--c4b8b9-radius-l);
  overflow: hidden;
  border: 1px solid var(--c4b8b9-line);
  background: var(--c4b8b9-panel);
}

.c4b8b9-caro-track {
  display: flex;
  transition: transform 0.42s ease;
}

.c4b8b9-slide {
  position: relative;
  min-width: 100%;
}

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

.c4b8b9-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(6, 6, 20, 0.92));
  text-align: left;
}

.c4b8b9-slide-title {
  margin: 0;
  font-family: var(--c4b8b9-font-round);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c4b8b9-mist);
}

.c4b8b9-slide-btn {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  min-height: 40px;
  background: linear-gradient(135deg, var(--c4b8b9-sienna), #8A4423);
  color: var(--c4b8b9-mist);
  font-size: 13px;
  font-weight: 700;
}

.c4b8b9-caro-prev,
.c4b8b9-caro-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(236, 240, 241, 0.35);
  border-radius: 50%;
  background: rgba(6, 6, 20, 0.55);
  color: var(--c4b8b9-mist);
  z-index: 5;
}

.c4b8b9-caro-prev { left: 8px; }
.c4b8b9-caro-next { right: 8px; }

.c4b8b9-caro-prev svg,
.c4b8b9-caro-next svg { width: 22px; height: 22px; fill: currentColor; }

.c4b8b9-caro-dots {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.c4b8b9-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(236, 240, 241, 0.6);
  background: rgba(6, 6, 20, 0.45);
}

.c4b8b9-dot.is-on {
  background: var(--c4b8b9-flame);
  border-color: var(--c4b8b9-flame);
}

/* ==========================================================================
   Category chips (anchor jump bar)
   ========================================================================== */

.c4b8b9-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 2px 4px;
  scrollbar-width: none;
}

.c4b8b9-cats::-webkit-scrollbar { display: none; }

.c4b8b9-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--c4b8b9-card);
  border: 1px solid var(--c4b8b9-line);
  color: var(--c4b8b9-silver);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.c4b8b9-chip:active {
  border-color: rgba(201, 123, 75, 0.65);
  color: var(--c4b8b9-sand);
}

/* ==========================================================================
   Game sections and card grid (mixed lead card + compact cells)
   ========================================================================== */

.c4b8b9-sec {
  margin-top: 24px;
  scroll-margin-top: calc(var(--c4b8b9-topbar-h) + 10px);
}

.c4b8b9-sec-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 8px;
}

.c4b8b9-sec-mark {
  flex: none;
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--c4b8b9-flame), var(--c4b8b9-sienna));
  align-self: center;
}

.c4b8b9-sec-title {
  margin: 0;
  font-family: var(--c4b8b9-font-round);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--c4b8b9-mist);
}

.c4b8b9-sec-count {
  margin-left: auto;
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c4b8b9-flame);
  background: rgba(160, 82, 45, 0.18);
  border: 1px solid rgba(201, 123, 75, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
}

.c4b8b9-sec-note {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c4b8b9-silver);
}

.c4b8b9-sec-note a,
.c4b8b9-panel a,
.c4b8b9-hero-text a {
  color: var(--c4b8b9-sand);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  font-weight: 600;
}

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

@media (min-width: 386px) {
  .c4b8b9-grid { grid-template-columns: repeat(5, 1fr); }
}

.c4b8b9-game {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 6px 7px;
  background: var(--c4b8b9-card);
  border: 1px solid var(--c4b8b9-line);
  border-radius: var(--c4b8b9-radius-m);
  color: var(--c4b8b9-mist);
  text-align: center;
  min-width: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.c4b8b9-game:active {
  transform: translateY(1px);
  border-color: rgba(201, 123, 75, 0.6);
}

.c4b8b9-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--c4b8b9-radius-s);
  background: #0C0C20;
}

.c4b8b9-game-name {
  font-size: 11px;
  line-height: 1.28;
  font-weight: 600;
  color: var(--c4b8b9-silver);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  word-break: break-word;
}

.c4b8b9-game--lead {
  grid-column: span 2;
  padding: 8px 8px 9px;
}

.c4b8b9-game--lead .c4b8b9-game-name {
  font-size: 12.5px;
  min-height: 32px;
  color: var(--c4b8b9-mist);
}

/* ==========================================================================
   Partner strip
   ========================================================================== */

.c4b8b9-partners-wrap {
  margin-top: 24px;
  padding: 13px 12px;
  border-radius: var(--c4b8b9-radius-l);
  background: var(--c4b8b9-panel);
  border: 1px solid var(--c4b8b9-line);
}

.c4b8b9-partners-title {
  margin: 0 0 9px;
  font-family: var(--c4b8b9-font-round);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c4b8b9-mist);
}

.c4b8b9-partners {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.c4b8b9-partners::-webkit-scrollbar { display: none; }

.c4b8b9-partner {
  flex: none;
  height: 42px;
  width: auto;
  padding: 4px 8px;
  border-radius: var(--c4b8b9-radius-s);
  background: var(--c4b8b9-mist);
  object-fit: contain;
}

/* ==========================================================================
   Long-form content panels
   ========================================================================== */

.c4b8b9-panel {
  margin-top: 18px;
  padding: 16px 14px 14px;
  border-radius: var(--c4b8b9-radius-l);
  background: var(--c4b8b9-panel);
  border: 1px solid var(--c4b8b9-line);
}

.c4b8b9-panel-title {
  margin: 0 0 10px;
  font-family: var(--c4b8b9-font-round);
  font-size: 17px;
  line-height: 1.32;
  font-weight: 800;
  color: var(--c4b8b9-mist);
}

.c4b8b9-panel p {
  margin: 0 0 10px;
  font-size: 13.8px;
  line-height: 1.62;
  color: var(--c4b8b9-silver);
}

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

.c4b8b9-panel h3 {
  margin: 14px 0 7px;
  font-family: var(--c4b8b9-font-round);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c4b8b9-sand);
}

.c4b8b9-verdict {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 0 var(--c4b8b9-radius-m) var(--c4b8b9-radius-m) 0;
  border-left: 3px solid var(--c4b8b9-flame);
  background: rgba(160, 82, 45, 0.14);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c4b8b9-mist);
}

.c4b8b9-list {
  margin: 0;
  padding-left: 20px;
  color: var(--c4b8b9-silver);
  font-size: 13.6px;
  line-height: 1.6;
}

.c4b8b9-list li { margin-bottom: 7px; }
.c4b8b9-list li:last-child { margin-bottom: 0; }

.c4b8b9-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c4b8b9step;
}

.c4b8b9-steps li {
  position: relative;
  counter-increment: c4b8b9step;
  padding: 9px 10px 9px 40px;
  margin-bottom: 7px;
  border-radius: var(--c4b8b9-radius-m);
  background: rgba(27, 27, 58, 0.75);
  border: 1px solid var(--c4b8b9-line);
  font-size: 13.4px;
  line-height: 1.58;
  color: var(--c4b8b9-silver);
}

.c4b8b9-steps li::before {
  content: counter(c4b8b9step);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c4b8b9-sienna), #8A4423);
  color: var(--c4b8b9-mist);
  font-size: 12px;
  font-weight: 800;
}

.c4b8b9-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c4b8b9-facts li {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 2px;
  border-bottom: 1px dashed rgba(211, 211, 211, 0.18);
  font-size: 13.2px;
  line-height: 1.5;
}

.c4b8b9-facts li:last-child { border-bottom: 0; }

.c4b8b9-facts .c4b8b9-fact-k {
  flex: none;
  max-width: 46%;
  font-weight: 700;
  color: var(--c4b8b9-sand);
}

.c4b8b9-facts .c4b8b9-fact-v {
  flex: 1;
  text-align: right;
  color: var(--c4b8b9-silver);
}

/* Compact in-panel promo row */
.c4b8b9-panel-cta {
  width: 100%;
  margin-top: 12px;
  min-height: 46px;
  border: 0;
  border-radius: var(--c4b8b9-radius-m);
  background: linear-gradient(135deg, var(--c4b8b9-sienna), #7E3E20);
  color: var(--c4b8b9-mist);
  font-family: var(--c4b8b9-font-round);
  font-size: 14.5px;
  font-weight: 700;
}

/* ==========================================================================
   Extended footer: page directory > brand > promotions > disclaimer
   ========================================================================== */

.c4b8b9-xfoot {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--c4b8b9-line);
}

.c4b8b9-xfoot-label {
  margin: 0 2px 9px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--c4b8b9-flame);
}

.c4b8b9-dirgroup { margin-bottom: 14px; }

.c4b8b9-dirlink {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 11px;
  margin-bottom: 6px;
  border-radius: var(--c4b8b9-radius-m);
  background: rgba(21, 21, 49, 0.85);
  border: 1px solid var(--c4b8b9-line);
  color: var(--c4b8b9-silver);
  text-decoration: none;
  font-size: 13.8px;
  font-weight: 600;
  transition: border-color 0.15s ease;
}

.c4b8b9-dirlink:active { border-color: rgba(201, 123, 75, 0.6); }

.c4b8b9-dirlink svg {
  flex: none;
  width: 17px;
  height: 17px;
  fill: var(--c4b8b9-flame);
}

.c4b8b9-xbrand {
  margin: 0 0 16px;
  padding: 12px;
  border-radius: var(--c4b8b9-radius-m);
  background: rgba(54, 69, 79, 0.28);
  font-size: 13px;
  line-height: 1.62;
  color: var(--c4b8b9-silver);
}

.c4b8b9-xpromo {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  min-height: 56px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border: 0;
  border-radius: var(--c4b8b9-radius-m);
  background: linear-gradient(135deg, rgba(160, 82, 45, 0.92), rgba(126, 62, 32, 0.92));
  color: var(--c4b8b9-mist);
  transition: transform 0.15s ease;
}

.c4b8b9-xpromo:active { transform: translateY(1px); }

.c4b8b9-xpromo svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: #F6D9BF;
}

.c4b8b9-xpromo-t { display: block; font-size: 14px; font-weight: 800; }
.c4b8b9-xpromo-s { display: block; font-size: 11.8px; color: #F2E3D6; }

.c4b8b9-xdisclaim {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 0 var(--c4b8b9-radius-m) var(--c4b8b9-radius-m) 0;
  border-left: 3px solid var(--c4b8b9-slate);
  background: rgba(54, 69, 79, 0.35);
  font-size: 12.2px;
  line-height: 1.6;
  color: var(--c4b8b9-muted);
}

/* ==========================================================================
   Common footer (copyright only) + fixed layered bottom navigation
   ========================================================================== */

.c4b8b9-footer {
  margin-top: 14px;
  padding: 4px 0 2px;
  text-align: center;
  font-size: 12px;
  color: #8E97A1;
}

.c4b8b9-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 2px;
  padding: 7px 5px calc(7px + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 8, 24, 0.97);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-top: 1px solid var(--c4b8b9-line);
}

.c4b8b9-bnav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 46px;
  padding: 5px 2px;
  border-radius: var(--c4b8b9-radius-s);
  background: none;
  border: 0;
  text-decoration: none;
  color: #8E97A1;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
}

.c4b8b9-bnav-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity: 0.72;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

/* Label reveal micro-interaction: quiet at rest, bright on active/press */
.c4b8b9-bnav-label {
  opacity: 0.68;
  transform: translateY(1px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.c4b8b9-bnav-link:active svg { transform: translateY(-1px) scale(1.06); opacity: 1; }
.c4b8b9-bnav-link:active .c4b8b9-bnav-label { opacity: 1; transform: translateY(0); }

.c4b8b9-bnav-link.is-active {
  color: var(--c4b8b9-sand);
}

.c4b8b9-bnav-link.is-active svg {
  fill: var(--c4b8b9-flame);
  opacity: 1;
}

.c4b8b9-bnav-link.is-active .c4b8b9-bnav-label {
  opacity: 1;
  transform: translateY(0);
  color: var(--c4b8b9-sand);
}

/* Raised central promo layer */
.c4b8b9-bnav-link--cta {
  margin-top: -16px;
  min-height: 56px;
  border-radius: 15px 15px 9px 9px;
  background: linear-gradient(160deg, var(--c4b8b9-sienna), #6E3418);
  color: var(--c4b8b9-mist);
  box-shadow: 0 -2px 16px rgba(160, 82, 45, 0.5);
  border: 1px solid rgba(233, 185, 143, 0.4);
}

.c4b8b9-bnav-link--cta svg {
  fill: #FBE9DA;
  opacity: 1;
}

.c4b8b9-bnav-link--cta .c4b8b9-bnav-label {
  opacity: 0.95;
  color: #FDF3EA;
}

/* ==========================================================================
   Small-canvas tuning: 320-430px refinements
   ========================================================================== */

@media (max-width: 430px) {
  .c4b8b9-hero-title { font-size: 21px; }
  .c4b8b9-sec-title { font-size: 17px; }
  .c4b8b9-panel-title { font-size: 16px; }
  .c4b8b9-grid { gap: 7px; }
  .c4b8b9-game-name { font-size: 10.6px; }
  .c4b8b9-game--lead .c4b8b9-game-name { font-size: 12px; }
  .c4b8b9-caro-prev,
  .c4b8b9-caro-next {
    width: 40px;
    height: 40px;
  }
  .c4b8b9-slide-cap { padding: 22px 10px 9px; }
}

@media (max-width: 359px) {
  .c4b8b9-main { padding-left: 10px; padding-right: 10px; }
  .c4b8b9-grid { gap: 6px; }
  .c4b8b9-game { padding: 5px 5px 6px; }
  .c4b8b9-game-name { font-size: 10px; min-height: 26px; }
  .c4b8b9-branch { grid-template-columns: 1fr; }
  .c4b8b9-caro-prev,
  .c4b8b9-caro-next { display: none; }
  .c4b8b9-bnav-label { font-size: 9.6px; }
}

/* ==========================================================================
   Help-page reading system: an editorial route distinct from the game grids.
   ========================================================================== */

.c4b8b9-help-hero {
  padding: 20px 15px 18px;
  border-radius: var(--c4b8b9-radius-l);
  background:
    linear-gradient(135deg, rgba(160, 82, 45, 0.9), rgba(54, 69, 79, 0.72)),
    radial-gradient(circle at 80% 15%, rgba(233, 185, 143, 0.25), transparent 45%);
  border: 1px solid rgba(233, 185, 143, 0.32);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.c4b8b9-help-eyebrow {
  margin: 0 0 8px;
  color: #F6D9BF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.c4b8b9-help-title {
  margin: 0 0 9px;
  font-family: var(--c4b8b9-font-round);
  font-size: 24px;
  line-height: 1.18;
  color: var(--c4b8b9-mist);
}

.c4b8b9-help-lede {
  margin: 0;
  color: #F3E9E1;
  font-size: 14px;
  line-height: 1.62;
}

.c4b8b9-help-quickbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.c4b8b9-help-quick {
  min-height: 62px;
  padding: 8px 7px;
  border-radius: var(--c4b8b9-radius-s);
  background: rgba(15, 15, 35, 0.54);
  border: 1px solid rgba(236, 240, 241, 0.18);
}

.c4b8b9-help-quick strong {
  display: block;
  margin-bottom: 2px;
  color: var(--c4b8b9-sand);
  font-size: 12px;
}

.c4b8b9-help-quick span {
  display: block;
  color: #D9D9DC;
  font-size: 11px;
  line-height: 1.35;
}

.c4b8b9-help-outline {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 12px 0 0;
  padding: 2px 1px 4px;
  scrollbar-width: none;
}

.c4b8b9-help-outline::-webkit-scrollbar { display: none; }

.c4b8b9-help-outline a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--c4b8b9-line);
  border-radius: 999px;
  background: var(--c4b8b9-panel);
  color: var(--c4b8b9-sand);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.c4b8b9-help-copy {
  margin-top: 14px;
  color: var(--c4b8b9-silver);
}

.c4b8b9-help-copy a {
  color: var(--c4b8b9-sand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.c4b8b9-help-copy p {
  margin: 0 0 11px;
  font-size: 13.8px;
  line-height: 1.68;
}

.c4b8b9-help-copy p:last-child { margin-bottom: 0; }

.c4b8b9-help-section {
  margin-top: 16px;
  padding: 15px 13px;
  border: 1px solid var(--c4b8b9-line);
  border-radius: var(--c4b8b9-radius-l);
  background: linear-gradient(180deg, rgba(21, 21, 49, 0.98), rgba(17, 17, 40, 0.98));
}

.c4b8b9-help-section h2 {
  margin: 0 0 10px;
  color: var(--c4b8b9-mist);
  font-family: var(--c4b8b9-font-round);
  font-size: 18px;
  line-height: 1.3;
}

.c4b8b9-help-section h3 {
  margin: 14px 0 6px;
  color: var(--c4b8b9-sand);
  font-family: var(--c4b8b9-font-round);
  font-size: 14.5px;
  line-height: 1.35;
}

.c4b8b9-help-answer {
  margin: 0 0 12px;
  padding: 10px 11px;
  border-left: 3px solid var(--c4b8b9-flame);
  border-radius: 0 var(--c4b8b9-radius-m) var(--c4b8b9-radius-m) 0;
  background: rgba(160, 82, 45, 0.16);
  color: var(--c4b8b9-mist);
  font-size: 13.6px;
  line-height: 1.62;
}

.c4b8b9-help-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: c4b8b9helpstep;
}

.c4b8b9-help-steps li {
  position: relative;
  min-height: 50px;
  padding: 10px 10px 10px 42px;
  border-radius: var(--c4b8b9-radius-m);
  background: rgba(54, 69, 79, 0.24);
  border: 1px solid var(--c4b8b9-line);
  color: var(--c4b8b9-silver);
  font-size: 13.4px;
  line-height: 1.55;
  counter-increment: c4b8b9helpstep;
}

.c4b8b9-help-steps li::before {
  content: counter(c4b8b9helpstep);
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--c4b8b9-sienna);
  color: var(--c4b8b9-mist);
  font-size: 12px;
  font-weight: 800;
}

.c4b8b9-help-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c4b8b9-help-checklist li {
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 9px;
  align-items: start;
  padding: 9px 10px;
  border-bottom: 1px dashed rgba(211, 211, 211, 0.2);
  color: var(--c4b8b9-silver);
  font-size: 13.3px;
  line-height: 1.56;
}

.c4b8b9-help-checklist li:last-child { border-bottom: 0; }

.c4b8b9-help-checklist li::before {
  content: "✓";
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 6px;
  background: rgba(160, 82, 45, 0.72);
  color: var(--c4b8b9-mist);
  font-size: 12px;
  font-weight: 800;
}

.c4b8b9-help-matrix {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.c4b8b9-help-matrix-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--c4b8b9-radius-s);
  background: rgba(15, 15, 35, 0.5);
  border: 1px solid var(--c4b8b9-line);
}

.c4b8b9-help-matrix-row strong {
  color: var(--c4b8b9-sand);
  font-size: 12.5px;
  line-height: 1.4;
}

.c4b8b9-help-matrix-row span {
  color: var(--c4b8b9-silver);
  font-size: 12.6px;
  line-height: 1.5;
}

.c4b8b9-help-qa {
  border-top: 1px solid var(--c4b8b9-line);
}

.c4b8b9-help-qa details {
  padding: 10px 0;
  border-bottom: 1px solid var(--c4b8b9-line);
}

.c4b8b9-help-qa summary {
  cursor: pointer;
  color: var(--c4b8b9-mist);
  font-size: 13.8px;
  font-weight: 700;
  line-height: 1.45;
  min-height: 28px;
}

.c4b8b9-help-qa details p {
  margin: 8px 0 0;
  color: var(--c4b8b9-silver);
  font-size: 13.2px;
  line-height: 1.6;
}

.c4b8b9-help-cta {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  padding: 11px 13px;
  border: 0;
  border-radius: var(--c4b8b9-radius-m);
  background: linear-gradient(135deg, var(--c4b8b9-sienna), #7E3E20);
  color: var(--c4b8b9-mist);
  font-family: var(--c4b8b9-font-round);
  font-size: 14.5px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 13px rgba(160, 82, 45, 0.34);
}

.c4b8b9-help-note {
  margin-top: 12px;
  padding: 10px 11px;
  border-radius: var(--c4b8b9-radius-s);
  background: rgba(54, 69, 79, 0.28);
  color: var(--c4b8b9-muted);
  font-size: 12.4px;
  line-height: 1.58;
}

.c4b8b9-help-links {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.c4b8b9-help-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: var(--c4b8b9-radius-s);
  background: rgba(54, 69, 79, 0.23);
  border: 1px solid var(--c4b8b9-line);
  color: var(--c4b8b9-silver);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.c4b8b9-help-links a::after {
  content: "→";
  color: var(--c4b8b9-flame);
  font-size: 18px;
}

@media (max-width: 359px) {
  .c4b8b9-help-hero { padding-left: 12px; padding-right: 12px; }
  .c4b8b9-help-title { font-size: 21px; }
  .c4b8b9-help-section { padding-left: 11px; padding-right: 11px; }
  .c4b8b9-help-quickbar { gap: 5px; }
  .c4b8b9-help-quick { padding-left: 5px; padding-right: 5px; }
  .c4b8b9-help-quick strong { font-size: 11px; }
  .c4b8b9-help-quick span { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c4b8b9-caro-track { transition: none; }
  .c4b8b9-menu,
  .c4b8b9-menu-panel,
  .c4b8b9-bnav-label,
  .c4b8b9-bnav-link svg { transition: none; }
}
