/* ============================================================
   Scatter Game GCash - layered mobile canvas stylesheet
   File   : css/scatter-game-gcash-layers-bad9e5.css
   Prefix : ui9e55d-  (classes, states and CSS variables)
   Canvas : 320-430px phone frame, centered on wide screens
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --ui9e55d-cyan:   #00FFFF;   /* accent layer: outlines, active states */
  --ui9e55d-teal:   #004D40;   /* deep base layer */
  --ui9e55d-steel:  #3A3A3A;   /* panel layer */
  --ui9e55d-mist:   #A9A9A9;   /* secondary text */
  --ui9e55d-silver: #BBBBBB;   /* primary text */
  --ui9e55d-abyss:  rgba(1, 30, 25, 0.94);   /* fixed-bar layer */
  --ui9e55d-line:   rgba(0, 255, 255, 0.26); /* stroke layer */
  --ui9e55d-line2:  rgba(187, 187, 187, 0.20);
  --ui9e55d-panel:  rgba(58, 58, 58, 0.30);
  --ui9e55d-glow:   rgba(0, 255, 255, 0.10);
  --ui9e55d-tap: 44px;
  --ui9e55d-r: 3px;
  --ui9e55d-pad: 14px;
}

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

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

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ui9e55d-silver);
  background: #011915;
}

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

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

a { color: var(--ui9e55d-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- 3. Phone shell (layered strata) ---------- */
.ui9e55d-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--ui9e55d-teal);
  background-image:
    repeating-linear-gradient(180deg, rgba(0, 255, 255, 0.025) 0 2px, transparent 2px 64px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.55) 100%);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .ui9e55d-shell {
    border-inline: 1px solid var(--ui9e55d-line);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.06);
  }
}

/* ---------- 4. Fixed top bar : asymmetric brand + action strip ---------- */
.ui9e55d-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: var(--ui9e55d-abyss);
  border-bottom: 1px solid var(--ui9e55d-line);
  backdrop-filter: blur(6px);
}

/* brand band : logo + site name only */
.ui9e55d-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px var(--ui9e55d-pad) 7px;
  border-bottom: 1px dashed rgba(0, 255, 255, 0.16);
}

.ui9e55d-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--ui9e55d-r);
  border: 1px solid var(--ui9e55d-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.ui9e55d-wordmark {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.15;
  color: #FFFFFF;
  text-transform: uppercase;
}

.ui9e55d-wordmark em {
  font-style: normal;
  color: var(--ui9e55d-cyan);
}

/* action strip : register / login / menu, offset from brand band */
.ui9e55d-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px var(--ui9e55d-pad);
}

.ui9e55d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--ui9e55d-tap);
  border-radius: var(--ui9e55d-r);
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

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

.ui9e55d-btn--register {
  flex: 1.5 1 0;
  background: var(--ui9e55d-cyan);
  color: var(--ui9e55d-teal);
  font-size: 15px;
  box-shadow: 0 3px 0 rgba(0, 255, 255, 0.28);
}

.ui9e55d-btn--register:hover { box-shadow: 0 5px 0 rgba(0, 255, 255, 0.35); }

.ui9e55d-btn--login {
  flex: 1 1 0;
  border: 1px solid var(--ui9e55d-silver);
  color: var(--ui9e55d-silver);
  font-size: 13px;
}

.ui9e55d-btn--login:hover { border-color: var(--ui9e55d-cyan); color: var(--ui9e55d-cyan); }

.ui9e55d-btn--menu {
  flex: 0 0 46px;
  border: 1px solid var(--ui9e55d-line);
  color: var(--ui9e55d-cyan);
}

.ui9e55d-btn--menu svg { width: 20px; height: 20px; }

/* ---------- 5. Side drawer menu ---------- */
.ui9e55d-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(0, 8, 6, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ui9e55d-scrim.ui9e55d-is-open { opacity: 1; visibility: visible; }

/* drawer rail : fixed layer aligned to the phone canvas at any width */
.ui9e55d-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 430px;
  z-index: 60;
  transform: translateX(-50%) translateX(104%);
  transition: transform 0.28s ease;
  pointer-events: none;
}

.ui9e55d-drawer.ui9e55d-is-open {
  transform: translateX(-50%);
  pointer-events: auto;
}

.ui9e55d-drawer-panel {
  height: 100%;
  width: min(84%, 320px);
  margin-left: auto;
  background: #022a24;
  border-left: 1px solid var(--ui9e55d-line);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.ui9e55d-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--ui9e55d-line2);
}

.ui9e55d-drawer-head img { width: 30px; height: 30px; border-radius: 2px; }

.ui9e55d-drawer-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ui9e55d-cyan);
}

.ui9e55d-drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ui9e55d-mist);
}

.ui9e55d-drawer-close svg { width: 18px; height: 18px; }
.ui9e55d-drawer-close:active { color: var(--ui9e55d-cyan); }

.ui9e55d-drawer-group {
  padding: 10px 14px 4px;
}

.ui9e55d-drawer-group-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ui9e55d-mist);
  margin: 0 0 4px;
}

.ui9e55d-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--ui9e55d-r);
  border: 1px solid transparent;
  color: var(--ui9e55d-silver);
  font-size: 14px;
}

.ui9e55d-drawer a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--ui9e55d-mist);
  border-right: 1px solid var(--ui9e55d-mist);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.ui9e55d-drawer a:hover,
.ui9e55d-drawer a:active {
  background: var(--ui9e55d-glow);
  border-color: var(--ui9e55d-line);
  text-decoration: none;
  color: var(--ui9e55d-cyan);
}

.ui9e55d-drawer a.ui9e55d-is-current {
  background: var(--ui9e55d-cyan);
  color: var(--ui9e55d-teal);
  font-weight: 800;
}

.ui9e55d-drawer a.ui9e55d-is-current::after { border-color: var(--ui9e55d-teal); }

.ui9e55d-drawer-cta {
  margin: 14px 14px 0;
}

.ui9e55d-drawer-cta .ui9e55d-btn--register { width: 100%; }

/* ---------- 6. Main flow ---------- */
.ui9e55d-main {
  padding: 126px var(--ui9e55d-pad) 24px;
}

/* short-distance section transition */
@keyframes ui9e55d-rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ui9e55d-rise {
  animation: ui9e55d-rise 0.32s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .ui9e55d-rise { animation: none; }
  .ui9e55d-reel-track { transition: none !important; }
}

/* ---------- 7. Hero ---------- */
.ui9e55d-hero { padding-top: 4px; }

.ui9e55d-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(23px, 6.6vw, 29px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #FFFFFF;
}

.ui9e55d-hero h1 em {
  font-style: normal;
  color: var(--ui9e55d-cyan);
}

.ui9e55d-lead {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ui9e55d-silver);
}

.ui9e55d-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}

.ui9e55d-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 4px 9px;
  border: 1px solid var(--ui9e55d-line2);
  border-radius: 2px;
  color: var(--ui9e55d-mist);
  text-transform: uppercase;
}

/* quick shelf jump strip */
.ui9e55d-quicknav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 6px;
  scrollbar-width: none;
}

.ui9e55d-quicknav::-webkit-scrollbar { display: none; }

.ui9e55d-quicknav a {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border: 1px solid var(--ui9e55d-line);
  border-radius: 2px;
  color: var(--ui9e55d-cyan);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.ui9e55d-quicknav a:active { background: var(--ui9e55d-glow); text-decoration: none; }

/* ---------- 8. Banner reel ---------- */
.ui9e55d-reel {
  position: relative;
  border: 1px solid var(--ui9e55d-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ui9e55d-panel);
  margin: 6px 0 22px;
}

.ui9e55d-reel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.ui9e55d-reel-slide { flex: 0 0 100%; }

.ui9e55d-reel-link {
  display: block;
  width: 100%;
  text-align: left;
}

.ui9e55d-reel-link img {
  width: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

.ui9e55d-reel-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid var(--ui9e55d-line2);
  font-size: 12.5px;
  color: var(--ui9e55d-silver);
}

.ui9e55d-reel-cap strong { color: var(--ui9e55d-cyan); font-weight: 800; }

.ui9e55d-reel-dots {
  position: absolute;
  right: 10px;
  bottom: 52px;
  display: flex;
  gap: 6px;
}

.ui9e55d-reel-dot {
  width: 20px;
  height: 6px;
  border: 1px solid var(--ui9e55d-cyan);
  border-radius: 2px;
  background: transparent;
}

.ui9e55d-reel-dot.ui9e55d-is-on { background: var(--ui9e55d-cyan); }

/* ---------- 9. Game shelves ---------- */
.ui9e55d-shelf {
  margin: 0 0 24px;
  scroll-margin-top: 132px;
}

.ui9e55d-shelf-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
}

.ui9e55d-shelf-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ui9e55d-shelf-head h2::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  align-self: center;
  background: var(--ui9e55d-cyan);
}

.ui9e55d-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border: 1px solid var(--ui9e55d-line2);
  border-radius: 2px;
  color: var(--ui9e55d-mist);
  white-space: nowrap;
}

.ui9e55d-shelf-note {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 300;
  color: var(--ui9e55d-mist);
}

/* 4 columns at 320px, 5 columns from 375px up */
.ui9e55d-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 375px) {
  .ui9e55d-grid { grid-template-columns: repeat(5, 1fr); }
}

/* outlined tile card with corner ticks */
.ui9e55d-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 5px 7px;
  border: 1px solid var(--ui9e55d-line2);
  border-radius: var(--ui9e55d-r);
  background: var(--ui9e55d-panel);
  min-height: var(--ui9e55d-tap);
  transition: transform 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}

.ui9e55d-tile::before,
.ui9e55d-tile::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ui9e55d-tile::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--ui9e55d-cyan);
  border-left: 2px solid var(--ui9e55d-cyan);
}

.ui9e55d-tile::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--ui9e55d-cyan);
  border-right: 2px solid var(--ui9e55d-cyan);
}

.ui9e55d-tile:hover,
.ui9e55d-tile:focus-visible {
  border-color: rgba(0, 255, 255, 0.55);
  background: rgba(58, 58, 58, 0.5);
}

.ui9e55d-tile:hover::before,
.ui9e55d-tile:hover::after,
.ui9e55d-tile:focus-visible::before,
.ui9e55d-tile:focus-visible::after { opacity: 1; }

.ui9e55d-tile:active { transform: translateY(1px); }

.ui9e55d-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.ui9e55d-tile-name {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  color: var(--ui9e55d-silver);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  word-break: break-word;
}

.ui9e55d-tile:hover .ui9e55d-tile-name { color: var(--ui9e55d-cyan); }

/* ---------- 10. Reading modules ---------- */
.ui9e55d-module {
  border: 1px solid var(--ui9e55d-line2);
  border-radius: 4px;
  background: rgba(2, 30, 25, 0.55);
  padding: 16px 14px 18px;
  margin: 0 0 20px;
}

.ui9e55d-module h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.32;
  font-weight: 800;
  color: #FFFFFF;
  padding-left: 10px;
  border-left: 3px solid var(--ui9e55d-cyan);
}

.ui9e55d-module p {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ui9e55d-silver);
}

.ui9e55d-module p:last-child { margin-bottom: 0; }

.ui9e55d-module strong { color: #FFFFFF; font-weight: 700; }

/* question blocks */
.ui9e55d-qa {
  border: 1px solid var(--ui9e55d-line2);
  border-radius: var(--ui9e55d-r);
  padding: 10px 12px;
  margin: 10px 0 0;
  background: var(--ui9e55d-glow);
}

.ui9e55d-qa h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ui9e55d-cyan);
}

.ui9e55d-qa p { margin: 0; font-size: 13.5px; }

/* step-progression list */
.ui9e55d-steps {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0 0 0 26px;
  counter-reset: ui9e55d-step;
  border-left: 1px dashed rgba(0, 255, 255, 0.35);
}

.ui9e55d-steps li {
  position: relative;
  counter-increment: ui9e55d-step;
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 300;
}

.ui9e55d-steps li::before {
  content: counter(ui9e55d-step);
  position: absolute;
  left: -37px;
  top: 1px;
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--ui9e55d-teal);
  background: var(--ui9e55d-cyan);
  border-radius: 2px;
}

/* scannable comparison rows */
.ui9e55d-frow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 2px;
  border-bottom: 1px dotted rgba(169, 169, 169, 0.35);
}

.ui9e55d-frow:last-of-type { border-bottom: 0; }

.ui9e55d-frow dt {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--ui9e55d-cyan);
}

.ui9e55d-frow dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ui9e55d-silver);
}

/* fact table */
.ui9e55d-facts {
  margin: 0;
  border: 1px solid var(--ui9e55d-line2);
  border-radius: var(--ui9e55d-r);
  overflow: hidden;
}

.ui9e55d-fact {
  display: grid;
  grid-template-columns: 38% 62%;
  border-bottom: 1px solid rgba(169, 169, 169, 0.18);
}

.ui9e55d-fact:last-child { border-bottom: 0; }

.ui9e55d-fact dt {
  padding: 9px 10px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ui9e55d-mist);
  background: rgba(58, 58, 58, 0.35);
}

.ui9e55d-fact dd {
  margin: 0;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 300;
}

/* ---------- 11. CTA band ---------- */
.ui9e55d-ctaband {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid var(--ui9e55d-line);
  border-left: 4px solid var(--ui9e55d-cyan);
  border-radius: 4px;
  background: var(--ui9e55d-glow);
  padding: 14px;
  margin: 0 0 24px;
}

.ui9e55d-ctaband p {
  flex: 1 1 180px;
  margin: 0;
  font-size: 13px;
  font-weight: 300;
}

.ui9e55d-ctaband .ui9e55d-btn--register { flex: 1 1 130px; }
.ui9e55d-ctaband .ui9e55d-btn--login { flex: 0 1 110px; }

/* ---------- 12. Extended footer ---------- */
.ui9e55d-xfoot {
  border: 1px solid var(--ui9e55d-line2);
  border-radius: 4px;
  margin: 26px 0 18px;
  background: rgba(1, 24, 20, 0.6);
}

.ui9e55d-xfoot h2 {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  border-bottom: 1px solid var(--ui9e55d-line2);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ui9e55d-xfoot-section { padding: 13px 14px; }
.ui9e55d-xfoot-section + .ui9e55d-xfoot-section { border-top: 1px solid rgba(169, 169, 169, 0.16); }

.ui9e55d-xfoot-label {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ui9e55d-cyan);
}

/* two-column page directory */
.ui9e55d-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ui9e55d-directory a {
  display: block;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid var(--ui9e55d-line2);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ui9e55d-silver);
}

.ui9e55d-directory a:hover,
.ui9e55d-directory a:active {
  border-color: var(--ui9e55d-cyan);
  color: var(--ui9e55d-cyan);
  text-decoration: none;
}

.ui9e55d-xfoot-brand {
  margin: 0;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ui9e55d-mist);
}

/* promo desk : 5 descriptive actions */
.ui9e55d-promos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.ui9e55d-promos button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--ui9e55d-line);
  border-radius: var(--ui9e55d-r);
  font-size: 13px;
  font-weight: 700;
  color: var(--ui9e55d-silver);
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.ui9e55d-promos button::after {
  content: "\2192";
  color: var(--ui9e55d-cyan);
  font-weight: 800;
}

.ui9e55d-promos button:hover { border-color: var(--ui9e55d-cyan); color: #FFFFFF; }
.ui9e55d-promos button:active { transform: translateY(1px); }

.ui9e55d-promos .ui9e55d-promo-lead {
  background: var(--ui9e55d-cyan);
  color: var(--ui9e55d-teal);
  border-color: var(--ui9e55d-cyan);
}

.ui9e55d-promos .ui9e55d-promo-lead::after { color: var(--ui9e55d-teal); }

.ui9e55d-disclaimer {
  margin: 0;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ui9e55d-mist);
}

/* ---------- 13. Common footer ---------- */
.ui9e55d-foot {
  padding: 4px var(--ui9e55d-pad) 96px;
  text-align: center;
  font-size: 12px;
  color: var(--ui9e55d-mist);
}

.ui9e55d-foot p { margin: 0; }

/* ---------- 14. Mobile bottom tab bar ---------- */
.ui9e55d-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  background: var(--ui9e55d-abyss);
  border-top: 1px solid var(--ui9e55d-line);
  backdrop-filter: blur(6px);
}

.ui9e55d-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: var(--ui9e55d-r);
  color: var(--ui9e55d-mist);
  transition: color 0.12s ease, background-color 0.12s ease;
}

.ui9e55d-tab svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui9e55d-tab span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1;
}

.ui9e55d-tab:hover { color: var(--ui9e55d-silver); text-decoration: none; }

.ui9e55d-tab:active { transform: translateY(1px); }

/* contrast-inverted active state */
.ui9e55d-tab.ui9e55d-is-active {
  background: var(--ui9e55d-cyan);
  color: var(--ui9e55d-teal);
}

.ui9e55d-tab.ui9e55d-is-active span { color: var(--ui9e55d-teal); }

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

.ui9e55d-noscroll { overflow: hidden; }

/* thin phones: tighten type without losing the grid */
@media (max-width: 359px) {
  .ui9e55d-wordmark { font-size: 14px; }
  .ui9e55d-hero h1 { font-size: 22px; }
  .ui9e55d-module h2, .ui9e55d-shelf-head h2 { font-size: 16.5px; }
  .ui9e55d-directory { grid-template-columns: 1fr; }
}

/* ---------- 16. Help-page components ---------- */
/* symptom card : what you see, why it happens, fix order */
.ui9e55d-sym {
  border: 1px solid var(--ui9e55d-line2);
  border-left: 3px solid var(--ui9e55d-cyan);
  border-radius: var(--ui9e55d-r);
  background: rgba(2, 30, 25, 0.5);
  padding: 11px 12px;
  margin: 10px 0 0;
}

.ui9e55d-sym h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
}

.ui9e55d-sym p {
  margin: 0 0 7px;
  font-size: 13.5px;
  font-weight: 300;
}

.ui9e55d-sym p:last-child { margin-bottom: 0; }

.ui9e55d-sym .ui9e55d-sym-why {
  font-size: 12.5px;
  color: var(--ui9e55d-mist);
  padding-left: 9px;
  border-left: 2px solid rgba(0, 255, 255, 0.30);
}

/* decision checklist : square tick frames */
.ui9e55d-check {
  list-style: none;
  margin: 12px 0 2px;
  padding: 0;
}

.ui9e55d-check li {
  position: relative;
  padding: 7px 2px 7px 30px;
  font-size: 13.5px;
  font-weight: 300;
  border-bottom: 1px dotted rgba(169, 169, 169, 0.28);
}

.ui9e55d-check li:last-child { border-bottom: 0; }

.ui9e55d-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ui9e55d-cyan);
  border-radius: 2px;
}

/* conditional branches : side-by-side from 400px */
@media (min-width: 400px) {
  .ui9e55d-branch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
}

.ui9e55d-branch > div {
  border: 1px dashed rgba(0, 255, 255, 0.30);
  border-radius: var(--ui9e55d-r);
  padding: 10px 12px;
  margin: 10px 0 0;
  background: rgba(58, 58, 58, 0.22);
}

@media (min-width: 400px) {
  .ui9e55d-branch > div { margin-top: 0; }
}

.ui9e55d-branch h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ui9e55d-cyan);
}

.ui9e55d-branch p {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
}
