/* ==========================================================================
   baje99.click - mobile-first chrome stylesheet
   file   : css/baje99-chrome-53a7e6.css
   prefix : surface3a7e6-
   palette: #141414 base / #808070-neutral gray / #A0522D sienna accent /
            #BDC3C7 light text
   canvas : 320-430px phone frame, centered on wide screens
   note   : square-corner high-contrast CTAs, lightly rounded group cards,
            geometric headings, fact-summary-then-expand rhythm
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --surface3a7e6-bg: #141414;
  --surface3a7e6-bg-deep: #0b0b0c;
  --surface3a7e6-panel: #1c1d1f;
  --surface3a7e6-panel-2: #232527;
  --surface3a7e6-panel-3: #2a2c2f;
  --surface3a7e6-line: #35373b;
  --surface3a7e6-line-soft: #2b2d30;
  --surface3a7e6-ink: #bdc3c7;
  --surface3a7e6-bright: #edeff1;
  --surface3a7e6-muted: #808080;
  --surface3a7e6-accent: #a0522d;
  --surface3a7e6-accent-hi: #c9703f;
  --surface3a7e6-accent-deep: #7c3f22;
  --surface3a7e6-radius-card: 8px;
  --surface3a7e6-radius-tile: 6px;
  --surface3a7e6-radius-cta: 2px;
  --surface3a7e6-topbar-h: 103px;
  --surface3a7e6-bottombar-h: 60px;
  --surface3a7e6-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
}

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

html {
  background: var(--surface3a7e6-bg-deep);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface3a7e6-bg-deep);
  color: var(--surface3a7e6-ink);
  font-family: var(--surface3a7e6-font);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(160, 82, 45, 0.18);
}

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

a {
  color: var(--surface3a7e6-accent-hi);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--surface3a7e6-bright);
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--surface3a7e6-accent);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--surface3a7e6-accent-hi);
  outline-offset: 2px;
}

/* ---------- skip link ---------- */
.surface3a7e6-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  background: var(--surface3a7e6-accent);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--surface3a7e6-radius-cta);
  font-size: 13px;
  transition: top 0.2s ease;
}

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

/* ---------- phone canvas shell ---------- */
.surface3a7e6-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface3a7e6-bg);
  border-left: 1px solid var(--surface3a7e6-line-soft);
  border-right: 1px solid var(--surface3a7e6-line-soft);
  overflow-x: clip;
}

/* ==========================================================================
   fixed top bar - LOGO-led action strip, layered dropdown menu
   ========================================================================== */
.surface3a7e6-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #191a1c 0%, #141414 100%);
  border-bottom: 1px solid var(--surface3a7e6-line);
}

.surface3a7e6-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 7px 12px 5px;
}

.surface3a7e6-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: var(--surface3a7e6-radius-tile);
  border: 1px solid var(--surface3a7e6-line);
  background: var(--surface3a7e6-panel-2);
}

.surface3a7e6-wordmark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--surface3a7e6-bright);
  line-height: 1;
}

.surface3a7e6-wordmark::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 4px;
  background: var(--surface3a7e6-accent);
  transition: width 0.3s ease;
}

.surface3a7e6-brand:hover .surface3a7e6-wordmark::after {
  width: 44px;
}

.surface3a7e6-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding: 8px 12px;
  background: var(--surface3a7e6-panel-2);
  color: var(--surface3a7e6-ink);
  border: 1px solid var(--surface3a7e6-line);
  border-radius: var(--surface3a7e6-radius-cta);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.surface3a7e6-menubtn:hover {
  background: var(--surface3a7e6-panel-3);
  color: var(--surface3a7e6-bright);
  border-color: var(--surface3a7e6-accent);
}

.surface3a7e6-menubtn svg {
  width: 18px;
  height: 18px;
}

.surface3a7e6-topbar.surface3a7e6-menu-open .surface3a7e6-menubtn {
  background: var(--surface3a7e6-accent);
  border-color: var(--surface3a7e6-accent-hi);
  color: #ffffff;
}

/* action row: register / login sit outside the brand strip */
.surface3a7e6-actionrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 9px;
}

.surface3a7e6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--surface3a7e6-radius-cta);
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.15s ease;
}

.surface3a7e6-btn:active {
  transform: translateY(1px);
}

.surface3a7e6-btn-solid {
  background: var(--surface3a7e6-accent);
  color: #ffffff;
}

.surface3a7e6-btn-solid:hover {
  background: var(--surface3a7e6-accent-hi);
  color: #ffffff;
}

.surface3a7e6-btn-ghost {
  background: transparent;
  color: var(--surface3a7e6-bright);
  border-color: var(--surface3a7e6-accent);
}

.surface3a7e6-btn-ghost:hover {
  background: rgba(160, 82, 45, 0.16);
  border-color: var(--surface3a7e6-accent-hi);
  color: #ffffff;
}

/* layered dropdown */
.surface3a7e6-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #191a1c;
  border-bottom: 1px solid var(--surface3a7e6-line);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.32s ease, visibility 0.32s ease;
}

.surface3a7e6-topbar.surface3a7e6-menu-open .surface3a7e6-menu {
  max-height: 620px;
  visibility: visible;
}

.surface3a7e6-menugroup {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--surface3a7e6-line-soft);
}

.surface3a7e6-menugroup:last-child {
  border-bottom: 0;
}

.surface3a7e6-menulayer {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--surface3a7e6-accent-hi);
  text-transform: uppercase;
  margin: 0 0 6px;
}

.surface3a7e6-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--surface3a7e6-ink);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--surface3a7e6-radius-tile);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.surface3a7e6-menu a::after {
  content: "\203A";
  color: var(--surface3a7e6-accent);
  font-weight: 700;
}

.surface3a7e6-menu a:hover {
  background: var(--surface3a7e6-panel-2);
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-menu a[aria-current="page"] {
  background: rgba(160, 82, 45, 0.18);
  color: var(--surface3a7e6-bright);
  box-shadow: inset 3px 0 0 var(--surface3a7e6-accent);
}

/* ==========================================================================
   main canvas
   ========================================================================== */
.surface3a7e6-main {
  padding-top: calc(var(--surface3a7e6-topbar-h) + 14px);
  /* keep clear of the fixed layered bottom bar */
  padding-bottom: calc(
    var(--surface3a7e6-bottombar-h) + env(safe-area-inset-bottom, 0px) + 30px
  );
  padding-left: 12px;
  padding-right: 12px;
}

/* ---------- hero ---------- */
.surface3a7e6-hero {
  padding: 4px 0 2px;
}

.surface3a7e6-h1 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-lead {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--surface3a7e6-ink);
}

.surface3a7e6-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.surface3a7e6-facts li {
  background: var(--surface3a7e6-panel);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-radius: var(--surface3a7e6-radius-card);
  padding: 10px 6px 9px;
  text-align: center;
}

.surface3a7e6-facts strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--surface3a7e6-accent-hi);
  line-height: 1.2;
}

.surface3a7e6-facts span {
  display: block;
  font-size: 10.5px;
  color: var(--surface3a7e6-muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* ---------- promo carousel (sliding focus indicator) ---------- */
.surface3a7e6-carousel {
  margin-top: 16px;
}

.surface3a7e6-carousel-vp {
  position: relative;
  overflow: hidden;
  border-radius: var(--surface3a7e6-radius-card);
  border: 1px solid var(--surface3a7e6-line);
  background: var(--surface3a7e6-panel);
}

.surface3a7e6-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.surface3a7e6-hero-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  min-height: 44px;
}

.surface3a7e6-hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.surface3a7e6-hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 10px;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0) 0%,
    rgba(20, 20, 20, 0.88) 78%
  );
}

.surface3a7e6-hero-cap strong {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
}

.surface3a7e6-hero-cap em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--surface3a7e6-ink);
}

.surface3a7e6-hero-cap em::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--surface3a7e6-accent-hi);
  vertical-align: middle;
  margin-right: 6px;
}

.surface3a7e6-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.surface3a7e6-carousel-dots button {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 20px;
  padding: 6px 0;
  background-clip: content-box;
  background-color: var(--surface3a7e6-line);
  border: 0;
  border-radius: 4px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.surface3a7e6-carousel-dots button.surface3a7e6-dot-on {
  width: 24px;
  background-color: var(--surface3a7e6-accent-hi);
}

/* ==========================================================================
   game groups - grouped cover-card panels, 4 cols at 320px, 4-5 wider
   ========================================================================== */
.surface3a7e6-cat {
  margin-top: 24px;
}

.surface3a7e6-h2 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-h2::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  min-height: 17px;
  margin-top: 4px;
  background: var(--surface3a7e6-accent);
  border-radius: 1px;
}

.surface3a7e6-cat-note {
  margin: 7px 0 11px;
  font-size: 12.5px;
  color: var(--surface3a7e6-muted);
  line-height: 1.75;
}

.surface3a7e6-cat-note a {
  color: var(--surface3a7e6-accent-hi);
  font-weight: 700;
  border-bottom: 1px solid rgba(201, 112, 63, 0.4);
}

.surface3a7e6-game-group {
  background: var(--surface3a7e6-panel);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-radius: var(--surface3a7e6-radius-card);
  padding: 10px 9px 12px;
}

.surface3a7e6-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

.surface3a7e6-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px 8px;
  background: var(--surface3a7e6-panel-2);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-radius: var(--surface3a7e6-radius-tile);
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.surface3a7e6-game:hover {
  border-color: var(--surface3a7e6-accent);
  background: #26282b;
}

.surface3a7e6-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: #101112;
}

.surface3a7e6-game-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--surface3a7e6-ink);
  min-height: 30px;
  word-break: break-word;
}

.surface3a7e6-game:hover .surface3a7e6-game-name {
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-cat-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: var(--surface3a7e6-muted);
}

.surface3a7e6-cat-count {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(160, 82, 45, 0.2);
  border: 1px solid rgba(160, 82, 45, 0.45);
  border-radius: 10px;
  color: var(--surface3a7e6-accent-hi);
  font-weight: 700;
}

/* ==========================================================================
   content modules
   ========================================================================== */
.surface3a7e6-mod {
  margin-top: 26px;
}

.surface3a7e6-mod-lede {
  margin: 8px 0 13px;
  font-size: 13px;
  color: var(--surface3a7e6-ink);
}

/* fact-summary-then-expand accordion */
.surface3a7e6-fact {
  background: var(--surface3a7e6-panel);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-radius: var(--surface3a7e6-radius-card);
  margin-bottom: 8px;
  overflow: hidden;
}

.surface3a7e6-fact summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 13px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--surface3a7e6-bright);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease, background 0.25s ease;
}

.surface3a7e6-fact summary::-webkit-details-marker {
  display: none;
}

.surface3a7e6-fact summary::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  background: var(--surface3a7e6-accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.surface3a7e6-fact[open] summary {
  color: var(--surface3a7e6-accent-hi);
  background: var(--surface3a7e6-panel-2);
}

.surface3a7e6-fact[open] summary::before {
  transform: rotate(90deg);
}

.surface3a7e6-fact p {
  padding: 2px 14px 13px;
  font-size: 12.5px;
  color: var(--surface3a7e6-ink);
  line-height: 1.8;
}

/* review rail */
.surface3a7e6-reviewrail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 0 8px;
  scrollbar-width: none;
}

.surface3a7e6-reviewrail::-webkit-scrollbar {
  display: none;
}

.surface3a7e6-review {
  scroll-snap-align: start;
  background: var(--surface3a7e6-panel);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-left: 3px solid var(--surface3a7e6-accent);
  border-radius: var(--surface3a7e6-radius-card);
  padding: 12px 13px;
}

.surface3a7e6-review-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.surface3a7e6-review-av {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(160, 82, 45, 0.22);
  border: 1px solid rgba(160, 82, 45, 0.5);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: var(--surface3a7e6-accent-hi);
}

.surface3a7e6-review-who {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.surface3a7e6-review-who strong {
  font-size: 12.5px;
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-review-who span {
  font-size: 10px;
  color: var(--surface3a7e6-muted);
  letter-spacing: 0.03em;
}

.surface3a7e6-review-stars {
  margin-left: auto;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--surface3a7e6-accent-hi);
}

.surface3a7e6-review p {
  font-size: 12px;
  color: var(--surface3a7e6-ink);
  line-height: 1.75;
}

.surface3a7e6-railhint {
  font-size: 10.5px;
  color: var(--surface3a7e6-muted);
  margin-top: 2px;
}

/* faq block */
.surface3a7e6-qa {
  background: var(--surface3a7e6-panel);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-left: 3px solid var(--surface3a7e6-accent);
  border-radius: var(--surface3a7e6-radius-card);
  padding: 11px 13px 12px;
  margin-bottom: 8px;
}

.surface3a7e6-qa h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--surface3a7e6-bright);
  line-height: 1.55;
  margin-bottom: 5px;
}

.surface3a7e6-qa p {
  font-size: 12.5px;
  color: var(--surface3a7e6-ink);
  line-height: 1.8;
}

.surface3a7e6-qa a {
  font-weight: 700;
  border-bottom: 1px solid rgba(201, 112, 63, 0.4);
}

/* pros / limitations duo */
.surface3a7e6-duo {
  display: grid;
  gap: 10px;
}

.surface3a7e6-duo-panel {
  background: var(--surface3a7e6-panel);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-radius: var(--surface3a7e6-radius-card);
  padding: 12px 13px;
}

.surface3a7e6-duo-panel h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-duo-panel h3::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 3px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--surface3a7e6-accent-hi);
}

.surface3a7e6-duo-panel ul li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--surface3a7e6-ink);
}

.surface3a7e6-duo-panel ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 7px;
  height: 2px;
  background: var(--surface3a7e6-accent);
}

.surface3a7e6-duo-limit ul li::before {
  background: var(--surface3a7e6-muted);
}

/* selection criteria steps */
.surface3a7e6-steps {
  counter-reset: surface3a7e6step;
  display: grid;
  gap: 8px;
}

.surface3a7e6-steps li {
  counter-increment: surface3a7e6step;
  position: relative;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--surface3a7e6-panel);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-radius: var(--surface3a7e6-radius-card);
  padding: 11px 12px;
}

.surface3a7e6-steps li::before {
  content: counter(surface3a7e6step, decimal-leading-zero);
  flex: 0 0 30px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--surface3a7e6-accent-hi);
  border-right: 1px solid var(--surface3a7e6-line);
  line-height: 1.5;
}

.surface3a7e6-steps li div {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--surface3a7e6-ink);
}

.surface3a7e6-steps li strong {
  display: block;
  color: var(--surface3a7e6-bright);
  font-size: 13px;
  margin-bottom: 2px;
}

/* ==========================================================================
   extended home footer - brand > directory > promotions > disclaimer
   ========================================================================== */
.surface3a7e6-homefoot {
  margin-top: 30px;
  background: #191a1c;
  border: 1px solid var(--surface3a7e6-line-soft);
  border-radius: var(--surface3a7e6-radius-card);
  padding: 15px 13px 14px;
}

.surface3a7e6-homefoot-hf {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.surface3a7e6-homefoot-hf img {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  border: 1px solid var(--surface3a7e6-line);
  object-fit: cover;
}

.surface3a7e6-homefoot-hf strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-homefoot > p {
  font-size: 12px;
  color: var(--surface3a7e6-muted);
  line-height: 1.8;
}

.surface3a7e6-hf-block {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--surface3a7e6-line-soft);
}

.surface3a7e6-hf-block h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--surface3a7e6-accent-hi);
  margin-bottom: 9px;
}

.surface3a7e6-hf-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.surface3a7e6-hf-cols a {
  display: block;
  padding: 7px 2px 7px 12px;
  min-height: 34px;
  font-size: 12px;
  font-weight: 600;
  color: var(--surface3a7e6-ink);
  border-bottom: 1px dashed var(--surface3a7e6-line-soft);
  position: relative;
  transition: color 0.25s ease;
}

.surface3a7e6-hf-cols a::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--surface3a7e6-accent);
  font-weight: 800;
}

.surface3a7e6-hf-cols a:hover {
  color: var(--surface3a7e6-bright);
}

.surface3a7e6-hf-promos {
  display: grid;
  gap: 7px;
}

.surface3a7e6-hf-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  background: var(--surface3a7e6-panel-2);
  border: 1px solid var(--surface3a7e6-line);
  border-radius: var(--surface3a7e6-radius-cta);
  color: var(--surface3a7e6-bright);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.surface3a7e6-hf-promo span {
  color: var(--surface3a7e6-muted);
  font-size: 10.5px;
  font-weight: 600;
  text-align: right;
}

.surface3a7e6-hf-promo:hover {
  background: var(--surface3a7e6-accent);
  border-color: var(--surface3a7e6-accent-hi);
  color: #ffffff;
}

.surface3a7e6-hf-promo:hover span {
  color: rgba(255, 255, 255, 0.8);
}

.surface3a7e6-hf-disclaimer {
  margin-top: 14px;
  padding: 11px 12px;
  background: rgba(128, 128, 128, 0.08);
  border: 1px solid var(--surface3a7e6-line-soft);
  border-radius: var(--surface3a7e6-radius-card);
  font-size: 11px;
  line-height: 1.8;
  color: var(--surface3a7e6-muted);
}

.surface3a7e6-hf-disclaimer strong {
  color: var(--surface3a7e6-ink);
}

/* ---------- common slim footer ---------- */
.surface3a7e6-foot {
  margin-top: 22px;
  padding: 14px 12px 8px;
  border-top: 1px solid var(--surface3a7e6-line-soft);
  text-align: center;
}

.surface3a7e6-foot p {
  font-size: 11px;
  color: var(--surface3a7e6-muted);
  line-height: 1.7;
}

/* ==========================================================================
   layered mobile bottom bar - 5 roles
   ========================================================================== */
.surface3a7e6-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(23, 24, 26, 0.97);
  border-top: 1px solid var(--surface3a7e6-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.surface3a7e6-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surface3a7e6-bottombar-h);
  padding: 8px 2px 7px;
  background: transparent;
  border: 0;
  color: var(--surface3a7e6-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.surface3a7e6-bnav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: 3px;
  background: var(--surface3a7e6-accent-hi);
  border-radius: 0 0 2px 2px;
  transform: translate(-50%, -100%) scaleX(0);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.surface3a7e6-bnav-item:hover,
.surface3a7e6-bnav-item:focus-visible {
  color: var(--surface3a7e6-ink);
}

.surface3a7e6-bnav-item.surface3a7e6-bnav-active {
  color: var(--surface3a7e6-accent-hi);
}

.surface3a7e6-bnav-item.surface3a7e6-bnav-active::before {
  transform: translate(-50%, 0) scaleX(1);
}

.surface3a7e6-bnav-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.surface3a7e6-bnav-ic svg {
  width: 21px;
  height: 21px;
}

.surface3a7e6-bnav-lb {
  line-height: 1.3;
}

/* ==========================================================================
   responsive tuning inside the 320-430px band and beyond
   ========================================================================== */
@media (min-width: 375px) {
  .surface3a7e6-game-grid {
    gap: 10px 8px;
  }

  .surface3a7e6-game-name {
    font-size: 11px;
  }

  .surface3a7e6-h1 {
    font-size: 22px;
  }

  .surface3a7e6-reviewrail {
    grid-auto-columns: 68%;
  }
}

@media (min-width: 400px) {
  /* 4-5 columns across the wider phones */
  .surface3a7e6-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .surface3a7e6-facts strong {
    font-size: 18px;
  }
}

@media (min-width: 430px) {
  .surface3a7e6-h1 {
    font-size: 23px;
  }

  .surface3a7e6-h2 {
    font-size: 17.5px;
  }

  .surface3a7e6-lead,
  .surface3a7e6-mod-lede {
    font-size: 13.5px;
  }
}

/* very narrow devices: keep 4 stable tracks, tighten type */
@media (max-width: 330px) {
  .surface3a7e6-main {
    padding-left: 9px;
    padding-right: 9px;
  }

  .surface3a7e6-h1 {
    font-size: 19px;
  }

  .surface3a7e6-h2 {
    font-size: 15.5px;
  }

  .surface3a7e6-game-grid {
    gap: 7px 5px;
  }

  .surface3a7e6-game-name {
    font-size: 10px;
    min-height: 28px;
  }
}

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