/* ==========================================================================
   22bet partners - frame-adaptive-111f64.css
   Mobile-first shell for the 320-430px phone canvas. Wide screens keep the
   same centered canvas. Every class and custom property uses surface111f6-.
   Palette: #273746 base / #FFAA00 + #FFB347 accents / #FFB3BA + #FFCCCB
   light text accents / #999999 muted.
   ========================================================================== */

/* ------------------------------ tokens --------------------------------- */
:root {
  --surface111f6-ink: #273746;
  --surface111f6-ink-deep: #1b2632;
  --surface111f6-ink-floor: #131b24;
  --surface111f6-ink-soft: #2f4254;
  --surface111f6-ink-line: rgba(255, 204, 203, 0.14);
  --surface111f6-amber: #FFAA00;
  --surface111f6-amber-soft: #FFB347;
  --surface111f6-amber-dim: rgba(255, 170, 0, 0.16);
  --surface111f6-rose: #FFB3BA;
  --surface111f6-rose-dim: rgba(255, 179, 186, 0.14);
  --surface111f6-petal: #FFCCCB;
  --surface111f6-mist: #999999;
  --surface111f6-paper: #f7efe9;
  --surface111f6-font-head: 'Baloo Da 2', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --surface111f6-font-body: 'Hind Siliguri', 'Noto Sans Bengali', 'Segoe UI', Tahoma, sans-serif;
  --surface111f6-r-card: 10px;
  --surface111f6-r-btn: 8px;
  --surface111f6-r-panel: 14px;
  --surface111f6-top-h: 56px;
  --surface111f6-dock-h: 60px;
  --surface111f6-shell-w: 430px;
  --surface111f6-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--surface111f6-ink-floor);
  color: var(--surface111f6-paper);
  font-family: var(--surface111f6-font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--surface111f6-amber-soft);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-family: var(--surface111f6-font-head);
  line-height: 1.32;
  margin: 0;
  letter-spacing: 0.2px;
}

p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px dashed var(--surface111f6-amber-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--surface111f6-amber);
  color: var(--surface111f6-ink-deep);
}

/* ------------------------------ shell ---------------------------------- */
.surface111f6-shell {
  position: relative;
  width: 100%;
  max-width: var(--surface111f6-shell-w);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(255, 170, 0, 0.07), transparent 60%),
    linear-gradient(180deg, var(--surface111f6-ink) 0%, #22303e 46%, var(--surface111f6-ink-deep) 100%);
  box-shadow: 0 0 0 1px rgba(255, 204, 203, 0.05), 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow-x: clip;
}

/* ------------------------------ topbar --------------------------------- */
.surface111f6-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--surface111f6-shell-w);
  height: var(--surface111f6-top-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(24, 33, 43, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface111f6-ink-line);
}

.surface111f6-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
  color: var(--surface111f6-paper);
}

.surface111f6-brand:hover { text-decoration: none; }

.surface111f6-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(255, 170, 0, 0.35);
  flex: 0 0 auto;
}

.surface111f6-brand strong {
  font-family: var(--surface111f6-font-head);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.surface111f6-topbar-acts {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* compact CTA pair: lightly rounded text buttons */
.surface111f6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: var(--surface111f6-r-btn);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.16s var(--surface111f6-ease), box-shadow 0.16s var(--surface111f6-ease), background 0.16s var(--surface111f6-ease);
}

.surface111f6-btn:active {
  transform: scale(0.94);
}

.surface111f6-btn-solid {
  background: linear-gradient(135deg, var(--surface111f6-amber) 0%, var(--surface111f6-amber-soft) 100%);
  color: #241a05;
  box-shadow: 0 4px 14px rgba(255, 170, 0, 0.28);
}

.surface111f6-btn-solid:hover {
  box-shadow: 0 6px 18px rgba(255, 170, 0, 0.4);
  text-decoration: none;
}

.surface111f6-btn-ghost {
  border: 1px solid rgba(255, 179, 186, 0.45);
  color: var(--surface111f6-rose);
  background: rgba(255, 179, 186, 0.06);
}

.surface111f6-btn-ghost:hover { text-decoration: none; background: rgba(255, 179, 186, 0.12); }

/* burger */
.surface111f6-burger {
  width: 40px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--surface111f6-r-btn);
  border: 1px solid rgba(255, 204, 203, 0.28);
  color: var(--surface111f6-petal);
  flex: 0 0 auto;
  transition: transform 0.16s var(--surface111f6-ease), background 0.16s var(--surface111f6-ease);
}

.surface111f6-burger:active { transform: scale(0.92); }

.surface111f6-burger svg { width: 20px; height: 20px; }

/* ------------------------------ slide-in menu --------------------------- */
.surface111f6-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  background: rgba(9, 13, 18, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--surface111f6-ease), visibility 0.25s;
}

.surface111f6-menu-open.surface111f6-menu {
  opacity: 1;
  visibility: visible;
}

.surface111f6-menu-page {
  width: 100%;
  max-width: var(--surface111f6-shell-w);
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(165deg, #223141 0%, var(--surface111f6-ink-deep) 62%, #18222d 100%);
  border-left: 1px solid var(--surface111f6-ink-line);
  padding: 14px 16px calc(var(--surface111f6-dock-h) + 30px);
  transform: translateX(100%);
  transition: transform 0.3s var(--surface111f6-ease);
  -webkit-overflow-scrolling: touch;
}

.surface111f6-menu-open .surface111f6-menu-page {
  transform: translateX(0);
}

.surface111f6-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.surface111f6-menu-top span {
  font-family: var(--surface111f6-font-head);
  font-size: 17px;
  color: var(--surface111f6-amber-soft);
}

.surface111f6-menu-close {
  width: 40px;
  height: 40px;
  border-radius: var(--surface111f6-r-btn);
  border: 1px solid rgba(255, 204, 203, 0.3);
  color: var(--surface111f6-petal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surface111f6-menu-close svg { width: 18px; height: 18px; }

.surface111f6-menu-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.surface111f6-menu-cta .surface111f6-btn { min-height: 44px; }

.surface111f6-menu-zone {
  margin-bottom: 16px;
  border: 1px solid var(--surface111f6-ink-line);
  border-radius: var(--surface111f6-r-panel);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.surface111f6-menu-zone-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 6px;
  font-family: var(--surface111f6-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: var(--surface111f6-mist);
}

.surface111f6-menu-zone-title::before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--surface111f6-amber), var(--surface111f6-rose));
}

.surface111f6-menu-zone a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  color: var(--surface111f6-paper);
  font-size: 14.5px;
  border-top: 1px solid rgba(255, 204, 203, 0.07);
  position: relative;
  transition: background 0.16s var(--surface111f6-ease);
}

.surface111f6-menu-zone a:hover {
  background: rgba(255, 170, 0, 0.08);
  text-decoration: none;
}

.surface111f6-menu-zone a em {
  font-style: normal;
  margin-left: auto;
  font-size: 11px;
  color: var(--surface111f6-mist);
}

.surface111f6-menu-zone a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--surface111f6-rose);
  border-right: 1.5px solid var(--surface111f6-rose);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ------------------------------ main frame ------------------------------ */
.surface111f6-main {
  padding: calc(var(--surface111f6-top-h) + 14px) 14px calc(var(--surface111f6-dock-h) + 44px);
}

/* ------------------------------ hero ------------------------------------ */
.surface111f6-hero {
  padding: 14px 2px 4px;
}

.surface111f6-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--surface111f6-amber-soft);
  background: var(--surface111f6-amber-dim);
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 10px;
}

.surface111f6-hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surface111f6-amber);
  box-shadow: 0 0 8px var(--surface111f6-amber);
}

.surface111f6-hero h1 {
  font-size: clamp(22px, 6.4vw, 29px);
  font-weight: 800;
  margin-bottom: 10px;
}

.surface111f6-hero h1 mark {
  background: none;
  color: var(--surface111f6-amber);
}

.surface111f6-hero-lead {
  color: var(--surface111f6-petal);
  font-size: 14.5px;
}

.surface111f6-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.surface111f6-hero-cta .surface111f6-btn {
  flex: 1 1 auto;
  min-height: 44px;
  font-size: 14px;
}

.surface111f6-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.surface111f6-fact {
  border: 1px solid var(--surface111f6-ink-line);
  border-radius: var(--surface111f6-r-card);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 6px;
  text-align: center;
}

.surface111f6-fact b {
  display: block;
  font-family: var(--surface111f6-font-head);
  font-size: 15px;
  color: var(--surface111f6-rose);
}

.surface111f6-fact span {
  font-size: 10.5px;
  color: var(--surface111f6-mist);
  line-height: 1.35;
  display: block;
}

/* ------------------------------ carousel -------------------------------- */
.surface111f6-carousel {
  position: relative;
  margin: 16px 0 4px;
  border-radius: var(--surface111f6-r-panel);
  overflow: hidden;
  border: 1px solid var(--surface111f6-ink-line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.surface111f6-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.surface111f6-track::-webkit-scrollbar { display: none; }

.surface111f6-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}

.surface111f6-slide img {
  width: 100%;
  aspect-ratio: 2.18 / 1;
  object-fit: cover;
}

.surface111f6-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 23, 31, 0.55) 45%, rgba(16, 23, 31, 0.92) 100%);
}

.surface111f6-slide-txt b {
  display: block;
  font-family: var(--surface111f6-font-head);
  font-size: 14.5px;
  color: #fff;
  line-height: 1.35;
}

.surface111f6-slide-txt span {
  font-size: 11px;
  color: var(--surface111f6-petal);
}

.surface111f6-slide-chip {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: #241a05;
  background: linear-gradient(135deg, var(--surface111f6-amber), var(--surface111f6-amber-soft));
  border-radius: 999px;
  padding: 7px 12px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.surface111f6-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.surface111f6-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surface111f6-dot i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 204, 203, 0.5);
  transition: width 0.2s var(--surface111f6-ease), background 0.2s var(--surface111f6-ease);
}

.surface111f6-dot.surface111f6-dot-on i {
  width: 16px;
  background: var(--surface111f6-amber);
}

/* ------------------------------ quick rail ------------------------------ */
.surface111f6-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 0 4px;
  margin: 0 -14px;
  padding-left: 14px;
  padding-right: 14px;
  scroll-snap-type: x proximity;
}

.surface111f6-rail::-webkit-scrollbar { display: none; }

.surface111f6-rail a {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface111f6-petal);
  background: rgba(255, 179, 186, 0.08);
  border: 1px solid rgba(255, 179, 186, 0.24);
  transition: transform 0.16s var(--surface111f6-ease), background 0.16s var(--surface111f6-ease);
}

.surface111f6-rail a:hover { text-decoration: none; background: rgba(255, 179, 186, 0.16); }

.surface111f6-rail a:active { transform: scale(0.93); }

.surface111f6-rail a b {
  font-size: 10px;
  font-weight: 700;
  color: var(--surface111f6-amber);
}

/* ------------------------------ prose blocks ---------------------------- */
.surface111f6-note {
  border-radius: var(--surface111f6-r-panel);
  border: 1px solid var(--surface111f6-ink-line);
  background: linear-gradient(160deg, rgba(255, 179, 186, 0.06), rgba(255, 255, 255, 0.02));
  padding: 14px 14px 6px;
  margin: 16px 0;
}

.surface111f6-note h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.surface111f6-note p {
  font-size: 14px;
  color: var(--surface111f6-paper);
}

.surface111f6-note p:last-child { margin-bottom: 8px; }

/* ------------------------------ game groups ----------------------------- */
.surface111f6-group {
  margin: 20px 0;
  border: 1px solid var(--surface111f6-ink-line);
  border-radius: var(--surface111f6-r-panel);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
  scroll-margin-top: calc(var(--surface111f6-top-h) + 10px);
}

.surface111f6-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
  background: linear-gradient(90deg, rgba(255, 170, 0, 0.12), rgba(255, 179, 186, 0.05) 55%, transparent);
  border-bottom: 1px solid var(--surface111f6-ink-line);
}

.surface111f6-group-num {
  font-family: var(--surface111f6-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--surface111f6-amber);
  border: 1px solid rgba(255, 170, 0, 0.45);
  border-radius: 7px;
  padding: 3px 7px;
  flex: 0 0 auto;
}

.surface111f6-group-head h2 {
  font-size: 16.5px;
  flex: 1;
  min-width: 0;
}

.surface111f6-group-count {
  font-size: 11px;
  color: var(--surface111f6-mist);
  flex: 0 0 auto;
}

.surface111f6-group-lead {
  padding: 10px 14px 4px;
  font-size: 13.5px;
  color: var(--surface111f6-petal);
}

.surface111f6-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  padding: 10px 12px 14px;
}

/* grouped cover card */
.surface111f6-game {
  display: block;
  border-radius: var(--surface111f6-r-card);
  padding: 5px 5px 7px;
  text-align: center;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 204, 203, 0.1);
  transition: transform 0.18s var(--surface111f6-ease), border-color 0.18s var(--surface111f6-ease), box-shadow 0.18s var(--surface111f6-ease);
}

.surface111f6-game:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(255, 170, 0, 0.5);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.surface111f6-game:active { transform: translateY(0) scale(0.95); }

.surface111f6-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
  background: #1d2935;
}

.surface111f6-game span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  color: var(--surface111f6-rose);
  min-height: 31px;
  font-weight: 600;
}

.surface111f6-group-more {
  display: flex;
  justify-content: center;
  padding: 0 12px 14px;
}

.surface111f6-group-more a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--surface111f6-amber-soft);
  border: 1px dashed rgba(255, 170, 0, 0.4);
  border-radius: 999px;
  padding: 8px 16px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.surface111f6-group-more a:hover { background: var(--surface111f6-amber-dim); text-decoration: none; }

/* ------------------------------ info modules ---------------------------- */
.surface111f6-module {
  margin: 20px 0;
  border-radius: var(--surface111f6-r-panel);
  border: 1px solid var(--surface111f6-ink-line);
  background: rgba(255, 255, 255, 0.025);
  padding: 16px 14px 12px;
  position: relative;
  overflow: hidden;
}

.surface111f6-module::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--surface111f6-amber) 0%, var(--surface111f6-rose) 55%, transparent 100%);
}

.surface111f6-module h2 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.surface111f6-module h3 {
  font-size: 14px;
  color: var(--surface111f6-amber-soft);
  margin: 12px 0 6px;
}

.surface111f6-module p {
  font-size: 13.8px;
  color: var(--surface111f6-paper);
}

/* scenario branch rows: condition tag + explanation */
.surface111f6-branch {
  display: grid;
  grid-template-columns: minmax(86px, auto) 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 10px 10px 12px;
  border-radius: var(--surface111f6-r-card);
  background: rgba(255, 179, 186, 0.05);
  border-left: 3px solid var(--surface111f6-rose);
  margin: 8px 0;
}

.surface111f6-branch:nth-child(even) { border-left-color: var(--surface111f6-amber); }

.surface111f6-branch-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--surface111f6-amber-soft);
  letter-spacing: 0.3px;
  line-height: 1.5;
  padding-top: 2px;
}

.surface111f6-branch p {
  margin: 0;
  font-size: 13.2px;
  color: var(--surface111f6-petal);
}

/* step list with counters */
.surface111f6-steps {
  counter-reset: surface111f6-step;
  margin: 10px 0;
}

.surface111f6-steps li {
  counter-increment: surface111f6-step;
  position: relative;
  padding: 0 0 14px 40px;
  font-size: 13.5px;
  color: var(--surface111f6-paper);
}

.surface111f6-steps li::before {
  content: counter(surface111f6-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--surface111f6-font-head);
  font-size: 13px;
  font-weight: 800;
  color: #241a05;
  background: linear-gradient(135deg, var(--surface111f6-amber), var(--surface111f6-amber-soft));
  box-shadow: 0 3px 8px rgba(255, 170, 0, 0.25);
}

.surface111f6-steps li b {
  display: block;
  color: var(--surface111f6-rose);
  font-size: 13.5px;
  margin-bottom: 2px;
}

.surface111f6-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.5px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 170, 0, 0.5), rgba(255, 179, 186, 0.15));
}

/* checklist with css tick */
.surface111f6-check {
  margin: 10px 0;
}

.surface111f6-check li {
  position: relative;
  padding: 7px 8px 7px 34px;
  font-size: 13.2px;
  color: var(--surface111f6-petal);
  border-radius: 8px;
}

.surface111f6-check li:nth-child(odd) { background: rgba(255, 255, 255, 0.03); }

.surface111f6-check li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 13px;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--surface111f6-amber);
  border-bottom: 2.5px solid var(--surface111f6-amber);
  transform: rotate(-45deg);
}

/* mini question rows inside modules */
.surface111f6-ask {
  border: 1px dashed rgba(255, 179, 186, 0.35);
  border-radius: var(--surface111f6-r-card);
  padding: 10px 12px;
  margin: 10px 0;
}

.surface111f6-ask b {
  display: block;
  font-size: 13.2px;
  color: var(--surface111f6-rose);
  margin-bottom: 3px;
}

.surface111f6-ask p {
  margin: 0;
  font-size: 13px;
  color: var(--surface111f6-paper);
}

/* ------------------------------ extended footer ------------------------- */
.surface111f6-xfoot {
  margin: 26px 0 10px;
  border-top: 1px solid var(--surface111f6-ink-line);
  padding-top: 18px;
}

.surface111f6-xfoot-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.surface111f6-xfoot-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 170, 0, 0.35);
  flex: 0 0 auto;
}

.surface111f6-xfoot-brand h2 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.surface111f6-xfoot-brand p {
  font-size: 12.8px;
  color: var(--surface111f6-mist);
  margin: 0;
}

.surface111f6-xfoot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--surface111f6-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--surface111f6-amber-soft);
  margin: 16px 0 10px;
}

.surface111f6-xfoot-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 170, 0, 0.4), transparent);
}

.surface111f6-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.surface111f6-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 11px;
  border-radius: var(--surface111f6-r-card);
  border: 1px solid rgba(255, 170, 0, 0.22);
  background: linear-gradient(140deg, rgba(255, 170, 0, 0.1), rgba(255, 179, 186, 0.05));
  color: var(--surface111f6-paper);
  font-size: 12.8px;
  font-weight: 600;
  line-height: 1.35;
  transition: transform 0.16s var(--surface111f6-ease), border-color 0.16s var(--surface111f6-ease);
}

.surface111f6-promo:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(255, 170, 0, 0.55);
}

.surface111f6-promo:active { transform: scale(0.96); }

.surface111f6-promo svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--surface111f6-amber);
}

.surface111f6-promo small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--surface111f6-mist);
}

.surface111f6-dir {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.surface111f6-dir a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--surface111f6-r-btn);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 204, 203, 0.1);
  font-size: 13px;
  color: var(--surface111f6-paper);
  min-height: 44px;
  align-items: center;
  transition: background 0.16s var(--surface111f6-ease);
}

.surface111f6-dir a:hover { background: rgba(255, 170, 0, 0.08); text-decoration: none; }

.surface111f6-dir a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--surface111f6-rose);
  flex: 0 0 auto;
  align-self: center;
}

.surface111f6-dir a span {
  color: var(--surface111f6-mist);
  font-size: 10.5px;
  margin-left: auto;
  white-space: nowrap;
}

.surface111f6-disclaimer {
  margin-top: 14px;
  border-radius: var(--surface111f6-r-card);
  border: 1px dashed rgba(153, 153, 153, 0.45);
  background: rgba(153, 153, 153, 0.07);
  padding: 10px 12px;
  font-size: 11.6px;
  line-height: 1.65;
  color: var(--surface111f6-mist);
}

.surface111f6-disclaimer b {
  color: var(--surface111f6-rose);
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}

/* ------------------------------ slim footer + dock ---------------------- */
.surface111f6-slimfoot {
  text-align: center;
  font-size: 11.5px;
  color: var(--surface111f6-mist);
  padding: 8px 14px 0;
}

.surface111f6-slimfoot b { color: var(--surface111f6-petal); font-weight: 600; }

.surface111f6-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--surface111f6-shell-w);
  z-index: 70;
  padding: 0 10px calc(8px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.surface111f6-dock-bar {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  min-height: var(--surface111f6-dock-h);
  border-radius: 18px;
  background: rgba(21, 30, 40, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 204, 203, 0.16);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.4);
  padding: 5px 4px;
  gap: 2px;
}

.surface111f6-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  border-radius: 13px;
  padding: 4px 2px;
  color: var(--surface111f6-mist);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.16s var(--surface111f6-ease), color 0.16s var(--surface111f6-ease), background 0.16s var(--surface111f6-ease);
}

.surface111f6-dock-item svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.surface111f6-dock-item:hover { color: var(--surface111f6-petal); text-decoration: none; }

.surface111f6-dock-item:active { transform: scale(0.9); }

/* active role gets a background support block */
.surface111f6-dock-on {
  color: var(--surface111f6-amber);
  background: linear-gradient(160deg, rgba(255, 170, 0, 0.18), rgba(255, 179, 186, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 170, 0, 0.35);
}

.surface111f6-dock-on::before {
  content: "";
  position: absolute;
}

.surface111f6-dock-item { position: relative; }

.surface111f6-dock-on svg { filter: drop-shadow(0 0 6px rgba(255, 170, 0, 0.55)); }

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

/* ------------------------------ breakpoints ----------------------------- */
/* small phones from 320px: keep 4 stable tracks, tighten gutters */
@media (max-width: 359px) {
  .surface111f6-grid { gap: 6px 5px; padding: 8px 9px 12px; }
  .surface111f6-game span { font-size: 10.2px; }
  .surface111f6-hero-facts { gap: 4px; }
  .surface111f6-fact span { font-size: 9.5px; }
  .surface111f6-brand strong { font-size: 14.5px; }
  .surface111f6-btn { padding: 6px 9px; font-size: 12px; }
}

/* 375-430px canvas: room for a 5th game track */
@media (min-width: 375px) {
  .surface111f6-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .surface111f6-promo { font-size: 13px; }
}

@media (min-width: 430px) {
  .surface111f6-shell {
    min-height: 100vh;
    margin-top: 0;
  }
  .surface111f6-main { padding-left: 18px; padding-right: 18px; }
  .surface111f6-rail { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .surface111f6-dir { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------ motion budget --------------------------- */
@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;
  }
}
