/* ==============================================================
   Lucky Taya - responsive canvas stylesheet
   File   : css/responsive-acbeca-canvas.css
   Prefix : mobileacbec-
   Canvas : 320-430px phone frame, centered on wide screens
   Palette: #2C3E50 canvas / #E9ECEF text / #66CDAA mint CTA
            #FFB3FF blush accent / #778899 + #696969 muted tones
   ============================================================== */

/* ---------- tokens ---------- */
:root {
  --mobileacbec-canvas: #2C3E50;
  --mobileacbec-canvas-deep: #243240;
  --mobileacbec-canvas-panel: #31445a;
  --mobileacbec-page-void: #1a2530;
  --mobileacbec-ink: #E9ECEF;
  --mobileacbec-ink-soft: #c3ccd6;
  --mobileacbec-mute: #778899;
  --mobileacbec-fog: #696969;
  --mobileacbec-blush: #FFB3FF;
  --mobileacbec-mint: #66CDAA;
  --mobileacbec-mint-ink: #14312a;
  --mobileacbec-line: rgba(233, 236, 239, 0.16);
  --mobileacbec-line-strong: rgba(233, 236, 239, 0.30);
  --mobileacbec-shadow: 0 10px 34px rgba(10, 18, 26, 0.55);
  --mobileacbec-radius: 8px;
  --mobileacbec-radius-tight: 6px;
  --mobileacbec-gap: 10px;
  --mobileacbec-gutter: 14px;
  --mobileacbec-font-head: "Segoe UI", "Trebuchet MS", system-ui, -apple-system, Arial, sans-serif;
  --mobileacbec-font-body: "Segoe UI Light", "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  --mobileacbec-bottombar-h: 76px;
  --mobileacbec-topbar-h: 92px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--mobileacbec-page-void);
  color: var(--mobileacbec-ink);
  font-family: var(--mobileacbec-font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

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

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

a {
  color: var(--mobileacbec-mint);
  text-decoration: none;
  border-bottom: 1px dashed rgba(102, 205, 170, 0.55);
}

a:hover { color: var(--mobileacbec-blush); border-bottom-color: var(--mobileacbec-blush); }

:focus-visible {
  outline: 2px solid var(--mobileacbec-blush);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--mobileacbec-font-head);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin: 0 0 10px;
  color: var(--mobileacbec-ink);
}

p { margin: 0 0 12px; }

ul, ol { margin: 0 0 12px; padding-left: 20px; }

/* ---------- phone canvas ---------- */
.mobileacbec-page {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: var(--mobileacbec-canvas);
  box-shadow: var(--mobileacbec-shadow);
  position: relative;
  overflow-x: clip;
}

/* ---------- sticky masthead: brand row + action row ---------- */
.mobileacbec-masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #243240 0%, #28394b 100%);
  border-bottom: 1px solid var(--mobileacbec-line-strong);
}

.mobileacbec-brandline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 7px var(--mobileacbec-gutter) 5px;
}

.mobileacbec-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--mobileacbec-radius-tight);
  border: 1px solid var(--mobileacbec-line-strong);
  object-fit: cover;
  flex: 0 0 auto;
}

.mobileacbec-brandname {
  font-family: var(--mobileacbec-font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--mobileacbec-ink);
  white-space: nowrap;
}

.mobileacbec-brandname small {
  display: block;
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mobileacbec-mint);
  margin-top: 1px;
}

.mobileacbec-menubutton {
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobileacbec-line-strong);
  border-radius: var(--mobileacbec-radius-tight);
  background: rgba(36, 50, 64, 0.65);
  color: var(--mobileacbec-ink-soft);
}

.mobileacbec-menubutton svg { width: 20px; height: 20px; fill: currentColor; }

.mobileacbec-menubutton[aria-expanded="true"] {
  color: var(--mobileacbec-blush);
  border-color: var(--mobileacbec-blush);
}

.mobileacbec-actionline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 var(--mobileacbec-gutter) 9px;
}

.mobileacbec-register,
.mobileacbec-login {
  flex: 1 1 0;
  min-height: 44px;
  border-radius: var(--mobileacbec-radius-tight);
  font-family: var(--mobileacbec-font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.mobileacbec-register {
  background: var(--mobileacbec-mint);
  color: var(--mobileacbec-mint-ink);
  box-shadow: inset 0 -3px 0 rgba(20, 49, 42, 0.35);
}

.mobileacbec-login {
  background: transparent;
  color: var(--mobileacbec-blush);
  border: 1px solid var(--mobileacbec-blush);
}

.mobileacbec-register svg,
.mobileacbec-login svg { width: 15px; height: 15px; fill: currentColor; }

.mobileacbec-register:active { transform: translateY(1px); filter: brightness(1.06); }
.mobileacbec-login:active { background: rgba(255, 179, 255, 0.12); }

/* ---------- compact route panel ---------- */
.mobileacbec-routepanel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #202f3d;
  border-bottom: 2px solid var(--mobileacbec-mint);
  box-shadow: var(--mobileacbec-shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.mobileacbec-routepanel.mobileacbec-open { max-height: 460px; }

.mobileacbec-routegrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--mobileacbec-line);
  padding: 1px 0;
}

.mobileacbec-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 12px;
  background: #202f3d;
  color: var(--mobileacbec-ink-soft);
  font-size: 13px;
  font-weight: 400;
  border-bottom: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobileacbec-route:hover { color: var(--mobileacbec-blush); background: #27394a; }

.mobileacbec-route svg { width: 16px; height: 16px; fill: var(--mobileacbec-mint); flex: 0 0 auto; }

.mobileacbec-route span b {
  display: block;
  font-family: var(--mobileacbec-font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--mobileacbec-ink);
}

.mobileacbec-route span small { font-size: 10.5px; color: var(--mobileacbec-mute); }

.mobileacbec-route.mobileacbec-current span b { color: var(--mobileacbec-blush); }

/* ---------- generic layout ---------- */
.mobileacbec-main {
  padding: 16px var(--mobileacbec-gutter) calc(var(--mobileacbec-bottombar-h) + 34px);
}

.mobileacbec-section { margin: 0 0 26px; }

.mobileacbec-sectionhead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-left: 3px solid var(--mobileacbec-mint);
  padding-left: 10px;
  margin-bottom: 10px;
}

.mobileacbec-sectionhead h2 {
  font-size: 18.5px;
  margin: 0;
}

.mobileacbec-sectioncount {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mobileacbec-mute);
  border: 1px solid var(--mobileacbec-line);
  border-radius: 99px;
  padding: 2px 8px;
  white-space: nowrap;
}

.mobileacbec-lede {
  color: var(--mobileacbec-ink-soft);
  font-size: 14px;
  margin-bottom: 12px;
}

/* ---------- hero + h1 block ---------- */
.mobileacbec-heroblock {
  margin: 14px 0 20px;
}

.mobileacbec-heroblock h1 {
  font-size: 25px;
  text-wrap: balance;
}

.mobileacbec-heroblock h1 em {
  font-style: normal;
  color: var(--mobileacbec-blush);
}

.mobileacbec-herosub {
  color: var(--mobileacbec-ink-soft);
  font-size: 14px;
  max-width: 40ch;
}

.mobileacbec-ctarow {
  display: flex;
  gap: 10px;
  margin: 14px 0 4px;
}

.mobileacbec-ctamain,
.mobileacbec-ctaghost {
  flex: 1 1 0;
  min-height: 48px;
  border-radius: var(--mobileacbec-radius);
  font-family: var(--mobileacbec-font-head);
  font-weight: 800;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.mobileacbec-ctamain {
  background: var(--mobileacbec-mint);
  color: var(--mobileacbec-mint-ink);
  box-shadow: inset 0 -3px 0 rgba(20, 49, 42, 0.35);
}

.mobileacbec-ctaghost {
  background: transparent;
  color: var(--mobileacbec-blush);
  border: 1px solid var(--mobileacbec-blush);
}

.mobileacbec-ctamain:active { transform: translateY(1px); }
.mobileacbec-ctaghost:active { background: rgba(255, 179, 255, 0.12); }

/* ---------- quick fact strip ---------- */
.mobileacbec-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 22px;
}

.mobileacbec-fact {
  border: 1px solid var(--mobileacbec-line);
  border-radius: var(--mobileacbec-radius-tight);
  background: rgba(49, 68, 90, 0.45);
  padding: 9px 8px;
  text-align: center;
}

.mobileacbec-fact b {
  display: block;
  font-family: var(--mobileacbec-font-head);
  font-weight: 800;
  font-size: 16.5px;
  color: var(--mobileacbec-blush);
}

.mobileacbec-fact span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mobileacbec-mute);
}

/* ---------- banner carousel ---------- */
.mobileacbec-carousel {
  position: relative;
  border: 1px solid var(--mobileacbec-line-strong);
  border-radius: var(--mobileacbec-radius);
  overflow: hidden;
  background: var(--mobileacbec-canvas-deep);
}

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

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

.mobileacbec-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  aspect-ratio: 2 / 1;
  width: 100%;
}

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

.mobileacbec-slidecaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(26, 37, 48, 0) 0%, rgba(26, 37, 48, 0.88) 78%);
  text-align: left;
  font-family: var(--mobileacbec-font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mobileacbec-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobileacbec-slidecaption svg { width: 14px; height: 14px; fill: var(--mobileacbec-mint); flex: 0 0 auto; }

.mobileacbec-raildots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.mobileacbec-raildot {
  width: 22px;
  height: 6px;
  min-height: 6px;
  border-radius: 3px;
  background: rgba(233, 236, 239, 0.35);
  transition: background 0.2s ease, width 0.2s ease;
}

.mobileacbec-raildot.mobileacbec-on { background: var(--mobileacbec-blush); width: 28px; }

/* ---------- game floor ---------- */
.mobileacbec-floor {
  border: 1px solid var(--mobileacbec-line);
  border-radius: var(--mobileacbec-radius);
  background: rgba(36, 50, 64, 0.5);
  padding: 12px 10px 10px;
  margin-top: 10px;
}

.mobileacbec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
}

.mobileacbec-tile {
  border: 1px solid var(--mobileacbec-line);
  border-radius: var(--mobileacbec-radius-tight);
  background: var(--mobileacbec-canvas-deep);
  padding: 5px 4px 6px;
  text-align: center;
  min-height: 44px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.mobileacbec-tile:hover,
.mobileacbec-tile:active {
  border-color: var(--mobileacbec-mint);
  transform: translateY(-2px);
}

.mobileacbec-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: #1c2833;
}

.mobileacbec-tilename {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-family: var(--mobileacbec-font-head);
  font-weight: 400;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--mobileacbec-ink-soft);
  margin-top: 5px;
  min-height: 27px;
}

.mobileacbec-guiderow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px dashed var(--mobileacbec-line);
  font-size: 12.5px;
}

.mobileacbec-guiderow span {
  color: var(--mobileacbec-mute);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- winners pulse strip ---------- */
.mobileacbec-pulsestrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--mobileacbec-mute) transparent;
}

.mobileacbec-pulse {
  flex: 0 0 auto;
  width: 148px;
  border: 1px solid var(--mobileacbec-line);
  border-left: 3px solid var(--mobileacbec-mint);
  border-radius: var(--mobileacbec-radius-tight);
  background: rgba(49, 68, 90, 0.5);
  padding: 8px 9px;
}

.mobileacbec-pulse b {
  display: block;
  font-family: var(--mobileacbec-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobileacbec-ink);
}

.mobileacbec-pulse span {
  display: block;
  font-size: 11px;
  color: var(--mobileacbec-mute);
}

.mobileacbec-pulse em {
  font-style: normal;
  color: var(--mobileacbec-blush);
  font-family: var(--mobileacbec-font-head);
  font-size: 12px;
}

/* ---------- step blocks (step-progression rhythm) ---------- */
.mobileacbec-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mobileacbec-step;
}

.mobileacbec-steps li {
  counter-increment: mobileacbec-step;
  position: relative;
  padding: 0 0 14px 40px;
  border-left: 1px solid var(--mobileacbec-line);
  margin-left: 13px;
}

.mobileacbec-steps li:last-child { padding-bottom: 2px; border-left-color: transparent; }

.mobileacbec-steps li::before {
  content: counter(mobileacbec-step);
  position: absolute;
  left: -14px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mobileacbec-canvas-deep);
  border: 1px solid var(--mobileacbec-mint);
  color: var(--mobileacbec-mint);
  font-family: var(--mobileacbec-font-head);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobileacbec-steps b {
  font-family: var(--mobileacbec-font-head);
  font-weight: 700;
  color: var(--mobileacbec-ink);
}

.mobileacbec-steps p { font-size: 13.5px; color: var(--mobileacbec-ink-soft); margin: 3px 0 0; }

/* ---------- decision checklist ---------- */
.mobileacbec-gate {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.mobileacbec-gate li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--mobileacbec-line);
  border-radius: var(--mobileacbec-radius-tight);
  background: rgba(49, 68, 90, 0.4);
  padding: 10px 11px;
  font-size: 13.5px;
  color: var(--mobileacbec-ink-soft);
}

.mobileacbec-gate li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1px solid var(--mobileacbec-mint);
  border-radius: 4px;
  background:
    linear-gradient(135deg, transparent 42%, var(--mobileacbec-mint) 44%, var(--mobileacbec-mint) 58%, transparent 60%) center / 12px 12px no-repeat,
    var(--mobileacbec-canvas-deep);
}

.mobileacbec-gate b { color: var(--mobileacbec-ink); font-weight: 700; }

/* ---------- scenario cards ---------- */
.mobileacbec-scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 396px) {
  .mobileacbec-scenes { grid-template-columns: 1fr 1fr; }
}

.mobileacbec-scene {
  border: 1px solid var(--mobileacbec-line);
  border-top: 3px solid var(--mobileacbec-blush);
  border-radius: var(--mobileacbec-radius-tight);
  background: rgba(49, 68, 90, 0.4);
  padding: 11px 12px;
}

.mobileacbec-scene h3 {
  font-size: 14px;
  margin: 0 0 6px;
}

.mobileacbec-scene p {
  font-size: 13px;
  color: var(--mobileacbec-ink-soft);
  margin: 0;
}

/* ---------- RTP meter rows ---------- */
.mobileacbec-meters {
  display: grid;
  gap: 9px;
  margin: 4px 0 14px;
}

.mobileacbec-meter {
  border: 1px solid var(--mobileacbec-line);
  border-radius: var(--mobileacbec-radius-tight);
  background: rgba(36, 50, 64, 0.55);
  padding: 9px 11px;
}

.mobileacbec-metertop {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}

.mobileacbec-metertop b { font-family: var(--mobileacbec-font-head); font-weight: 700; }

.mobileacbec-metertop em {
  font-style: normal;
  font-family: var(--mobileacbec-font-head);
  font-weight: 800;
  color: var(--mobileacbec-mint);
  font-size: 13.5px;
}

.mobileacbec-meterbar {
  height: 6px;
  border-radius: 3px;
  background: rgba(105, 105, 105, 0.55);
  margin-top: 7px;
  overflow: hidden;
}

.mobileacbec-meterbar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mobileacbec-mint), var(--mobileacbec-blush));
}

.mobileacbec-meter small {
  display: block;
  font-size: 11px;
  color: var(--mobileacbec-mute);
  margin-top: 6px;
}

/* ---------- compact definition rows ---------- */
.mobileacbec-terms {
  margin: 10px 0 14px;
  display: grid;
  gap: 7px;
}

.mobileacbec-term {
  border: 1px solid var(--mobileacbec-line);
  border-left: 3px solid var(--mobileacbec-blush);
  border-radius: var(--mobileacbec-radius-tight);
  background: rgba(36, 50, 64, 0.55);
  padding: 8px 10px;
}

.mobileacbec-term dt {
  font-family: var(--mobileacbec-font-head);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--mobileacbec-ink);
}

.mobileacbec-term dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--mobileacbec-ink-soft);
  line-height: 1.5;
}

.mobileacbec-qa {
  font-size: 13.5px;
  color: var(--mobileacbec-ink-soft);
  margin: 0 0 10px;
}

.mobileacbec-qa b {
  color: var(--mobileacbec-blush);
  font-family: var(--mobileacbec-font-head);
  font-weight: 700;
}

/* ---------- prose notes ---------- */
.mobileacbec-note {
  border: 1px dashed var(--mobileacbec-line-strong);
  border-radius: var(--mobileacbec-radius-tight);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--mobileacbec-mute);
  background: rgba(26, 37, 48, 0.4);
}

/* ---------- extended footer: promo quay + directory ---------- */
.mobileacbec-quay {
  border: 1px solid var(--mobileacbec-line-strong);
  border-radius: var(--mobileacbec-radius);
  background: linear-gradient(180deg, rgba(49, 68, 90, 0.75), rgba(36, 50, 64, 0.75));
  padding: 14px 12px 12px;
  margin: 30px 0 24px;
}

.mobileacbec-quay h2 { font-size: 18px; }

.mobileacbec-promoset {
  display: grid;
  gap: 9px;
  margin: 12px 0 16px;
}

.mobileacbec-promoitem {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: var(--mobileacbec-radius-tight);
  font-family: var(--mobileacbec-font-head);
  font-weight: 700;
  font-size: 13.5px;
  text-align: left;
  transition: filter 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.mobileacbec-promoitem svg { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }

.mobileacbec-promoitem.mobileacbec-solid {
  background: var(--mobileacbec-mint);
  color: var(--mobileacbec-mint-ink);
  box-shadow: inset 0 -3px 0 rgba(20, 49, 42, 0.35);
}

.mobileacbec-promoitem.mobileacbec-outline {
  background: transparent;
  border: 1px solid var(--mobileacbec-blush);
  color: var(--mobileacbec-blush);
}

.mobileacbec-promoitem.mobileacbec-quiet {
  background: rgba(26, 37, 48, 0.6);
  border: 1px solid var(--mobileacbec-line);
  color: var(--mobileacbec-ink-soft);
}

.mobileacbec-promoitem:active { transform: translateY(1px); filter: brightness(1.08); }

.mobileacbec-brandblurb {
  font-size: 13px;
  color: var(--mobileacbec-ink-soft);
  border-top: 1px solid var(--mobileacbec-line);
  padding-top: 12px;
  margin-bottom: 14px;
}

.mobileacbec-directory {
  columns: 2;
  column-gap: 16px;
  border-top: 1px solid var(--mobileacbec-line);
  padding-top: 12px;
}

.mobileacbec-directory h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mobileacbec-mint);
  column-span: all;
  margin-bottom: 8px;
}

.mobileacbec-directory ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}

.mobileacbec-directory li {
  margin: 0 0 9px;
  break-inside: avoid;
}

.mobileacbec-directory a {
  display: block;
  font-family: var(--mobileacbec-font-head);
  font-weight: 700;
  font-size: 12.5px;
  border-bottom: 0;
}

.mobileacbec-directory a::after {
  content: " \203A";
  color: var(--mobileacbec-blush);
}

.mobileacbec-directory small {
  display: block;
  color: var(--mobileacbec-mute);
  font-size: 11px;
  line-height: 1.4;
  margin-top: 1px;
}

.mobileacbec-disclaimer {
  border-top: 1px solid var(--mobileacbec-line);
  margin-top: 12px;
  padding-top: 10px;
  font-size: 11.5px;
  color: var(--mobileacbec-mute);
  line-height: 1.55;
}

/* ---------- common footer ---------- */
.mobileacbec-footer {
  border-top: 1px solid var(--mobileacbec-line-strong);
  background: var(--mobileacbec-canvas-deep);
  padding: 14px var(--mobileacbec-gutter) 12px;
  text-align: center;
  font-size: 11.5px;
  color: var(--mobileacbec-mute);
}

.mobileacbec-footer b {
  color: var(--mobileacbec-ink-soft);
  font-weight: 700;
}

/* ---------- fixed layered bottom bar ---------- */
.mobileacbec-bottombar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: linear-gradient(180deg, #202f3d 0%, #1a2530 100%);
  border-top: 2px solid var(--mobileacbec-mint);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobileacbec-bottomnav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--mobileacbec-bottombar-h);
}

.mobileacbec-bnav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--mobileacbec-mute);
  position: relative;
  border-bottom: 0;
}

.mobileacbec-bnav svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  opacity: 0.85;
  transition: transform 0.18s ease;
}

.mobileacbec-bnavlabel {
  font-family: var(--mobileacbec-font-head);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.78;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.mobileacbec-bnav:active svg { transform: translateY(-2px) scale(1.06); }
.mobileacbec-bnav:active .mobileacbec-bnavlabel { opacity: 1; }

.mobileacbec-bnav.mobileacbec-live {
  color: var(--mobileacbec-ink);
}

.mobileacbec-bnav.mobileacbec-live svg { fill: var(--mobileacbec-mint); opacity: 1; }

.mobileacbec-bnav.mobileacbec-live::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--mobileacbec-blush);
}

.mobileacbec-bnav.mobileacbec-live .mobileacbec-bnavlabel {
  color: var(--mobileacbec-blush);
  opacity: 1;
  font-weight: 700;
}

.mobileacbec-bnav.mobileacbec-float {
  color: var(--mobileacbec-blush);
}

.mobileacbec-bnav.mobileacbec-float svg { fill: var(--mobileacbec-blush); opacity: 1; }

/* ---------- restrained reveal feedback ---------- */
.mobileacbec-reveal {
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mobileacbec-reveal.mobileacbec-on {
  opacity: 1;
  transform: none;
}

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

/* ---------- narrow tuning ---------- */
@media (max-width: 339px) {
  .mobileacbec-grid { grid-template-columns: repeat(4, 1fr); }
  .mobileacbec-facts { grid-template-columns: 1fr 1fr; }
  .mobileacbec-directory { columns: 1; }
}

/* ---------- motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }

  .mobileacbec-reveal { opacity: 1; transform: none; }
}
