/* ===========================================================
   ck44 casino - mobile-first base stylesheet
   File   : css/dynamic-f91beb-layers.css
   Prefix : surfacebebe1- (all classes and variables)
   Palette: #B0E0E6 light ink | #00CED1 accent |
            #273746 deep base | #8B0000 alert accents
   Canvas : centered 430px phone frame, wide screens keep frame
   =========================================================== */

/* ---------- design tokens ---------- */
:root {
  --surfacebebe1-base: #273746;
  --surfacebebe1-base-deep: #1b2733;
  --surfacebebe1-base-raise: #31434f;
  --surfacebebe1-base-hover: #3a4f5d;
  --surfacebebe1-ink: #b0e0e6;
  --surfacebebe1-ink-strong: #e9f8f9;
  --surfacebebe1-ink-dim: #94bac1;
  --surfacebebe1-accent: #00ced1;
  --surfacebebe1-accent-soft: rgba(0, 206, 209, 0.14);
  --surfacebebe1-accent-ink: #05343a;
  --surfacebebe1-alert: #8b0000;
  --surfacebebe1-alert-soft: rgba(139, 0, 0, 0.22);
  --surfacebebe1-alert-ink: #ffdede;
  --surfacebebe1-line: rgba(176, 224, 230, 0.16);
  --surfacebebe1-radius-s: 8px;
  --surfacebebe1-radius-m: 12px;
  --surfacebebe1-radius-l: 16px;
  --surfacebebe1-font-head: 'Anek Bangla', 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  --surfacebebe1-font-body: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  --surfacebebe1-head-h: 60px;
  --surfacebebe1-bnav-h: 62px;
  --surfacebebe1-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ---------- reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background: #141e27;
  color: var(--surfacebebe1-ink);
  font-family: var(--surfacebebe1-font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.surfacebebe1-lock {
  overflow: hidden;
}

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

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

a {
  color: var(--surfacebebe1-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--surfacebebe1-ink-strong);
}

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

::selection {
  background: var(--surfacebebe1-accent);
  color: var(--surfacebebe1-accent-ink);
}

/* ---------- phone canvas ---------- */
.surfacebebe1-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 28% at 50% 0%, rgba(0, 206, 209, 0.10), transparent 70%),
    var(--surfacebebe1-base);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .surfacebebe1-canvas {
    box-shadow: var(--surfacebebe1-shadow);
    border-inline: 1px solid var(--surfacebebe1-line);
  }
}

/* ---------- skip link ---------- */
.surfacebebe1-skip {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 60;
  background: var(--surfacebebe1-accent);
  color: var(--surfacebebe1-accent-ink);
  padding: 10px 16px;
  border-radius: var(--surfacebebe1-radius-s);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

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

/* ---------- fixed functional header (edge aligned) ---------- */
.surfacebebe1-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  height: var(--surfacebebe1-head-h);
  z-index: 40;
  background: linear-gradient(180deg, #22303d 0%, var(--surfacebebe1-base) 100%);
  border-bottom: 1px solid var(--surfacebebe1-line);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.surfacebebe1-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* edge aligned: brand left, actions right */
  gap: 8px;
  height: 100%;
  padding: 0 12px;
}

.surfacebebe1-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
}

.surfacebebe1-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 206, 209, 0.45);
  background: var(--surfacebebe1-base-deep);
  object-fit: cover;
}

.surfacebebe1-brand-name {
  font-family: var(--surfacebebe1-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--surfacebebe1-ink-strong);
  white-space: nowrap;
}

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

.surfacebebe1-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* lightly rounded text button group */
.surfacebebe1-btn-login,
.surfacebebe1-btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.12s ease, background 0.15s ease;
}

.surfacebebe1-btn-login {
  color: var(--surfacebebe1-ink);
  border: 1px solid rgba(176, 224, 230, 0.35);
}

.surfacebebe1-btn-register {
  background: linear-gradient(135deg, #00ced1, #00a8ab);
  color: var(--surfacebebe1-accent-ink);
  box-shadow: 0 4px 12px rgba(0, 206, 209, 0.28);
}

.surfacebebe1-btn-login:active,
.surfacebebe1-btn-register:active {
  transform: scale(0.94);
}

/* burger toggle */
.surfacebebe1-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--surfacebebe1-line);
}

.surfacebebe1-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--surfacebebe1-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.surfacebebe1-burger.surfacebebe1-burger-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.surfacebebe1-burger.surfacebebe1-burger-open span:nth-child(2) {
  opacity: 0;
}

.surfacebebe1-burger.surfacebebe1-burger-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- stacked overlay menu ---------- */
.surfacebebe1-menu {
  position: fixed;
  top: var(--surfacebebe1-head-h);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  z-index: 39;
  background: #20303d;
  border-bottom: 1px solid var(--surfacebebe1-line);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.28s;
}

.surfacebebe1-menu.surfacebebe1-menu-open {
  max-height: calc(100vh - var(--surfacebebe1-head-h));
  overflow-y: auto;
  visibility: visible;
  opacity: 1;
}

.surfacebebe1-menu-list {
  list-style: none;
  margin: 0;
  padding: 8px 12px 6px;
}

.surfacebebe1-menu-list li {
  margin: 0;
}

.surfacebebe1-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--surfacebebe1-radius-s);
  color: var(--surfacebebe1-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.surfacebebe1-menu-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surfacebebe1-line);
  flex: 0 0 auto;
  transition: background 0.15s ease, transform 0.15s ease;
}

.surfacebebe1-menu-link:hover {
  background: var(--surfacebebe1-accent-soft);
  color: var(--surfacebebe1-ink-strong);
}

.surfacebebe1-menu-link:active {
  transform: scale(0.985);
}

.surfacebebe1-menu-link[aria-current="page"] {
  color: var(--surfacebebe1-accent);
  font-weight: 700;
}

.surfacebebe1-menu-link[aria-current="page"]::before {
  background: var(--surfacebebe1-accent);
  transform: scale(1.35);
}

.surfacebebe1-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 4px 12px 14px;
  min-height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00ced1, #00a8ab);
  color: var(--surfacebebe1-accent-ink);
  font-weight: 700;
  font-size: 15px;
}

.surfacebebe1-menu-cta:active {
  transform: scale(0.97);
}

.surfacebebe1-scrim {
  position: fixed;
  inset: var(--surfacebebe1-head-h) 0 0 0;
  z-index: 38;
  background: rgba(10, 16, 22, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}

.surfacebebe1-scrim.surfacebebe1-scrim-show {
  opacity: 1;
  visibility: visible;
}

/* ---------- main flow ---------- */
.surfacebebe1-main {
  padding: calc(var(--surfacebebe1-head-h) + 14px) 14px calc(var(--surfacebebe1-bnav-h) + 30px);
}

/* ---------- hero ---------- */
.surfacebebe1-hero {
  margin-bottom: 6px;
}

.surfacebebe1-page-title {
  font-family: var(--surfacebebe1-font-head);
  font-size: 23px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--surfacebebe1-ink-strong);
  margin: 0 0 8px;
}

.surfacebebe1-page-sub {
  margin: 0 0 14px;
  color: var(--surfacebebe1-ink-dim);
  font-size: 14px;
}

.surfacebebe1-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.surfacebebe1-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surfacebebe1-accent-soft);
  border: 1px solid rgba(0, 206, 209, 0.3);
  color: var(--surfacebebe1-ink);
  font-size: 12.5px;
  font-weight: 600;
}

.surfacebebe1-trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--surfacebebe1-accent);
}

/* ---------- carousel ---------- */
.surfacebebe1-carousel {
  position: relative;
  border-radius: var(--surfacebebe1-radius-l);
  overflow: hidden;
  border: 1px solid var(--surfacebebe1-line);
  background: var(--surfacebebe1-base-deep);
}

.surfacebebe1-track {
  display: flex;
  transition: transform 0.4s ease;
}

.surfacebebe1-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
}

.surfacebebe1-slide img {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}

.surfacebebe1-slide:active img {
  transform: scale(1.02);
}

.surfacebebe1-slide-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 39, 51, 0.85);
  border: 1px solid rgba(0, 206, 209, 0.5);
  color: var(--surfacebebe1-ink-strong);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.surfacebebe1-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.surfacebebe1-dot {
  width: 26px;
  height: 8px;
  min-width: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(176, 224, 230, 0.35);
  transition: background 0.2s ease, width 0.2s ease;
}

.surfacebebe1-dot.surfacebebe1-dot-active {
  width: 26px;
  background: var(--surfacebebe1-accent);
}

/* ---------- game sections ---------- */
.surfacebebe1-intro {
  margin: 18px 0 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--surfacebebe1-accent);
  border-radius: 0 var(--surfacebebe1-radius-m) var(--surfacebebe1-radius-m) 0;
  background: var(--surfacebebe1-base-raise);
  color: var(--surfacebebe1-ink);
  font-size: 14.5px;
}

.surfacebebe1-section {
  margin: 26px 0;
}

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

.surfacebebe1-sec-title {
  font-family: var(--surfacebebe1-font-head);
  font-size: 18.5px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--surfacebebe1-ink-strong);
  margin: 0;
}

.surfacebebe1-sec-chip {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surfacebebe1-alert);
  color: var(--surfacebebe1-alert-ink);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.surfacebebe1-sec-lead {
  margin: 0 0 12px;
  color: var(--surfacebebe1-ink-dim);
  font-size: 14px;
}

/* ---------- compact square game grid ---------- */
.surfacebebe1-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
}

@media (min-width: 375px) {
  .surfacebebe1-grid {
    gap: 12px 10px;
  }
}

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

.surfacebebe1-game {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border-radius: var(--surfacebebe1-radius-m);
  text-align: center;
  min-height: 44px; /* whole card is the touch target */
}

.surfacebebe1-game-art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--surfacebebe1-radius-m);
  overflow: hidden;
  border: 1px solid var(--surfacebebe1-line);
  background: var(--surfacebebe1-base-deep);
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.surfacebebe1-game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surfacebebe1-game:active .surfacebebe1-game-art {
  transform: scale(0.93);
  border-color: var(--surfacebebe1-accent);
}

.surfacebebe1-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--surfacebebe1-ink);
  overflow-wrap: anywhere;
}

/* ---------- content panels & modules ---------- */
.surfacebebe1-panel {
  background: var(--surfacebebe1-base-raise);
  border: 1px solid var(--surfacebebe1-line);
  border-radius: var(--surfacebebe1-radius-m);
  padding: 16px 15px;
  margin-top: 10px;
}

/* numbered fact rows (payment criteria) */
.surfacebebe1-rows {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.surfacebebe1-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--surfacebebe1-line);
}

.surfacebebe1-row-num {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surfacebebe1-accent-soft);
  border: 1px solid rgba(0, 206, 209, 0.4);
  color: var(--surfacebebe1-accent);
  font-size: 12.5px;
  font-weight: 700;
}

.surfacebebe1-row-body {
  flex: 1 1 auto;
}

.surfacebebe1-row-title {
  display: block;
  font-weight: 700;
  color: var(--surfacebebe1-ink-strong);
  font-size: 14.5px;
  margin-bottom: 2px;
}

.surfacebebe1-row-text {
  margin: 0;
  color: var(--surfacebebe1-ink-dim);
  font-size: 13.5px;
}

/* ordered steps (how to play) */
.surfacebebe1-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: surfacebebe1-step;
}

.surfacebebe1-step {
  position: relative;
  counter-increment: surfacebebe1-step;
  padding: 0 0 16px 40px;
}

.surfacebebe1-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 32px;
  bottom: 2px;
  width: 2px;
  background: var(--surfacebebe1-line);
}

.surfacebebe1-step::after {
  content: counter(surfacebebe1-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ced1, #00a8ab);
  color: var(--surfacebebe1-accent-ink);
  font-weight: 700;
  font-size: 13.5px;
}

.surfacebebe1-step-t {
  display: block;
  font-weight: 700;
  color: var(--surfacebebe1-ink-strong);
  font-size: 14.5px;
  margin-bottom: 2px;
  padding-top: 4px;
}

.surfacebebe1-step p {
  margin: 0;
  color: var(--surfacebebe1-ink-dim);
  font-size: 13.5px;
}

/* fact summary grid (mobile access) */
.surfacebebe1-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.surfacebebe1-fact {
  padding: 10px 12px;
  border-radius: var(--surfacebebe1-radius-s);
  background: var(--surfacebebe1-base-deep);
  border: 1px solid var(--surfacebebe1-line);
}

.surfacebebe1-fact-k {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--surfacebebe1-ink-dim);
  text-transform: none;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}

.surfacebebe1-fact-v {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--surfacebebe1-ink-strong);
  line-height: 1.45;
}

/* direct answer block */
.surfacebebe1-answer {
  border-left: 3px solid var(--surfacebebe1-accent);
  border-radius: 0 var(--surfacebebe1-radius-m) var(--surfacebebe1-radius-m) 0;
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.12), rgba(0, 206, 209, 0.03));
  padding: 14px 16px;
  margin-top: 10px;
}

.surfacebebe1-answer-lead {
  font-family: var(--surfacebebe1-font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--surfacebebe1-ink-strong);
  margin: 0 0 8px;
  line-height: 1.5;
}

.surfacebebe1-answer p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--surfacebebe1-ink);
}

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

/* ---------- inline CTA (lightly rounded text button) ---------- */
.surfacebebe1-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--surfacebebe1-accent);
  color: var(--surfacebebe1-accent);
  font-weight: 700;
  font-size: 14.5px;
  background: var(--surfacebebe1-accent-soft);
  transition: transform 0.12s ease, background 0.15s ease;
}

.surfacebebe1-cta-solid {
  background: linear-gradient(135deg, #00ced1, #00a8ab);
  color: var(--surfacebebe1-accent-ink);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 206, 209, 0.25);
}

.surfacebebe1-cta:active {
  transform: scale(0.95);
}

.surfacebebe1-cta-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- extended footer zone ---------- */
.surfacebebe1-ext {
  margin-top: 30px;
  padding-top: 4px;
}

.surfacebebe1-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 12px 0 18px;
}

.surfacebebe1-promo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: var(--surfacebebe1-radius-s);
  background: var(--surfacebebe1-base-raise);
  border: 1px solid var(--surfacebebe1-line);
  color: var(--surfacebebe1-ink-strong);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.4;
  text-align: left;
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.surfacebebe1-promo-item::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--surfacebebe1-accent);
  transform: rotate(45deg);
}

.surfacebebe1-promo-item:nth-child(even)::before {
  background: #d98c8c;
}

.surfacebebe1-promo-item:active {
  transform: scale(0.96);
  border-color: var(--surfacebebe1-accent);
}

.surfacebebe1-ext-brand {
  padding: 14px 16px;
  border-radius: var(--surfacebebe1-radius-m);
  background: var(--surfacebebe1-base-deep);
  border: 1px solid var(--surfacebebe1-line);
  color: var(--surfacebebe1-ink-dim);
  font-size: 13.5px;
  margin-bottom: 18px;
}

.surfacebebe1-ext-brand strong {
  color: var(--surfacebebe1-ink-strong);
}

.surfacebebe1-ext-dir {
  margin-bottom: 18px;
}

.surfacebebe1-ext-dir h3 {
  font-family: var(--surfacebebe1-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--surfacebebe1-ink-strong);
  margin: 0 0 8px;
}

.surfacebebe1-dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.surfacebebe1-dir-grid a {
  display: inline-block;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--surfacebebe1-radius-s);
  background: var(--surfacebebe1-base-raise);
  border: 1px solid var(--surfacebebe1-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--surfacebebe1-ink);
  text-decoration: none;
  line-height: 1.4;
}

.surfacebebe1-dir-grid a:hover {
  border-color: var(--surfacebebe1-accent);
  color: var(--surfacebebe1-ink-strong);
}

.surfacebebe1-ext-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--surfacebebe1-radius-s);
  border: 1px dashed rgba(139, 0, 0, 0.55);
  background: var(--surfacebebe1-alert-soft);
  color: var(--surfacebebe1-ink-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- common footer ---------- */
.surfacebebe1-foot {
  padding: 18px 14px 8px;
  text-align: center;
  color: var(--surfacebebe1-ink-dim);
  font-size: 12.5px;
}

.surfacebebe1-foot p {
  margin: 0;
}

/* ---------- bottom navigation band ---------- */
.surfacebebe1-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: linear-gradient(180deg, #22303d, #1a2833);
  border-top: 3px solid var(--surfacebebe1-accent); /* brand accent band */
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}

.surfacebebe1-bnav-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--surfacebebe1-bnav-h);
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0 4px;
}

.surfacebebe1-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  text-decoration: none;
  color: var(--surfacebebe1-ink-dim);
  font-size: 10.5px;
  font-weight: 600;
  transition: transform 0.12s ease, color 0.15s ease;
}

/* active state: top indicator line */
.surfacebebe1-bnav-item::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--surfacebebe1-ink-strong);
  transition: transform 0.18s ease;
}

.surfacebebe1-bnav-item.surfacebebe1-is-active::before {
  transform: translateX(-50%) scaleX(1);
  background: #ffd166;
}

.surfacebebe1-bnav-item.surfacebebe1-is-active {
  color: var(--surfacebebe1-ink-strong);
}

.surfacebebe1-bnav-item:active {
  transform: translateY(1px) scale(0.94);
}

.surfacebebe1-bnav-promo {
  color: var(--surfacebebe1-accent);
}

.surfacebebe1-bnav-ic {
  width: 24px;
  height: 24px;
  display: inline-flex;
}

.surfacebebe1-bnav-ic svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- helper ---------- */
.surfacebebe1-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;
}

/* ---------- compatible content and accessibility refinements ---------- */
.surfacebebe1-header-inner { padding-inline: 8px; gap: 4px; }
.surfacebebe1-brand { gap: 5px; }
.surfacebebe1-brand-name { font-size: 17px; }
.surfacebebe1-header-actions { gap: 4px; }
.surfacebebe1-btn-login, .surfacebebe1-btn-register { min-height: 44px; padding-inline: 8px; font-size: 12px; }
.surfacebebe1-burger { width: 44px; height: 44px; flex-shrink: 0; }
.surfacebebe1-main { padding-bottom: 24px; }
.surfacebebe1-foot { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
.surfacebebe1-bnav-item { width: 100%; height: 100%; }
.surfacebebe1-menu.surfacebebe1-menu-open { max-height: calc(100dvh - var(--surfacebebe1-head-h) - var(--surfacebebe1-bnav-h) - env(safe-area-inset-bottom, 0px) - 3px); }
.surfacebebe1-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.surfacebebe1-game { min-width: 0; }
.surfacebebe1-game-name { display: block; overflow: visible; min-height: 44px; font-size: 11.5px; }
.surfacebebe1-sec-head { flex-wrap: wrap; }
.surfacebebe1-sec-title { flex: 1 1 210px; }
.surfacebebe1-dots { position: static; justify-content: center; gap: 4px; padding: 0 8px; }
.surfacebebe1-dot { position: relative; width: 44px; height: 44px; background: transparent; }
.surfacebebe1-dot::after { content: ''; position: absolute; width: 24px; height: 6px; border-radius: 6px; background: var(--surfacebebe1-ink-dim); top: 19px; left: 10px; }
.surfacebebe1-dot.surfacebebe1-dot-active { width: 44px; background: transparent; }
.surfacebebe1-dot-active::after { background: var(--surfacebebe1-accent); }
.surfacebebe1-carousel { touch-action: pan-y; }
.surfacebebe1-slide img { height: auto; aspect-ratio: 1915 / 450; object-fit: contain; }
.surfacebebe1-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 4px; background: var(--surfacebebe1-base-deep); }
.surfacebebe1-pause { min-height: 44px; padding: 4px 10px; font-size: 12px; color: var(--surfacebebe1-ink); }
.surfacebebe1-main p { overflow-wrap: anywhere; }
.surfacebebe1-main a:not(.surfacebebe1-menu-link) { display: inline-flex; align-items: center; min-height: 44px; }
.surfacebebe1-brief { margin: 12px 0; padding: 12px 14px; border-left: 3px solid var(--surfacebebe1-accent); background: var(--surfacebebe1-base-deep); }
.surfacebebe1-guide { margin: 22px 0; }
.surfacebebe1-guide h2 { font-family: var(--surfacebebe1-font-head); font-size: 20px; line-height: 1.5; color: var(--surfacebebe1-ink-strong); margin: 0 0 10px; }
.surfacebebe1-guide h3 { font-size: 16px; color: var(--surfacebebe1-ink-strong); margin: 16px 0 6px; }
.surfacebebe1-guide p { margin: 10px 0; }
.surfacebebe1-timeline { margin: 14px 0; padding-left: 26px; border-left: 2px solid var(--surfacebebe1-accent); }
.surfacebebe1-timeline li { padding: 7px 0 14px 6px; }
.surfacebebe1-timeline strong { color: var(--surfacebebe1-ink-strong); }
.surfacebebe1-compare { margin: 14px 0; }
.surfacebebe1-compare dt { padding-top: 12px; color: var(--surfacebebe1-ink-strong); font-weight: 700; border-top: 1px dashed var(--surfacebebe1-line); }
.surfacebebe1-compare dd { margin: 6px 0 16px; }
.surfacebebe1-caution { border-left: 4px solid var(--surfacebebe1-alert); padding: 12px 14px; background: var(--surfacebebe1-alert-soft); color: var(--surfacebebe1-alert-ink); }
.surfacebebe1-review { list-style: none; padding: 0; margin: 12px 0; }
.surfacebebe1-review li { padding: 12px 0 12px 12px; border-bottom: 1px solid var(--surfacebebe1-line); border-left: 2px solid var(--surfacebebe1-accent); margin: 8px 0; }
.surfacebebe1-glossary { margin: 14px 0; }
.surfacebebe1-glossary dt { font-weight: 700; color: var(--surfacebebe1-accent); }
.surfacebebe1-glossary dd { margin: 5px 0 18px; }
.surfacebebe1-readmore { margin: 12px 0; padding: 12px; border: 1px solid var(--surfacebebe1-line); border-radius: 8px; }
.surfacebebe1-readmore summary { min-height: 44px; cursor: pointer; font-weight: 600; color: var(--surfacebebe1-ink-strong); }
.surfacebebe1-missing { object-fit: contain; color: var(--surfacebebe1-alert-ink); }
@media (min-width: 400px) { .surfacebebe1-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 375px) { .surfacebebe1-brand-name { font-size: 19px; } .surfacebebe1-btn-login, .surfacebebe1-btn-register { padding-inline: 12px; font-size: 14px; } }

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