/* ==========================================================================
   111bdt.click - shared mobile layers
   Class prefix : mobileefed8-
   Palette      : #4169E1 / #2C3E50 / #6495ED / #87CEEB (dark bg, light text)
   Design tone  : bold short headings + light body, stroke-led corners,
                  horizontal icon-name game bars, scenario-branch rhythm,
                  motion budget on key CTAs only, compact dual button pairs.
   Canvas       : 320-430px phone frame, centered on wide screens (430 max).
   ========================================================================== */

:root {
  --mobileefed8-bg: #2C3E50;
  --mobileefed8-bg-deep: #22303F;
  --mobileefed8-bg-ink: #1B2733;
  --mobileefed8-panel: rgba(65, 105, 225, 0.10);
  --mobileefed8-panel-strong: rgba(65, 105, 225, 0.18);
  --mobileefed8-royal: #4169E1;
  --mobileefed8-corn: #6495ED;
  --mobileefed8-sky: #87CEEB;
  --mobileefed8-text: #EAF4FD;
  --mobileefed8-muted: #A9C4DE;
  --mobileefed8-line: rgba(135, 206, 235, 0.22);
  --mobileefed8-line-soft: rgba(135, 206, 235, 0.13);
  --mobileefed8-radius: 10px;
  --mobileefed8-radius-sm: 7px;
  --mobileefed8-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Kalpurush", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mobileefed8-head-h: 56px;
  --mobileefed8-nav-h: 60px;
}

* { box-sizing: border-box; }

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

html.mobileefed8-lock,
html.mobileefed8-lock body { overflow: hidden; }

body {
  margin: 0;
  padding: 0;
  background: var(--mobileefed8-bg-ink);
  color: var(--mobileefed8-text);
  font-family: var(--mobileefed8-font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--mobileefed8-sky); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--mobileefed8-sky);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Phone canvas (max 430px, centered on desktop)
   -------------------------------------------------------------------------- */

.mobileefed8-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(100, 149, 237, 0.16) 0%, rgba(44, 62, 80, 0) 62%),
    var(--mobileefed8-bg);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.mobileefed8-main {
  padding: calc(var(--mobileefed8-head-h) + 10px) 14px calc(var(--mobileefed8-nav-h) + 26px);
}

/* --------------------------------------------------------------------------
   Fixed functional header (edge aligned)
   -------------------------------------------------------------------------- */

.mobileefed8-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(27, 39, 51, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mobileefed8-line);
}

.mobileefed8-headerbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--mobileefed8-head-h);
  padding: 8px 12px;
}

.mobileefed8-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mobileefed8-logo {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: var(--mobileefed8-radius-sm);
  border: 1px solid var(--mobileefed8-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.mobileefed8-brandname {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--mobileefed8-text);
  white-space: nowrap;
}

.mobileefed8-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.mobileefed8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: var(--mobileefed8-radius-sm);
  border: 1px solid var(--mobileefed8-royal);
  background: var(--mobileefed8-royal);
  color: #F2F7FF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.mobileefed8-btn:hover { filter: brightness(1.1); text-decoration: none; }

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

.mobileefed8-btn--ghost {
  background: transparent;
  border-color: var(--mobileefed8-line);
  color: var(--mobileefed8-sky);
}

.mobileefed8-btn--mini { padding: 6px 10px; font-size: 12px; min-height: 34px; }

.mobileefed8-btn--wide { width: 100%; }

.mobileefed8-btn--sky {
  background: linear-gradient(135deg, var(--mobileefed8-royal), var(--mobileefed8-corn));
  border-color: var(--mobileefed8-corn);
}

.mobileefed8-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--mobileefed8-radius-sm);
  border: 1px solid var(--mobileefed8-line);
  background: var(--mobileefed8-panel);
  color: var(--mobileefed8-sky);
  cursor: pointer;
}

.mobileefed8-menubtn svg { display: block; }

.mobileefed8-duo {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mobileefed8-duo .mobileefed8-btn { flex: 1 1 140px; }

/* --------------------------------------------------------------------------
   Side drawer menu
   -------------------------------------------------------------------------- */

.mobileefed8-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 16, 24, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobileefed8-overlay.mobileefed8-open { opacity: 1; visibility: visible; }

.mobileefed8-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(82vw, 320px);
  max-width: 430px;
  background: var(--mobileefed8-bg-deep);
  border-left: 1px solid var(--mobileefed8-line);
  transform: translateX(102%);
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobileefed8-drawer.mobileefed8-open { transform: translateX(0); }

.mobileefed8-drawerhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mobileefed8-line-soft);
}

.mobileefed8-drawerhead span { font-weight: 700; font-size: 15px; }

.mobileefed8-drawerclose {
  width: 36px;
  height: 36px;
  border-radius: var(--mobileefed8-radius-sm);
  border: 1px solid var(--mobileefed8-line);
  background: transparent;
  color: var(--mobileefed8-sky);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.mobileefed8-drawergroup { padding: 12px 16px 4px; }

.mobileefed8-drawerlabel {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--mobileefed8-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mobileefed8-drawerlist {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.mobileefed8-drawerlist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--mobileefed8-radius-sm);
  color: var(--mobileefed8-text);
  font-size: 14px;
  font-weight: 400;
}

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

.mobileefed8-drawerlist a:hover,
.mobileefed8-drawerlist a:focus-visible {
  background: var(--mobileefed8-panel);
  border-color: var(--mobileefed8-line-soft);
  text-decoration: none;
}

.mobileefed8-drawerlist a[aria-current="page"] {
  border-color: var(--mobileefed8-line);
  background: var(--mobileefed8-panel-strong);
  color: var(--mobileefed8-sky);
  font-weight: 700;
}

.mobileefed8-drawerfoot {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--mobileefed8-line-soft);
}

.mobileefed8-drawerfoot .mobileefed8-duo { flex-direction: column; }
.mobileefed8-drawerfoot .mobileefed8-btn { flex: 1 1 auto; width: 100%; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.mobileefed8-hero {
  padding: 6px 2px 4px;
}

.mobileefed8-hero h1 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.mobileefed8-herosub {
  margin: 0 0 12px;
  color: var(--mobileefed8-muted);
  font-size: 13.5px;
}

.mobileefed8-herostats {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mobileefed8-herostats::-webkit-scrollbar { display: none; }

.mobileefed8-stat {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: var(--mobileefed8-radius-sm);
  background: var(--mobileefed8-panel);
  padding: 5px 10px;
  font-size: 11.5px;
  color: var(--mobileefed8-sky);
  white-space: nowrap;
}

.mobileefed8-stat b { color: var(--mobileefed8-text); font-weight: 700; }

/* --------------------------------------------------------------------------
   Quick jump chips (horizontal scroll)
   -------------------------------------------------------------------------- */

.mobileefed8-chips {
  display: flex;
  gap: 8px;
  margin: 4px 0 6px;
  padding: 2px 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.mobileefed8-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid var(--mobileefed8-line);
  border-radius: 999px;
  background: transparent;
  color: var(--mobileefed8-sky);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 400;
  cursor: pointer;
}

.mobileefed8-chip:hover { text-decoration: none; background: var(--mobileefed8-panel); }

.mobileefed8-chip--solid {
  background: var(--mobileefed8-panel-strong);
  border-color: var(--mobileefed8-corn);
  color: var(--mobileefed8-text);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Banner carousel
   -------------------------------------------------------------------------- */

.mobileefed8-carousel {
  margin: 10px 0 4px;
  border: 1px solid var(--mobileefed8-line);
  border-radius: var(--mobileefed8-radius);
  overflow: hidden;
  background: var(--mobileefed8-bg-deep);
}

.mobileefed8-cviewport { overflow: hidden; }

.mobileefed8-ctrack {
  display: flex;
  width: 300%;
  transition: transform 0.45s ease;
}

.mobileefed8-cslide {
  width: 33.3333%;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}

.mobileefed8-cslide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.mobileefed8-cdots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 10px;
}

.mobileefed8-dot {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid var(--mobileefed8-line);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.mobileefed8-dot.mobileefed8-dot-on {
  background: linear-gradient(90deg, var(--mobileefed8-royal), var(--mobileefed8-sky));
  border-color: var(--mobileefed8-corn);
}

/* --------------------------------------------------------------------------
   Content sections
   -------------------------------------------------------------------------- */

.mobileefed8-sec {
  margin: 26px 0;
  scroll-margin-top: calc(var(--mobileefed8-head-h) + 10px);
}

.mobileefed8-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mobileefed8-sky);
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 7px;
  background: var(--mobileefed8-panel);
}

.mobileefed8-sec h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--mobileefed8-text);
}

.mobileefed8-secnote {
  margin: 0 0 12px;
  color: var(--mobileefed8-muted);
  font-size: 13px;
}

.mobileefed8-secnote a { font-weight: 700; }

.mobileefed8-prose p { margin: 0 0 10px; color: var(--mobileefed8-muted); font-size: 13.5px; }
.mobileefed8-prose p strong,
.mobileefed8-prose p b { color: var(--mobileefed8-text); font-weight: 700; }
.mobileefed8-prose ul,
.mobileefed8-prose ol { margin: 0 0 10px; padding-left: 20px; color: var(--mobileefed8-muted); font-size: 13.5px; }
.mobileefed8-prose li { margin-bottom: 5px; }
.mobileefed8-prose h3 {
  margin: 14px 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mobileefed8-text);
}

/* --------------------------------------------------------------------------
   Game grids - horizontal icon-name bars (2 columns)
   -------------------------------------------------------------------------- */

.mobileefed8-gridbars {
  list-style: none;
  margin: 0 -2px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobileefed8-gamebar .mobileefed8-gamebtn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 62px;
  padding: 8px;
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: var(--mobileefed8-radius);
  background: var(--mobileefed8-panel);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.mobileefed8-gamebar .mobileefed8-gamebtn:active {
  border-color: var(--mobileefed8-corn);
  background: var(--mobileefed8-panel-strong);
}

.mobileefed8-gamebar .mobileefed8-gamebtn:hover { border-color: var(--mobileefed8-line); text-decoration: none; }

.mobileefed8-gamebar .mobileefed8-gamebar-img {
  width: 44px;
  height: 44px;
  border-radius: var(--mobileefed8-radius-sm);
  object-fit: cover;
  border: 1px solid var(--mobileefed8-line-soft);
  flex: 0 0 auto;
  background: var(--mobileefed8-bg-deep);
}

/* --------------------------------------------------------------------------
   Game grids - compact icon tiles (4 columns, 5 on wider phones)
   -------------------------------------------------------------------------- */

.mobileefed8-gridtiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mobileefed8-gametile .mobileefed8-gamebtn {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: var(--mobileefed8-radius);
  background: var(--mobileefed8-panel);
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.mobileefed8-gametile .mobileefed8-gamebtn:active { border-color: var(--mobileefed8-corn); }

.mobileefed8-gametile .mobileefed8-gametile-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--mobileefed8-bg-deep);
}

.mobileefed8-gametitle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--mobileefed8-text);
}

.mobileefed8-gametile .mobileefed8-gametitle {
  padding: 5px 6px 7px;
  text-align: center;
  font-size: 11px;
}

.mobileefed8-seemore {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--mobileefed8-muted);
}

.mobileefed8-seemore a { font-weight: 700; }

/* --------------------------------------------------------------------------
   Promo cards (scenario blocks, checklists, winners, quotes)
   -------------------------------------------------------------------------- */

.mobileefed8-promogrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 4px;
}

.mobileefed8-promocard {
  border: 1px solid var(--mobileefed8-line-soft);
  border-left: 3px solid var(--mobileefed8-corn);
  border-radius: var(--mobileefed8-radius);
  background: var(--mobileefed8-panel);
  padding: 12px 13px;
}

.mobileefed8-promocard h3 {
  margin: 0 0 5px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mobileefed8-text);
}

.mobileefed8-promocard p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--mobileefed8-muted);
}

.mobileefed8-promocard .mobileefed8-btn { min-height: 40px; }

.mobileefed8-branchlist {
  list-style: none;
  margin: 10px 0 4px;
  padding: 0;
}

.mobileefed8-branchitem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: var(--mobileefed8-radius);
  background: var(--mobileefed8-panel);
  padding: 11px 12px;
  margin-bottom: 8px;
}

.mobileefed8-branchitem b {
  display: block;
  color: var(--mobileefed8-text);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.mobileefed8-branchitem span { color: var(--mobileefed8-muted); font-size: 12.5px; }

.mobileefed8-branchmark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: var(--mobileefed8-radius-sm);
  border: 1px solid var(--mobileefed8-line);
  background: var(--mobileefed8-bg-deep);
  color: var(--mobileefed8-sky);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobileefed8-quotelist { list-style: none; margin: 12px 0 4px; padding: 0; }

.mobileefed8-quote {
  margin: 0 0 10px;
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: var(--mobileefed8-radius);
  background: var(--mobileefed8-panel);
  padding: 11px 12px;
}

.mobileefed8-quotebar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}

.mobileefed8-quotetile {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: var(--mobileefed8-radius-sm);
  border: 1px solid var(--mobileefed8-line);
  background: var(--mobileefed8-bg-deep);
  color: var(--mobileefed8-sky);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobileefed8-quote blockquote {
  margin: 0;
  font-size: 13px;
  color: var(--mobileefed8-muted);
}

.mobileefed8-quote figcaption {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--mobileefed8-sky);
}

.mobileefed8-winners {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: var(--mobileefed8-radius);
  overflow: hidden;
}

.mobileefed8-winners li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 2px 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--mobileefed8-line-soft);
  background: var(--mobileefed8-panel);
}

.mobileefed8-winners li:last-child { border-bottom: 0; }

.mobileefed8-winname { font-weight: 700; color: var(--mobileefed8-text); font-size: 12.5px; }
.mobileefed8-wingame { color: var(--mobileefed8-sky); font-size: 12px; grid-row: 1; grid-column: 2; }
.mobileefed8-winnote { grid-column: 1 / -1; color: var(--mobileefed8-muted); font-size: 11.5px; }

.mobileefed8-note {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--mobileefed8-muted);
  border-left: 3px solid var(--mobileefed8-line);
  padding-left: 10px;
}

.mobileefed8-steps { margin: 10px 0 4px; padding-left: 0; list-style: none; counter-reset: mobileefed8step; }

.mobileefed8-steps li {
  counter-increment: mobileefed8step;
  position: relative;
  padding: 0 0 10px 34px;
  color: var(--mobileefed8-muted);
  font-size: 13px;
}

.mobileefed8-steps li::before {
  content: counter(mobileefed8step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: var(--mobileefed8-radius-sm);
  border: 1px solid var(--mobileefed8-line);
  background: var(--mobileefed8-bg-deep);
  color: var(--mobileefed8-sky);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobileefed8-answer {
  border: 1px solid var(--mobileefed8-line);
  border-radius: var(--mobileefed8-radius);
  background: var(--mobileefed8-panel-strong);
  padding: 11px 12px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--mobileefed8-text);
}

.mobileefed8-answer b { color: var(--mobileefed8-sky); }

/* --------------------------------------------------------------------------
   Extended footer (brand > promo actions > directory > disclaimer)
   -------------------------------------------------------------------------- */

.mobileefed8-extfoot {
  margin-top: 30px;
  border-top: 1px solid var(--mobileefed8-line);
  padding-top: 18px;
}

.mobileefed8-extfoot h2 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 700;
}

.mobileefed8-extbrand {
  margin: 0 0 16px;
  font-size: 12.5px;
  color: var(--mobileefed8-muted);
}

.mobileefed8-extpromo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.mobileefed8-extpromo .mobileefed8-btn { flex: 1 1 44%; min-height: 40px; font-size: 12px; padding: 7px 8px; }

.mobileefed8-extdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin: 10px 0 16px;
  list-style: none;
  padding: 0;
}

.mobileefed8-extdir a {
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: var(--mobileefed8-radius-sm);
  color: var(--mobileefed8-text);
  font-size: 12.5px;
  background: var(--mobileefed8-panel);
}

.mobileefed8-extdir a:hover { border-color: var(--mobileefed8-line); text-decoration: none; }

.mobileefed8-extdisc {
  font-size: 11.5px;
  color: var(--mobileefed8-muted);
  border: 1px dashed var(--mobileefed8-line);
  border-radius: var(--mobileefed8-radius-sm);
  padding: 10px 12px;
}

/* --------------------------------------------------------------------------
   Common footer
   -------------------------------------------------------------------------- */

.mobileefed8-footer {
  text-align: center;
  padding: 14px 10px 6px;
  border-top: 1px solid var(--mobileefed8-line-soft);
  font-size: 11.5px;
  color: var(--mobileefed8-muted);
}

.mobileefed8-footer b { color: var(--mobileefed8-sky); font-weight: 700; }

/* --------------------------------------------------------------------------
   Bottom segmented action bar (5 roles, top indicator line)
   -------------------------------------------------------------------------- */

.mobileefed8-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 75;
  display: flex;
  background: rgba(24, 35, 47, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--mobileefed8-line);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobileefed8-navind {
  position: absolute;
  top: -1px;
  left: 0;
  width: 20%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--mobileefed8-royal), var(--mobileefed8-sky));
  transition: transform 0.25s ease;
}

.mobileefed8-navitem {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobileefed8-nav-h);
  padding: 8px 2px 9px;
  border: 0;
  background: none;
  color: var(--mobileefed8-muted);
  font-family: inherit;
  font-size: 10.5px;
  cursor: pointer;
  text-decoration: none;
}

.mobileefed8-navitem:hover { text-decoration: none; }

.mobileefed8-navtile {
  width: 32px;
  height: 32px;
  border-radius: var(--mobileefed8-radius-sm);
  border: 1px solid var(--mobileefed8-line-soft);
  background: var(--mobileefed8-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mobileefed8-muted);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.mobileefed8-navitem:active .mobileefed8-navtile { transform: scale(0.93); }

.mobileefed8-navitem[aria-current="page"],
.mobileefed8-navitem.mobileefed8-navon {
  color: var(--mobileefed8-sky);
  font-weight: 700;
}

.mobileefed8-navitem[aria-current="page"] .mobileefed8-navtile,
.mobileefed8-navitem.mobileefed8-navon .mobileefed8-navtile {
  border-color: var(--mobileefed8-corn);
  color: var(--mobileefed8-sky);
  background: var(--mobileefed8-panel-strong);
}

.mobileefed8-navitem svg { display: block; }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */

.mobileefed8-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Responsive tuning inside the 320-430px phone canvas
   -------------------------------------------------------------------------- */

@media (min-width: 360px) {
  .mobileefed8-gridbars { gap: 9px; }
  .mobileefed8-hero h1 { font-size: 24px; }
}

@media (min-width: 390px) {
  .mobileefed8-gridtiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .mobileefed8-gametile .mobileefed8-gametitle { font-size: 10.5px; }
  .mobileefed8-hero h1 { font-size: 25px; }
  .mobileefed8-sec h2 { font-size: 19px; }
}

@media (min-width: 430px) {
  .mobileefed8-canvas { border-left: 1px solid var(--mobileefed8-line-soft); border-right: 1px solid var(--mobileefed8-line-soft); }
}

/* Honor reduced-motion preferences for slide and indicator transitions */
@media (prefers-reduced-motion: reduce) {
  .mobileefed8-ctrack,
  .mobileefed8-navind,
  .mobileefed8-drawer,
  .mobileefed8-overlay { transition: none; }
  .mobileefed8-btn:active,
  .mobileefed8-navitem:active .mobileefed8-navtile { transform: none; }
}

/* Help pages use a reading rail without changing the compact game language. */
.mobileefed8-readingrail {
  border-left: 2px solid var(--mobileefed8-corn);
  padding: 4px 0 4px 14px;
  margin: 12px 0 18px;
}

.mobileefed8-readingrail p { margin-bottom: 8px; }

.mobileefed8-checklist {
  list-style: none;
  margin: 10px 0 4px;
  padding: 0;
}

.mobileefed8-checklist li {
  position: relative;
  margin-bottom: 8px;
  padding: 10px 12px 10px 38px;
  border: 1px solid var(--mobileefed8-line-soft);
  border-radius: var(--mobileefed8-radius-sm);
  background: var(--mobileefed8-panel);
  color: var(--mobileefed8-muted);
  font-size: 13px;
}

.mobileefed8-checklist li::before {
  content: "✓";
  position: absolute;
  left: 11px;
  top: 10px;
  width: 19px;
  height: 19px;
  border: 1px solid var(--mobileefed8-line);
  border-radius: 50%;
  color: var(--mobileefed8-sky);
  font-size: 12px;
  line-height: 17px;
  text-align: center;
}

.mobileefed8-choice {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: start;
  margin: 9px 0;
  padding: 10px;
  border-top: 1px solid var(--mobileefed8-line-soft);
}

.mobileefed8-choice:first-child { border-top: 0; }
.mobileefed8-choice strong { color: var(--mobileefed8-sky); font-size: 12px; }
.mobileefed8-choice span { color: var(--mobileefed8-muted); font-size: 13px; }

.mobileefed8-faq details {
  border-bottom: 1px solid var(--mobileefed8-line-soft);
  padding: 10px 0;
}

.mobileefed8-faq summary {
  cursor: pointer;
  color: var(--mobileefed8-text);
  font-weight: 700;
  font-size: 13.5px;
}

.mobileefed8-faq details p { margin: 7px 0 0; }

.mobileefed8-pageintro {
  padding: 12px 13px;
  border: 1px solid var(--mobileefed8-line);
  border-radius: var(--mobileefed8-radius);
  background: linear-gradient(135deg, var(--mobileefed8-panel-strong), rgba(135, 206, 235, 0.06));
}

.mobileefed8-pageintro p { margin: 0; color: var(--mobileefed8-muted); font-size: 13.5px; }

.mobileefed8-promo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 3px 0 7px;
  scrollbar-width: none;
}

.mobileefed8-promo-strip::-webkit-scrollbar { display: none; }
.mobileefed8-promo-strip .mobileefed8-btn { flex: 0 0 auto; min-width: 132px; }

@media (max-width: 350px) {
  .mobileefed8-headerbar { padding-left: 8px; padding-right: 8px; }
  .mobileefed8-actions { gap: 4px; }
  .mobileefed8-btn--mini { padding-left: 7px; padding-right: 7px; }
  .mobileefed8-brandname { font-size: 16px; }
}
