/* ==========================================================================
   al hiba — tokens-native-6aeafe.css
   Mobile-first portal skin for a 320-430px phone canvas.
   Palette: #4169E1 / #FFDEAD / #FFEFD5 / #0D1117 / #6495ED
   Voice: monospace accents over a regular Bengali body face,
   small-medium radii, outlined tile cards, square high-contrast CTAs,
   light press feedback and colour transitions only.
   Every class and custom property is namespaced with "surfaceeafe8-".
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --surfaceeafe8-ink-bg: #090c11;
  --surfaceeafe8-canvas: #0d1117;
  --surfaceeafe8-panel: #141b25;
  --surfaceeafe8-panel-2: #1a2330;
  --surfaceeafe8-panel-3: #202b3b;
  --surfaceeafe8-line: #2a3646;
  --surfaceeafe8-line-soft: #212c3b;
  --surfaceeafe8-royal: #4169e1;
  --surfaceeafe8-corn: #6495ed;
  --surfaceeafe8-cream: #ffdead;
  --surfaceeafe8-soft: #ffefd5;
  --surfaceeafe8-text: #ffefd5;
  --surfaceeafe8-text-dim: rgba(255, 239, 213, 0.74);
  --surfaceeafe8-text-faint: rgba(255, 239, 213, 0.52);
  --surfaceeafe8-royal-veil: rgba(65, 105, 225, 0.16);
  --surfaceeafe8-royal-glow: rgba(100, 149, 237, 0.22);
  --surfaceeafe8-font-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --surfaceeafe8-font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono",
    Consolas, "Courier New", monospace;
  --surfaceeafe8-r-tile: 10px;
  --surfaceeafe8-r-panel: 14px;
  --surfaceeafe8-r-chip: 8px;
  --surfaceeafe8-gap: 10px;
  --surfaceeafe8-gutter: 12px;
  --surfaceeafe8-tap: 44px;
  --surfaceeafe8-topbar-h: 58px;
  --surfaceeafe8-bnav-h: 64px;
  --surfaceeafe8-ease: cubic-bezier(0.33, 0.9, 0.35, 1);
  --surfaceeafe8-move: 180ms var(--surfaceeafe8-ease);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--surfaceeafe8-ink-bg);
  color: var(--surfaceeafe8-text);
  font-family: var(--surfaceeafe8-font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100dvh;
}

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

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

a {
  color: var(--surfaceeafe8-cream);
  text-decoration: none;
  transition: color var(--surfaceeafe8-move);
}

a:hover {
  color: #ffffff;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--surfaceeafe8-corn);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--surfaceeafe8-royal);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. Phone canvas — centred column, clamped to the 430px mobile width.
      Wider screens keep seeing the same phone canvas with a quiet frame.
   -------------------------------------------------------------------------- */
.surfaceeafe8-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 18% -4%, var(--surfaceeafe8-royal-veil) 0%, transparent 60%),
    radial-gradient(90% 30% at 88% 12%, rgba(255, 222, 173, 0.05) 0%, transparent 55%),
    var(--surfaceeafe8-canvas);
  padding-bottom: calc(var(--surfaceeafe8-bnav-h) + 30px + env(safe-area-inset-bottom, 0px));
  overflow: clip;
}

@media (min-width: 430px) {
  .surfaceeafe8-canvas {
    border-inline: 1px solid var(--surfaceeafe8-line-soft);
    box-shadow: 0 0 60px rgba(65, 105, 225, 0.1);
  }
}

/* --------------------------------------------------------------------------
   4. Top action bar — logo-led brand zone on the left, act on the right.
   -------------------------------------------------------------------------- */
.surfaceeafe8-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--surfaceeafe8-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px var(--surfaceeafe8-gutter);
  background: rgba(13, 17, 23, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surfaceeafe8-line-soft);
}

.surfaceeafe8-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--surfaceeafe8-tap);
  margin-right: auto;
}

.surfaceeafe8-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--surfaceeafe8-line);
  background: var(--surfaceeafe8-panel-2);
  object-fit: cover;
  flex: none;
}

.surfaceeafe8-brand-word {
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--surfaceeafe8-cream);
  white-space: nowrap;
}

.surfaceeafe8-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Square high-contrast CTAs */
.surfaceeafe8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--surfaceeafe8-tap);
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  border-radius: 0;
  transition: transform var(--surfaceeafe8-move), background-color var(--surfaceeafe8-move),
    border-color var(--surfaceeafe8-move), color var(--surfaceeafe8-move);
}

.surfaceeafe8-btn:active {
  transform: translateY(1px) scale(0.97);
}

.surfaceeafe8-btn-register {
  background: var(--surfaceeafe8-cream);
  color: #23180a;
  border: 1px solid var(--surfaceeafe8-cream);
}

.surfaceeafe8-btn-register:hover {
  background: #ffffff;
  color: #23180a;
}

.surfaceeafe8-btn-login {
  background: transparent;
  color: var(--surfaceeafe8-cream);
  border: 1px solid var(--surfaceeafe8-royal);
}

.surfaceeafe8-btn-login:hover {
  border-color: var(--surfaceeafe8-corn);
  color: #ffffff;
}

/* Menu trigger */
.surfaceeafe8-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: var(--surfaceeafe8-tap);
  height: var(--surfaceeafe8-tap);
  padding: 0 11px;
  border: 1px solid var(--surfaceeafe8-line);
  background: var(--surfaceeafe8-panel);
  transition: border-color var(--surfaceeafe8-move), background-color var(--surfaceeafe8-move);
}

.surfaceeafe8-menu-btn:hover {
  border-color: var(--surfaceeafe8-corn);
}

.surfaceeafe8-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--surfaceeafe8-cream);
  transition: transform var(--surfaceeafe8-move), opacity var(--surfaceeafe8-move);
}

.surfaceeafe8-menu-btn.surfaceeafe8-is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.surfaceeafe8-menu-btn.surfaceeafe8-is-open span:nth-child(2) {
  opacity: 0;
}

.surfaceeafe8-menu-btn.surfaceeafe8-is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Compact route panel — the expandable navigation sheet.
   -------------------------------------------------------------------------- */
.surfaceeafe8-routes {
  position: absolute;
  top: calc(var(--surfaceeafe8-topbar-h));
  left: var(--surfaceeafe8-gutter);
  right: var(--surfaceeafe8-gutter);
  z-index: 55;
  background: var(--surfaceeafe8-panel);
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-panel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--surfaceeafe8-move), transform var(--surfaceeafe8-move),
    visibility var(--surfaceeafe8-move);
}

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

.surfaceeafe8-routes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.surfaceeafe8-route {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--surfaceeafe8-r-chip);
  font-size: 13px;
  color: var(--surfaceeafe8-text-dim);
  transition: color var(--surfaceeafe8-move), background-color var(--surfaceeafe8-move),
    border-color var(--surfaceeafe8-move);
}

.surfaceeafe8-route::before {
  /* activation indicator: a crisp line at the top edge */
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--surfaceeafe8-royal), var(--surfaceeafe8-cream));
  opacity: 0;
  transition: opacity var(--surfaceeafe8-move);
}

.surfaceeafe8-route:hover {
  color: #ffffff;
  background: var(--surfaceeafe8-panel-2);
}

.surfaceeafe8-route.surfaceeafe8-is-here {
  color: var(--surfaceeafe8-cream);
  background: var(--surfaceeafe8-panel-2);
  border-color: var(--surfaceeafe8-line);
}

.surfaceeafe8-route.surfaceeafe8-is-here::before {
  opacity: 1;
}

.surfaceeafe8-route-dot {
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--surfaceeafe8-corn);
  border-radius: 2px;
}

.surfaceeafe8-route.surfaceeafe8-is-here .surfaceeafe8-route-dot {
  background: var(--surfaceeafe8-cream);
}

.surfaceeafe8-routes-cta {
  margin-top: 8px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------------------- */
.surfaceeafe8-hero {
  position: relative;
  margin: 14px var(--surfaceeafe8-gutter) 0;
  border-radius: var(--surfaceeafe8-r-panel);
  border: 1px solid var(--surfaceeafe8-line);
  background: var(--surfaceeafe8-panel);
  overflow: hidden;
}

.surfaceeafe8-slides {
  display: flex;
  width: 100%;
  transition: transform 480ms var(--surfaceeafe8-ease);
}

.surfaceeafe8-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-align: left;
}

.surfaceeafe8-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s var(--surfaceeafe8-ease);
}

.surfaceeafe8-slide:hover img {
  transform: scale(1.04);
}

.surfaceeafe8-slide:active img {
  transform: scale(0.99);
}

.surfaceeafe8-slide-veil {
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 12, 17, 0.55) 45%, rgba(9, 12, 17, 0.92) 100%);
}

.surfaceeafe8-slide-copy {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.surfaceeafe8-slide-kicker {
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--surfaceeafe8-corn);
  display: block;
  margin-bottom: 3px;
}

.surfaceeafe8-slide-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.surfaceeafe8-slide-tag {
  flex: none;
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 7px 9px;
  background: var(--surfaceeafe8-cream);
  color: #23180a;
  border-radius: 0;
  font-weight: 700;
}

.surfaceeafe8-hero-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.surfaceeafe8-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 239, 213, 0.34);
  border: 1px solid rgba(255, 239, 213, 0.4);
  transition: width var(--surfaceeafe8-move), background-color var(--surfaceeafe8-move);
}

.surfaceeafe8-dot.surfaceeafe8-is-on {
  width: 20px;
  background: var(--surfaceeafe8-cream);
  border-color: var(--surfaceeafe8-cream);
}

/* --------------------------------------------------------------------------
   7. Lede block (H1 zone) — intro-first information rhythm.
   -------------------------------------------------------------------------- */
.surfaceeafe8-lede {
  padding: 18px var(--surfaceeafe8-gutter) 4px;
}

.surfaceeafe8-h1 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--surfaceeafe8-cream);
  letter-spacing: -0.01em;
}

.surfaceeafe8-lede-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--surfaceeafe8-text-dim);
}

.surfaceeafe8-lede-text strong {
  color: var(--surfaceeafe8-soft);
  font-weight: 700;
}

/* Category jump chips */
.surfaceeafe8-chips {
  display: flex;
  gap: 8px;
  margin: 14px var(--surfaceeafe8-gutter) 0;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

.surfaceeafe8-chips::-webkit-scrollbar {
  display: none;
}

.surfaceeafe8-chip {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-chip);
  background: var(--surfaceeafe8-panel);
  font-size: 13px;
  font-weight: 600;
  color: var(--surfaceeafe8-text-dim);
  transition: border-color var(--surfaceeafe8-move), color var(--surfaceeafe8-move),
    background-color var(--surfaceeafe8-move), transform var(--surfaceeafe8-move);
}

.surfaceeafe8-chip:hover {
  border-color: var(--surfaceeafe8-corn);
  color: #ffffff;
}

.surfaceeafe8-chip:active {
  transform: scale(0.96);
}

.surfaceeafe8-chip-n {
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 10px;
  color: var(--surfaceeafe8-corn);
}

/* --------------------------------------------------------------------------
   8. Generic section shell
   -------------------------------------------------------------------------- */
.surfaceeafe8-main {
  padding-bottom: 10px;
}

.surfaceeafe8-section {
  margin-top: 26px;
  padding: 0 var(--surfaceeafe8-gutter);
}

.surfaceeafe8-sec-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--surfaceeafe8-line-soft);
  margin-bottom: 10px;
}

.surfaceeafe8-sec-kicker {
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--surfaceeafe8-corn);
  white-space: nowrap;
}

.surfaceeafe8-h2 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--surfaceeafe8-soft);
}

.surfaceeafe8-sec-note {
  font-size: 13px;
  color: var(--surfaceeafe8-text-dim);
  margin-bottom: 12px;
}

.surfaceeafe8-sec-note a {
  border-bottom: 1px solid var(--surfaceeafe8-royal);
  padding-bottom: 1px;
}

/* --------------------------------------------------------------------------
   9. Game grid — outlined tile cards on stable tracks.
   -------------------------------------------------------------------------- */
.surfaceeafe8-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

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

.surfaceeafe8-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: var(--surfaceeafe8-panel);
  border: 1px solid var(--surfaceeafe8-line-soft);
  border-radius: var(--surfaceeafe8-r-tile);
  text-align: center;
  transition: border-color var(--surfaceeafe8-move), background-color var(--surfaceeafe8-move),
    transform var(--surfaceeafe8-move);
}

.surfaceeafe8-tile:hover {
  border-color: var(--surfaceeafe8-corn);
  background: var(--surfaceeafe8-panel-2);
}

.surfaceeafe8-tile:active {
  transform: translateY(1px) scale(0.96);
}

.surfaceeafe8-tile-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: var(--surfaceeafe8-ink-bg);
  border: 1px solid var(--surfaceeafe8-line-soft);
}

.surfaceeafe8-tile-name {
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--surfaceeafe8-text-dim);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
}

.surfaceeafe8-tile:hover .surfaceeafe8-tile-name {
  color: var(--surfaceeafe8-soft);
}

/* --------------------------------------------------------------------------
   10. Content modules after the game floor
   -------------------------------------------------------------------------- */

/* 10.1 Promotions ledger */
.surfaceeafe8-promo {
  background: linear-gradient(180deg, var(--surfaceeafe8-panel-2), var(--surfaceeafe8-panel));
  border: 1px solid var(--surfaceeafe8-line);
  border-left: 3px solid var(--surfaceeafe8-royal);
  border-radius: var(--surfaceeafe8-r-panel);
  padding: 14px 14px 6px;
}

.surfaceeafe8-promo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--surfaceeafe8-line-soft);
}

.surfaceeafe8-promo-row:last-child {
  border-bottom: 0;
}

.surfaceeafe8-promo-tag {
  flex: none;
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--surfaceeafe8-corn);
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: 4px;
  padding: 4px 6px;
  background: var(--surfaceeafe8-ink-bg);
}

.surfaceeafe8-promo-txt {
  font-size: 13px;
  color: var(--surfaceeafe8-text-dim);
  margin-right: auto;
}

.surfaceeafe8-inline-cta {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: #23180a;
  background: var(--surfaceeafe8-cream);
  padding: 8px 10px;
  border-radius: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  transition: background-color var(--surfaceeafe8-move), transform var(--surfaceeafe8-move);
}

.surfaceeafe8-inline-cta:hover {
  background: #ffffff;
}

.surfaceeafe8-inline-cta:active {
  transform: translateY(1px) scale(0.96);
}

/* 10.2 Mobile access steps */
.surfaceeafe8-steps {
  counter-reset: surfaceeafe8-step;
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-panel);
  background: var(--surfaceeafe8-panel);
  padding: 6px 14px;
}

.surfaceeafe8-step {
  position: relative;
  counter-increment: surfaceeafe8-step;
  padding: 12px 0 12px 44px;
  border-bottom: 1px solid var(--surfaceeafe8-line-soft);
}

.surfaceeafe8-step:last-child {
  border-bottom: 0;
}

.surfaceeafe8-step::before {
  content: "0" counter(surfaceeafe8-step);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--surfaceeafe8-cream);
  border: 1px solid var(--surfaceeafe8-royal);
  background: var(--surfaceeafe8-royal-veil);
  border-radius: 6px;
  width: 32px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.surfaceeafe8-step h3 {
  font-size: 14px;
  color: var(--surfaceeafe8-soft);
  font-weight: 700;
}

.surfaceeafe8-step p {
  margin-top: 3px;
  font-size: 13px;
  color: var(--surfaceeafe8-text-dim);
}

/* 10.3 Trick tiles */
.surfaceeafe8-tricks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.surfaceeafe8-trick {
  border: 1px dashed var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-tile);
  background: var(--surfaceeafe8-panel);
  padding: 11px 12px;
}

.surfaceeafe8-trick-n {
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 10px;
  color: var(--surfaceeafe8-corn);
  display: block;
  margin-bottom: 4px;
}

.surfaceeafe8-trick h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--surfaceeafe8-soft);
  line-height: 1.4;
}

.surfaceeafe8-trick p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--surfaceeafe8-text-faint);
}

/* 10.4 Safety list */
.surfaceeafe8-safety {
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-panel);
  background: var(--surfaceeafe8-panel);
  padding: 4px 14px;
}

.surfaceeafe8-safety-item {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--surfaceeafe8-line-soft);
}

.surfaceeafe8-safety-item:last-child {
  border-bottom: 0;
}

.surfaceeafe8-safety-glyph {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--surfaceeafe8-corn);
}

.surfaceeafe8-safety-item h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--surfaceeafe8-soft);
}

.surfaceeafe8-safety-item p {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--surfaceeafe8-text-dim);
}

/* 10.5 Achievement milestones */
.surfaceeafe8-miles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.surfaceeafe8-mile {
  border: 1px solid var(--surfaceeafe8-line-soft);
  border-radius: var(--surfaceeafe8-r-tile);
  background: var(--surfaceeafe8-panel);
  padding: 11px 12px;
}

.surfaceeafe8-mile-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.surfaceeafe8-mile h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--surfaceeafe8-soft);
}

.surfaceeafe8-mile-n {
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 10px;
  color: var(--surfaceeafe8-corn);
  white-space: nowrap;
}

.surfaceeafe8-mile p {
  margin: 5px 0 8px;
  font-size: 12.5px;
  color: var(--surfaceeafe8-text-dim);
}

.surfaceeafe8-mile-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--surfaceeafe8-ink-bg);
  border: 1px solid var(--surfaceeafe8-line-soft);
  overflow: hidden;
}

.surfaceeafe8-mile-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--surfaceeafe8-royal), var(--surfaceeafe8-cream));
}

/* 10.6 Decision checklist */
.surfaceeafe8-check {
  border: 1px solid var(--surfaceeafe8-royal);
  border-radius: var(--surfaceeafe8-r-panel);
  background:
    linear-gradient(180deg, rgba(65, 105, 225, 0.1), transparent 55%),
    var(--surfaceeafe8-panel);
  padding: 6px 14px;
}

.surfaceeafe8-check-item {
  position: relative;
  padding: 11px 0 11px 30px;
  font-size: 13px;
  color: var(--surfaceeafe8-text-dim);
  border-bottom: 1px solid var(--surfaceeafe8-line-soft);
}

.surfaceeafe8-check-item:last-child {
  border-bottom: 0;
}

.surfaceeafe8-check-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--surfaceeafe8-corn);
  border-radius: 3px;
  background: var(--surfaceeafe8-ink-bg);
}

.surfaceeafe8-check-item::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 19px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--surfaceeafe8-cream);
  border-bottom: 2px solid var(--surfaceeafe8-cream);
  transform: rotate(42deg);
}

/* --------------------------------------------------------------------------
   11. Extended footer — sectioned list: promotions > brand > directory >
       responsible-entertainment note.
   -------------------------------------------------------------------------- */
.surfaceeafe8-extfoot {
  margin-top: 30px;
  border-top: 2px solid var(--surfaceeafe8-royal);
  background: var(--surfaceeafe8-panel);
  padding: 16px var(--surfaceeafe8-gutter) 18px;
}

.surfaceeafe8-extfoot-block {
  padding: 12px 0;
  border-bottom: 1px solid var(--surfaceeafe8-line-soft);
}

.surfaceeafe8-extfoot-block:last-child {
  border-bottom: 0;
}

.surfaceeafe8-extfoot-h {
  font-size: 14px;
  font-weight: 800;
  color: var(--surfaceeafe8-cream);
  margin-bottom: 9px;
}

.surfaceeafe8-promoactions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.surfaceeafe8-promoaction {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: 0;
  background: var(--surfaceeafe8-panel-2);
  padding: 10px 12px;
  text-align: left;
  min-height: var(--surfaceeafe8-tap);
  transition: border-color var(--surfaceeafe8-move), background-color var(--surfaceeafe8-move),
    transform var(--surfaceeafe8-move);
}

.surfaceeafe8-promoaction:hover {
  border-color: var(--surfaceeafe8-corn);
  background: var(--surfaceeafe8-panel-3);
}

.surfaceeafe8-promoaction:active {
  transform: translateY(1px) scale(0.985);
}

.surfaceeafe8-promoaction-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--surfaceeafe8-soft);
}

.surfaceeafe8-promoaction-sub {
  display: block;
  font-size: 11.5px;
  color: var(--surfaceeafe8-text-faint);
  margin-top: 1px;
}

.surfaceeafe8-promoaction-go {
  margin-left: auto;
  flex: none;
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #23180a;
  background: var(--surfaceeafe8-cream);
  padding: 6px 8px;
  border-radius: 0;
}

.surfaceeafe8-brandnote {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--surfaceeafe8-text-dim);
}

.surfaceeafe8-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.surfaceeafe8-directory a {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--surfaceeafe8-text-dim);
  border-bottom: 1px dotted var(--surfaceeafe8-line);
  padding: 5px 0;
  min-height: 32px;
}

.surfaceeafe8-directory a:hover {
  color: var(--surfaceeafe8-cream);
  border-bottom-color: var(--surfaceeafe8-corn);
}

.surfaceeafe8-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--surfaceeafe8-text-faint);
  border: 1px dashed var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-chip);
  padding: 10px 12px;
  background: var(--surfaceeafe8-ink-bg);
}

/* --------------------------------------------------------------------------
   12. Common footer (copyright only)
   -------------------------------------------------------------------------- */
.surfaceeafe8-footer {
  padding: 14px var(--surfaceeafe8-gutter) 6px;
  text-align: center;
}

.surfaceeafe8-footer-line {
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--surfaceeafe8-text-faint);
}

/* --------------------------------------------------------------------------
   13. Bottom band — five-role mobile navigation with brand accent.
   -------------------------------------------------------------------------- */
.surfaceeafe8-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: calc(var(--surfaceeafe8-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(16, 21, 29, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 3px solid var(--surfaceeafe8-royal);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.surfaceeafe8-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surfaceeafe8-bnav-h);
  padding: 8px 2px 6px;
  color: var(--surfaceeafe8-text-faint);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: color var(--surfaceeafe8-move), transform var(--surfaceeafe8-move);
}

.surfaceeafe8-bn-item::before {
  /* active state reads as a top indicator line, echoing the route panel */
  content: "";
  position: absolute;
  top: -3px;
  left: 22%;
  right: 22%;
  height: 3px;
  background: var(--surfaceeafe8-cream);
  opacity: 0;
  transition: opacity var(--surfaceeafe8-move);
}

.surfaceeafe8-bn-item:hover {
  color: var(--surfaceeafe8-text-dim);
}

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

.surfaceeafe8-bn-item.surfaceeafe8-is-here {
  color: var(--surfaceeafe8-cream);
}

.surfaceeafe8-bn-item.surfaceeafe8-is-here::before {
  opacity: 1;
}

.surfaceeafe8-bn-ico {
  width: 22px;
  height: 22px;
  display: block;
}

.surfaceeafe8-bn-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

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

.surfaceeafe8-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: 0;
  background: transparent;
  color: var(--surfaceeafe8-cream);
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color var(--surfaceeafe8-move), background-color var(--surfaceeafe8-move);
}

.surfaceeafe8-more:hover {
  border-color: var(--surfaceeafe8-corn);
  background: var(--surfaceeafe8-royal-veil);
}

/* --------------------------------------------------------------------------
   15. Motion budget — colour shifts and light presses only.
   -------------------------------------------------------------------------- */
@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;
  }

  .surfaceeafe8-slides {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   16. Slight refinements as the canvas stretches toward 430px.
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .surfaceeafe8-h1 {
    font-size: 23px;
  }

  .surfaceeafe8-h2 {
    font-size: 18px;
  }

  .surfaceeafe8-tile-name {
    font-size: 11.5px;
  }
}

@media (min-width: 430px) {
  .surfaceeafe8-lede {
    padding-top: 22px;
  }

  .surfaceeafe8-h1 {
    font-size: 25px;
  }

  .surfaceeafe8-promo-txt,
  .surfaceeafe8-sec-note {
    font-size: 13.5px;
  }
}

/* --------------------------------------------------------------------------
   17. Help-page reading patterns: cards, ledgers and expandable answers.
   -------------------------------------------------------------------------- */
.surfaceeafe8-article {
  padding-top: 1px;
}

.surfaceeafe8-article-grid,
.surfaceeafe8-splitboard,
.surfaceeafe8-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.surfaceeafe8-callout,
.surfaceeafe8-board-col,
.surfaceeafe8-compare-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-tile);
  background: var(--surfaceeafe8-panel);
}

.surfaceeafe8-callout h3,
.surfaceeafe8-board-col h3,
.surfaceeafe8-compare-card h3 {
  color: var(--surfaceeafe8-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.surfaceeafe8-callout p,
.surfaceeafe8-compare-card p {
  margin-top: 5px;
  color: var(--surfaceeafe8-text-dim);
  font-size: 12px;
  line-height: 1.65;
}

.surfaceeafe8-board-col ul {
  margin-top: 7px;
  padding-left: 16px;
  list-style: square;
  color: var(--surfaceeafe8-text-dim);
  font-size: 12px;
  line-height: 1.75;
}

.surfaceeafe8-ledger {
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-panel);
  background: var(--surfaceeafe8-panel);
  overflow: hidden;
}

.surfaceeafe8-ledger-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--surfaceeafe8-line-soft);
  color: var(--surfaceeafe8-text-dim);
  font-size: 12.5px;
}

.surfaceeafe8-ledger-row:last-child {
  border-bottom: 0;
}

.surfaceeafe8-ledger-row strong {
  color: var(--surfaceeafe8-cream);
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 11px;
}

.surfaceeafe8-errorlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.surfaceeafe8-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-left: 3px solid var(--surfaceeafe8-royal);
  border-top: 1px solid var(--surfaceeafe8-line-soft);
  border-right: 1px solid var(--surfaceeafe8-line-soft);
  border-bottom: 1px solid var(--surfaceeafe8-line-soft);
  border-radius: var(--surfaceeafe8-r-tile);
  background: var(--surfaceeafe8-panel);
}

.surfaceeafe8-error-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--surfaceeafe8-corn);
  color: var(--surfaceeafe8-cream);
  font-family: var(--surfaceeafe8-font-mono);
  font-size: 11px;
}

.surfaceeafe8-error h3 {
  color: var(--surfaceeafe8-soft);
  font-size: 13px;
  line-height: 1.45;
}

.surfaceeafe8-error p {
  margin-top: 3px;
  color: var(--surfaceeafe8-text-dim);
  font-size: 12px;
  line-height: 1.65;
}

.surfaceeafe8-answer-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.surfaceeafe8-answer-stack details {
  border: 1px solid var(--surfaceeafe8-line);
  border-radius: var(--surfaceeafe8-r-tile);
  background: var(--surfaceeafe8-panel);
  padding: 11px 12px;
}

.surfaceeafe8-answer-stack summary {
  cursor: pointer;
  color: var(--surfaceeafe8-soft);
  font-size: 13px;
  font-weight: 700;
}

.surfaceeafe8-answer-stack details p {
  margin-top: 7px;
  color: var(--surfaceeafe8-text-dim);
  font-size: 12.5px;
  line-height: 1.7;
}

@media (max-width: 360px) {
  .surfaceeafe8-article-grid,
  .surfaceeafe8-splitboard,
  .surfaceeafe8-comparison {
    grid-template-columns: 1fr;
  }

  .surfaceeafe8-ledger-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 7px;
  }
}
