/* ==========================================================================
   melbet affilate - mobile-first base stylesheet
   canvas: 320-430px phone layout, centered phone canvas on wide screens
   palette: #CD5C5C / #C71585 / #32CD32 / #FFB6C1 / #262626 / #E5E5E5
   design: poster headings + narrow body, near-square tool corners,
           image cards with bottom name bar, sliding focus indicators
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --surface958bb-bg: #262626;
  --surface958bb-bg-deep: #1e1e1e;
  --surface958bb-bg-raise: #2f2f2f;
  --surface958bb-ink: #E5E5E5;
  --surface958bb-ink-soft: rgba(229, 229, 229, 0.78);
  --surface958bb-ink-faint: rgba(229, 229, 229, 0.55);
  --surface958bb-red: #CD5C5C;
  --surface958bb-magenta: #C71585;
  --surface958bb-green: #32CD32;
  --surface958bb-pink: #FFB6C1;
  --surface958bb-line: rgba(229, 229, 229, 0.14);
  --surface958bb-line-strong: rgba(229, 229, 229, 0.3);
  --surface958bb-grad-heat: linear-gradient(96deg, #CD5C5C 0%, #C71585 100%);
  --surface958bb-font: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", Tahoma, sans-serif;
  --surface958bb-bar-h: 58px;
  --surface958bb-dock-h: 62px;
  --surface958bb-touch: 44px;
}

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

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

body {
  margin: 0;
  background: #101010;
  color: var(--surface958bb-ink);
  font-family: var(--surface958bb-font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.1px;
}

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

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

a {
  color: var(--surface958bb-pink);
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--surface958bb-green);
  outline-offset: 2px;
}

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

.surface958bb-main {
  padding: calc(var(--surface958bb-bar-h) + 10px) 14px calc(var(--surface958bb-dock-h) + 34px);
}

/* ==========================================================================
   top action bar
   ========================================================================== */
.surface958bb-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(30, 30, 30, 0.97);
  border-bottom: 2px solid var(--surface958bb-red);
  padding: 7px 12px 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--surface958bb-bar-h);
}

.surface958bb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.surface958bb-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
  background: var(--surface958bb-bg-raise);
  border: 1px solid var(--surface958bb-line-strong);
  padding: 2px;
}

.surface958bb-brand-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.3px;
  color: var(--surface958bb-ink);
  white-space: nowrap;
  text-transform: lowercase;
}

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

/* header action buttons: solid primary + outlined secondary */
.surface958bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--surface958bb-touch);
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

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

.surface958bb-btn-solid {
  background: var(--surface958bb-green);
  color: #143014;
  border-color: var(--surface958bb-green);
}

.surface958bb-btn-solid:hover,
.surface958bb-btn-solid:focus-visible {
  filter: brightness(1.08);
  text-decoration: none;
}

.surface958bb-btn-ghost {
  background: transparent;
  color: var(--surface958bb-ink);
  border-color: var(--surface958bb-line-strong);
}

.surface958bb-btn-ghost:hover,
.surface958bb-btn-ghost:focus-visible {
  background: rgba(229, 229, 229, 0.08);
  text-decoration: none;
}

.surface958bb-btn-heat {
  background: var(--surface958bb-grad-heat);
  color: #fff;
  border-color: transparent;
}

.surface958bb-menu-toggle {
  width: var(--surface958bb-touch);
  height: var(--surface958bb-touch);
  flex: 0 0 var(--surface958bb-touch);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--surface958bb-line-strong);
  border-radius: 2px;
}

.surface958bb-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--surface958bb-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.surface958bb-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.surface958bb-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.surface958bb-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   layered drop-down menu (drawer under the action bar)
   ========================================================================== */
.surface958bb-drawer {
  position: fixed;
  top: var(--surface958bb-bar-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: var(--surface958bb-bg-deep);
  border-bottom: 2px solid var(--surface958bb-magenta);
  max-height: calc(100vh - var(--surface958bb-bar-h));
  overflow-y: auto;
  padding: 10px 12px 18px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.surface958bb-drawer[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.surface958bb-drawer-group {
  margin-top: 12px;
}

.surface958bb-drawer-group + .surface958bb-drawer-group {
  border-top: 1px solid var(--surface958bb-line);
  padding-top: 10px;
}

.surface958bb-drawer-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--surface958bb-pink);
  text-transform: uppercase;
  margin: 0 0 4px;
}

.surface958bb-drawer-label::before {
  content: "";
  width: 14px;
  height: 3px;
  background: var(--surface958bb-grad-heat);
  flex: 0 0 14px;
}

.surface958bb-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
}

.surface958bb-drawer-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 9px 8px 0;
  color: var(--surface958bb-ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
}

/* sliding focus indicator for drawer rows */
.surface958bb-drawer-links a::before {
  content: "";
  width: 3px;
  height: 0;
  background: var(--surface958bb-green);
  transition: height 0.16s ease;
  flex: 0 0 3px;
}

.surface958bb-drawer-links a:hover,
.surface958bb-drawer-links a:focus-visible,
.surface958bb-drawer-links a[aria-current="page"] {
  color: var(--surface958bb-ink);
  text-decoration: none;
}

.surface958bb-drawer-links a:hover::before,
.surface958bb-drawer-links a:focus-visible::before,
.surface958bb-drawer-links a[aria-current="page"]::before {
  height: 18px;
}

/* ==========================================================================
   hero: kicker, H1 poster lockup, intro, stat strip
   ========================================================================== */
.surface958bb-hero {
  padding: 8px 2px 2px;
}

.surface958bb-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--surface958bb-pink);
  border-left: 3px solid var(--surface958bb-red);
  padding-left: 8px;
  margin-bottom: 8px;
}

.surface958bb-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(25px, 7.4vw, 31px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
}

.surface958bb-hero h1 em {
  font-style: normal;
  color: var(--surface958bb-red);
  display: inline-block;
  padding: 0 6px 2px;
  background: var(--surface958bb-grad-heat);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.surface958bb-lede {
  margin: 0 0 14px;
  color: var(--surface958bb-ink-soft);
  font-size: 14.5px;
}

/* compact metric strip: number first, short explanation beside */
.surface958bb-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--surface958bb-line);
  background: var(--surface958bb-bg-deep);
  margin: 0 0 18px;
}

.surface958bb-stat {
  padding: 10px 8px 9px;
  text-align: center;
}

.surface958bb-stat + .surface958bb-stat {
  border-left: 1px solid var(--surface958bb-line);
}

.surface958bb-stat-num {
  display: block;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--surface958bb-green);
}

.surface958bb-stat-txt {
  display: block;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--surface958bb-ink-faint);
  margin-top: 3px;
}

/* ==========================================================================
   promo carousel
   ========================================================================== */
.surface958bb-carousel {
  position: relative;
  margin: 0 0 20px;
  border: 1px solid var(--surface958bb-line-strong);
  background: var(--surface958bb-bg-deep);
  overflow: hidden;
}

.surface958bb-slide {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

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

.surface958bb-slide-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0) 0%, rgba(30, 30, 30, 0.92) 78%);
}

.surface958bb-slide-title {
  display: block;
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.surface958bb-slide-sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--surface958bb-pink);
}

/* stacked slides: active on top, others parked below */
.surface958bb-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transform: translateX(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.surface958bb-slide[data-active="true"] {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateX(0);
}

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

.surface958bb-dot {
  width: 22px;
  height: 5px;
  padding: 0;
  border: 0;
  background: rgba(229, 229, 229, 0.35);
}

.surface958bb-dot[data-active="true"] {
  background: var(--surface958bb-green);
}

/* ==========================================================================
   section shells + poster H2
   ========================================================================== */
.surface958bb-section {
  margin: 0 0 26px;
}

.surface958bb-h2 {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
  color: #fff;
}

.surface958bb-h2::before {
  content: "";
  align-self: center;
  width: 5px;
  height: 20px;
  flex: 0 0 5px;
  background: var(--surface958bb-grad-heat);
}

.surface958bb-h2-note {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--surface958bb-ink-faint);
}

/* ==========================================================================
   game grid: image tile + bottom name bar
   ========================================================================== */
.surface958bb-ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

.surface958bb-gcard {
  display: block;
  padding: 0;
  border: 1px solid var(--surface958bb-line);
  background: var(--surface958bb-bg-deep);
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.15s ease;
}

.surface958bb-gcard:hover,
.surface958bb-gcard:focus-visible {
  border-color: var(--surface958bb-red);
  text-decoration: none;
}

.surface958bb-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #171717;
}

.surface958bb-gname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 32px;
  padding: 4px 4px 5px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--surface958bb-ink);
  background: #1a1a1a;
  border-top: 1px solid var(--surface958bb-line);
}

/* category chip row above each game block */
.surface958bb-catline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 10px;
  font-size: 11px;
  color: var(--surface958bb-ink-faint);
  letter-spacing: 0.6px;
}

.surface958bb-catline::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--surface958bb-line);
}

.surface958bb-catcount {
  color: var(--surface958bb-green);
  font-weight: 600;
}

/* ==========================================================================
   promotions module rows
   ========================================================================== */
.surface958bb-promolist {
  display: grid;
  gap: 10px;
}

.surface958bb-promo {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 12px;
  background: var(--surface958bb-bg-deep);
  border: 1px solid var(--surface958bb-line);
  border-left: 3px solid var(--surface958bb-magenta);
}

.surface958bb-promo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(199, 21, 133, 0.16);
  color: var(--surface958bb-pink);
}

.surface958bb-promo-icon svg {
  width: 21px;
  height: 21px;
}

.surface958bb-promo h3 {
  margin: 0 0 3px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.surface958bb-promo p {
  margin: 0 0 8px;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--surface958bb-ink-soft);
}

.surface958bb-promo .surface958bb-btn {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 12.5px;
}

/* ==========================================================================
   play-now CTA block
   ========================================================================== */
.surface958bb-cta {
  padding: 18px 14px;
  background: var(--surface958bb-grad-heat);
  border: 1px solid rgba(255, 182, 193, 0.4);
  text-align: center;
}

.surface958bb-cta h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.surface958bb-cta p {
  margin: 0 auto 14px;
  max-width: 34ch;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
}

.surface958bb-cta-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.surface958bb-cta .surface958bb-btn-light {
  background: #fff;
  color: #7a0f4f;
  border-color: #fff;
}

.surface958bb-cta .surface958bb-btn-line {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   tricks list: numbered compact rows
   ========================================================================== */
.surface958bb-tricks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.surface958bb-tricks li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  background: var(--surface958bb-bg-deep);
  border: 1px solid var(--surface958bb-line);
}

.surface958bb-trick-num {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--surface958bb-green);
  border-right: 1px solid var(--surface958bb-line);
  padding-right: 6px;
}

.surface958bb-tricks b {
  display: block;
  font-size: 13.5px;
  color: #fff;
  margin-bottom: 2px;
}

.surface958bb-tricks p {
  margin: 0;
  font-size: 12.6px;
  color: var(--surface958bb-ink-soft);
  line-height: 1.55;
}

.surface958bb-trick-more {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--surface958bb-ink-soft);
}

/* ==========================================================================
   testimonials
   ========================================================================== */
.surface958bb-quotes {
  display: grid;
  gap: 10px;
}

.surface958bb-quote {
  position: relative;
  padding: 12px 12px 10px 16px;
  background: var(--surface958bb-bg-deep);
  border: 1px solid var(--surface958bb-line);
  border-left: 3px solid var(--surface958bb-green);
}

.surface958bb-quote p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.58;
  color: var(--surface958bb-ink-soft);
}

.surface958bb-quote-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--surface958bb-ink-faint);
}

.surface958bb-quote-meta strong {
  color: var(--surface958bb-pink);
  font-weight: 600;
}

.surface958bb-quote-score {
  margin-left: auto;
  color: var(--surface958bb-green);
  font-weight: 700;
}

/* ==========================================================================
   direct answer Q&A
   ========================================================================== */
.surface958bb-qa {
  display: grid;
  gap: 10px;
}

.surface958bb-qa-item {
  background: var(--surface958bb-bg-deep);
  border: 1px solid var(--surface958bb-line);
  padding: 11px 12px;
}

.surface958bb-qa-item h3 {
  margin: 0 0 4px;
  font-size: 13.8px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.surface958bb-qa-item h3::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: #262626;
  background: var(--surface958bb-green);
  vertical-align: 2px;
}

.surface958bb-qa-item p {
  margin: 0;
  font-size: 12.8px;
  color: var(--surface958bb-ink-soft);
}

/* ==========================================================================
   extended footer: sectioned list (directory > brand > promos > disclaimer)
   ========================================================================== */
.surface958bb-extfoot {
  margin-top: 30px;
  border-top: 2px solid var(--surface958bb-red);
  padding-top: 6px;
}

.surface958bb-extfoot-block {
  padding: 14px 0 6px;
  border-bottom: 1px solid var(--surface958bb-line);
}

.surface958bb-extfoot-block h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.surface958bb-extfoot-block h2 svg {
  width: 16px;
  height: 16px;
  color: var(--surface958bb-pink);
  flex: 0 0 16px;
}

.surface958bb-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.surface958bb-directory a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  font-size: 12.8px;
  color: var(--surface958bb-ink-soft);
}

.surface958bb-directory svg {
  width: 13px;
  height: 13px;
  color: var(--surface958bb-green);
  flex: 0 0 13px;
}

.surface958bb-directory a:hover,
.surface958bb-directory a:focus-visible {
  color: #fff;
}

.surface958bb-brandtext {
  margin: 0;
  font-size: 13px;
  color: var(--surface958bb-ink-soft);
  line-height: 1.6;
}

/* four promo actions with icon + text labels */
.surface958bb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.surface958bb-action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  background: var(--surface958bb-bg-raise);
  border: 1px solid var(--surface958bb-line-strong);
  color: var(--surface958bb-ink);
  font-size: 12.8px;
  font-weight: 600;
  text-align: left;
}

.surface958bb-action svg {
  width: 17px;
  height: 17px;
  color: var(--surface958bb-green);
  flex: 0 0 17px;
}

.surface958bb-action:hover,
.surface958bb-action:focus-visible {
  border-color: var(--surface958bb-green);
  text-decoration: none;
}

.surface958bb-action-heat {
  border-color: rgba(199, 21, 133, 0.6);
}

.surface958bb-action-heat svg {
  color: var(--surface958bb-pink);
}

.surface958bb-disclaimer {
  margin: 0;
  padding: 10px 11px;
  background: rgba(205, 92, 92, 0.1);
  border: 1px dashed rgba(205, 92, 92, 0.55);
  font-size: 11.8px;
  line-height: 1.6;
  color: var(--surface958bb-ink-soft);
}

.surface958bb-disclaimer b {
  color: var(--surface958bb-pink);
}

/* ---------- common footer ---------- */
.surface958bb-foot {
  padding: 16px 0 4px;
  text-align: center;
  font-size: 11.5px;
  color: var(--surface958bb-ink-faint);
}

.surface958bb-foot b {
  color: var(--surface958bb-ink-soft);
}

/* ==========================================================================
   bottom nav rack: 5 roles, active = contrast inversion, sliding indicator
   ========================================================================== */
.surface958bb-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(24, 24, 24, 0.98);
  border-top: 1px solid var(--surface958bb-line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* the sliding top indicator: 1/5 width, moved by JS */
.surface958bb-dock-indicator {
  position: absolute;
  top: -2px;
  left: 0;
  width: 20%;
  height: 3px;
  background: var(--surface958bb-green);
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.surface958bb-dock-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.surface958bb-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surface958bb-dock-h);
  padding: 7px 2px 6px;
  color: var(--surface958bb-pink);
  background: transparent;
  border: 0;
  font-size: 10px;
  line-height: 1;
  position: relative;
}

.surface958bb-dock-item svg {
  width: 21px;
  height: 21px;
  opacity: 0.82;
}

.surface958bb-dock-item span {
  color: inherit;
  letter-spacing: 0.2px;
}

.surface958bb-dock-item:hover,
.surface958bb-dock-item:focus-visible {
  color: var(--surface958bb-ink);
  text-decoration: none;
}

/* active role inverts contrast */
.surface958bb-dock-item[data-active="true"] {
  background: var(--surface958bb-ink);
  color: #262626;
}

.surface958bb-dock-item[data-active="true"] svg {
  opacity: 1;
}

/* ==========================================================================
   responsive ladder
   ========================================================================== */
@media (min-width: 360px) {
  .surface958bb-ggrid {
    gap: 10px 8px;
  }

  .surface958bb-gname {
    font-size: 11px;
  }
}

/* 375-430px: keep 4 columns, let cards breathe */
@media (min-width: 390px) {
  .surface958bb-ggrid {
    gap: 11px 9px;
  }

  .surface958bb-promo {
    grid-template-columns: 44px 1fr;
  }

  .surface958bb-promo-icon {
    width: 44px;
    height: 44px;
  }
}

/* phone canvas edge: 5-column game row on the widest phones */
@media (min-width: 414px) {
  .surface958bb-ggrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* canvas lock at 430px and beyond */
@media (min-width: 430px) {
  .surface958bb-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .surface958bb-h2 {
    font-size: 20px;
  }

  .surface958bb-quotes {
    grid-template-columns: 1fr 1fr;
  }

  .surface958bb-qa {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 700px) {
  .surface958bb-page {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* ---------- small utilities ---------- */
.surface958bb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.surface958bb-divider {
  border: 0;
  border-top: 1px solid var(--surface958bb-line);
  margin: 20px 0;
}

/* ---------- help page instruments ---------- */
.surface958bb-help-hero {
  position: relative;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--surface958bb-line-strong);
}

.surface958bb-help-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 42%;
  height: 3px;
  background: var(--surface958bb-green);
}

.surface958bb-help-hero h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(25px, 7.2vw, 31px);
  line-height: 1.16;
}

.surface958bb-help-hero h1 strong {
  color: var(--surface958bb-pink);
  font-weight: 700;
}

.surface958bb-help-intro {
  margin: 0;
  color: var(--surface958bb-ink-soft);
  font-size: 14px;
}

.surface958bb-verdict {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 11px;
  margin: 16px 0 20px;
  padding: 13px;
  background: rgba(50, 205, 50, 0.09);
  border: 1px solid rgba(50, 205, 50, 0.42);
}

.surface958bb-verdict-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #162616;
  background: var(--surface958bb-green);
  font-size: 22px;
  font-weight: 800;
}

.surface958bb-verdict h2,
.surface958bb-verdict p {
  margin: 0;
}

.surface958bb-verdict h2 {
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}

.surface958bb-verdict p {
  margin-top: 4px;
  color: var(--surface958bb-ink-soft);
  font-size: 12.8px;
  line-height: 1.55;
}

.surface958bb-review-block {
  margin: 0 0 27px;
}

.surface958bb-review-block h2,
.surface958bb-tips-block h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 19px;
  line-height: 1.3;
}

.surface958bb-review-block h2::before,
.surface958bb-tips-block h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 19px;
  margin-right: 8px;
  vertical-align: -2px;
  background: var(--surface958bb-grad-heat);
}

.surface958bb-review-block > p,
.surface958bb-tips-block > p {
  margin: 0 0 12px;
  color: var(--surface958bb-ink-soft);
  font-size: 13.5px;
}

.surface958bb-review-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: review-step;
}

.surface958bb-review-steps li {
  counter-increment: review-step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px;
  background: var(--surface958bb-bg-deep);
  border-left: 3px solid var(--surface958bb-red);
}

.surface958bb-review-steps li::before {
  content: counter(review-step, decimal-leading-zero);
  color: var(--surface958bb-green);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.surface958bb-review-steps b,
.surface958bb-device-grid b,
.surface958bb-score-row b,
.surface958bb-tips-note b {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 13.5px;
}

.surface958bb-review-steps p,
.surface958bb-device-grid p,
.surface958bb-score-row p,
.surface958bb-tips-note p {
  margin: 0;
  color: var(--surface958bb-ink-soft);
  font-size: 12.7px;
  line-height: 1.55;
}

.surface958bb-device-grid {
  display: grid;
  gap: 8px;
}

.surface958bb-device {
  padding: 12px;
  background: #242424;
  border: 1px solid var(--surface958bb-line);
}

.surface958bb-device-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 6px;
  color: #20131b;
  background: var(--surface958bb-pink);
  font-size: 10.5px;
  font-weight: 700;
}

.surface958bb-scoreboard {
  display: grid;
  gap: 1px;
  background: var(--surface958bb-line-strong);
  border: 1px solid var(--surface958bb-line-strong);
}

.surface958bb-score-row {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 10px;
  padding: 10px;
  background: var(--surface958bb-bg-deep);
}

.surface958bb-score-row b {
  margin: 0;
  color: var(--surface958bb-pink);
  font-size: 12.5px;
}

.surface958bb-help-action {
  margin-top: 10px;
}

.surface958bb-help-action .surface958bb-btn {
  width: 100%;
}

.surface958bb-review-faq {
  display: grid;
  gap: 7px;
}

.surface958bb-review-faq details {
  background: var(--surface958bb-bg-deep);
  border: 1px solid var(--surface958bb-line);
}

.surface958bb-review-faq summary {
  min-height: 44px;
  padding: 11px 12px;
  color: #fff;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
}

.surface958bb-review-faq details p {
  margin: 0;
  padding: 0 12px 12px;
  color: var(--surface958bb-ink-soft);
  font-size: 12.8px;
}

.surface958bb-tips-rail {
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
  padding: 13px;
  background: var(--surface958bb-grad-heat);
}

.surface958bb-tips-rail h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.surface958bb-tips-rail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  font-size: 13px;
}

.surface958bb-tips-rail .surface958bb-btn {
  justify-self: start;
  background: #fff;
  color: #7a0f4f;
  border-color: #fff;
}

.surface958bb-tips-cards {
  display: grid;
  gap: 9px;
}

.surface958bb-tips-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 11px;
  background: var(--surface958bb-bg-deep);
  border-top: 2px solid var(--surface958bb-magenta);
}

.surface958bb-tips-card > span {
  color: var(--surface958bb-green);
  font-size: 19px;
  font-weight: 800;
}

.surface958bb-tips-card h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 14px;
}

.surface958bb-tips-card p {
  margin: 0;
  color: var(--surface958bb-ink-soft);
  font-size: 12.8px;
  line-height: 1.55;
}

.surface958bb-tips-note {
  margin: 0 0 10px;
  padding: 12px;
  background: rgba(255, 182, 193, 0.08);
  border: 1px dashed rgba(255, 182, 193, 0.55);
}

.surface958bb-tips-note b {
  color: var(--surface958bb-pink);
}

.surface958bb-checklist {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.surface958bb-checklist li {
  position: relative;
  padding: 10px 10px 10px 31px;
  color: var(--surface958bb-ink-soft);
  background: var(--surface958bb-bg-deep);
  border-bottom: 1px solid var(--surface958bb-line);
  font-size: 13px;
}

.surface958bb-checklist li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  color: var(--surface958bb-green);
  font-weight: 800;
}

.surface958bb-scenario {
  margin: 0 0 9px;
  padding: 12px;
  background: #242424;
  border-right: 3px solid var(--surface958bb-red);
}

.surface958bb-scenario h3 {
  margin: 0 0 5px;
  color: var(--surface958bb-pink);
  font-size: 14px;
}

.surface958bb-scenario p {
  margin: 0;
  color: var(--surface958bb-ink-soft);
  font-size: 12.8px;
}

@media (max-width: 359px) {
  .surface958bb-topbar {
    gap: 4px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .surface958bb-brand {
    gap: 5px;
  }

  .surface958bb-brand-name {
    font-size: 16px;
  }

  .surface958bb-btn {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }

  .surface958bb-menu-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

@media (min-width: 390px) {
  .surface958bb-device-grid,
  .surface958bb-tips-cards {
    grid-template-columns: 1fr 1fr;
  }

  .surface958bb-device:last-child,
  .surface958bb-tips-card:last-child {
    grid-column: 1 / -1;
  }
}

