/* ==========================================================================
   jiji33 mobile shell stylesheet - adaptive-bb4e45-shell.css
   Phone-first canvas 320-430px, centered as a phone frame on wide screens.
   Every class and custom property carries the cb4e45- prefix.
   Palette anchors: #1C2833 (deep ground) / #ECF0F1 (light ink) / #808080 (muted).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --cb4e45-ground: #1C2833;
  --cb4e45-ground-deep: #121a22;
  --cb4e45-panel: #22303c;
  --cb4e45-panel-lift: #2b3a47;
  --cb4e45-panel-soft: #243240;
  --cb4e45-ink: #ECF0F1;
  --cb4e45-mute: #808080;
  --cb4e45-mute-lift: #9aa5ad;
  --cb4e45-line: rgba(236, 240, 241, 0.13);
  --cb4e45-line-strong: rgba(236, 240, 241, 0.3);
  --cb4e45-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --cb4e45-display-stack: "Trebuchet MS", "Segoe UI", Roboto, Arial, sans-serif;
  --cb4e45-body-stack: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --cb4e45-radius-card: 6px;
  --cb4e45-radius-pill: 999px;
  --cb4e45-tap: 44px;
  --cb4e45-ease: cubic-bezier(0.32, 0.72, 0.35, 1);
}

/* ---------- 2. Base & canvas ---------- */
* { box-sizing: border-box; }

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

html, body { overflow-x: clip; }

body.cb4e45-page {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, #243440 0%, var(--cb4e45-ground) 62%) fixed,
    var(--cb4e45-ground);
  color: var(--cb4e45-ink);
  font-family: var(--cb4e45-body-stack);
  font-size: 14px;
  line-height: 1.55;
  -webkit-tap-highlight-color: rgba(236, 240, 241, 0.08);
}

@media (min-width: 480px) {
  body.cb4e45-page {
    border-left: 1px solid var(--cb4e45-line);
    border-right: 1px solid var(--cb4e45-line);
    box-shadow: var(--cb4e45-shadow);
  }
}

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

h1, h2, h3 {
  font-family: var(--cb4e45-display-stack);
  line-height: 1.22;
  margin: 0 0 8px;
  text-wrap: balance;
}

p { margin: 0 0 10px; }

a { color: var(--cb4e45-ink); }

button {
  font-family: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cb4e45-ink);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: rgba(236, 240, 241, 0.25); }

/* ---------- 3. Skip link ---------- */
.cb4e45-skip {
  position: absolute;
  left: 10px;
  top: -46px;
  z-index: 90;
  padding: 10px 16px;
  background: var(--cb4e45-ink);
  color: var(--cb4e45-ground);
  font-weight: 700;
  border-radius: var(--cb4e45-radius-card);
  transition: top 0.18s var(--cb4e45-ease);
}

.cb4e45-skip:focus { top: 8px; }

/* ---------- 4. Topbar: asymmetric brand header ---------- */
.cb4e45-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(18, 26, 34, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cb4e45-line);
}

.cb4e45-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 12px 9px 10px;
}

/* Brand block leans on a thick light rail for the asymmetric look */
.cb4e45-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 5px 10px 5px 9px;
  border-left: 4px solid var(--cb4e45-ink);
  background: linear-gradient(90deg, rgba(236, 240, 241, 0.09), rgba(236, 240, 241, 0));
  border-radius: 0 var(--cb4e45-radius-card) var(--cb4e45-radius-card) 0;
  text-decoration: none;
}

.cb4e45-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--cb4e45-line-strong);
  background: var(--cb4e45-panel-lift);
  flex: none;
}

.cb4e45-brand-name {
  font-family: var(--cb4e45-display-stack);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.4px;
  color: var(--cb4e45-ink);
  white-space: nowrap;
}

/* ---------- 5. Segmented action buttons (rounded, split by a hairline) ---------- */
.cb4e45-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.cb4e45-seg {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--cb4e45-line-strong);
  border-radius: var(--cb4e45-radius-pill);
  overflow: hidden;
  background: rgba(236, 240, 241, 0.04);
}

.cb4e45-seg-btn {
  min-height: 36px;
  padding: 7px 13px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  transition: background-color 0.16s var(--cb4e45-ease), color 0.16s var(--cb4e45-ease), transform 0.12s var(--cb4e45-ease);
}

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

.cb4e45-seg-btn--solid {
  background: var(--cb4e45-ink);
  color: var(--cb4e45-ground);
}

.cb4e45-seg-btn--ghost {
  color: var(--cb4e45-ink);
  border-left: 1px solid var(--cb4e45-line);
}

.cb4e45-seg-btn--ghost:active { background: rgba(236, 240, 241, 0.1); }

/* Menu button: three lines morph into an X */
.cb4e45-menubtn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cb4e45-line-strong);
  border-radius: var(--cb4e45-radius-card);
  background: var(--cb4e45-panel-soft);
}

.cb4e45-menubtn-box {
  display: grid;
  gap: 4px;
  width: 18px;
}

.cb4e45-menubtn-line {
  height: 2px;
  border-radius: 2px;
  background: var(--cb4e45-ink);
  transition: transform 0.22s var(--cb4e45-ease), opacity 0.18s var(--cb4e45-ease), width 0.22s var(--cb4e45-ease);
}

.cb4e45-menubtn-line:nth-child(2) { width: 13px; justify-self: start; }

.cb4e45-menubtn.cb4e45-is-open .cb4e45-menubtn-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }

.cb4e45-menubtn.cb4e45-is-open .cb4e45-menubtn-line:nth-child(2) { opacity: 0; }

.cb4e45-menubtn.cb4e45-is-open .cb4e45-menubtn-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Compact route panel ---------- */
.cb4e45-routes {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s var(--cb4e45-ease);
}

.cb4e45-routes.cb4e45-is-open { grid-template-rows: 1fr; }

.cb4e45-routes-inner { overflow: hidden; }

.cb4e45-routes-cap {
  margin: 0 0 7px;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cb4e45-mute-lift);
}

.cb4e45-routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px 12px 14px;
}

.cb4e45-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 9px 11px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--cb4e45-ink);
  background: var(--cb4e45-panel-soft);
  border: 1px solid var(--cb4e45-line);
  border-radius: var(--cb4e45-radius-card);
  transition: background-color 0.16s var(--cb4e45-ease), color 0.16s var(--cb4e45-ease);
}

.cb4e45-route::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--cb4e45-mute);
  border-right: 2px solid var(--cb4e45-mute);
  transform: rotate(45deg);
  flex: none;
}

.cb4e45-route:active { background: var(--cb4e45-panel-lift); }

.cb4e45-route.cb4e45-is-active {
  background: var(--cb4e45-ink);
  color: var(--cb4e45-ground);
  border-color: var(--cb4e45-ink);
}

.cb4e45-route.cb4e45-is-active::after { border-color: var(--cb4e45-ground); }

/* ---------- 7. Main column ---------- */
.cb4e45-main {
  padding: 72px 14px 18px;
}

/* ---------- 8. Hero ---------- */
.cb4e45-hero { padding: 8px 0 2px; }

.cb4e45-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cb4e45-mute-lift);
}

.cb4e45-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cb4e45-ink);
}

.cb4e45-hero h1 {
  font-size: clamp(21px, 6.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.cb4e45-hero h1 em {
  font-style: normal;
  box-shadow: inset 0 -0.45em rgba(236, 240, 241, 0.16);
}

.cb4e45-lead {
  color: var(--cb4e45-ink);
  font-size: 13.5px;
}

.cb4e45-lead + .cb4e45-lead { margin-top: -2px; }

/* Big segmented hero CTA */
.cb4e45-cta {
  display: flex;
  align-items: stretch;
  margin: 14px 0 12px;
  border: 1px solid var(--cb4e45-line-strong);
  border-radius: var(--cb4e45-radius-pill);
  overflow: hidden;
  background: rgba(236, 240, 241, 0.05);
}

.cb4e45-cta-btn {
  flex: 1 1 50%;
  min-height: var(--cb4e45-tap);
  font-family: var(--cb4e45-display-stack);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: background-color 0.16s var(--cb4e45-ease), transform 0.12s var(--cb4e45-ease);
}

.cb4e45-cta-btn:active { transform: scale(0.97); }

.cb4e45-cta-btn--solid {
  background: var(--cb4e45-ink);
  color: var(--cb4e45-ground);
}

.cb4e45-cta-btn--ghost {
  color: var(--cb4e45-ink);
  border-left: 1px solid var(--cb4e45-line);
}

/* Fact chips rail: summary facts first, details expand later */
.cb4e45-facts {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 0 14px;
}

.cb4e45-facts::-webkit-scrollbar { display: none; }

.cb4e45-fact {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cb4e45-mute-lift);
  background: var(--cb4e45-panel-soft);
  border: 1px solid var(--cb4e45-line);
  border-radius: var(--cb4e45-radius-card);
}

.cb4e45-fact b { color: var(--cb4e45-ink); font-size: 12.5px; }

/* ---------- 9. Promo carousel ---------- */
.cb4e45-carousel { position: relative; margin: 0 0 6px; }

.cb4e45-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 10px;
  border: 1px solid var(--cb4e45-line);
  scrollbar-width: none;
}

.cb4e45-track::-webkit-scrollbar { display: none; }

.cb4e45-slide {
  flex: none;
  width: 100%;
  scroll-snap-align: center;
  padding: 0;
}

.cb4e45-slide img {
  width: 100%;
  aspect-ratio: 750 / 300;
  object-fit: cover;
  border-radius: 9px;
}

.cb4e45-slide:active img { filter: brightness(1.08); }

.cb4e45-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.cb4e45-dot {
  width: 22px;
  height: 6px;
  border-radius: var(--cb4e45-radius-pill);
  background: rgba(236, 240, 241, 0.35);
  transition: background-color 0.2s var(--cb4e45-ease), transform 0.2s var(--cb4e45-ease);
}

.cb4e45-dot.cb4e45-is-on {
  background: var(--cb4e45-ink);
  transform: scaleX(1.15);
}

/* ---------- 10. Category jump chips ---------- */
.cb4e45-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 10px 0 4px;
}

.cb4e45-chips::-webkit-scrollbar { display: none; }

.cb4e45-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--cb4e45-ink);
  background: var(--cb4e45-panel);
  border: 1px solid var(--cb4e45-line);
  border-radius: var(--cb4e45-radius-pill);
  transition: background-color 0.16s var(--cb4e45-ease);
}

.cb4e45-chip b { color: var(--cb4e45-mute-lift); font-size: 10.5px; }

.cb4e45-chip:active { background: var(--cb4e45-panel-lift); }

/* ---------- 11. Game sections ---------- */
.cb4e45-section {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--cb4e45-line);
}

.cb4e45-section-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.cb4e45-section-no {
  font-family: var(--cb4e45-display-stack);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--cb4e45-ground);
  background: var(--cb4e45-mute);
  border-radius: var(--cb4e45-radius-card);
  padding: 4px 7px;
  margin-top: 3px;
  flex: none;
}

.cb4e45-section h2 {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.1px;
  margin: 0;
}

/* Game grid: 4 columns at 320px, 5 from 390px up */
.cb4e45-games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 7px;
  margin: 12px 0 4px;
}

.cb4e45-game {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 4px 6px;
  background: var(--cb4e45-panel-soft);
  border: 1px solid var(--cb4e45-line);
  border-radius: var(--cb4e45-radius-card);
  text-align: center;
  transition: background-color 0.16s var(--cb4e45-ease), transform 0.12s var(--cb4e45-ease), border-color 0.16s var(--cb4e45-ease);
}

.cb4e45-game:active {
  transform: scale(0.94);
  background: var(--cb4e45-panel-lift);
  border-color: var(--cb4e45-line-strong);
}

.cb4e45-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: var(--cb4e45-panel);
}

/* Name strip under each icon, controlled two-line wrap */
.cb4e45-game-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.28;
  font-weight: 600;
  color: var(--cb4e45-mute-lift);
  min-height: 26px;
}

.cb4e45-game:active .cb4e45-game-name { color: var(--cb4e45-ink); }

/* ---------- 12. Content modules ---------- */
.cb4e45-block { margin-top: 24px; }

.cb4e45-block h2 {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.cb4e45-block h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cb4e45-ink);
  margin: 14px 0 4px;
}

.cb4e45-block h3::before {
  content: "?";
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cb4e45-ink);
  color: var(--cb4e45-ground);
  font-size: 11px;
  font-weight: 800;
  vertical-align: -3px;
}

.cb4e45-body { color: var(--cb4e45-ink); font-size: 13.5px; }

.cb4e45-body a {
  color: var(--cb4e45-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Category highlight tiles: fact line + expandable note */
.cb4e45-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.cb4e45-tile {
  padding: 10px 10px 9px;
  background: var(--cb4e45-panel-soft);
  border: 1px solid var(--cb4e45-line);
  border-left: 3px solid var(--cb4e45-mute);
  border-radius: var(--cb4e45-radius-card);
}

.cb4e45-tile-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cb4e45-mute-lift);
  margin-bottom: 4px;
}

.cb4e45-tile-fact { font-size: 12px; font-weight: 700; margin: 0 0 4px; }

.cb4e45-tile-note { font-size: 11.5px; color: var(--cb4e45-mute-lift); margin: 0; }

/* Achievement rows: milestone rail */
.cb4e45-miles { list-style: none; margin: 12px 0 0; padding: 0; }

.cb4e45-mile {
  position: relative;
  display: flex;
  gap: 11px;
  padding: 9px 0 9px 2px;
  border-bottom: 1px dashed var(--cb4e45-line);
}

.cb4e45-mile:last-child { border-bottom: 0; }

.cb4e45-mile-dot {
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  border: 3px solid var(--cb4e45-mute);
  background: var(--cb4e45-ground);
  transition: border-color 0.16s var(--cb4e45-ease), transform 0.16s var(--cb4e45-ease);
}

.cb4e45-mile:active .cb4e45-mile-dot {
  border-color: var(--cb4e45-ink);
  transform: scale(1.15);
}

.cb4e45-mile b { display: block; font-size: 12.5px; margin-bottom: 2px; }

.cb4e45-mile span { font-size: 12px; color: var(--cb4e45-mute-lift); }

/* Checklist rows */
.cb4e45-checks { margin: 12px 0 0; padding: 0; list-style: none; }

.cb4e45-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 10px;
  margin-bottom: 7px;
  background: var(--cb4e45-panel-soft);
  border: 1px solid var(--cb4e45-line);
  border-radius: var(--cb4e45-radius-card);
  font-size: 12.5px;
}

.cb4e45-check-ico {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cb4e45-ink);
  color: var(--cb4e45-ground);
  font-size: 11px;
  font-weight: 800;
}

.cb4e45-check b { color: var(--cb4e45-ink); }

.cb4e45-check span { color: var(--cb4e45-mute-lift); }

/* Step rows */
.cb4e45-steps { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: cb4e45step; }

.cb4e45-step {
  counter-increment: cb4e45step;
  position: relative;
  padding: 0 0 12px 34px;
}

.cb4e45-step::before {
  content: counter(cb4e45step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--cb4e45-display-stack);
  font-weight: 800;
  font-size: 11px;
  color: var(--cb4e45-ground);
  background: var(--cb4e45-ink);
  border-radius: var(--cb4e45-radius-card);
  padding: 4px 6px;
}

.cb4e45-step::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: var(--cb4e45-line-strong);
}

.cb4e45-step:last-child::after { display: none; }

.cb4e45-step b { display: block; font-size: 13px; margin-bottom: 2px; }

.cb4e45-step span { font-size: 12.5px; color: var(--cb4e45-mute-lift); }

/* Expandable detail notes (fact summary -> expand rhythm) */
.cb4e45-detail {
  margin: 12px 0 0;
  border: 1px solid var(--cb4e45-line);
  border-radius: var(--cb4e45-radius-card);
  background: var(--cb4e45-panel);
}

.cb4e45-detail summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 11px 13px;
  font-weight: 700;
  font-size: 13px;
}

.cb4e45-detail summary::-webkit-details-marker { display: none; }

.cb4e45-detail summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 2px solid var(--cb4e45-mute);
  border-bottom: 2px solid var(--cb4e45-mute);
  transform: rotate(45deg);
  transition: transform 0.2s var(--cb4e45-ease);
}

.cb4e45-detail[open] summary::after { transform: rotate(225deg); }

.cb4e45-detail-body {
  padding: 0 13px 12px;
  font-size: 12.5px;
  color: var(--cb4e45-mute-lift);
}

/* ---------- 13. Extended footer ---------- */
.cb4e45-xfoot {
  margin-top: 26px;
  padding: 16px 13px 14px;
  background: var(--cb4e45-ground-deep);
  border: 1px solid var(--cb4e45-line);
  border-radius: 12px 12px 0 0;
}

.cb4e45-xfoot-cap {
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--cb4e45-mute);
}

.cb4e45-xfoot-brand p { font-size: 12.5px; color: var(--cb4e45-mute-lift); }

.cb4e45-partners {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 10px 0 2px;
}

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

.cb4e45-partners img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--cb4e45-radius-card);
  background: var(--cb4e45-panel-soft);
  border: 1px solid var(--cb4e45-line);
  padding: 4px;
  object-fit: contain;
}

.cb4e45-xfoot-dir {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--cb4e45-line);
}

.cb4e45-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.cb4e45-dir-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 9px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--cb4e45-mute-lift);
  background: var(--cb4e45-panel-soft);
  border: 1px solid var(--cb4e45-line);
  border-radius: var(--cb4e45-radius-card);
  transition: color 0.16s var(--cb4e45-ease), background-color 0.16s var(--cb4e45-ease);
}

.cb4e45-dir-link:active { color: var(--cb4e45-ink); background: var(--cb4e45-panel-lift); }

.cb4e45-xfoot-promos {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--cb4e45-line);
}

.cb4e45-promo-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.cb4e45-promo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--cb4e45-tap);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cb4e45-ground);
  background: var(--cb4e45-ink);
  border-radius: var(--cb4e45-radius-pill);
  transition: transform 0.12s var(--cb4e45-ease), background-color 0.16s var(--cb4e45-ease), color 0.16s var(--cb4e45-ease);
}

.cb4e45-promo-link:nth-child(even) {
  background: transparent;
  color: var(--cb4e45-ink);
  border: 1px solid var(--cb4e45-line-strong);
}

.cb4e45-promo-link:active { transform: scale(0.96); }

.cb4e45-promo-link::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.cb4e45-xfoot-note {
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--cb4e45-line);
  font-size: 11px;
  color: var(--cb4e45-mute);
}

/* ---------- 14. Common footer ---------- */
.cb4e45-footer {
  padding: 10px 0 4px;
  text-align: center;
  font-size: 11.5px;
  color: var(--cb4e45-mute);
}

/* Clearance for the fixed bottom band (main + footer share the page flow) */
.cb4e45-footer,
.cb4e45-main {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 15. Bottom navigation band ---------- */
.cb4e45-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.97), #101820);
  border-top: 2px solid rgba(236, 240, 241, 0.22);
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
}

.cb4e45-bn-item {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 4px 2px;
  text-decoration: none;
  color: var(--cb4e45-mute);
  position: relative;
  transition: color 0.18s var(--cb4e45-ease);
}

.cb4e45-bn-ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  transition: transform 0.16s var(--cb4e45-ease);
}

.cb4e45-bn-ico svg { width: 22px; height: 22px; display: block; }

.cb4e45-bn-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.cb4e45-bn-item:active .cb4e45-bn-ico { transform: translateY(-1px) scale(0.88); }

.cb4e45-bn-item:active { color: var(--cb4e45-mute-lift); }

.cb4e45-bn-item.cb4e45-is-active { color: var(--cb4e45-ink); }

.cb4e45-bn-item.cb4e45-is-active .cb4e45-bn-ico { transform: translateY(-1px); }

.cb4e45-bn-item.cb4e45-is-active .cb4e45-bn-label { letter-spacing: 0.4px; }

.cb4e45-bn-item.cb4e45-is-active::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: var(--cb4e45-radius-pill);
  background: var(--cb4e45-ink);
}

/* ---------- Compatible accessibility and editorial additions ---------- */
html { scroll-padding-top: 86px; scroll-padding-bottom: 76px; }
.cb4e45-bar { gap: 6px; padding-left: 7px; padding-right: 7px; }
.cb4e45-brand { gap: 6px; padding-left: 6px; padding-right: 3px; }
.cb4e45-brand-name { font-size: 19px; }
.cb4e45-bar-actions { gap: 5px; }
.cb4e45-seg-btn { min-height: 44px; padding: 7px 10px; }
.cb4e45-menubtn { width: 44px; height: 44px; flex: none; }
.cb4e45-route, .cb4e45-chip, .cb4e45-dir-link { min-height: 44px; }
.cb4e45-routes.cb4e45-is-open .cb4e45-routes-inner { max-height: calc(100dvh - 150px); overflow-y: auto; }
.cb4e45-routes-cap { color: #bbc5cc; }
.cb4e45-routes-padding { padding: 10px 12px 0; }
.cb4e45-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cb4e45-game { min-width: 0; }
.cb4e45-game-img { aspect-ratio: auto; height: auto; object-fit: contain; }
.cb4e45-game-name { display: block; overflow: visible; -webkit-line-clamp: unset; color: #c7d0d6; overflow-wrap: anywhere; }
.cb4e45-slide img { aspect-ratio: auto; height: auto; object-fit: contain; }
.cb4e45-dots { position: static; padding-top: 3px; gap: 4px; }
.cb4e45-dot { width: 44px; height: 44px; border-radius: 6px; background: transparent; position: relative; }
.cb4e45-dot::after { content: ''; position: absolute; width: 22px; height: 6px; top: 19px; left: 11px; border-radius: 999px; background: #808080; }
.cb4e45-dot.cb4e45-is-on { background: transparent; transform: none; }
.cb4e45-dot.cb4e45-is-on::after { background: #ECF0F1; }
.cb4e45-carousel-control { display: flex; justify-content: center; }
.cb4e45-carousel-pause { min-height: 44px; padding: 6px 16px; border: 1px solid var(--cb4e45-line-strong); border-radius: 999px; }
.cb4e45-tiles { grid-template-columns: 1fr; }
.cb4e45-tile-note, .cb4e45-mile span, .cb4e45-step span, .cb4e45-check span, .cb4e45-detail-body { color: #c7d0d6; font-size: 13px; }
.cb4e45-xfoot-cap, .cb4e45-xfoot-note, .cb4e45-footer, .cb4e45-bn-item { color: #bbc5cc; }
.cb4e45-body a, .cb4e45-lead a { display: inline-block; min-height: 44px; padding-block: 10px; }
.cb4e45-dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cb4e45-dir-link { overflow-wrap: anywhere; color: #c7d0d6; }
.cb4e45-block h3::before { content: none; }
.cb4e45-prose { font-size: 14px; line-height: 1.65; }
.cb4e45-prose p { margin-bottom: 13px; }
.cb4e45-prose a { display: inline-block; min-height: 44px; padding-block: 10px; text-underline-offset: 4px; }
.cb4e45-action { display: block; width: 100%; min-height: 44px; padding: 11px 13px; margin: 12px 0; text-align: left; border: 1px solid var(--cb4e45-line-strong); border-radius: 999px; background: var(--cb4e45-panel-lift); transition: background-color .18s; }
.cb4e45-action:hover, .cb4e45-action:active { background: #3d4e5b; }
.cb4e45-verdict { border-left: 4px solid #ECF0F1; padding: 12px; background: var(--cb4e45-panel-soft); margin-block: 14px; }
.cb4e45-branch { padding: 14px 0; border-bottom: 1px solid var(--cb4e45-line); }
.cb4e45-terms { margin: 14px 0; }
.cb4e45-terms dt { font-weight: 800; padding-top: 12px; }
.cb4e45-terms dd { margin: 5px 0 14px; color: #c7d0d6; }
.cb4e45-case { margin: 14px 0; padding: 12px; border: 1px solid var(--cb4e45-line); background: var(--cb4e45-panel); border-radius: 6px; }
.cb4e45-case h3 { margin-top: 0; }
.cb4e45-compare { margin-block: 14px; padding: 14px; border-top: 3px solid #808080; background: var(--cb4e45-panel-soft); }
.cb4e45-compare ul { padding-left: 18px; }
.cb4e45-compare li { margin-bottom: 12px; }
.cb4e45-review-note { padding: 12px 0; border-bottom: 1px dashed var(--cb4e45-line-strong); }
.cb4e45-facts { padding-left: 0; }
.cb4e45-help .cb4e45-facts { margin-top: 14px; }
@media (min-width: 390px) { .cb4e45-games { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- 16. Utilities & motion budget ---------- */
.cb4e45-press { transition: transform 0.12s var(--cb4e45-ease); }

.cb4e45-press:active { transform: scale(0.96); }

@media (min-width: 390px) {
  .cb4e45-games { grid-template-columns: repeat(5, 1fr); }
  .cb4e45-dir-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 430px) {
  .cb4e45-route { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
