/* ==========================================================================
   222 bet app - mobile-first base stylesheet
   Palette: #141414 (canvas) / #00FFFF (signal ink)
   Tone: technical headings + open body text, near-square tool corners,
   floating-layer game tiles, step-driven content rhythm, glow only on CTAs.
   ========================================================================== */

/* ------------------------------ tokens ---------------------------------- */
:root {
  --frameb601c-bg: #141414;
  --frameb601c-bg-deep: #0d0d0d;
  --frameb601c-panel: #1c1c1c;
  --frameb601c-panel-2: #222222;
  --frameb601c-line: #303030;
  --frameb601c-line-soft: #262626;
  --frameb601c-ink: #e9feff;
  --frameb601c-ink-dim: #b7d3d6;
  --frameb601c-muted: #8fa8ab;
  --frameb601c-signal: #00ffff;
  --frameb601c-signal-soft: rgba(0, 255, 255, 0.14);
  --frameb601c-signal-line: rgba(0, 255, 255, 0.38);
  --frameb601c-glow: 0 0 14px rgba(0, 255, 255, 0.45);
  --frameb601c-radius: 3px;
  --frameb601c-radius-2: 5px;
  --frameb601c-font-head: "Bahnschrift", "Archivo Narrow", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --frameb601c-font-body: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", sans-serif;
  --frameb601c-font-mono: "Consolas", "Roboto Mono", "Noto Sans Bengali", monospace;
  --frameb601c-topbar-h: 104px;
  --frameb601c-rail-h: 58px;
  --frameb601c-touch: 44px;
}

/* ------------------------------ reset ----------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--frameb601c-bg-deep);
  color: var(--frameb601c-ink);
  font-family: var(--frameb601c-font-body);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--frameb601c-topbar-h);
  padding-bottom: calc(var(--frameb601c-rail-h) + env(safe-area-inset-bottom, 0px) + 30px);
}

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

button,
a {
  -webkit-tap-highlight-color: rgba(0, 255, 255, 0.12);
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--frameb601c-signal);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Visible focus for keyboard users on the dark canvas */
:focus-visible {
  outline: 2px solid var(--frameb601c-signal);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------- phone canvas ------------------------------- */
.frameb601c-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  background: var(--frameb601c-bg);
  overflow-x: clip;
}

@media (min-width: 480px) {
  .frameb601c-canvas {
    border-left: 1px solid var(--frameb601c-line);
    border-right: 1px solid var(--frameb601c-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.6);
  }
}

.frameb601c-main {
  padding: 14px 14px 0;
}

/* ------------------------------- topbar --------------------------------- */
/* Direction: brand row + action row stacked; the brand layer holds only the
   real logo image and the site name, nothing else. */
.frameb601c-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(17, 17, 17, 0.96);
  border-bottom: 1px solid var(--frameb601c-line);
  backdrop-filter: blur(6px);
}

.frameb601c-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 14px 4px;
}

.frameb601c-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 1px solid var(--frameb601c-signal-line);
  border-radius: var(--frameb601c-radius);
  background: var(--frameb601c-panel);
  flex: 0 0 auto;
}

.frameb601c-brandname {
  font-family: var(--frameb601c-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1.2;
  color: var(--frameb601c-ink);
  white-space: nowrap;
}

.frameb601c-brandname b {
  color: var(--frameb601c-signal);
  font-weight: 700;
}

.frameb601c-brandtag {
  display: none;
}

/* action layer: register / login / route panel trigger */
.frameb601c-actionrow {
  display: grid;
  grid-template-columns: 1fr 1fr 44px;
  gap: 8px;
  align-items: center;
  padding: 0 14px 8px;
}

.frameb601c-btn {
  font-family: var(--frameb601c-font-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  min-height: var(--frameb601c-touch);
  border-radius: var(--frameb601c-radius);
  border: 1px solid var(--frameb601c-line);
  background: var(--frameb601c-panel);
  color: var(--frameb601c-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.frameb601c-btn-primary {
  background: var(--frameb601c-signal);
  border-color: var(--frameb601c-signal);
  color: #10201f;
}

.frameb601c-btn-primary:active {
  box-shadow: var(--frameb601c-glow);
}

.frameb601c-btn-ghost {
  background: transparent;
  border-color: var(--frameb601c-signal-line);
  color: var(--frameb601c-signal);
}

.frameb601c-btn-ghost:active {
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* route panel trigger (compact icon square) */
.frameb601c-routetoggle {
  min-height: var(--frameb601c-touch);
  border-radius: var(--frameb601c-radius);
  border: 1px solid var(--frameb601c-line);
  background: var(--frameb601c-panel-2);
  color: var(--frameb601c-signal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.frameb601c-routetoggle svg {
  width: 20px;
  height: 20px;
}

.frameb601c-routetoggle.is-open {
  background: var(--frameb601c-signal-soft);
  border-color: var(--frameb601c-signal-line);
}

/* --------------------------- route panel -------------------------------- */
/* Direction: slide-up route sheet above the bottom rail. */
.frameb601c-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 5, 5, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.frameb601c-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.frameb601c-routepanel {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 105%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  max-height: 74vh;
  overflow-y: auto;
  z-index: 80;
  background: #181818;
  border-top: 2px solid var(--frameb601c-signal);
  border-radius: 10px 10px 0 0;
  padding: 12px 14px calc(var(--frameb601c-rail-h) + env(safe-area-inset-bottom, 0px) + 14px);
  transition: transform 0.26s ease;
}

.frameb601c-routepanel.is-open {
  transform: translate(-50%, 0);
}

.frameb601c-routepanel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--frameb601c-line);
  margin-bottom: 10px;
}

.frameb601c-routepanel-title {
  font-family: var(--frameb601c-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--frameb601c-signal);
  letter-spacing: 0.5px;
}

.frameb601c-routeclose {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--frameb601c-line);
  border-radius: var(--frameb601c-radius);
  color: var(--frameb601c-ink-dim);
  cursor: pointer;
}

.frameb601c-routeclose svg {
  width: 18px;
  height: 18px;
}

.frameb601c-routegroup-label {
  font-family: var(--frameb601c-font-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frameb601c-muted);
  margin: 12px 0 6px;
}

.frameb601c-routelist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.frameb601c-routelink {
  font-family: var(--frameb601c-font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--frameb601c-ink);
  background: var(--frameb601c-panel);
  border: 1px solid var(--frameb601c-line-soft);
  border-left: 3px solid var(--frameb601c-line);
  border-radius: var(--frameb601c-radius);
  min-height: var(--frameb601c-touch);
  padding: 9px 10px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.frameb601c-routelink:hover {
  border-left-color: var(--frameb601c-signal);
  text-decoration: none;
  color: var(--frameb601c-signal);
}

.frameb601c-routelink.is-here {
  background: var(--frameb601c-signal-soft);
  border-left-color: var(--frameb601c-signal);
  color: var(--frameb601c-signal);
}

/* -------------------------------- hero ---------------------------------- */
.frameb601c-hero {
  padding: 16px 0 6px;
}

.frameb601c-hero-title {
  font-family: var(--frameb601c-font-head);
  font-size: 25px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--frameb601c-ink);
  border-left: 4px solid var(--frameb601c-signal);
  padding-left: 12px;
  margin-bottom: 10px;
}

.frameb601c-hero-title span {
  color: var(--frameb601c-signal);
}

.frameb601c-hero-intro {
  color: var(--frameb601c-ink-dim);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.frameb601c-hero-intro b,
.frameb601c-copy b {
  color: var(--frameb601c-ink);
  font-weight: 600;
}

/* full-width primary CTA (site CTA shape direction) */
.frameb601c-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 52px;
  background: var(--frameb601c-signal);
  color: #10201f;
  font-family: var(--frameb601c-font-head);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
  border: 0;
  border-radius: var(--frameb601c-radius);
  cursor: pointer;
  transition: box-shadow 0.16s ease;
}

.frameb601c-cta small {
  font-family: var(--frameb601c-font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.2px;
  opacity: 0.78;
}

.frameb601c-cta:active {
  box-shadow: var(--frameb601c-glow);
}

/* metric strip: 3 compact tiles */
.frameb601c-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 14px 0 4px;
}

.frameb601c-metric {
  background: var(--frameb601c-panel);
  border: 1px solid var(--frameb601c-line-soft);
  border-radius: var(--frameb601c-radius);
  padding: 9px 6px;
  text-align: center;
}

.frameb601c-metric-num {
  font-family: var(--frameb601c-font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--frameb601c-signal);
  line-height: 1.2;
}

.frameb601c-metric-txt {
  font-size: 11.5px;
  color: var(--frameb601c-muted);
  line-height: 1.45;
}

/* ------------------------------ carousel -------------------------------- */
.frameb601c-carousel {
  position: relative;
  margin: 16px 0 6px;
  border: 1px solid var(--frameb601c-line);
  border-radius: var(--frameb601c-radius-2);
  background: var(--frameb601c-panel);
  overflow: hidden;
}

.frameb601c-track {
  display: flex;
  transition: transform 0.38s ease;
}

.frameb601c-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--frameb601c-panel-2);
  text-align: left;
  display: block;
  width: 100%;
}

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

.frameb601c-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0));
  color: var(--frameb601c-ink);
  font-family: var(--frameb601c-font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.frameb601c-slidecap em {
  font-style: normal;
  color: var(--frameb601c-signal);
}

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

.frameb601c-dot {
  width: 22px;
  height: 8px;
  min-width: 22px;
  border: 1px solid var(--frameb601c-signal-line);
  border-radius: 2px;
  background: rgba(20, 20, 20, 0.55);
  cursor: pointer;
  padding: 0;
}

.frameb601c-dot.is-on {
  background: var(--frameb601c-signal);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* ----------------------------- game zones ------------------------------- */
.frameb601c-zone {
  margin-top: 26px;
}

.frameb601c-zone-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--frameb601c-line);
  padding-bottom: 6px;
  margin-bottom: 4px;
}

.frameb601c-zone-tag {
  font-family: var(--frameb601c-font-mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--frameb601c-signal);
  border: 1px solid var(--frameb601c-signal-line);
  border-radius: 2px;
  padding: 2px 6px;
  white-space: nowrap;
}

.frameb601c-zone h2 {
  font-family: var(--frameb601c-font-head);
  font-size: 18.5px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--frameb601c-ink);
  width: 100%;
}

.frameb601c-zone h2 em {
  font-style: normal;
  color: var(--frameb601c-signal);
}

.frameb601c-zonemore {
  font-family: var(--frameb601c-font-head);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}

.frameb601c-copy {
  font-size: 14px;
  color: var(--frameb601c-ink-dim);
  margin: 8px 0 12px;
}

/* game grid: 4 columns at 320px, 5 columns from 375px up */
.frameb601c-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

@media (min-width: 375px) {
  .frameb601c-gamegrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* floating-layer game tile: thin panel, hairline border, no heavy chrome */
.frameb601c-gamecard {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--frameb601c-line-soft);
  border-radius: var(--frameb601c-radius);
  padding: 5px 4px 7px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.frameb601c-gamecard:active {
  border-color: var(--frameb601c-signal-line);
  background: var(--frameb601c-signal-soft);
}

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

.frameb601c-gamecard-name {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--frameb601c-ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  word-break: break-word;
}

/* --------------------------- content modules ---------------------------- */
/* Direction: step-driven rhythm - numbered blocks lead the reader forward. */
.frameb601c-module {
  margin-top: 30px;
  background: var(--frameb601c-panel);
  border: 1px solid var(--frameb601c-line-soft);
  border-radius: var(--frameb601c-radius-2);
  padding: 14px 14px 16px;
}

.frameb601c-module > h2 {
  font-family: var(--frameb601c-font-head);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 8px;
}

.frameb601c-module > h2 em {
  font-style: normal;
  color: var(--frameb601c-signal);
}

.frameb601c-lead {
  font-size: 14px;
  color: var(--frameb601c-ink);
  margin-bottom: 10px;
}

.frameb601c-lead b {
  color: var(--frameb601c-signal);
  font-weight: 700;
}

.frameb601c-note {
  font-size: 13px;
  color: var(--frameb601c-muted);
  border-left: 3px solid var(--frameb601c-line);
  padding-left: 10px;
  margin-top: 10px;
}

.frameb601c-steps {
  counter-reset: frameb601cstep;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.frameb601c-step {
  counter-increment: frameb601cstep;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.frameb601c-step::before {
  content: counter(frameb601cstep, decimal-leading-zero);
  font-family: var(--frameb601c-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--frameb601c-signal);
  border: 1px solid var(--frameb601c-signal-line);
  border-radius: 2px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 255, 0.06);
}

.frameb601c-step-body {
  font-size: 13.5px;
  color: var(--frameb601c-ink-dim);
  min-width: 0;
}

.frameb601c-step-body b {
  color: var(--frameb601c-ink);
}

/* comparison grid for play styles */
.frameb601c-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0;
}

@media (min-width: 375px) {
  .frameb601c-compare {
    grid-template-columns: 1fr 1fr;
  }
}

.frameb601c-compare-cell {
  border: 1px solid var(--frameb601c-line-soft);
  border-top: 3px solid var(--frameb601c-signal-line);
  border-radius: var(--frameb601c-radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.frameb601c-compare-cell h3 {
  font-family: var(--frameb601c-font-head);
  font-size: 14px;
  color: var(--frameb601c-ink);
  margin-bottom: 4px;
}

.frameb601c-compare-cell p {
  font-size: 12.5px;
  color: var(--frameb601c-muted);
  line-height: 1.7;
}

/* scenario Q&A */
.frameb601c-qa {
  border: 1px dashed var(--frameb601c-line);
  border-radius: var(--frameb601c-radius);
  padding: 11px 12px;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.frameb601c-qa h3 {
  font-family: var(--frameb601c-font-head);
  font-size: 14px;
  line-height: 1.55;
  color: var(--frameb601c-ink);
  margin-bottom: 5px;
}

.frameb601c-qa h3::before {
  content: "Q";
  font-family: var(--frameb601c-font-mono);
  color: var(--frameb601c-signal);
  border: 1px solid var(--frameb601c-signal-line);
  border-radius: 2px;
  font-size: 11px;
  padding: 1px 5px;
  margin-right: 7px;
  vertical-align: 1px;
}

.frameb601c-qa p {
  font-size: 13.5px;
  color: var(--frameb601c-ink-dim);
}

/* --------------------------- extended footer ---------------------------- */
.frameb601c-extfoot {
  margin-top: 32px;
  border-top: 2px solid var(--frameb601c-line);
  padding-top: 16px;
}

.frameb601c-extfoot-block {
  margin-bottom: 18px;
}

.frameb601c-extfoot-title {
  font-family: var(--frameb601c-font-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--frameb601c-signal);
  margin-bottom: 8px;
}

.frameb601c-brandblurb {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.frameb601c-brandblurb img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--frameb601c-signal-line);
  border-radius: var(--frameb601c-radius);
  flex: 0 0 auto;
}

.frameb601c-brandblurb p {
  font-size: 13px;
  color: var(--frameb601c-muted);
}

/* compact directory groups */
.frameb601c-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frameb601c-dirlink {
  font-family: var(--frameb601c-font-head);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--frameb601c-ink-dim);
  background: var(--frameb601c-panel);
  border: 1px solid var(--frameb601c-line-soft);
  border-radius: 2px;
  padding: 8px 9px;
  min-height: 40px;
  display: flex;
  align-items: center;
  text-decoration: none;
  word-break: break-word;
}

.frameb601c-dirlink:hover {
  color: var(--frameb601c-signal);
  border-color: var(--frameb601c-signal-line);
  text-decoration: none;
}

/* promotion action cluster: 5 short-label entries */
.frameb601c-promocluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.frameb601c-promocluster .frameb601c-promoact:nth-last-child(1) {
  grid-column: 1 / -1;
}

.frameb601c-promoact {
  min-height: var(--frameb601c-touch);
  font-family: var(--frameb601c-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frameb601c-signal);
  background: rgba(0, 255, 255, 0.07);
  border: 1px solid var(--frameb601c-signal-line);
  border-radius: var(--frameb601c-radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.frameb601c-promoact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.frameb601c-promoact:active {
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.14);
}

.frameb601c-disclaimer {
  font-size: 12px;
  line-height: 1.75;
  color: var(--frameb601c-muted);
  border: 1px dashed var(--frameb601c-line);
  border-radius: var(--frameb601c-radius);
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
}

/* ------------------------------ footer ---------------------------------- */
.frameb601c-footer {
  text-align: center;
  padding: 14px 14px 8px;
  border-top: 1px solid var(--frameb601c-line-soft);
  margin-top: 20px;
}

.frameb601c-footer .frameb601c-copy {
  font-family: var(--frameb601c-font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--frameb601c-muted);
}

/* ---------------------------- bottom rail ------------------------------- */
/* Direction: full-width nav rail, compact icons with text labels, active
   item sits on a background support block. */
.frameb601c-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(15, 15, 15, 0.98);
  border-top: 1px solid var(--frameb601c-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  backdrop-filter: blur(6px);
}

.frameb601c-raillink {
  min-height: var(--frameb601c-rail-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--frameb601c-muted);
  text-decoration: none;
  padding: 6px 2px 5px;
  border-top: 2px solid transparent;
  cursor: pointer;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  font-family: var(--frameb601c-font-head);
}

.frameb601c-raillink svg {
  width: 21px;
  height: 21px;
}

.frameb601c-raillink span {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
}

.frameb601c-raillink:hover {
  color: var(--frameb601c-ink-dim);
  text-decoration: none;
}

.frameb601c-raillink.is-active {
  color: var(--frameb601c-signal);
  background: var(--frameb601c-signal-soft);
  border-top-color: var(--frameb601c-signal);
}

/* promo role accents inside the rail */
.frameb601c-raillink--promo {
  color: var(--frameb601c-ink);
}

.frameb601c-raillink--promo span {
  color: var(--frameb601c-signal);
}

/* --------------------------- shared helpers ----------------------------- */
.frameb601c-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--frameb601c-signal);
  color: #10201f;
  padding: 10px 14px;
  font-weight: 700;
  z-index: 100;
}

.frameb601c-skip:focus {
  left: 8px;
  top: 8px;
}

.frameb601c-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;
}

/* --------------------------- motion budget ------------------------------ */
/* Only key CTAs and the active rail item carry feedback; everything else
   stays static. Honor reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Extra breathing room on the widest phone in the 320-430px band */
@media (min-width: 414px) {
  .frameb601c-gamecard-name {
    font-size: 11px;
  }

  .frameb601c-module {
    padding: 16px 16px 18px;
  }
}
