/* ==========================================================================
   888 news — tokens-adaptive-e14720.css
   Mobile-first shell for 888-news.click, tuned for a 320-430px phone canvas.
   Every class and custom property carries the surfacee1472- prefix.
   Design language: graphite/slate two-tone, near-square tool corners,
   grouped cover cards, short-list reading rhythm, square high-contrast CTA.
   Comments in English only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --surfacee1472-shell: #1a222a;        /* backdrop behind the phone canvas */
  --surfacee1472-bg: #273746;           /* canvas background (brand tone 1) */
  --surfacee1472-panel: #3c3c3c;        /* bars and panels (brand tone 2) */
  --surfacee1472-panel-2: #45505c;      /* raised panel, blend of both tones */
  --surfacee1472-well: #212c37;         /* recessed well inside panels */
  --surfacee1472-line: #55636f;         /* hairline border */
  --surfacee1472-line-2: #67788a;       /* hairline border, emphasis */
  --surfacee1472-text: #e9eef3;         /* primary text */
  --surfacee1472-mute: #b3c0cb;         /* secondary text */
  --surfacee1472-dim: #8a9aa8;          /* tertiary text */
  --surfacee1472-ink: #161d24;          /* dark ink for light buttons */
  --surfacee1472-cta: #f1f6fa;          /* light square CTA surface */
  --surfacee1472-cta-2: #d8e7f5;        /* CTA pressed / hover state */
  --surfacee1472-state: #9fc2e0;        /* state color for active/hover only */
  --surfacee1472-r: 4px;                /* near-square corner radius */
  --surfacee1472-r-2: 2px;              /* extra-square radius for chips */
  --surfacee1472-topbar-h: 58px;        /* fixed top bar height */
  --surfacee1472-rail-h: 62px;          /* fixed bottom rail height */
  --surfacee1472-gap: 12px;             /* standard horizontal gutter */
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surfacee1472-shell);
  color: var(--surfacee1472-text);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.32;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--surfacee1472-state);
  text-decoration: none;
}
a:hover { color: var(--surfacee1472-cta); }

ul, ol { margin: 0 0 10px; padding-left: 20px; }
li { margin: 0 0 6px; }
li:last-child { margin-bottom: 0; }

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

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--surfacee1472-state);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   3. Phone canvas (centered on wide screens)
   -------------------------------------------------------------------------- */
.surfacee1472-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surfacee1472-bg);
  overflow-x: clip;
}

@media (min-width: 480px) {
  .surfacee1472-canvas {
    box-shadow: 0 0 0 1px var(--surfacee1472-line);
  }
}

/* --------------------------------------------------------------------------
   4. Top action bar (LOGO-led, fixed)
   -------------------------------------------------------------------------- */
.surfacee1472-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--surfacee1472-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: var(--surfacee1472-panel);
  border-bottom: 1px solid var(--surfacee1472-line);
}

@media (min-width: 480px) {
  .surfacee1472-topbar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
  }
}

/* Brand zone: real logo image + site name only */
.surfacee1472-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}

.surfacee1472-brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--surfacee1472-line-2);
  border-radius: var(--surfacee1472-r-2);
  object-fit: cover;
  background: var(--surfacee1472-well);
}

.surfacee1472-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Header actions */
.surfacee1472-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.surfacee1472-menubtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 44px;
  border: 1px solid var(--surfacee1472-line);
  border-radius: var(--surfacee1472-r-2);
  background: var(--surfacee1472-well);
  color: var(--surfacee1472-mute);
}

.surfacee1472-menubtn:hover { color: var(--surfacee1472-cta); border-color: var(--surfacee1472-line-2); }

.surfacee1472-menubtn.surfacee1472-on {
  color: var(--surfacee1472-ink);
  background: var(--surfacee1472-cta);
  border-color: var(--surfacee1472-cta);
}

.surfacee1472-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--surfacee1472-line-2);
  border-radius: var(--surfacee1472-r-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--surfacee1472-text);
  background: transparent;
  white-space: nowrap;
}

.surfacee1472-login:hover { border-color: var(--surfacee1472-state); color: var(--surfacee1472-cta); }

.surfacee1472-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--surfacee1472-r-2);
  background: var(--surfacee1472-cta);
  color: var(--surfacee1472-ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.surfacee1472-register:hover,
.surfacee1472-register:active { background: var(--surfacee1472-cta-2); }

@media (max-width: 359px) {
  .surfacee1472-login { padding: 8px 8px; font-size: 12px; }
  .surfacee1472-register { padding: 8px 10px; font-size: 12px; }
}

/* --------------------------------------------------------------------------
   5. Layered dropdown menu
   -------------------------------------------------------------------------- */
.surfacee1472-menu {
  position: fixed;
  top: var(--surfacee1472-topbar-h);
  left: 0;
  right: 0;
  z-index: 55;
  max-height: calc(100dvh - var(--surfacee1472-topbar-h));
  overflow-y: auto;
  background: var(--surfacee1472-panel);
  border-bottom: 2px solid var(--surfacee1472-line-2);
  display: none;
}

@media (min-width: 480px) {
  .surfacee1472-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
  }
}

.surfacee1472-menu[data-open="true"] { display: block; }

.surfacee1472-menu-home {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--surfacee1472-text);
  border-bottom: 1px solid var(--surfacee1472-line);
  background: var(--surfacee1472-panel-2);
}

.surfacee1472-menu-home:hover { background: var(--surfacee1472-well); color: var(--surfacee1472-cta); }

.surfacee1472-mgroup { border-bottom: 1px solid var(--surfacee1472-line); }

.surfacee1472-mgroup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surfacee1472-mute);
}

.surfacee1472-mgroup-head:hover { color: var(--surfacee1472-cta); background: var(--surfacee1472-well); }

.surfacee1472-mgroup-head .surfacee1472-caret {
  font-size: 11px;
  color: var(--surfacee1472-dim);
  transition: none;
}

.surfacee1472-mgroup-head[aria-expanded="true"] { color: var(--surfacee1472-cta); }
.surfacee1472-mgroup-head[aria-expanded="true"] .surfacee1472-caret { color: var(--surfacee1472-state); }

.surfacee1472-mlist { display: none; padding: 0 8px 10px; }

.surfacee1472-mgroup[data-open="true"] .surfacee1472-mlist { display: block; }

.surfacee1472-mlink {
  display: block;
  min-height: 42px;
  padding: 9px 10px;
  border-left: 2px solid var(--surfacee1472-line);
  font-size: 13px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-mlink:hover {
  color: var(--surfacee1472-cta);
  border-left-color: var(--surfacee1472-state);
  background: var(--surfacee1472-well);
}

.surfacee1472-mlink.surfacee1472-here {
  color: var(--surfacee1472-cta);
  border-left-color: var(--surfacee1472-cta);
  background: var(--surfacee1472-well);
}

/* --------------------------------------------------------------------------
   6. Main column + hero carousel
   -------------------------------------------------------------------------- */
.surfacee1472-main {
  padding-top: var(--surfacee1472-topbar-h);
  padding-bottom: calc(var(--surfacee1472-rail-h) + 26px + env(safe-area-inset-bottom, 0px));
}

.surfacee1472-hero-wrap { position: relative; background: var(--surfacee1472-well); }

.surfacee1472-hero {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  aspect-ratio: 2 / 1;
  scrollbar-width: none;
}

.surfacee1472-hero::-webkit-scrollbar { display: none; }

.surfacee1472-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
}

.surfacee1472-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surfacee1472-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 12px 10px;
  background: linear-gradient(180deg, rgba(22, 29, 36, 0) 0%, rgba(22, 29, 36, 0.88) 78%);
  color: var(--surfacee1472-cta);
}

.surfacee1472-slide-t {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
}

.surfacee1472-slide-t small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--surfacee1472-mute);
  margin-top: 2px;
}

.surfacee1472-slide-cta {
  flex: 0 0 auto;
  padding: 7px 10px;
  background: var(--surfacee1472-cta);
  color: var(--surfacee1472-ink);
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--surfacee1472-r-2);
}

.surfacee1472-slide:active .surfacee1472-slide-cta { background: var(--surfacee1472-cta-2); }

.surfacee1472-hero-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--surfacee1472-line);
  background: var(--surfacee1472-panel);
}

.surfacee1472-dots { display: flex; gap: 7px; }

.surfacee1472-dot {
  width: 22px;
  height: 6px;
  border-radius: var(--surfacee1472-r-2);
  background: var(--surfacee1472-line);
}

.surfacee1472-dot.surfacee1472-on { background: var(--surfacee1472-cta); }

.surfacee1472-hero-count {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--surfacee1472-dim);
}

/* --------------------------------------------------------------------------
   7. H1 band + info chips
   -------------------------------------------------------------------------- */
.surfacee1472-h1band {
  padding: 16px var(--surfacee1472-gap) 6px;
}

.surfacee1472-kick {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 7px;
  border: 1px solid var(--surfacee1472-line-2);
  border-radius: var(--surfacee1472-r-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surfacee1472-mute);
}

.surfacee1472-h1 {
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--surfacee1472-line-2);
}

.surfacee1472-lead {
  padding: 10px var(--surfacee1472-gap) 0;
  font-size: 13.5px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px var(--surfacee1472-gap);
}

.surfacee1472-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  background: var(--surfacee1472-panel);
  border: 1px solid var(--surfacee1472-line);
  border-radius: var(--surfacee1472-r);
}

.surfacee1472-chip b {
  font-size: 12.5px;
  color: var(--surfacee1472-text);
}

.surfacee1472-chip span {
  font-size: 10.5px;
  color: var(--surfacee1472-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. Game groups (grouped cover cards)
   -------------------------------------------------------------------------- */
.surfacee1472-sec {
  margin-top: 20px;
  padding: 0 var(--surfacee1472-gap);
}

.surfacee1472-sec-head {
  border: 1px solid var(--surfacee1472-line);
  border-radius: var(--surfacee1472-r);
  background: var(--surfacee1472-panel);
  padding: 10px 11px;
}

.surfacee1472-sec-kick {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surfacee1472-dim);
  margin-bottom: 5px;
}

.surfacee1472-sec-count {
  padding: 2px 6px;
  border-radius: var(--surfacee1472-r-2);
  background: var(--surfacee1472-cta);
  color: var(--surfacee1472-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.surfacee1472-sec-title {
  font-size: 15.5px;
}

.surfacee1472-sec-rel {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed var(--surfacee1472-line);
}

.surfacee1472-sec-rel a {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--surfacee1472-state);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.surfacee1472-sec-rel a:hover { color: var(--surfacee1472-cta); }

.surfacee1472-sec-intro {
  margin: 9px 2px 0;
  font-size: 12.5px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 7px;
  margin-top: 12px;
}

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

.surfacee1472-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.surfacee1472-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--surfacee1472-line);
  border-radius: var(--surfacee1472-r);
  background: var(--surfacee1472-well);
}

.surfacee1472-tile:hover .surfacee1472-tile-img,
.surfacee1472-tile:active .surfacee1472-tile-img {
  border-color: var(--surfacee1472-state);
}

.surfacee1472-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 28px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--surfacee1472-mute);
}

.surfacee1472-tile:hover .surfacee1472-tile-name { color: var(--surfacee1472-cta); }

/* --------------------------------------------------------------------------
   9. Reading modules after the game area
   -------------------------------------------------------------------------- */
.surfacee1472-prose {
  margin-top: 26px;
  padding: 0 var(--surfacee1472-gap);
}

.surfacee1472-prose-h2 {
  font-size: 17px;
  padding: 0 0 8px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--surfacee1472-line-2);
}

.surfacee1472-prose p {
  font-size: 13.5px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-prose p strong { color: var(--surfacee1472-text); font-weight: 700; }

.surfacee1472-prose a {
  color: var(--surfacee1472-state);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  font-weight: 600;
}

.surfacee1472-prose a:hover { color: var(--surfacee1472-cta); }

.surfacee1472-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.surfacee1472-list li {
  position: relative;
  padding: 0 0 0 16px;
  margin-bottom: 9px;
  font-size: 13px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--surfacee1472-state);
}

.surfacee1472-list li strong { color: var(--surfacee1472-text); }

.surfacee1472-steps {
  list-style: none;
  counter-reset: surfacee1472step;
  padding: 0;
  margin: 12px 0;
}

.surfacee1472-steps li {
  counter-increment: surfacee1472step;
  position: relative;
  padding: 0 0 0 34px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-steps li::before {
  content: counter(surfacee1472step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surfacee1472-cta);
  color: var(--surfacee1472-ink);
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--surfacee1472-r-2);
}

.surfacee1472-steps li strong { color: var(--surfacee1472-text); }

.surfacee1472-terms { margin: 12px 0; }

.surfacee1472-terms dt {
  font-size: 13px;
  font-weight: 800;
  color: var(--surfacee1472-text);
  margin-top: 11px;
}

.surfacee1472-terms dd {
  margin: 3px 0 0;
  padding-left: 9px;
  border-left: 2px solid var(--surfacee1472-line-2);
  font-size: 12.5px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.surfacee1472-mini {
  padding: 8px 10px;
  border: 1px solid var(--surfacee1472-line);
  border-radius: var(--surfacee1472-r);
  background: var(--surfacee1472-panel);
  font-size: 11.5px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-mini b {
  display: block;
  font-size: 12px;
  color: var(--surfacee1472-text);
  margin-bottom: 2px;
}

/* Inline promo link inside prose */
.surfacee1472-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  margin: 4px 0 10px;
  background: var(--surfacee1472-cta);
  color: var(--surfacee1472-ink);
  font-size: 12.5px;
  font-weight: 800;
  border-radius: var(--surfacee1472-r-2);
}

.surfacee1472-inline-cta:hover,
.surfacee1472-inline-cta:active { background: var(--surfacee1472-cta-2); color: var(--surfacee1472-ink); }

/* --------------------------------------------------------------------------
   10. Extended home footer (promotions > brand > directory > disclaimer)
   -------------------------------------------------------------------------- */
.surfacee1472-xfoot {
  margin-top: 28px;
  padding: 14px var(--surfacee1472-gap) 4px;
  border-top: 2px solid var(--surfacee1472-line-2);
  background: var(--surfacee1472-well);
}

.surfacee1472-xfoot-title {
  font-size: 15px;
  margin-bottom: 10px;
}

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

.surfacee1472-xbtn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding: 10px 11px;
  min-height: 58px;
  border: 1px solid var(--surfacee1472-line-2);
  border-radius: var(--surfacee1472-r);
  background: var(--surfacee1472-panel);
  text-align: left;
}

.surfacee1472-xbtn:hover,
.surfacee1472-xbtn:active {
  border-color: var(--surfacee1472-state);
  background: var(--surfacee1472-panel-2);
}

.surfacee1472-xbtn-t {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--surfacee1472-cta);
}

.surfacee1472-xbtn-s {
  font-size: 10.5px;
  color: var(--surfacee1472-dim);
  line-height: 1.4;
}

.surfacee1472-xbrand {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--surfacee1472-line);
  font-size: 12.5px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-xlabel {
  margin: 14px 0 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surfacee1472-dim);
}

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

.surfacee1472-xdir a {
  display: flex;
  align-items: center;
  min-height: 34px;
  font-size: 12px;
  color: var(--surfacee1472-mute);
  border-bottom: 1px dashed var(--surfacee1472-line);
}

.surfacee1472-xdir a:hover { color: var(--surfacee1472-cta); }

.surfacee1472-xnote {
  margin-top: 14px;
  padding: 10px 11px;
  border-left: 3px solid var(--surfacee1472-line-2);
  background: var(--surfacee1472-panel);
  font-size: 11px;
  line-height: 1.6;
  color: var(--surfacee1472-dim);
}

/* --------------------------------------------------------------------------
   11. Common footer + fixed bottom rail
   -------------------------------------------------------------------------- */
.surfacee1472-foot {
  margin-top: 18px;
  padding: 12px var(--surfacee1472-gap) 6px;
  border-top: 1px solid var(--surfacee1472-line);
  text-align: center;
}

.surfacee1472-copy {
  font-size: 11px;
  color: var(--surfacee1472-dim);
}

.surfacee1472-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 58;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--surfacee1472-rail-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--surfacee1472-panel);
  border-top: 2px solid var(--surfacee1472-line-2);
}

@media (min-width: 480px) {
  .surfacee1472-tabbar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
  }
}

.surfacee1472-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  color: var(--surfacee1472-dim);
}

.surfacee1472-tab svg { width: 22px; height: 22px; }

.surfacee1472-tab span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.surfacee1472-tab:hover { color: var(--surfacee1472-mute); }

.surfacee1472-tab.surfacee1472-here,
.surfacee1472-tab.is-active {
  color: var(--surfacee1472-cta);
  transform: translateY(-2px);
}

.surfacee1472-tab.surfacee1472-here::before,
.surfacee1472-tab.is-active::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  height: 2px;
  background: var(--surfacee1472-cta);
}

/* Two-tone inline icons: strokes inherit currentColor, fills use the tone */
.surfacee1472-ic-tone { fill: var(--surfacee1472-state); }

/* --------------------------------------------------------------------------
   12. Small screens fine-tuning
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .surfacee1472-grid { gap: 8px 5px; }
  .surfacee1472-tile-name { font-size: 10px; }
  .surfacee1472-h1 { font-size: 18px; }
  .surfacee1472-xpromo { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   13. Help page patterns
   -------------------------------------------------------------------------- */
.surfacee1472-help-intro,
.surfacee1472-feature-summary {
  padding: 16px var(--surfacee1472-gap) 2px;
}

.surfacee1472-feature-summary {
  border-bottom: 1px solid var(--surfacee1472-line);
  background: linear-gradient(135deg, var(--surfacee1472-panel) 0%, var(--surfacee1472-bg) 74%);
}

.surfacee1472-feature-summary .surfacee1472-h1 { margin-bottom: 10px; }

.surfacee1472-feature-lead {
  font-size: 13.5px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-feature-panel {
  margin: 18px var(--surfacee1472-gap) 0;
  padding: 13px 12px;
  border-top: 2px solid var(--surfacee1472-line-2);
  border-right: 1px solid var(--surfacee1472-line);
  border-bottom: 1px solid var(--surfacee1472-line);
  border-left: 1px solid var(--surfacee1472-line);
  background: var(--surfacee1472-panel);
}

.surfacee1472-feature-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--surfacee1472-line-2);
}

.surfacee1472-feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--surfacee1472-cta);
  color: var(--surfacee1472-ink);
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--surfacee1472-r-2);
}

.surfacee1472-feature-label {
  margin: 0 0 3px;
  color: var(--surfacee1472-state);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.surfacee1472-feature-heading h2 {
  font-size: 17px;
  line-height: 1.35;
}

.surfacee1472-feature-panel > p,
.surfacee1472-feature-panel > ul,
.surfacee1472-feature-panel > ol,
.surfacee1472-feature-panel > .surfacee1472-help-rows,
.surfacee1472-feature-panel > .surfacee1472-help-checks,
.surfacee1472-feature-panel > .surfacee1472-help-faq,
.surfacee1472-feature-panel > .surfacee1472-help-promo {
  margin-left: 48px;
}

@media (max-width: 359px) {
  .surfacee1472-feature-panel > p,
  .surfacee1472-feature-panel > ul,
  .surfacee1472-feature-panel > ol,
  .surfacee1472-feature-panel > .surfacee1472-help-rows,
  .surfacee1472-feature-panel > .surfacee1472-help-checks,
  .surfacee1472-feature-panel > .surfacee1472-help-faq,
  .surfacee1472-feature-panel > .surfacee1472-help-promo {
    margin-left: 0;
  }
}

.surfacee1472-help-intro .surfacee1472-h1 {
  margin-bottom: 10px;
}

.surfacee1472-help-lead {
  font-size: 13.5px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-help-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px var(--surfacee1472-gap) 2px;
}

.surfacee1472-help-strip::-webkit-scrollbar { display: none; }

.surfacee1472-help-tag {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--surfacee1472-line-2);
  border-radius: var(--surfacee1472-r-2);
  background: var(--surfacee1472-panel);
  color: var(--surfacee1472-mute);
  font-size: 11.5px;
  font-weight: 700;
}

.surfacee1472-help-tag:hover { color: var(--surfacee1472-cta); border-color: var(--surfacee1472-state); }

.surfacee1472-help-block {
  margin: 18px var(--surfacee1472-gap) 0;
  padding: 13px 12px;
  border-left: 3px solid var(--surfacee1472-state);
  background: var(--surfacee1472-panel);
}

.surfacee1472-help-block h2 {
  font-size: 17px;
  padding-bottom: 8px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--surfacee1472-line-2);
}

.surfacee1472-help-block p,
.surfacee1472-help-block li {
  font-size: 13px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-help-block p strong,
.surfacee1472-help-block li strong { color: var(--surfacee1472-text); }

.surfacee1472-help-block ul,
.surfacee1472-help-block ol { padding-left: 19px; margin: 8px 0 0; }
.surfacee1472-help-block li { margin-bottom: 8px; }

.surfacee1472-help-rows {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.surfacee1472-help-row {
  display: grid;
  grid-template-columns: minmax(76px, 0.6fr) minmax(0, 1.4fr);
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--surfacee1472-line);
  background: var(--surfacee1472-well);
}

.surfacee1472-help-row b {
  font-size: 11.5px;
  color: var(--surfacee1472-cta);
}

.surfacee1472-help-row span {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--surfacee1472-mute);
}

.surfacee1472-help-checks {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.surfacee1472-help-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--surfacee1472-line);
  background: var(--surfacee1472-well);
  font-size: 12px;
  color: var(--surfacee1472-mute);
}

.surfacee1472-help-check strong { color: var(--surfacee1472-text); }

.surfacee1472-help-check::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border: 2px solid var(--surfacee1472-state);
  background: transparent;
}

.surfacee1472-help-callout {
  margin-top: 11px;
  padding: 10px 11px;
  border: 1px solid var(--surfacee1472-line-2);
  background: var(--surfacee1472-panel-2);
  color: var(--surfacee1472-text);
  font-size: 12.5px;
}

.surfacee1472-help-callout a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.surfacee1472-help-inline-btn {
  min-height: 44px;
  margin-left: 5px;
  padding: 8px 10px;
  border-radius: var(--surfacee1472-r-2);
  background: var(--surfacee1472-cta);
  color: var(--surfacee1472-ink);
  font-weight: 800;
  font-size: 11.5px;
}

.surfacee1472-help-inline-btn:hover { background: var(--surfacee1472-cta-2); }

.surfacee1472-help-faq {
  margin-top: 10px;
  border-top: 1px solid var(--surfacee1472-line);
}

.surfacee1472-help-faq details {
  border-bottom: 1px solid var(--surfacee1472-line);
  padding: 9px 0;
}

.surfacee1472-help-faq summary {
  cursor: pointer;
  min-height: 30px;
  padding-right: 18px;
  color: var(--surfacee1472-text);
  font-size: 12.5px;
  font-weight: 800;
}

.surfacee1472-help-faq p {
  margin: 7px 0 0;
  font-size: 12.5px;
}

.surfacee1472-help-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid var(--surfacee1472-line-2);
  background: var(--surfacee1472-panel-2);
}

.surfacee1472-help-promo span {
  font-size: 12px;
  font-weight: 700;
  color: var(--surfacee1472-text);
}

.surfacee1472-help-promo button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--surfacee1472-r-2);
  background: var(--surfacee1472-cta);
  color: var(--surfacee1472-ink);
  font-size: 11.5px;
  font-weight: 800;
}

.surfacee1472-help-promo button:hover { background: var(--surfacee1472-cta-2); }

.surfacee1472-help-end {
  margin: 18px var(--surfacee1472-gap) 0;
  padding: 12px;
  border-top: 2px solid var(--surfacee1472-line-2);
  color: var(--surfacee1472-dim);
  font-size: 11.5px;
}
