/* ==========================================================================
   c222.click — mobile-97fe62-viewport.css
   Site-specific build: surfacefe62a- prefix only.
   Canvas: fixed 430px max-width phone canvas, centered on wide screens.
   Palette: #C9C9FF | #212F3D | #95A5A6 | #EEEEEE | #808080 | #A9A9A9
   Form language: round buttons over squarish cards, horizontal icon-name
   game bars, conclusion-first information rhythm, light press/color motion.
   ========================================================================== */

:root {
  --surfacefe62a-lav: #C9C9FF;
  --surfacefe62a-ink: #212F3D;
  --surfacefe62a-steel: #95A5A6;
  --surfacefe62a-mist: #EEEEEE;
  --surfacefe62a-slate: #808080;
  --surfacefe62a-ash: #A9A9A9;
  --surfacefe62a-ink-2: #18242f;
  --surfacefe62a-ink-3: #2a3a4a;
  --surfacefe62a-line: rgba(201, 201, 255, 0.16);
  --surfacefe62a-line-soft: rgba(238, 238, 238, 0.09);
  --surfacefe62a-radius-btn: 999px;
  --surfacefe62a-radius-card: 10px;
  --surfacefe62a-radius-bar: 8px;
  --surfacefe62a-font-display: "Anek Bangla", "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
  --surfacefe62a-font-body: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
  --surfacefe62a-dock-h: 62px;
  --surfacefe62a-header-h: 56px;
  --surfacefe62a-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--surfacefe62a-font-body);
  background: #141e28;
  color: var(--surfacefe62a-mist);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Fixed 430px phone canvas: the whole site lives inside it, centered. */
.surfacefe62a-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surfacefe62a-ink);
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

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

a {
  color: var(--surfacefe62a-lav);
  text-decoration: none;
}

a:active { opacity: 0.82; }

.surfacefe62a-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Header: minimal title + action strip
   ========================================================================== */

.surfacefe62a-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--surfacefe62a-header-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(24, 36, 47, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surfacefe62a-line);
}

.surfacefe62a-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.surfacefe62a-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: none;
  background: var(--surfacefe62a-mist);
}

.surfacefe62a-brand-word {
  font-family: var(--surfacefe62a-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--surfacefe62a-mist);
  line-height: 1.15;
  white-space: nowrap;
}

.surfacefe62a-brand-word em {
  font-style: normal;
  color: var(--surfacefe62a-lav);
}

.surfacefe62a-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

/* Round pill action buttons (CTA shape: lightly rounded text button group). */
.surfacefe62a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 15px;
  border-radius: var(--surfacefe62a-radius-btn);
  border: 1px solid transparent;
  font-family: var(--surfacefe62a-font-body);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s var(--surfacefe62a-ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.surfacefe62a-btn:active {
  transform: scale(0.96);
}

.surfacefe62a-btn--ghost {
  background: transparent;
  border-color: rgba(201, 201, 255, 0.42);
  color: var(--surfacefe62a-mist);
}

.surfacefe62a-btn--solid {
  background: var(--surfacefe62a-lav);
  color: var(--surfacefe62a-ink);
}

.surfacefe62a-btn--header-login {
  padding: 6px 12px;
  font-size: 12.5px;
}

.surfacefe62a-btn--header-register {
  padding: 6px 13px;
  font-size: 12.5px;
  box-shadow: 0 3px 10px rgba(201, 201, 255, 0.28);
}

.surfacefe62a-menu-btn {
  flex: none;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surfacefe62a-line);
  border-radius: 10px;
  background: rgba(201, 201, 255, 0.07);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.16s var(--surfacefe62a-ease);
  -webkit-tap-highlight-color: transparent;
}

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

.surfacefe62a-menu-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.surfacefe62a-menu-btn rect,
.surfacefe62a-menu-btn path {
  fill: var(--surfacefe62a-mist);
  transition: transform 0.28s var(--surfacefe62a-ease), opacity 0.2s ease;
}

.surfacefe62a-menu-btn[aria-expanded="true"] .surfacefe62a-menu-ico-top {
  transform: translateY(4.5px) rotate(45deg);
}

.surfacefe62a-menu-btn[aria-expanded="true"] .surfacefe62a-menu-ico-mid {
  opacity: 0;
}

.surfacefe62a-menu-btn[aria-expanded="true"] .surfacefe62a-menu-ico-bot {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ==========================================================================
   Expandable compact route panel
   ========================================================================== */

.surfacefe62a-panel {
  position: absolute;
  top: var(--surfacefe62a-header-h);
  left: 0;
  right: 0;
  z-index: 55;
  background: var(--surfacefe62a-ink-2);
  border-bottom: 1px solid var(--surfacefe62a-line);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.26s var(--surfacefe62a-ease), opacity 0.22s ease, visibility 0.26s;
}

.surfacefe62a-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.surfacefe62a-panel-inner {
  padding: 12px 12px 14px;
}

.surfacefe62a-panel-title {
  font-family: var(--surfacefe62a-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--surfacefe62a-steel);
  margin: 2px 2px 9px;
}

.surfacefe62a-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.surfacefe62a-panel-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--surfacefe62a-radius-bar);
  background: rgba(238, 238, 238, 0.05);
  border: 1px solid var(--surfacefe62a-line-soft);
  color: var(--surfacefe62a-mist);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.surfacefe62a-panel-link:active {
  background: rgba(201, 201, 255, 0.14);
  border-color: rgba(201, 201, 255, 0.4);
}

.surfacefe62a-panel-link--home {
  grid-column: 1 / -1;
  border-color: rgba(201, 201, 255, 0.35);
  background: rgba(201, 201, 255, 0.1);
}

/* Containerized symbol tile inside panel links. */
.surfacefe62a-panel-tile {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(201, 201, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surfacefe62a-lav);
}

.surfacefe62a-panel-tile svg {
  width: 15px;
  height: 15px;
  display: block;
}

.surfacefe62a-panel-note {
  margin: 10px 2px 0;
  font-size: 11.5px;
  color: var(--surfacefe62a-slate);
  line-height: 1.55;
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */

.surfacefe62a-carousel {
  position: relative;
  margin: 12px 12px 0;
  border-radius: var(--surfacefe62a-radius-card);
  overflow: hidden;
  background: var(--surfacefe62a-ink-2);
  border: 1px solid var(--surfacefe62a-line);
}

.surfacefe62a-track {
  display: flex;
  width: 100%;
  transition: transform 0.42s var(--surfacefe62a-ease);
  touch-action: pan-y;
}

.surfacefe62a-slide {
  flex: 0 0 100%;
  width: 100%;
  cursor: pointer;
  display: block;
  background: none;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

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

.surfacefe62a-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(238, 238, 238, 0.42);
  cursor: pointer;
  transition: background-color 0.2s ease, width 0.24s var(--surfacefe62a-ease);
  -webkit-tap-highlight-color: transparent;
}

.surfacefe62a-dot.is-active {
  background: var(--surfacefe62a-lav);
  width: 18px;
  border-radius: 999px;
}

/* ==========================================================================
   Conclusion-first hero strip under carousel
   ========================================================================== */

.surfacefe62a-lead {
  padding: 16px 14px 4px;
}

.surfacefe62a-lead h1 {
  font-family: var(--surfacefe62a-font-display);
  font-size: 21px;
  line-height: 1.42;
  font-weight: 800;
  color: var(--surfacefe62a-mist);
  margin-bottom: 8px;
}

.surfacefe62a-lead p {
  font-size: 14px;
  color: var(--surfacefe62a-ash);
  line-height: 1.8;
  margin-bottom: 10px;
}

.surfacefe62a-lead p strong {
  color: var(--surfacefe62a-mist);
  font-weight: 700;
}

.surfacefe62a-lead-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 2px;
}

.surfacefe62a-btn--hero {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

/* ==========================================================================
   Section shells
   ========================================================================== */

.surfacefe62a-main {
  padding-bottom: calc(var(--surfacefe62a-dock-h) + 26px + env(safe-area-inset-bottom, 0px));
}

.surfacefe62a-section {
  padding: 22px 0 6px;
}

.surfacefe62a-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px 10px;
}

.surfacefe62a-section-head h2 {
  font-family: var(--surfacefe62a-font-display);
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--surfacefe62a-mist);
}

.surfacefe62a-section-head h2 em {
  font-style: normal;
  color: var(--surfacefe62a-lav);
}

.surfacefe62a-section-more {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--surfacefe62a-steel);
  border-bottom: 1px dashed rgba(149, 165, 166, 0.5);
  padding-bottom: 1px;
}

.surfacefe62a-section-intro {
  padding: 0 14px 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--surfacefe62a-ash);
}

.surfacefe62a-section-intro a {
  color: var(--surfacefe62a-lav);
  border-bottom: 1px solid rgba(201, 201, 255, 0.35);
  padding-bottom: 1px;
}

/* ==========================================================================
   Game grid: compact icon-name bars sized for four touch-friendly tracks.
   Wider phone canvases gain a fifth stable track without horizontal scroll.
   ========================================================================== */

.surfacefe62a-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 0 12px;
}

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

.surfacefe62a-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 94px;
  padding: 7px 4px;
  border-radius: var(--surfacefe62a-radius-bar);
  background: var(--surfacefe62a-ink-2);
  border: 1px solid var(--surfacefe62a-line-soft);
  cursor: pointer;
  text-align: left;
  font-family: var(--surfacefe62a-font-body);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.16s var(--surfacefe62a-ease);
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}

.surfacefe62a-game:active {
  background: rgba(201, 201, 255, 0.12);
  border-color: rgba(201, 201, 255, 0.42);
  transform: scale(0.97);
}

.surfacefe62a-game-thumb {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surfacefe62a-ink-3);
}

.surfacefe62a-game-name {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.32;
  text-align: center;
  color: var(--surfacefe62a-mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
  word-break: break-word;
}

/* ==========================================================================
   Content modules (app / about / guide / requirements)
   ========================================================================== */

.surfacefe62a-card {
  margin: 0 12px 12px;
  padding: 16px 14px;
  border-radius: var(--surfacefe62a-radius-card);
  background: var(--surfacefe62a-ink-2);
  border: 1px solid var(--surfacefe62a-line-soft);
}

.surfacefe62a-card h2 {
  font-family: var(--surfacefe62a-font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--surfacefe62a-mist);
  margin-bottom: 9px;
}

.surfacefe62a-card h2 em {
  font-style: normal;
  color: var(--surfacefe62a-lav);
}

.surfacefe62a-card h3 {
  font-family: var(--surfacefe62a-font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--surfacefe62a-mist);
  margin: 14px 0 5px;
}

.surfacefe62a-card p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--surfacefe62a-ash);
  margin-bottom: 9px;
}

.surfacefe62a-card p:last-child {
  margin-bottom: 0;
}

.surfacefe62a-card p strong {
  color: var(--surfacefe62a-mist);
  font-weight: 700;
}

.surfacefe62a-card ul {
  list-style: none;
  margin: 0 0 9px;
}

.surfacefe62a-card li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--surfacefe62a-ash);
}

.surfacefe62a-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(201, 201, 255, 0.55);
}

.surfacefe62a-card li strong {
  color: var(--surfacefe62a-mist);
}

/* App module: download block */
.surfacefe62a-app {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.surfacefe62a-app-icon {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--surfacefe62a-mist);
  object-fit: cover;
}

.surfacefe62a-app-copy {
  min-width: 0;
}

.surfacefe62a-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Numbered step rows (app install guide) */
.surfacefe62a-steps {
  list-style: none;
  counter-reset: surfacefe62a-step;
  margin: 4px 0 2px;
}

.surfacefe62a-steps li {
  counter-increment: surfacefe62a-step;
  position: relative;
  padding: 7px 0 7px 40px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--surfacefe62a-ash);
}

.surfacefe62a-steps li::before {
  content: counter(surfacefe62a-step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201, 201, 255, 0.14);
  border: 1px solid rgba(201, 201, 255, 0.4);
  color: var(--surfacefe62a-lav);
  font-family: var(--surfacefe62a-font-display);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.surfacefe62a-steps li strong {
  color: var(--surfacefe62a-mist);
}

/* Fact rows (what-is module) */
.surfacefe62a-facts {
  border-top: 1px solid var(--surfacefe62a-line-soft);
  margin-top: 4px;
}

.surfacefe62a-fact {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--surfacefe62a-line-soft);
}

.surfacefe62a-fact dt {
  flex: none;
  width: 108px;
  font-size: 12px;
  font-weight: 700;
  color: var(--surfacefe62a-steel);
  line-height: 1.6;
}

.surfacefe62a-fact dd {
  min-width: 0;
  font-size: 13px;
  color: var(--surfacefe62a-mist);
  line-height: 1.65;
}

/* Goal rows (game guide module) */
.surfacefe62a-goals {
  display: grid;
  gap: 8px;
  margin: 4px 0 2px;
}

.surfacefe62a-goal {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 11px;
  border-radius: var(--surfacefe62a-radius-bar);
  background: rgba(238, 238, 238, 0.045);
  border: 1px solid var(--surfacefe62a-line-soft);
}

.surfacefe62a-goal-tile {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(201, 201, 255, 0.13);
  border: 1px solid rgba(201, 201, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surfacefe62a-lav);
}

.surfacefe62a-goal-tile svg {
  width: 16px;
  height: 16px;
  display: block;
}

.surfacefe62a-goal h3 {
  margin: 0 0 3px;
  font-size: 13.5px;
}

.surfacefe62a-goal p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
}

/* Checklist (requirements module) */
.surfacefe62a-checklist {
  list-style: none;
  margin: 2px 0;
}

.surfacefe62a-checklist li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--surfacefe62a-ash);
}

.surfacefe62a-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--surfacefe62a-lav);
  border-bottom: 2.5px solid var(--surfacefe62a-lav);
  transform: rotate(-45deg);
}

/* Inline CTA row inside cards */
.surfacefe62a-card-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* ==========================================================================
   Extended footer
   ========================================================================== */

.surfacefe62a-footer {
  border-top: 1px solid var(--surfacefe62a-line);
  background: var(--surfacefe62a-ink-2);
  padding: 22px 14px calc(var(--surfacefe62a-dock-h) + 22px + env(safe-area-inset-bottom, 0px));
}

.surfacefe62a-footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.surfacefe62a-footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surfacefe62a-mist);
}

.surfacefe62a-footer-brand-name {
  font-family: var(--surfacefe62a-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--surfacefe62a-mist);
}

.surfacefe62a-footer-brand-name em {
  font-style: normal;
  color: var(--surfacefe62a-lav);
}

.surfacefe62a-footer-tag {
  font-size: 12px;
  color: var(--surfacefe62a-steel);
  line-height: 1.7;
  margin: 0 0 18px;
}

.surfacefe62a-footer h3 {
  font-family: var(--surfacefe62a-font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surfacefe62a-lav);
  margin: 0 0 9px;
}

.surfacefe62a-promo-list {
  list-style: none;
  margin-bottom: 18px;
  display: grid;
  gap: 7px;
}

.surfacefe62a-promo-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--surfacefe62a-radius-bar);
  border: 1px solid rgba(201, 201, 255, 0.28);
  background: rgba(201, 201, 255, 0.08);
  color: var(--surfacefe62a-mist);
  font-family: var(--surfacefe62a-font-body);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.16s var(--surfacefe62a-ease);
  -webkit-tap-highlight-color: transparent;
}

.surfacefe62a-promo-list button:active {
  background: rgba(201, 201, 255, 0.18);
  transform: scale(0.98);
}

.surfacefe62a-promo-list .surfacefe62a-promo-arrow {
  flex: none;
  color: var(--surfacefe62a-lav);
  font-size: 15px;
  line-height: 1;
}

.surfacefe62a-promo-list small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--surfacefe62a-steel);
  margin-top: 2px;
}

.surfacefe62a-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-bottom: 18px;
  list-style: none;
}

.surfacefe62a-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 12.5px;
  color: var(--surfacefe62a-ash);
  border-bottom: 1px dotted rgba(169, 169, 169, 0.35);
  transition: color 0.2s ease;
}

.surfacefe62a-footer-nav a:active {
  color: var(--surfacefe62a-lav);
}

.surfacefe62a-footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--surfacefe62a-slate);
  border-top: 1px solid var(--surfacefe62a-line-soft);
  padding-top: 14px;
}

.surfacefe62a-footer-disclaimer strong {
  color: var(--surfacefe62a-steel);
}

/* Common footer bar: 2026 copyright only. */
.surfacefe62a-commonbar {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--surfacefe62a-line-soft);
  text-align: center;
  font-size: 11.5px;
  color: var(--surfacefe62a-slate);
}

/* ==========================================================================
   Fixed 5-role bottom dock (brand-accented)
   ========================================================================== */

.surfacefe62a-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: calc(var(--surfacefe62a-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(24, 36, 47, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--surfacefe62a-line);
}

.surfacefe62a-dock a,
.surfacefe62a-dock button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: var(--surfacefe62a-dock-h);
  background: none;
  border: 0;
  padding: 6px 2px 4px;
  font-family: var(--surfacefe62a-font-body);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--surfacefe62a-slate);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  transition: color 0.2s ease;
  min-width: 0;
}

.surfacefe62a-dock-tile {
  width: 34px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.surfacefe62a-dock-tile svg {
  width: 19px;
  height: 19px;
  display: block;
}

/* Active state: label emphasis + tile accent. */
.surfacefe62a-dock .is-active {
  color: var(--surfacefe62a-lav);
}

.surfacefe62a-dock .is-active .surfacefe62a-dock-tile {
  background: rgba(201, 201, 255, 0.16);
}

/* Center emphasized signup role */
.surfacefe62a-dock-role-signup {
  color: var(--surfacefe62a-mist);
}

.surfacefe62a-dock-role-signup .surfacefe62a-dock-tile {
  width: 44px;
  height: 32px;
  background: var(--surfacefe62a-lav);
  border-radius: 999px;
  margin-top: -16px;
  box-shadow: 0 4px 14px rgba(201, 201, 255, 0.35);
}

.surfacefe62a-dock-role-signup .surfacefe62a-dock-tile svg {
  color: var(--surfacefe62a-ink);
  width: 20px;
  height: 20px;
}

.surfacefe62a-dock a:active .surfacefe62a-dock-tile,
.surfacefe62a-dock button:active .surfacefe62a-dock-tile {
  transform: scale(0.92);
}

.surfacefe62a-dock-tile {
  transition: transform 0.16s var(--surfacefe62a-ease), background-color 0.2s ease;
}

/* ==========================================================================
   Small-screen hardening (320px)
   ========================================================================== */

@media (max-width: 339px) {
  .surfacefe62a-brand-word {
    font-size: 17px;
  }

  .surfacefe62a-btn--header-login,
  .surfacefe62a-btn--header-register {
    padding: 6px 9px;
    font-size: 11.5px;
  }

  .surfacefe62a-grid {
    gap: 6px;
  }

  .surfacefe62a-game {
    gap: 4px;
    min-height: 86px;
    padding: 6px 3px;
  }

  .surfacefe62a-game-thumb {
    width: 40px;
    height: 40px;
  }
}

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

  .surfacefe62a-track {
    transition: none;
  }

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