/* =====================================================================
   joining.cyou — base stylesheet (mobileade4d- prefix)
   Mobile-first phone canvas: 320-430px, centered on wide screens.
   Palette: #212F3D dark base / #F0F0F0 light ink / #FDF5E6 cream accent.
   Visual language: poster headings + narrow body, stroke-led restrained
   rounding, compact square game catalog, layered bottom bar.
   ===================================================================== */

/* ---------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------- */
:root {
  --mobileade4d-bg: #212F3D;
  --mobileade4d-bg-deep: #182430;
  --mobileade4d-surface: #293A4B;
  --mobileade4d-surface-soft: #243545;
  --mobileade4d-ink: #F0F0F0;
  --mobileade4d-cream: #FDF5E6;
  --mobileade4d-cream-dim: rgba(253, 245, 230, 0.82);
  --mobileade4d-muted: rgba(240, 240, 240, 0.64);
  --mobileade4d-faint: rgba(240, 240, 240, 0.42);
  --mobileade4d-line: rgba(240, 240, 240, 0.16);
  --mobileade4d-line-strong: rgba(240, 240, 240, 0.28);
  --mobileade4d-line-cream: rgba(253, 245, 230, 0.34);
  --mobileade4d-shadow: 0 10px 26px rgba(10, 16, 22, 0.45);
  --mobileade4d-radius-s: 6px;
  --mobileade4d-radius-m: 8px;
  --mobileade4d-radius-l: 12px;
  --mobileade4d-font: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mobileade4d-tap: 44px;
  --mobileade4d-ease: cubic-bezier(0.32, 0.72, 0.35, 1);
}

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

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

body {
  margin: 0;
  padding: 0;
  background: var(--mobileade4d-bg-deep);
  color: var(--mobileade4d-ink);
  font-family: var(--mobileade4d-font);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.1px;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--mobileade4d-cream);
  text-decoration: none;
  transition: color 0.25s var(--mobileade4d-ease);
}

a:hover,
a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

h1,
h2,
h3 {
  /* poster-feel headings: heavy, tight, cream */
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.2px;
  color: var(--mobileade4d-cream);
  text-wrap: balance;
}

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

::selection {
  background: var(--mobileade4d-cream);
  color: var(--mobileade4d-bg-deep);
}

/* ---------------------------------------------------------------
   3. Phone canvas shell — stays centered when the screen widens
   --------------------------------------------------------------- */
.mobileade4d-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--mobileade4d-bg);
  min-height: 100vh;
  overflow-x: clip;
}

@media (min-width: 430px) {
  .mobileade4d-shell {
    box-shadow: 0 0 0 1px var(--mobileade4d-line), 0 0 44px rgba(6, 10, 14, 0.55);
  }
}

/* ---------------------------------------------------------------
   4. Top bar — edge-aligned functional header
   --------------------------------------------------------------- */
.mobileade4d-topwrap {
  position: sticky;
  top: 0;
  z-index: 60;
}

.mobileade4d-topbar {
  background: linear-gradient(180deg, #243343 0%, var(--mobileade4d-bg) 100%);
  border-bottom: 1px solid var(--mobileade4d-line);
}

.mobileade4d-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  padding: 9px 12px 9px 14px;
}

.mobileade4d-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--mobileade4d-tap);
  flex-shrink: 1;
  min-width: 0;
}

.mobileade4d-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--mobileade4d-radius-s);
  border: 1px solid var(--mobileade4d-line-cream);
  object-fit: cover;
  flex-shrink: 0;
}

.mobileade4d-brandname {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--mobileade4d-cream);
  line-height: 1;
  white-space: nowrap;
}

.mobileade4d-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

/* compact dual-button group (CTA shape direction) */
.mobileade4d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--mobileade4d-radius-s);
  border: 1px solid transparent;
  transition: background-color 0.25s var(--mobileade4d-ease),
    color 0.25s var(--mobileade4d-ease),
    border-color 0.25s var(--mobileade4d-ease),
    transform 0.2s var(--mobileade4d-ease);
}

.mobileade4d-btn:active {
  transform: scale(0.97);
}

.mobileade4d-btn-register {
  background: var(--mobileade4d-cream);
  color: #1D2A36;
  border-color: var(--mobileade4d-cream);
}

.mobileade4d-btn-register:hover,
.mobileade4d-btn-register:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #16212B;
}

.mobileade4d-btn-login {
  background: transparent;
  color: var(--mobileade4d-cream);
  border-color: var(--mobileade4d-line-cream);
}

.mobileade4d-btn-login:hover,
.mobileade4d-btn-login:focus-visible {
  border-color: var(--mobileade4d-cream);
  color: #ffffff;
}

/* burger trigger — filled icon with restrained inactive state */
.mobileade4d-menubtn {
  width: 38px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-s);
  color: var(--mobileade4d-muted);
  transition: color 0.25s var(--mobileade4d-ease),
    border-color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-menubtn:hover,
.mobileade4d-menubtn:focus-visible {
  color: var(--mobileade4d-cream);
  border-color: var(--mobileade4d-line-strong);
}

.mobileade4d-menubtn svg {
  width: 20px;
  height: 20px;
}

/* icon micro-change: lines fade into an X when the panel is open */
.mobileade4d-menubtn .mobileade4d-bunmid {
  transition: opacity 0.2s var(--mobileade4d-ease), transform 0.25s var(--mobileade4d-ease);
}

.mobileade4d-menubtn.mobileade4d-is-open .mobileade4d-buntop {
  transform: translate(2px, 1px) rotate(38deg);
}

.mobileade4d-menubtn.mobileade4d-is-open .mobileade4d-bunmid {
  opacity: 0;
}

.mobileade4d-menubtn.mobileade4d-is-open .mobileade4d-bunbot {
  transform: translate(2px, -1px) rotate(-38deg);
}

/* ---------------------------------------------------------------
   5. Sectioned menu panel (drops under the top bar)
   --------------------------------------------------------------- */
.mobileade4d-menupanel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1F2C39;
  border-bottom: 1px solid var(--mobileade4d-line-strong);
  box-shadow: var(--mobileade4d-shadow);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.32s var(--mobileade4d-ease),
    visibility 0.32s var(--mobileade4d-ease);
}

.mobileade4d-menupanel.mobileade4d-open {
  max-height: 560px;
  visibility: visible;
}

.mobileade4d-menucol {
  padding: 6px 14px 14px;
}

.mobileade4d-menulabel {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--mobileade4d-faint);
  text-transform: none;
  padding: 10px 2px 5px;
}

.mobileade4d-menulist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobileade4d-menulink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: var(--mobileade4d-tap);
  padding: 9px 10px;
  background: var(--mobileade4d-surface-soft);
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-s);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mobileade4d-ink);
  transition: border-color 0.25s var(--mobileade4d-ease),
    background-color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-menulink:hover,
.mobileade4d-menulink:focus-visible {
  border-color: var(--mobileade4d-line-cream);
  background: #263647;
  text-decoration: none;
}

.mobileade4d-menulink svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--mobileade4d-faint);
  transition: color 0.25s var(--mobileade4d-ease), transform 0.25s var(--mobileade4d-ease);
}

.mobileade4d-menulink:hover svg,
.mobileade4d-menulink:focus-visible svg {
  color: var(--mobileade4d-cream);
  transform: translateX(2px);
}

/* ---------------------------------------------------------------
   6. Main content column and shared section spacing
   --------------------------------------------------------------- */
.mobileade4d-main {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.mobileade4d-section {
  padding: 26px 14px 8px;
}

.mobileade4d-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--mobileade4d-faint);
  margin-bottom: 7px;
}

.mobileade4d-eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--mobileade4d-line-cream);
  border-radius: 2px;
}

.mobileade4d-h2 {
  font-size: 22px;
}

.mobileade4d-lede {
  padding: 26px 14px 6px;
}

/* single H1 — poster scale, matches <title> exactly */
.mobileade4d-h1 {
  font-size: 27px;
  line-height: 1.16;
  margin-bottom: 12px;
}

.mobileade4d-leadtext {
  color: var(--mobileade4d-muted);
  font-size: 14.5px;
  max-width: 40ch;
}

.mobileade4d-bodytext {
  color: var(--mobileade4d-muted);
  font-size: 14.5px;
  margin: 10px 0 4px;
}

.mobileade4d-bodytext strong {
  color: var(--mobileade4d-ink);
  font-weight: 600;
}

/* compact metric strip — dense numbers with one-line explainers */
.mobileade4d-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0 6px;
}

.mobileade4d-metric {
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-m);
  background: var(--mobileade4d-surface-soft);
  padding: 10px 9px 9px;
  text-align: center;
}

.mobileade4d-metricvalue {
  display: block;
  font-size: 21px;
  font-weight: 700;
  color: var(--mobileade4d-cream);
  line-height: 1.1;
  letter-spacing: 0.2px;
}

.mobileade4d-metriclabel {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mobileade4d-muted);
  margin-top: 3px;
}

.mobileade4d-metricnote {
  display: block;
  font-size: 10.5px;
  color: var(--mobileade4d-faint);
  line-height: 1.45;
  margin-top: 3px;
}

/* ---------------------------------------------------------------
   7. Banner carousel — snap track, whole slide is a promo hit area
   --------------------------------------------------------------- */
.mobileade4d-hero {
  margin: 14px 14px 0;
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-l);
  background: var(--mobileade4d-bg-deep);
  overflow: hidden;
}

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

.mobileade4d-carousel::-webkit-scrollbar {
  display: none;
}

.mobileade4d-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--mobileade4d-bg-deep);
  text-align: left;
}

.mobileade4d-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.mobileade4d-slidecaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 14px 11px;
  background: linear-gradient(180deg, rgba(24, 36, 48, 0) 0%, rgba(24, 36, 48, 0.88) 78%);
}

.mobileade4d-slidecaption strong {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--mobileade4d-cream);
  line-height: 1.25;
}

.mobileade4d-slidecaption em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--mobileade4d-muted);
}

.mobileade4d-slidehint {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--mobileade4d-cream);
  background: rgba(24, 36, 48, 0.72);
  border: 1px solid var(--mobileade4d-line-cream);
  border-radius: 999px;
  padding: 4px 10px;
}

.mobileade4d-herodots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 0 10px;
  background: var(--mobileade4d-bg-deep);
}

.mobileade4d-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--mobileade4d-line-strong);
  background: transparent;
  transition: background-color 0.25s var(--mobileade4d-ease),
    border-color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-dot.mobileade4d-dot-on {
  background: var(--mobileade4d-cream);
  border-color: var(--mobileade4d-cream);
}

/* ---------------------------------------------------------------
   8. Category blocks and compact square game grid
   --------------------------------------------------------------- */
.mobileade4d-cathead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.mobileade4d-catcount {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--mobileade4d-cream-dim);
  border: 1px solid var(--mobileade4d-line-cream);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 4px;
  white-space: nowrap;
}

.mobileade4d-catlead {
  color: var(--mobileade4d-muted);
  font-size: 13.5px;
  margin: 8px 0 14px;
  max-width: 44ch;
}

.mobileade4d-gamegrid {
  display: grid;
  /* base phone canvas: 4 stable tracks */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

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

.mobileade4d-gamecard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: var(--mobileade4d-surface-soft);
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-m);
  text-align: center;
  transition: border-color 0.25s var(--mobileade4d-ease),
    background-color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-gamecard:hover,
.mobileade4d-gamecard:focus-visible {
  border-color: var(--mobileade4d-line-cream);
  background: #2A3C4E;
}

.mobileade4d-gamecard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--mobileade4d-radius-s);
  background: var(--mobileade4d-bg-deep);
}

.mobileade4d-gamename {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--mobileade4d-muted);
  min-height: 2.64em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  transition: color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-gamecard:hover .mobileade4d-gamename,
.mobileade4d-gamecard:focus-visible .mobileade4d-gamename {
  color: var(--mobileade4d-cream);
}

/* slim divider between catalog blocks */
.mobileade4d-catdivider {
  border: 0;
  border-top: 1px dashed var(--mobileade4d-line);
  margin: 30px 14px 0;
}

/* ---------------------------------------------------------------
   9. CTA band — compact dual-button group
   --------------------------------------------------------------- */
.mobileade4d-ctaband {
  margin: 28px 14px 0;
  padding: 18px 14px 16px;
  border: 1px solid var(--mobileade4d-line-cream);
  border-radius: var(--mobileade4d-radius-l);
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(253, 245, 230, 0.1) 0%, rgba(253, 245, 230, 0) 55%),
    var(--mobileade4d-surface-soft);
}

.mobileade4d-ctaband .mobileade4d-h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.mobileade4d-ctanote {
  font-size: 13px;
  color: var(--mobileade4d-muted);
  margin-bottom: 14px;
}

.mobileade4d-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobileade4d-btn-cta {
  min-height: var(--mobileade4d-tap);
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 700;
  background: var(--mobileade4d-cream);
  color: #1D2A36;
  border: 1px solid var(--mobileade4d-cream);
  border-radius: var(--mobileade4d-radius-m);
  transition: background-color 0.25s var(--mobileade4d-ease),
    transform 0.2s var(--mobileade4d-ease);
}

.mobileade4d-btn-cta:hover,
.mobileade4d-btn-cta:focus-visible {
  background: #ffffff;
  color: #16212B;
}

.mobileade4d-btn-cta:active {
  transform: scale(0.98);
}

.mobileade4d-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--mobileade4d-tap);
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mobileade4d-cream);
  background: transparent;
  border: 1px solid var(--mobileade4d-line-strong);
  border-radius: var(--mobileade4d-radius-m);
  text-decoration: none;
  transition: border-color 0.25s var(--mobileade4d-ease),
    background-color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-btn-ghost:hover,
.mobileade4d-btn-ghost:focus-visible {
  border-color: var(--mobileade4d-cream);
  background: rgba(253, 245, 230, 0.07);
  text-decoration: none;
}

/* ---------------------------------------------------------------
   10. Promotions block — banner strip plus offer rows
   --------------------------------------------------------------- */
.mobileade4d-promobanner {
  position: relative;
  margin: 14px 0 12px;
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-l);
  overflow: hidden;
}

.mobileade4d-promobanner img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.mobileade4d-promobannertag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mobileade4d-cream);
  background: rgba(24, 36, 48, 0.78);
  border: 1px solid var(--mobileade4d-line-cream);
  border-radius: 999px;
  padding: 4px 10px;
}

.mobileade4d-offers {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobileade4d-offer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 11px 11px 12px;
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-m);
  background: var(--mobileade4d-surface-soft);
}

.mobileade4d-offericon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mobileade4d-radius-s);
  border: 1px solid var(--mobileade4d-line-cream);
  color: var(--mobileade4d-cream);
  background: rgba(253, 245, 230, 0.06);
}

.mobileade4d-offericon svg {
  width: 17px;
  height: 17px;
}

.mobileade4d-offerbody {
  flex: 1;
  min-width: 0;
}

.mobileade4d-offertitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--mobileade4d-ink);
  line-height: 1.35;
}

.mobileade4d-offerdesc {
  font-size: 12.5px;
  color: var(--mobileade4d-muted);
  line-height: 1.5;
  margin-top: 2px;
}

.mobileade4d-offerlink {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobileade4d-cream);
  background: none;
  border: 0;
  padding: 2px 0;
  border-bottom: 1px solid var(--mobileade4d-line-cream);
  transition: color 0.25s var(--mobileade4d-ease),
    border-color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-offerlink:hover,
.mobileade4d-offerlink:focus-visible {
  color: #ffffff;
  border-color: var(--mobileade4d-cream);
}

/* ---------------------------------------------------------------
   11. Pros and limitations — paired compact lists
   --------------------------------------------------------------- */
.mobileade4d-balance {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.mobileade4d-balcard {
  border: 1px solid var(--mobileade4d-line);
  border-left: 3px solid var(--mobileade4d-line-cream);
  border-radius: var(--mobileade4d-radius-m);
  background: var(--mobileade4d-surface-soft);
  padding: 12px 12px 10px;
}

.mobileade4d-balcard-mobileade4d-limit {
  border-left-color: var(--mobileade4d-line-strong);
}

.mobileade4d-baltitle {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mobileade4d-cream);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mobileade4d-baltitle svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.mobileade4d-ballist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobileade4d-ballist li {
  position: relative;
  padding-left: 15px;
  font-size: 12.8px;
  color: var(--mobileade4d-muted);
  line-height: 1.55;
}

.mobileade4d-ballist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--mobileade4d-line-cream);
}

/* ---------------------------------------------------------------
   12. Use-case guidance — numbered scenario rows plus folded Q&A
   --------------------------------------------------------------- */
.mobileade4d-scenes {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
  counter-reset: mobileade4d-scene;
}

.mobileade4d-scene {
  counter-increment: mobileade4d-scene;
  display: flex;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-m);
  background: var(--mobileade4d-surface-soft);
}

.mobileade4d-scenenum {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--mobileade4d-bg-deep);
  background: var(--mobileade4d-cream);
  border-radius: var(--mobileade4d-radius-s);
}

.mobileade4d-scenenum::before {
  content: counter(mobileade4d-scene, decimal-leading-zero);
}

.mobileade4d-scenetitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--mobileade4d-ink);
  line-height: 1.35;
}

.mobileade4d-scenetext {
  font-size: 12.8px;
  color: var(--mobileade4d-muted);
  line-height: 1.58;
  margin-top: 3px;
}

.mobileade4d-qa {
  margin-top: 16px;
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-m);
  background: var(--mobileade4d-surface-soft);
  padding: 4px 13px;
}

.mobileade4d-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--mobileade4d-cream);
  line-height: 1.4;
  margin: 11px 0 4px;
}

.mobileade4d-a {
  font-size: 13px;
  color: var(--mobileade4d-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

/* ---------------------------------------------------------------
   13. Extended footer — sectioned list:
   brand > promotions (5) > page directory > responsible note
   --------------------------------------------------------------- */
.mobileade4d-extended {
  margin-top: 30px;
  border-top: 1px solid var(--mobileade4d-line-strong);
  background: #1D2A37;
  padding: 22px 14px 18px;
}

.mobileade4d-extbrand {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mobileade4d-line);
}

.mobileade4d-extbrand img {
  width: 40px;
  height: 40px;
  border-radius: var(--mobileade4d-radius-s);
  border: 1px solid var(--mobileade4d-line-cream);
  object-fit: cover;
  flex-shrink: 0;
}

.mobileade4d-extbrandname {
  font-size: 17px;
  font-weight: 700;
  color: var(--mobileade4d-cream);
}

.mobileade4d-extbrandtext {
  font-size: 12.3px;
  color: var(--mobileade4d-muted);
  line-height: 1.58;
  margin-top: 3px;
}

.mobileade4d-extlabel {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--mobileade4d-faint);
  margin: 16px 0 9px;
}

.mobileade4d-extpromos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobileade4d-extpromo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--mobileade4d-tap);
  padding: 9px 11px;
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-m);
  background: var(--mobileade4d-surface-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--mobileade4d-ink);
  text-align: left;
  transition: border-color 0.25s var(--mobileade4d-ease),
    background-color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-extpromo:hover,
.mobileade4d-extpromo:focus-visible {
  border-color: var(--mobileade4d-line-cream);
  background: #263647;
}

.mobileade4d-extpromo svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--mobileade4d-cream);
}

.mobileade4d-extpromo--wide {
  grid-column: 1 / -1;
}

.mobileade4d-extdir {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--mobileade4d-line);
  border-radius: var(--mobileade4d-radius-m);
  overflow: hidden;
}

.mobileade4d-extdir li {
  border-bottom: 1px solid var(--mobileade4d-line);
}

.mobileade4d-extdir li:last-child {
  border-bottom: 0;
}

.mobileade4d-extdir a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  background: var(--mobileade4d-surface-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--mobileade4d-ink);
}

.mobileade4d-extdir a:hover,
.mobileade4d-extdir a:focus-visible {
  background: #263647;
  text-decoration: none;
}

.mobileade4d-extdir a::after {
  content: "\203A";
  color: var(--mobileade4d-faint);
  font-size: 16px;
  font-weight: 700;
  transition: color 0.25s var(--mobileade4d-ease);
}

.mobileade4d-extdir a:hover::after,
.mobileade4d-extdir a:focus-visible::after {
  color: var(--mobileade4d-cream);
}

.mobileade4d-extnote {
  margin-top: 16px;
  padding: 11px 12px;
  border: 1px dashed var(--mobileade4d-line-strong);
  border-radius: var(--mobileade4d-radius-m);
  font-size: 11.8px;
  color: var(--mobileade4d-faint);
  line-height: 1.6;
}

/* ---------------------------------------------------------------
   14. Standard footer strip (copyright only)
   --------------------------------------------------------------- */
.mobileade4d-standarfooter {
  padding: 16px 14px 10px;
  border-top: 1px solid var(--mobileade4d-line);
  text-align: center;
}

.mobileade4d-copy {
  font-size: 12px;
  color: var(--mobileade4d-faint);
  letter-spacing: 0.3px;
}

/* ---------------------------------------------------------------
   15. Layered mobile bottom navigation — five fixed roles
   --------------------------------------------------------------- */
.mobileade4d-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: linear-gradient(180deg, rgba(29, 42, 55, 0.9) 0%, #1A2530 100%);
  border-top: 1px solid var(--mobileade4d-line-strong);
  box-shadow: 0 -8px 22px rgba(8, 13, 18, 0.4);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobileade4d-bottomnav-row {
  display: flex;
  align-items: stretch;
  min-height: 60px;
}

.mobileade4d-bnitem {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobileade4d-tap);
  padding: 7px 2px 9px;
  background: none;
  border: 0;
  color: var(--mobileade4d-faint);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.28s var(--mobileade4d-ease),
    transform 0.28s var(--mobileade4d-ease);
}

.mobileade4d-bnitem svg {
  width: 21px;
  height: 21px;
  transition: transform 0.28s var(--mobileade4d-ease);
}

.mobileade4d-bnitem:hover,
.mobileade4d-bnitem:focus-visible {
  color: var(--mobileade4d-muted);
  text-decoration: none;
}

/* active role: slight lift plus a cream marker dot above the icon */
.mobileade4d-bnitem.mobileade4d-bnactive {
  color: var(--mobileade4d-cream);
  transform: translateY(-3px);
}

.mobileade4d-bnitem.mobileade4d-bnactive::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--mobileade4d-cream);
}

.mobileade4d-bnitem.mobileade4d-bnpromo svg {
  color: rgba(253, 245, 230, 0.78);
}

.mobileade4d-bnitem.mobileade4d-bnpromo:hover svg,
.mobileade4d-bnitem.mobileade4d-bnpromo:focus-visible svg {
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------
   16. Back-to-top helper
   --------------------------------------------------------------- */
.mobileade4d-backtop {
  position: fixed;
  right: max(12px, calc(50vw - 215px));
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 65;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--mobileade4d-line-cream);
  background: rgba(24, 36, 48, 0.9);
  color: var(--mobileade4d-cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.28s var(--mobileade4d-ease),
    visibility 0.28s var(--mobileade4d-ease),
    transform 0.28s var(--mobileade4d-ease);
}

.mobileade4d-backtop.mobileade4d-backtop-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobileade4d-backtop svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------
   17. Utilities and motion preferences
   --------------------------------------------------------------- */
.mobileade4d-sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mobileade4d-seemore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
}

.mobileade4d-seemore svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--mobileade4d-ease);
}

.mobileade4d-seemore:hover svg {
  transform: translateX(3px);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
