/* ============================================================
   Fortune Casino - canvas-native stylesheet
   Mobile-first phone canvas: 320px -> 430px, centered on wide
   screens. All class names use the view0bb70- prefix.
   Palette anchors: #333333 (deep charcoal canvas) + #FFA500
   (signal amber). Do not reuse outside this site.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --view0bb70-bg: #333333;            /* site base charcoal */
  --view0bb70-bg-deep: #262626;       /* page backdrop behind canvas */
  --view0bb70-panel: #3b3b3b;         /* raised panels */
  --view0bb70-panel-2: #424242;       /* hover / nested panels */
  --view0bb70-line: #4d4d4d;          /* hairline borders */
  --view0bb70-amber: #ffa500;         /* primary signal color */
  --view0bb70-amber-deep: #e59400;    /* pressed amber */
  --view0bb70-amber-veil: rgba(255, 165, 0, 0.14);
  --view0bb70-amber-line: rgba(255, 165, 0, 0.42);
  --view0bb70-text: #f4efe6;          /* warm off-white copy */
  --view0bb70-muted: #bdb5a7;         /* secondary copy */
  --view0bb70-ink-on-amber: #2e2618;  /* text on amber fills */
  --view0bb70-radius-card: 10px;      /* light card rounding */
  --view0bb70-radius-btn: 8px;        /* compact button rounding */
  --view0bb70-radius-tile: 12px;      /* icon tile rounding */
  --view0bb70-font-head: "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  --view0bb70-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --view0bb70-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --view0bb70-head-h: 108px;          /* fixed header block height */
  --view0bb70-tabbar-h: 66px;         /* fixed bottom nav height */
  --view0bb70-tap: 44px;              /* minimum touch target */
  --view0bb70-glow: 0 0 12px rgba(255, 165, 0, 0.35);
  --view0bb70-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  --view0bb70-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--view0bb70-bg-deep);
  color: var(--view0bb70-text);
  font-family: var(--view0bb70-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--view0bb70-amber); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- the 430px phone canvas ---------- */
.view0bb70-canvas {
  position: relative;
  max-width: 430px;                   /* hard phone-canvas ceiling */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--view0bb70-bg);
  overflow-x: hidden;
  overflow-x: clip;
}

@media (min-width: 431px) {
  .view0bb70-canvas {
    border-inline: 1px solid var(--view0bb70-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
  }
}

/* main column clears fixed header + fixed tab bar */
.view0bb70-main {
  padding-top: calc(var(--view0bb70-head-h) + 10px);
  padding-bottom: calc(var(--view0bb70-tabbar-h) + env(safe-area-inset-bottom, 0px) + 18px);
}

.view0bb70-wrap { padding-inline: 14px; }

/* ============================================================
   HEADER - two-layer top: brand strip over action strip
   ============================================================ */
.view0bb70-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #3a3a3a 0%, var(--view0bb70-bg) 100%);
  border-bottom: 1px solid var(--view0bb70-amber-line);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

/* layer 1: brand only - logo image + site name, nothing else */
.view0bb70-brandbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 14px 6px;
}

.view0bb70-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--view0bb70-amber-line);
  background: var(--view0bb70-panel);
  object-fit: cover;
  flex: none;
}

.view0bb70-wordmark {
  font-family: var(--view0bb70-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--view0bb70-text);
  line-height: 1.15;
}
.view0bb70-wordmark em {
  font-style: normal;
  color: var(--view0bb70-amber);
}

/* layer 2: compact actions */
.view0bb70-actionbar {
  display: grid;
  grid-template-columns: 1fr 1fr 48px;
  gap: 8px;
  align-items: center;
  padding: 0 14px 9px;
}

.view0bb70-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--view0bb70-tap);
  padding: 9px 14px;
  border-radius: var(--view0bb70-radius-btn);
  border: 1px solid transparent;
  font-family: var(--view0bb70-font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.16s var(--view0bb70-ease), box-shadow 0.16s var(--view0bb70-ease),
    background-color 0.16s var(--view0bb70-ease), color 0.16s var(--view0bb70-ease);
}
.view0bb70-btn:hover { text-decoration: none; }

.view0bb70-btn-amber {
  background: linear-gradient(180deg, #ffb52e 0%, var(--view0bb70-amber) 55%, var(--view0bb70-amber-deep) 100%);
  color: var(--view0bb70-ink-on-amber);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.view0bb70-btn-amber:active { transform: translateY(1px) scale(0.98); box-shadow: var(--view0bb70-glow); }

.view0bb70-btn-ghost {
  background: transparent;
  color: var(--view0bb70-amber);
  border-color: var(--view0bb70-amber-line);
}
.view0bb70-btn-ghost:active { background: var(--view0bb70-amber-veil); transform: scale(0.98); }

/* menu trigger - contained symbol tile */
.view0bb70-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  border-radius: var(--view0bb70-radius-btn);
  border: 1px solid var(--view0bb70-line);
  background: var(--view0bb70-panel);
  cursor: pointer;
}
.view0bb70-menubtn:hover { border-color: var(--view0bb70-amber-line); }
.view0bb70-menubtn .view0bb70-ico { width: 21px; height: 21px; stroke: var(--view0bb70-amber); }
.view0bb70-menubtn[aria-expanded="true"] {
  background: var(--view0bb70-amber-veil);
  border-color: var(--view0bb70-amber);
  box-shadow: var(--view0bb70-glow);
}

/* ---------- layered dropdown menu ---------- */
.view0bb70-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #373737;
  border-bottom: 1px solid var(--view0bb70-line);
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.5);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.28s var(--view0bb70-ease), visibility 0.28s;
}
.view0bb70-menu.view0bb70-open {
  max-height: 620px;
  visibility: visible;
  overflow-y: auto;
}

.view0bb70-menu-label {
  font-family: var(--view0bb70-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--view0bb70-muted);
  padding: 12px 16px 4px;
}

.view0bb70-menu ul { list-style: none; margin: 0; padding: 0 10px 6px; }

.view0bb70-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  margin: 2px 0;
  border-radius: var(--view0bb70-radius-btn);
  color: var(--view0bb70-text);
  font-size: 14px;
  font-weight: 600;
}
.view0bb70-menu a:hover,
.view0bb70-menu a:focus-visible {
  background: var(--view0bb70-amber-veil);
  color: var(--view0bb70-amber);
  text-decoration: none;
}
.view0bb70-menu a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--view0bb70-amber);
  border-right: 2px solid var(--view0bb70-amber);
  transform: rotate(45deg);
  flex: none;
}
.view0bb70-menu a[aria-current="page"] {
  background: var(--view0bb70-amber-veil);
  box-shadow: inset 3px 0 0 var(--view0bb70-amber);
}

/* ============================================================
   HERO + carousel
   ============================================================ */
.view0bb70-hero { padding: 14px 14px 4px; }

.view0bb70-hero h1 {
  font-family: var(--view0bb70-font-head);
  font-size: clamp(21px, 6.4vw, 27px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
  text-wrap: balance;
}
.view0bb70-hero h1 span { color: var(--view0bb70-amber); }

.view0bb70-lede {
  margin: 0 0 12px;
  color: var(--view0bb70-muted);
  font-size: 14px;
}

.view0bb70-statrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.view0bb70-chip {
  font-family: var(--view0bb70-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--view0bb70-amber);
  background: var(--view0bb70-amber-veil);
  border: 1px solid var(--view0bb70-amber-line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* carousel */
.view0bb70-carousel {
  position: relative;
  margin: 0 14px 6px;
  border-radius: var(--view0bb70-radius-tile);
  overflow: hidden;
  border: 1px solid var(--view0bb70-line);
  box-shadow: var(--view0bb70-shadow);
  background: var(--view0bb70-panel);
}
.view0bb70-track {
  display: flex;
  transition: transform 0.45s var(--view0bb70-ease);
  scroll-snap-type: x mandatory;
}
.view0bb70-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  display: block;
}
.view0bb70-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.view0bb70-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 9px;
  font-family: var(--view0bb70-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}
.view0bb70-slide:hover .view0bb70-slide-cap { color: var(--view0bb70-amber); }

.view0bb70-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 0 2px;
}
.view0bb70-dot {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.view0bb70-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--view0bb70-line);
  transition: width 0.2s var(--view0bb70-ease), background-color 0.2s;
}
.view0bb70-dot:hover::before { background: var(--view0bb70-muted); }
.view0bb70-dot.view0bb70-on::before { width: 20px; background: var(--view0bb70-amber); }
.view0bb70-dot.view0bb70-on { filter: drop-shadow(0 0 5px rgba(255, 165, 0, 0.7)); }

/* ============================================================
   GAME SHELVES
   ============================================================ */
.view0bb70-shelf { padding: 22px 0 4px; }

.view0bb70-shelfhead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 14px 6px;
}
.view0bb70-shelfhead h2 {
  font-family: var(--view0bb70-font-head);
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0;
  flex: 1 1 auto;
}
.view0bb70-count {
  font-family: var(--view0bb70-font-mono);
  font-size: 10.5px;
  color: var(--view0bb70-ink-on-amber);
  background: var(--view0bb70-amber);
  border-radius: 999px;
  padding: 2px 9px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.view0bb70-shelfintro {
  margin: 0 14px 12px;
  color: var(--view0bb70-muted);
  font-size: 13.5px;
}
.view0bb70-shelfintro strong { color: var(--view0bb70-text); font-weight: 700; }

/* related subpage short links under each shelf */
.view0bb70-shelflinks {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 14px 12px;
}
.view0bb70-shelflinks a {
  font-family: var(--view0bb70-font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--view0bb70-amber);
  border: 1px dashed var(--view0bb70-amber-line);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}
.view0bb70-shelflinks a:hover { background: var(--view0bb70-amber-veil); text-decoration: none; }

/* pure-image game cards: icon tile + short name underneath */
.view0bb70-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  padding: 0 12px 6px;
}
@media (min-width: 375px) {
  .view0bb70-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.view0bb70-gcard {
  display: block;
  min-width: 0;
  color: var(--view0bb70-text);
  border-radius: var(--view0bb70-radius-card);
  transition: transform 0.16s var(--view0bb70-ease);
}
.view0bb70-gcard:hover { text-decoration: none; transform: translateY(-2px); }
.view0bb70-gcard:active { transform: scale(0.95); }

.view0bb70-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--view0bb70-radius-card);
  border: 1px solid var(--view0bb70-line);
  background: var(--view0bb70-panel);
  transition: border-color 0.16s, box-shadow 0.16s;
}
.view0bb70-gcard:hover img {
  border-color: var(--view0bb70-amber);
  box-shadow: var(--view0bb70-glow);
}

.view0bb70-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  color: var(--view0bb70-muted);
  overflow-wrap: anywhere;
}
.view0bb70-gcard:hover .view0bb70-gname { color: var(--view0bb70-amber); }

/* ============================================================
   CONTENT MODULES (steps / compare / answer / CTA)
   ============================================================ */
.view0bb70-module { padding: 26px 14px 6px; }

.view0bb70-module > h2 {
  font-family: var(--view0bb70-font-head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.32;
  margin: 0 0 10px;
}
.view0bb70-module > h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--view0bb70-amber);
  margin-bottom: 8px;
}

.view0bb70-module p { margin: 0 0 12px; color: var(--view0bb70-muted); font-size: 14px; }
.view0bb70-module p strong,
.view0bb70-module li strong { color: var(--view0bb70-text); }
.view0bb70-module a { text-decoration: underline; text-underline-offset: 3px; }
.view0bb70-module a:hover { text-decoration: none; }

/* step-progression list */
.view0bb70-steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  counter-reset: view0bb70-step;
}
.view0bb70-steps li {
  counter-increment: view0bb70-step;
  position: relative;
  padding: 0 0 14px 44px;
  font-size: 14px;
  color: var(--view0bb70-muted);
}
.view0bb70-steps li::before {
  content: counter(view0bb70-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--view0bb70-panel);
  border: 1px solid var(--view0bb70-amber-line);
  color: var(--view0bb70-amber);
  font-family: var(--view0bb70-font-mono);
  font-size: 12px;
  font-weight: 700;
}
.view0bb70-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 2px;
  width: 1px;
  background: var(--view0bb70-line);
}
.view0bb70-steps li b { color: var(--view0bb70-text); }

/* comparison rows */
.view0bb70-compare {
  border: 1px solid var(--view0bb70-line);
  border-radius: var(--view0bb70-radius-tile);
  background: var(--view0bb70-panel);
  overflow: hidden;
  margin: 0 0 14px;
}
.view0bb70-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--view0bb70-line);
  font-size: 13.5px;
  color: var(--view0bb70-muted);
}
.view0bb70-row:last-child { border-bottom: 0; }
.view0bb70-row dt {
  font-family: var(--view0bb70-font-head);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--view0bb70-amber);
  padding-top: 2px;
}

/* direct-answer panel */
.view0bb70-answer {
  border-inline-start: 3px solid var(--view0bb70-amber);
  border-radius: var(--view0bb70-radius-card);
  background: linear-gradient(90deg, var(--view0bb70-amber-veil), transparent 72%);
  padding: 13px 14px;
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--view0bb70-text);
}

/* compact dual-button CTA group */
.view0bb70-ctagroup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 10px;
}
.view0bb70-ctagroup .view0bb70-btn { width: 100%; }
.view0bb70-ctanote {
  font-family: var(--view0bb70-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--view0bb70-muted);
  margin: 0 0 14px;
}

/* mini inline promo links inside copy */
.view0bb70-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--view0bb70-amber);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.view0bb70-inline-cta:hover { text-decoration: none; }

/* ============================================================
   EXTENDED FOOTER (page directory > brand > promotions > disclaimer)
   ============================================================ */
.view0bb70-extfoot {
  margin-top: 28px;
  border-top: 1px solid var(--view0bb70-amber-line);
  background: linear-gradient(180deg, #383838, #2f2f2f);
  padding: 18px 14px 8px;
}

.view0bb70-extsect { margin-bottom: 18px; }
.view0bb70-extsect h2,
.view0bb70-extsect h3 {
  font-family: var(--view0bb70-font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--view0bb70-amber);
  margin: 0 0 9px;
}

.view0bb70-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.view0bb70-dirgrid a {
  display: block;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--view0bb70-line);
  border-radius: var(--view0bb70-radius-btn);
  background: var(--view0bb70-panel);
  color: var(--view0bb70-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.view0bb70-dirgrid a:hover {
  border-color: var(--view0bb70-amber);
  color: var(--view0bb70-amber);
  text-decoration: none;
}

.view0bb70-brandblurb {
  font-size: 13px;
  color: var(--view0bb70-muted);
  margin: 0;
}

/* six short-label promotion entries */
.view0bb70-promolist { list-style: none; margin: 0; padding: 0; }
.view0bb70-promolist li + li { margin-top: 6px; }
.view0bb70-promolist button,
.view0bb70-promolist a.view0bb70-plink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: var(--view0bb70-tap);
  padding: 10px 12px;
  border: 1px solid var(--view0bb70-amber-line);
  border-radius: var(--view0bb70-radius-btn);
  background: var(--view0bb70-amber-veil);
  color: var(--view0bb70-amber);
  font-family: var(--view0bb70-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.16s, box-shadow 0.16s;
}
.view0bb70-promolist button:hover,
.view0bb70-promolist a.view0bb70-plink:hover {
  background: rgba(255, 165, 0, 0.22);
  box-shadow: var(--view0bb70-glow);
  text-decoration: none;
}
.view0bb70-promolist .view0bb70-arrow {
  font-family: var(--view0bb70-font-mono);
  font-size: 12px;
  flex: none;
}

.view0bb70-disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--view0bb70-muted);
  border: 1px dashed var(--view0bb70-line);
  border-radius: var(--view0bb70-radius-card);
  padding: 10px 11px;
  margin: 0;
}

/* common bottom strip: copyright */
.view0bb70-foot {
  padding: 14px 14px 10px;
  text-align: center;
  border-top: 1px solid var(--view0bb70-line);
}
.view0bb70-foot p {
  margin: 0;
  font-family: var(--view0bb70-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--view0bb70-muted);
}
.view0bb70-foot .view0bb70-fbrand { color: var(--view0bb70-amber); }

/* ============================================================
   FIXED BOTTOM NAV - 5 roles, contained symbol tiles
   ============================================================ */
.view0bb70-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;                   /* stays inside the phone canvas */
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #3a3a3a;
  border-top: 2px solid var(--view0bb70-amber);  /* brand accent band */
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.45);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}

.view0bb70-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--view0bb70-tap);
  padding: 4px 2px;
  border-radius: var(--view0bb70-radius-btn);
  color: var(--view0bb70-muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  font-family: var(--view0bb70-font-head);
  position: relative;
}
.view0bb70-tab:hover { color: var(--view0bb70-text); text-decoration: none; }

.view0bb70-tile {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--view0bb70-panel);
  border: 1px solid var(--view0bb70-line);
  transition: border-color 0.16s, box-shadow 0.16s, background-color 0.16s;
}
.view0bb70-tile .view0bb70-ico { width: 17px; height: 17px; stroke: currentColor; fill: none; }

.view0bb70-tab span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.view0bb70-tab:active .view0bb70-tile { box-shadow: var(--view0bb70-glow); }

/* active tab emphasis */
.view0bb70-tab.view0bb70-here { color: var(--view0bb70-amber); }
.view0bb70-tab.view0bb70-here .view0bb70-tile {
  background: var(--view0bb70-amber-veil);
  border-color: var(--view0bb70-amber);
  box-shadow: var(--view0bb70-glow);
}
.view0bb70-tab.view0bb70-here::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--view0bb70-amber);
}

/* ============================================================
   back-to-top chip
   ============================================================ */
.view0bb70-totop {
  position: fixed;
  right: calc(50% - 215px + 12px);    /* pinned to the 430px canvas edge */
  bottom: calc(var(--view0bb70-tabbar-h) + env(safe-area-inset-bottom, 0px) + 14px);
  z-index: 54;
  width: var(--view0bb70-tap);
  height: var(--view0bb70-tap);
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--view0bb70-amber-line);
  background: rgba(51, 51, 51, 0.92);
  cursor: pointer;
  box-shadow: var(--view0bb70-shadow);
}
.view0bb70-totop.view0bb70-show { display: inline-flex; }
.view0bb70-totop .view0bb70-ico { width: 18px; height: 18px; stroke: var(--view0bb70-amber); }
@media (max-width: 431px) {
  .view0bb70-totop { right: 12px; }
}

/* ============================================================
   utilities & motion budget (short-range, zoned transitions)
   ============================================================ */
.view0bb70-secdiv {
  height: 1px;
  margin: 20px 14px 0;
  background: linear-gradient(90deg, transparent, var(--view0bb70-line), transparent);
  border: 0;
}

.view0bb70-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--view0bb70-amber);
  color: var(--view0bb70-ink-on-amber);
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 99;
}
.view0bb70-skip:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .view0bb70-track { transition: none; }
}

/* long-name protection: game labels never blow the 4/5-col tracks */
.view0bb70-gname,
.view0bb70-slide-cap,
.view0bb70-menu a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* wide-screen guard: nothing may exceed the 430px canvas */
.view0bb70-canvas img,
.view0bb70-canvas video { max-width: 100%; }
