/* ------------------------------------------------------------------
   palette-mobile-ecc3e0.css  —  pt-gaming-apk.sbs mobile canvas skin
   Class contract: every rule uses the "mobile3e044-" prefix.
   Canvas: 320-430px phone frame, centered on wide screens (430px cap).
   Mood: deep harbour blue base, mulberry rose actions, salmon and
   hot-pink signal colors, monospace annotations over a regular body
   face, near-square tool corners, sliding focus indicators.
   ------------------------------------------------------------------ */

/* ---------- tokens ---------- */

:root {
  --mobile3e044-ink: #212F3D;        /* deep base canvas */
  --mobile3e044-ink-deep: #16202A;   /* recessed panels */
  --mobile3e044-ink-raise: #2A3B4B;  /* raised panel tone */
  --mobile3e044-rose: #B03060;       /* primary action */
  --mobile3e044-rose-hot: #C94074;   /* pressed action */
  --mobile3e044-salmon: #E9967A;     /* light accent / secondary text */
  --mobile3e044-pink: #FF69B4;       /* live indicator / highlights */
  --mobile3e044-mist: #F4E8E1;       /* main body text */
  --mobile3e044-line: #3B4D5E;       /* hairline borders */
  --mobile3e044-line-soft: #31424F;  /* quieter hairline */
  --mobile3e044-mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", "Courier New", monospace;
  --mobile3e044-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mobile3e044-r: 3px;              /* near-square corner */
  --mobile3e044-topbar-h: 56px;
  --mobile3e044-bottomnav-h: 62px;
  --mobile3e044-glow: 0 0 10px rgba(255, 105, 180, 0.30);
}

/* ---------- reset & base ---------- */

.mobile3e044-page,
.mobile3e044-page * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.mobile3e044-page {
  background: #0D141B; /* void behind the phone canvas */
  color: var(--mobile3e044-mist);
  font-family: var(--mobile3e044-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.mobile3e044-page a {
  color: var(--mobile3e044-salmon);
  text-decoration: none;
}

.mobile3e044-page a:hover,
.mobile3e044-page a:focus-visible {
  color: var(--mobile3e044-pink);
}

.mobile3e044-page button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.mobile3e044-page :focus-visible {
  outline: 2px solid var(--mobile3e044-pink);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- phone canvas ---------- */

.mobile3e044-shell {
  position: relative;
  width: 100%;
  max-width: 430px; /* hard phone-canvas ceiling */
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--mobile3e044-ink);
  border-left: 1px solid var(--mobile3e044-line-soft);
  border-right: 1px solid var(--mobile3e044-line-soft);
  overflow-x: hidden;
}

/* ---------- top brand bar ---------- */

.mobile3e044-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--mobile3e044-topbar-h);
  padding: 0 10px;
  background: rgba(22, 32, 42, 0.94);
  border-bottom: 1px solid var(--mobile3e044-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mobile3e044-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px; /* touch-safe brand tap */
  color: var(--mobile3e044-mist);
}

.mobile3e044-brand img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--mobile3e044-line);
  border-radius: var(--mobile3e044-r);
  object-fit: cover;
  background: var(--mobile3e044-ink-deep);
}

.mobile3e044-brandname {
  font-family: var(--mobile3e044-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mobile3e044-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* segmented action buttons (CTA shape) */
.mobile3e044-duo {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--mobile3e044-salmon);
  border-radius: var(--mobile3e044-r);
  overflow: hidden;
}

.mobile3e044-duo-main,
.mobile3e044-duo-alt {
  min-height: 34px;
  padding: 0 12px;
  font-family: var(--mobile3e044-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: filter 0.15s ease, box-shadow 0.2s ease;
}

.mobile3e044-duo-main {
  background: var(--mobile3e044-rose);
  color: #FFFFFF;
}

.mobile3e044-duo-alt {
  border-left: 1px solid var(--mobile3e044-salmon);
  color: var(--mobile3e044-salmon);
}

.mobile3e044-duo-main:active {
  background: var(--mobile3e044-rose-hot);
  box-shadow: var(--mobile3e044-glow); /* restrained glow feedback */
}

.mobile3e044-duo-alt:active {
  box-shadow: inset 0 0 8px rgba(255, 105, 180, 0.25);
}

.mobile3e044-menubtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 46px;
  min-height: 44px;
  color: var(--mobile3e044-mist);
  font-family: var(--mobile3e044-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* ---------- slide-up route panel ---------- */

.mobile3e044-routes {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 102%);
  width: 100%;
  max-width: 430px;
  max-height: min(78vh, 560px);
  overflow-y: auto;
  z-index: 90;
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
  background: var(--mobile3e044-ink-deep);
  border-top: 2px solid var(--mobile3e044-rose);
  border-radius: 10px 10px 0 0;
  visibility: hidden;
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
}

.mobile3e044-routes.mobile3e044-open {
  transform: translate(-50%, 0);
  visibility: visible;
  opacity: 1;
}

.mobile3e044-routes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mobile3e044-routes-title {
  font-family: var(--mobile3e044-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mobile3e044-pink);
}

.mobile3e044-routes-close {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mobile3e044-salmon);
  border: 1px solid var(--mobile3e044-line);
  border-radius: var(--mobile3e044-r);
}

.mobile3e044-routes-close svg {
  width: 16px;
  height: 16px;
}

.mobile3e044-routes-note {
  font-size: 0.78rem;
  color: #B9C6D0;
  margin-bottom: 10px;
}

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

.mobile3e044-routes-list li {
  min-width: 0;
}

.mobile3e044-routes-group {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-bottom: 2px;
  font-family: var(--mobile3e044-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7E93A3;
  border-bottom: 1px dashed var(--mobile3e044-line);
}

.mobile3e044-routes-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 9px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mobile3e044-mist);
  background: var(--mobile3e044-ink-raise);
  border: 1px solid var(--mobile3e044-line-soft);
  border-radius: var(--mobile3e044-r);
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
  overflow-wrap: anywhere;
}

.mobile3e044-routes-list a:hover {
  border-color: var(--mobile3e044-pink);
  box-shadow: var(--mobile3e044-glow);
}

.mobile3e044-routes-list a::before {
  content: ">";
  font-family: var(--mobile3e044-mono);
  color: var(--mobile3e044-salmon);
  margin-right: 7px;
}

/* ---------- main flow ---------- */

.mobile3e044-main {
  padding: calc(var(--mobile3e044-topbar-h) + 12px) 12px
           calc(var(--mobile3e044-bottomnav-h) + 26px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */

.mobile3e044-hero {
  padding: 12px 2px 6px;
}

.mobile3e044-kicker {
  font-family: var(--mobile3e044-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mobile3e044-salmon);
  margin-bottom: 8px;
}

.mobile3e044-h1 {
  font-size: 1.28rem;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mobile3e044-rose);
  margin-bottom: 10px;
}

.mobile3e044-hero-copy {
  font-size: 0.86rem;
  color: #D7E0E7;
  margin-bottom: 12px;
}

.mobile3e044-duo-lg .mobile3e044-duo-main,
.mobile3e044-duo-lg .mobile3e044-duo-alt {
  min-height: 44px;
  font-size: 0.78rem;
  padding: 0 16px;
}

.mobile3e044-duo-lg .mobile3e044-duo-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 150, 122, 0.06);
}

.mobile3e044-herometa {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.mobile3e044-herometa li {
  font-family: var(--mobile3e044-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mobile3e044-salmon);
  padding: 4px 8px;
  border: 1px solid var(--mobile3e044-line);
  border-radius: 2px;
  background: var(--mobile3e044-ink-deep);
}

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

.mobile3e044-carouselbox {
  margin: 14px 0 4px;
}

.mobile3e044-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border: 1px solid var(--mobile3e044-line);
  border-radius: var(--mobile3e044-r);
  background: var(--mobile3e044-ink-deep);
}

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

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

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

.mobile3e044-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 22px 10px 8px;
  text-align: left;
  background: linear-gradient(180deg, rgba(22, 32, 42, 0) 0%, rgba(22, 32, 42, 0.92) 78%);
}

.mobile3e044-slide-cap b {
  font-family: var(--mobile3e044-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mobile3e044-pink);
}

.mobile3e044-slide-cap span {
  font-size: 0.78rem;
  color: var(--mobile3e044-mist);
}

.mobile3e044-carousel-ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
}

.mobile3e044-carrow {
  min-width: 44px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mobile3e044-salmon);
  border: 1px solid var(--mobile3e044-line);
  border-radius: var(--mobile3e044-r);
  background: var(--mobile3e044-ink-deep);
  transition: box-shadow 0.2s ease, color 0.2s ease;
}

.mobile3e044-carrow:active {
  color: var(--mobile3e044-pink);
  box-shadow: var(--mobile3e044-glow);
}

.mobile3e044-carrow svg {
  width: 16px;
  height: 16px;
}

.mobile3e044-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mobile3e044-dots button {
  width: 26px;
  height: 26px;
  position: relative;
}

.mobile3e044-dots button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border: 1px solid var(--mobile3e044-salmon);
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mobile3e044-dots button[aria-current="true"]::after {
  background: var(--mobile3e044-pink);
  border-color: var(--mobile3e044-pink);
  box-shadow: var(--mobile3e044-glow);
}

/* ---------- section scaffolding (lede-first rhythm) ---------- */

.mobile3e044-section {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--mobile3e044-line-soft);
}

.mobile3e044-sec-head {
  margin-bottom: 12px;
}

.mobile3e044-h2 {
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
  color: #FFFFFF;
  margin: 6px 0 8px;
}

.mobile3e044-h3 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--mobile3e044-salmon);
  margin: 12px 0 6px;
}

.mobile3e044-lede {
  font-size: 0.82rem;
  color: #C9D4DC;
  padding-left: 10px;
  border-left: 3px solid var(--mobile3e044-rose);
  margin-bottom: 12px;
}

.mobile3e044-lede a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile3e044-p {
  font-size: 0.82rem;
  color: #C9D4DC;
  margin-bottom: 10px;
}

.mobile3e044-p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- game grid: horizontal icon-name bars ---------- */

.mobile3e044-ggrid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.mobile3e044-gbar {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 48px;
  padding: 4px 3px;
  text-align: left;
  background: var(--mobile3e044-ink-deep);
  border: 1px solid var(--mobile3e044-line-soft);
  border-radius: var(--mobile3e044-r);
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.mobile3e044-gbar:hover {
  border-color: var(--mobile3e044-salmon);
}

.mobile3e044-gbar:active {
  border-color: var(--mobile3e044-pink);
  box-shadow: var(--mobile3e044-glow);
}

.mobile3e044-gbar img {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 2px;
  background: #0F1620;
}

.mobile3e044-gname {
  min-width: 0;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--mobile3e044-mist);
  overflow-wrap: break-word; /* controlled wrap for long titles */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- payments module ---------- */

.mobile3e044-paygrid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0 12px;
}

.mobile3e044-paygrid li {
  padding: 9px 8px;
  background: var(--mobile3e044-ink-deep);
  border: 1px solid var(--mobile3e044-line-soft);
  border-radius: var(--mobile3e044-r);
}

.mobile3e044-payname {
  display: block;
  font-family: var(--mobile3e044-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mobile3e044-salmon);
  margin-bottom: 4px;
}

.mobile3e044-paygrid li p {
  font-size: 0.7rem;
  color: #B9C6D0;
  line-height: 1.45;
}

/* ---------- winners module ---------- */

.mobile3e044-winlist {
  list-style: none;
  border: 1px solid var(--mobile3e044-line-soft);
  border-radius: var(--mobile3e044-r);
  overflow: hidden;
  margin: 10px 0 6px;
}

.mobile3e044-winlist li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  background: var(--mobile3e044-ink-deep);
  border-bottom: 1px solid var(--mobile3e044-line-soft);
  font-size: 0.72rem;
}

.mobile3e044-winlist li:last-child {
  border-bottom: 0;
}

.mobile3e044-windot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mobile3e044-pink);
  box-shadow: var(--mobile3e044-glow);
}

.mobile3e044-wingame {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  color: var(--mobile3e044-mist);
  overflow-wrap: anywhere;
}

.mobile3e044-winwho {
  flex: 0 0 auto;
  font-family: var(--mobile3e044-mono);
  font-size: 0.62rem;
  color: #8FA3B1;
}

.mobile3e044-winamt {
  flex: 0 0 auto;
  font-family: var(--mobile3e044-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mobile3e044-pink);
}

.mobile3e044-finenote {
  font-size: 0.66rem;
  color: #8FA3B1;
  font-style: italic;
}

/* ---------- steps module ---------- */

.mobile3e044-steps {
  list-style: none;
  counter-reset: mobile3e044step;
  margin: 10px 0 12px;
}

.mobile3e044-steps li {
  counter-increment: mobile3e044step;
  position: relative;
  padding: 8px 8px 8px 40px;
  margin-bottom: 6px;
  background: var(--mobile3e044-ink-deep);
  border: 1px solid var(--mobile3e044-line-soft);
  border-radius: var(--mobile3e044-r);
  font-size: 0.78rem;
  color: #C9D4DC;
}

.mobile3e044-steps li::before {
  content: counter(mobile3e044step, decimal-leading-zero);
  position: absolute;
  left: 8px;
  top: 9px;
  font-family: var(--mobile3e044-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mobile3e044-pink);
}

.mobile3e044-step {
  padding: 9px 10px;
  margin-bottom: 7px;
  background: var(--mobile3e044-ink-deep);
  border: 1px solid var(--mobile3e044-line-soft);
  border-radius: var(--mobile3e044-r);
  font-size: 0.78rem;
  color: #C9D4DC;
}

.mobile3e044-step:last-child {
  margin-bottom: 0;
}

.mobile3e044-step b {
  color: var(--mobile3e044-mist);
}

.mobile3e044-steps a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- glossary module ---------- */

.mobile3e044-gloss {
  margin: 10px 0 12px;
}

.mobile3e044-gloss dt {
  font-family: var(--mobile3e044-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mobile3e044-salmon);
  margin-top: 9px;
}

.mobile3e044-gloss dd {
  font-size: 0.76rem;
  color: #C9D4DC;
  margin-top: 2px;
  padding-left: 10px;
  border-left: 2px solid var(--mobile3e044-line);
}

/* ---------- entity map module ---------- */

.mobile3e044-flow {
  list-style: none;
  margin: 10px 0 12px;
}

.mobile3e044-flow li {
  position: relative;
  padding: 9px 9px 9px 26px;
  margin-bottom: 6px;
  background: var(--mobile3e044-ink-deep);
  border: 1px solid var(--mobile3e044-line-soft);
  border-radius: var(--mobile3e044-r);
  font-size: 0.76rem;
  color: #C9D4DC;
}

.mobile3e044-flow li::before {
  content: "+";
  position: absolute;
  left: 9px;
  top: 8px;
  font-family: var(--mobile3e044-mono);
  font-weight: 700;
  color: var(--mobile3e044-pink);
}

.mobile3e044-flow b {
  color: var(--mobile3e044-mist);
}

.mobile3e044-flow a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- extended footer ---------- */

.mobile3e044-xfooter {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 2px solid var(--mobile3e044-rose);
  background: var(--mobile3e044-ink-deep);
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
}

.mobile3e044-dirgrid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0 4px;
}

.mobile3e044-dirgrid a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mobile3e044-mist);
  background: var(--mobile3e044-ink-raise);
  border: 1px solid var(--mobile3e044-line-soft);
  border-radius: var(--mobile3e044-r);
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.mobile3e044-dirgrid a:hover {
  border-color: var(--mobile3e044-pink);
  color: var(--mobile3e044-pink);
}

.mobile3e044-dirgrid svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--mobile3e044-salmon);
}

.mobile3e044-brandblurb {
  font-size: 0.76rem;
  color: #B9C6D0;
  margin: 10px 0 4px;
}

/* promotions: horizontal shortcut rail */
.mobile3e044-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 10px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--mobile3e044-line) transparent;
}

.mobile3e044-shortcut {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--mobile3e044-ink-raise);
  border: 1px solid var(--mobile3e044-salmon);
  border-radius: var(--mobile3e044-r);
  font-family: var(--mobile3e044-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mobile3e044-mist);
  white-space: nowrap;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.mobile3e044-shortcut svg {
  width: 15px;
  height: 15px;
  color: var(--mobile3e044-pink);
}

.mobile3e044-shortcut:active {
  border-color: var(--mobile3e044-pink);
  box-shadow: var(--mobile3e044-glow);
}

.mobile3e044-disclaimer {
  padding: 9px 10px;
  border: 1px dashed var(--mobile3e044-line);
  border-radius: var(--mobile3e044-r);
  font-size: 0.66rem;
  line-height: 1.5;
  color: #8FA3B1;
  margin-top: 8px;
}

/* ---------- common footer ---------- */

.mobile3e044-footer {
  margin-top: 18px;
  padding: 10px 2px 4px;
  border-top: 1px solid var(--mobile3e044-line-soft);
}

.mobile3e044-copy {
  font-size: 0.64rem;
  line-height: 1.5;
  color: #7E93A3;
  text-align: center;
}

/* ---------- fixed outlined bottom bar ---------- */

.mobile3e044-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px; /* stays aligned to the phone canvas */
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--mobile3e044-bottomnav-h) + env(safe-area-inset-bottom));
  padding: 4px 6px calc(2px + env(safe-area-inset-bottom));
  background: rgba(22, 32, 42, 0.96);
  border-top: 1px solid var(--mobile3e044-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mobile3e044-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  color: #9FB1BE;
  font-family: var(--mobile3e044-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.mobile3e044-bn-item svg {
  width: 21px;
  height: 21px;
}

/* sliding underline marker: grows in from the left on the active role */
.mobile3e044-bn-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 22px;
  height: 2px;
  transform: translate(-50%, 0) scaleX(0);
  transform-origin: left center;
  background: var(--mobile3e044-pink);
  transition: transform 0.24s ease;
}

.mobile3e044-bn-on {
  color: var(--mobile3e044-pink);
}

.mobile3e044-bn-on::after {
  transform: translate(-50%, 0) scaleX(1);
}

.mobile3e044-bn-item:active {
  color: var(--mobile3e044-pink);
  text-shadow: 0 0 8px rgba(255, 105, 180, 0.45); /* restrained glow */
}

/* ---------- small screens (320px floor) ---------- */

@media (max-width: 359px) {
  .mobile3e044-brandname {
    font-size: 0.7rem;
  }
  .mobile3e044-duo-main,
  .mobile3e044-duo-alt {
    padding: 0 9px;
    font-size: 0.66rem;
  }
  .mobile3e044-h1 {
    font-size: 1.14rem;
  }
  .mobile3e044-ggrid {
    gap: 4px;
  }
  .mobile3e044-gname {
    font-size: 0.54rem;
  }
  .mobile3e044-gbar img {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
  }
}

/* ---------- roomier phones (375px and up) ---------- */

@media (min-width: 375px) {
  .mobile3e044-h1 {
    font-size: 1.4rem;
  }
  .mobile3e044-h2 {
    font-size: 1.08rem;
  }
  .mobile3e044-hero-copy,
  .mobile3e044-lede,
  .mobile3e044-p {
    font-size: 0.86rem;
  }
  .mobile3e044-gname {
    font-size: 0.62rem;
  }
  .mobile3e044-gbar img {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
}

/* ---------- widest phone canvas: 430px ---------- */

@media (min-width: 430px) {
  .mobile3e044-main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .mobile3e044-ggrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  .mobile3e044-gbar {
    gap: 3px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .mobile3e044-gbar img {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }
  .mobile3e044-gname {
    font-size: 0.59rem;
  }
  .mobile3e044-paygrid,
  .mobile3e044-dirgrid {
    gap: 8px;
  }
  .mobile3e044-h1 {
    font-size: 1.5rem;
  }
  .mobile3e044-xfooter {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .mobile3e044-page *,
  .mobile3e044-routes,
  .mobile3e044-bn-item::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
