/* ==========================================================================
   Phlago - surface-native mobile stylesheet
   File   : css/surface-native-2aa9ea.css
   Prefix : mobile2aa9e-  (all classes and custom properties)
   Canvas : 320-430px phone layout, centred as-is on wider screens
   Palette: #8A2BE2 / #34495E / #DDA0DD / #8B008B / #A9A9A9 / #32CD32
   Feel   : near-square tool corners, image+name-bar game tiles,
            fact-strip-then-detail rhythm, restrained fades,
            segmented action buttons
   ========================================================================== */

:root {
  --mobile2aa9e-bg-page: #131b25;
  --mobile2aa9e-bg-canvas: #1a2634;
  --mobile2aa9e-bg-panel: #202f3e;
  --mobile2aa9e-bg-panel-2: #263a4c;
  --mobile2aa9e-bg-deep: #101720;
  --mobile2aa9e-ink: #f2eef9;
  --mobile2aa9e-ink-soft: #ccd6e3;
  --mobile2aa9e-ink-mute: #a9b3c1;
  --mobile2aa9e-violet: #8a2be2;
  --mobile2aa9e-magenta: #8b008b;
  --mobile2aa9e-plum: #dda0dd;
  --mobile2aa9e-lime: #32cd32;
  --mobile2aa9e-slate: #34495e;
  --mobile2aa9e-line: #33475c;
  --mobile2aa9e-radius: 3px;
  --mobile2aa9e-topbar-h: 58px;
  --mobile2aa9e-bnav-h: 64px;
  --mobile2aa9e-font-display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mobile2aa9e-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mobile2aa9e-gap: 12px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background: var(--mobile2aa9e-bg-page);
  color: var(--mobile2aa9e-ink);
  font-family: var(--mobile2aa9e-font-body);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

a {
  color: var(--mobile2aa9e-plum);
  text-decoration: none;
}

a:hover {
  color: var(--mobile2aa9e-ink);
}

:focus-visible {
  outline: 2px solid var(--mobile2aa9e-lime);
  outline-offset: 2px;
}

.mobile2aa9e-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(139, 0, 139, 0.22), transparent 62%),
    linear-gradient(180deg, #1c2938 0%, var(--mobile2aa9e-bg-canvas) 34%, #17222f 100%);
}

/* Main column keeps clear of the fixed top bar and the fixed bottom rack */
.mobile2aa9e-main {
  padding: calc(var(--mobile2aa9e-topbar-h) + 12px) var(--mobile2aa9e-gap) calc(var(--mobile2aa9e-bnav-h) + 30px);
}

/* --------------------------------------------------------------------------
   Top bar - edge-aligned functional header
   -------------------------------------------------------------------------- */

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

.mobile2aa9e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--mobile2aa9e-ink);
}

.mobile2aa9e-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 1px solid var(--mobile2aa9e-line);
  background: #0d141c;
  padding: 2px;
  flex: 0 0 auto;
}

.mobile2aa9e-brand-name {
  font-family: var(--mobile2aa9e-font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--mobile2aa9e-ink);
}

.mobile2aa9e-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* Segmented action pair: two joined buttons split by a hard divider */
.mobile2aa9e-seg {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--mobile2aa9e-violet);
  border-radius: var(--mobile2aa9e-radius);
  overflow: hidden;
}

.mobile2aa9e-seg-btn {
  min-height: 44px;
  padding: 0 13px;
  border: 0;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.mobile2aa9e-seg-btn--register {
  background: linear-gradient(135deg, var(--mobile2aa9e-violet) 0%, var(--mobile2aa9e-magenta) 100%);
  color: #ffffff;
}

.mobile2aa9e-seg-btn--login {
  background: var(--mobile2aa9e-bg-panel-2);
  color: var(--mobile2aa9e-plum);
  border-left: 1px solid var(--mobile2aa9e-violet);
}

.mobile2aa9e-seg-btn:hover {
  filter: brightness(1.18);
}

.mobile2aa9e-seg-btn:active {
  filter: brightness(0.92);
}

/* Layered-menu trigger */
.mobile2aa9e-menu-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  background: var(--mobile2aa9e-bg-panel);
  border: 1px solid var(--mobile2aa9e-line);
  border-radius: var(--mobile2aa9e-radius);
  color: var(--mobile2aa9e-ink-soft);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.mobile2aa9e-menu-btn:hover,
.mobile2aa9e-menu-btn[aria-expanded="true"] {
  color: var(--mobile2aa9e-plum);
  border-color: var(--mobile2aa9e-plum);
}

.mobile2aa9e-menu-btn-ico {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile2aa9e-menu-btn-ico:nth-child(2) {
  width: 13px;
  align-self: flex-start;
  margin-left: 3px;
}

.mobile2aa9e-menu-btn.mobile2aa9e-is-open .mobile2aa9e-menu-btn-ico:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile2aa9e-menu-btn.mobile2aa9e-is-open .mobile2aa9e-menu-btn-ico:nth-child(2) {
  opacity: 0;
}

.mobile2aa9e-menu-btn.mobile2aa9e-is-open .mobile2aa9e-menu-btn-ico:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Layered dropdown menu
   -------------------------------------------------------------------------- */

.mobile2aa9e-drop {
  position: fixed;
  top: calc(var(--mobile2aa9e-topbar-h) - 1px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: calc(100% - 16px);
  max-width: 414px;
  z-index: 55;
  background: #1b2836;
  border: 1px solid var(--mobile2aa9e-line);
  border-top: 2px solid var(--mobile2aa9e-violet);
  border-radius: var(--mobile2aa9e-radius);
  box-shadow: 0 16px 34px rgba(4, 8, 14, 0.62);
  padding: 6px 0 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  max-height: calc(100vh - var(--mobile2aa9e-topbar-h) - 90px);
  overflow-y: auto;
}

.mobile2aa9e-drop.mobile2aa9e-is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, transform 0.22s ease;
  transform: translateX(-50%) translateY(0);
}

.mobile2aa9e-drop-group {
  padding: 6px 12px 2px;
  border-bottom: 1px solid rgba(51, 71, 92, 0.55);
}

.mobile2aa9e-drop-group:last-child {
  border-bottom: 0;
}

.mobile2aa9e-drop-label {
  margin: 4px 0 4px;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mobile2aa9e-ink-mute);
}

.mobile2aa9e-drop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: var(--mobile2aa9e-radius);
  color: var(--mobile2aa9e-ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile2aa9e-drop-link:hover {
  background: rgba(138, 43, 226, 0.16);
  color: var(--mobile2aa9e-ink);
}

.mobile2aa9e-drop-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--mobile2aa9e-plum);
  border-right: 1.5px solid var(--mobile2aa9e-plum);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

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

.mobile2aa9e-hero {
  position: relative;
  margin: 2px 0 14px;
  border: 1px solid var(--mobile2aa9e-line);
  border-radius: var(--mobile2aa9e-radius);
  background: var(--mobile2aa9e-bg-deep);
  overflow: hidden;
}

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

.mobile2aa9e-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  color: var(--mobile2aa9e-ink);
}

.mobile2aa9e-slide-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: #0c1219;
}

.mobile2aa9e-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 22, 0.88) 62%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.mobile2aa9e-slide-cap b {
  display: block;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile2aa9e-slide-cap small {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: var(--mobile2aa9e-ink-soft);
}

.mobile2aa9e-slide-cta {
  flex: 0 0 auto;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--mobile2aa9e-violet), var(--mobile2aa9e-magenta));
  color: #ffffff;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--mobile2aa9e-radius);
  white-space: nowrap;
  transition: filter 0.25s ease;
}

.mobile2aa9e-slide-cta:hover {
  filter: brightness(1.15);
  color: #ffffff;
}

.mobile2aa9e-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.mobile2aa9e-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile2aa9e-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(221, 160, 221, 0.45);
  transition: background 0.25s ease, transform 0.25s ease;
}

.mobile2aa9e-dot.mobile2aa9e-is-on::after {
  background: var(--mobile2aa9e-lime);
  transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   Fact strip - the "summary first" beat of the page
   -------------------------------------------------------------------------- */

.mobile2aa9e-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.mobile2aa9e-fact {
  background: var(--mobile2aa9e-bg-panel);
  border: 1px solid var(--mobile2aa9e-line);
  border-left: 2px solid var(--mobile2aa9e-violet);
  border-radius: var(--mobile2aa9e-radius);
  padding: 8px 10px;
}

.mobile2aa9e-fact-num {
  display: block;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--mobile2aa9e-lime);
  line-height: 1.15;
}

.mobile2aa9e-fact-label {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mobile2aa9e-ink-mute);
}

/* --------------------------------------------------------------------------
   Typography rhythm
   -------------------------------------------------------------------------- */

.mobile2aa9e-h1 {
  margin: 2px 0 10px;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 21px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--mobile2aa9e-ink);
}

.mobile2aa9e-h2 {
  margin: 0 0 8px;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 16.5px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--mobile2aa9e-ink);
  padding-left: 9px;
  border-left: 3px solid var(--mobile2aa9e-lime);
}

.mobile2aa9e-h3 {
  margin: 14px 0 6px;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mobile2aa9e-plum);
}

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

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

.mobile2aa9e-section {
  margin: 0 0 22px;
}

.mobile2aa9e-panel {
  background: var(--mobile2aa9e-bg-panel);
  border: 1px solid var(--mobile2aa9e-line);
  border-radius: var(--mobile2aa9e-radius);
  padding: 12px;
}

/* --------------------------------------------------------------------------
   Game shelves - image tiles with a bottom name bar
   -------------------------------------------------------------------------- */

.mobile2aa9e-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
}

.mobile2aa9e-cat-chip {
  flex: 0 0 auto;
  padding: 3px 7px;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mobile2aa9e-plum);
  background: rgba(139, 0, 139, 0.25);
  border: 1px solid rgba(221, 160, 221, 0.35);
  border-radius: var(--mobile2aa9e-radius);
  white-space: nowrap;
}

.mobile2aa9e-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

/* Wider phones inside the 430px canvas get a fifth column */
@media (min-width: 390px) {
  .mobile2aa9e-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }
}

.mobile2aa9e-gcard {
  display: flex;
  flex-direction: column;
  background: var(--mobile2aa9e-bg-panel-2);
  border: 1px solid var(--mobile2aa9e-line);
  border-radius: var(--mobile2aa9e-radius);
  overflow: hidden;
  color: var(--mobile2aa9e-ink-soft);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.mobile2aa9e-gcard:hover {
  border-color: var(--mobile2aa9e-violet);
  color: var(--mobile2aa9e-ink);
}

.mobile2aa9e-gcard:active {
  transform: scale(0.97);
}

.mobile2aa9e-gcard-imgwrap {
  display: block;
  background: #0d141c;
}

.mobile2aa9e-gcard-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mobile2aa9e-gcard-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding: 4px 5px 5px;
  background: var(--mobile2aa9e-bg-deep);
  border-top: 1px solid rgba(51, 71, 92, 0.7);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  min-height: 30px;
}

/* --------------------------------------------------------------------------
   Play-style comparison rows
   -------------------------------------------------------------------------- */

.mobile2aa9e-style-row {
  display: block;
  padding: 9px 10px;
  border-left: 2px solid var(--mobile2aa9e-violet);
  background: rgba(32, 47, 62, 0.65);
  margin: 0 0 7px;
  border-radius: 0 var(--mobile2aa9e-radius) var(--mobile2aa9e-radius) 0;
}

.mobile2aa9e-style-row b {
  display: block;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mobile2aa9e-plum);
  margin-bottom: 2px;
}

.mobile2aa9e-style-row span {
  font-size: 12.5px;
  color: var(--mobile2aa9e-ink-soft);
}

/* --------------------------------------------------------------------------
   Answer / fact blocks
   -------------------------------------------------------------------------- */

.mobile2aa9e-answer {
  border-left: 3px solid var(--mobile2aa9e-lime);
  background: rgba(50, 205, 50, 0.07);
  border-radius: 0 var(--mobile2aa9e-radius) var(--mobile2aa9e-radius) 0;
  padding: 10px 12px;
  margin: 0 0 10px;
}

.mobile2aa9e-answer b {
  color: var(--mobile2aa9e-lime);
}

.mobile2aa9e-factlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile2aa9e-factlist li {
  position: relative;
  padding: 6px 8px 6px 20px;
  border-bottom: 1px solid rgba(51, 71, 92, 0.5);
  font-size: 13px;
  color: var(--mobile2aa9e-ink-soft);
}

.mobile2aa9e-factlist li:last-child {
  border-bottom: 0;
}

.mobile2aa9e-factlist li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--mobile2aa9e-violet);
}

/* Inline promo text link inside copy */
.mobile2aa9e-inline-link {
  color: var(--mobile2aa9e-plum);
  border-bottom: 1px dashed rgba(221, 160, 221, 0.6);
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mobile2aa9e-inline-link:hover {
  color: var(--mobile2aa9e-lime);
  border-bottom-color: var(--mobile2aa9e-lime);
}

/* --------------------------------------------------------------------------
   Homepage extended footer
   order: brand > directory > promo shortcuts > disclaimer
   -------------------------------------------------------------------------- */

.mobile2aa9e-xt {
  margin: 24px 0 14px;
  border-top: 1px solid var(--mobile2aa9e-line);
  padding-top: 16px;
}

.mobile2aa9e-xt-title {
  margin: 0 0 8px;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mobile2aa9e-ink-mute);
}

.mobile2aa9e-xt-brand {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--mobile2aa9e-ink-soft);
}

.mobile2aa9e-xt-dir {
  margin: 0 0 16px;
  display: grid;
  gap: 6px;
}

.mobile2aa9e-xt-dir-item {
  display: block;
  padding: 7px 9px;
  background: rgba(32, 47, 62, 0.55);
  border: 1px solid rgba(51, 71, 92, 0.75);
  border-radius: var(--mobile2aa9e-radius);
  transition: border-color 0.2s ease;
}

.mobile2aa9e-xt-dir-item:hover {
  border-color: var(--mobile2aa9e-plum);
}

.mobile2aa9e-xt-dir-item b {
  display: block;
  font-size: 12.5px;
  color: var(--mobile2aa9e-ink);
}

.mobile2aa9e-xt-dir-item span {
  font-size: 11.5px;
  color: var(--mobile2aa9e-ink-mute);
}

/* Horizontal promo shortcuts - two per row on the phone canvas */
.mobile2aa9e-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

@media (min-width: 390px) {
  .mobile2aa9e-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mobile2aa9e-shortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 8px;
  text-align: center;
  font-family: var(--mobile2aa9e-font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--mobile2aa9e-ink);
  background: linear-gradient(150deg, rgba(138, 43, 226, 0.34), rgba(139, 0, 139, 0.34));
  border: 1px solid var(--mobile2aa9e-violet);
  border-radius: var(--mobile2aa9e-radius);
  cursor: pointer;
  transition: filter 0.22s ease, border-color 0.22s ease;
}

.mobile2aa9e-shortcut:hover {
  filter: brightness(1.22);
  border-color: var(--mobile2aa9e-plum);
  color: var(--mobile2aa9e-ink);
}

.mobile2aa9e-shortcut--alt {
  background: rgba(38, 58, 76, 0.9);
  border-color: rgba(221, 160, 221, 0.5);
}

.mobile2aa9e-xt-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--mobile2aa9e-ink-mute);
  padding: 9px 10px;
  border: 1px dashed rgba(169, 179, 193, 0.4);
  border-radius: var(--mobile2aa9e-radius);
}

/* --------------------------------------------------------------------------
   Common footer + fixed bottom navigation rack
   -------------------------------------------------------------------------- */

.mobile2aa9e-foot {
  padding: 4px 2px 10px;
  text-align: center;
}

.mobile2aa9e-foot-copy {
  margin: 0;
  font-size: 11px;
  color: var(--mobile2aa9e-ink-mute);
}

.mobile2aa9e-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--mobile2aa9e-bnav-h);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(13, 19, 27, 0.96);
  border-top: 1px solid var(--mobile2aa9e-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile2aa9e-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 4px 2px;
  color: var(--mobile2aa9e-ink-mute);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.25s ease;
}

.mobile2aa9e-bnav-item:hover {
  color: var(--mobile2aa9e-plum);
}

/* Containerized symbol tile */
.mobile2aa9e-bnav-tile {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 47, 62, 0.85);
  border: 1px solid var(--mobile2aa9e-line);
  border-radius: var(--mobile2aa9e-radius);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.mobile2aa9e-bnav-item:hover .mobile2aa9e-bnav-tile {
  border-color: rgba(221, 160, 221, 0.55);
}

.mobile2aa9e-bnav-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile2aa9e-bnav-label {
  font-family: var(--mobile2aa9e-font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

/* Active role: top indicator line + lime accent */
.mobile2aa9e-bnav-item.mobile2aa9e-is-active {
  color: var(--mobile2aa9e-lime);
}

.mobile2aa9e-bnav-item.mobile2aa9e-is-active::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: var(--mobile2aa9e-lime);
}

.mobile2aa9e-bnav-item.mobile2aa9e-is-active .mobile2aa9e-bnav-tile {
  background: rgba(50, 205, 50, 0.12);
  border-color: rgba(50, 205, 50, 0.55);
}

/* --------------------------------------------------------------------------
   Restrained reveal motion (only when JS is active)
   -------------------------------------------------------------------------- */

html.mobile2aa9e-js .mobile2aa9e-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.mobile2aa9e-js .mobile2aa9e-reveal.mobile2aa9e-is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.mobile2aa9e-js .mobile2aa9e-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mobile2aa9e-track {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Wide screens keep the same phone canvas centred
   -------------------------------------------------------------------------- */

@media (min-width: 431px) {
  body {
    background:
      radial-gradient(90% 46% at 50% 0%, rgba(139, 43, 226, 0.14), transparent 60%),
      var(--mobile2aa9e-bg-page);
  }

  .mobile2aa9e-canvas {
    box-shadow: 0 0 0 1px rgba(51, 71, 92, 0.8), 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

/* Part1 compatibility: readable content and accessible phone controls. */
:root { --mobile2aa9e-topbar-h: 64px; --mobile2aa9e-bnav-h: 68px; --mobile2aa9e-neutral: #a9a9a9; }
html { scroll-padding-top: 78px; scroll-padding-bottom: 86px; }
.mobile2aa9e-brand { min-height: 44px; gap: 5px; }
.mobile2aa9e-brand-name { font-size: 15px; letter-spacing: .02em; }
.mobile2aa9e-brand-logo { width: 28px; height: 28px; }
.mobile2aa9e-top-actions { gap: 5px; }
.mobile2aa9e-seg-btn { padding: 0 9px; letter-spacing: 0; }
.mobile2aa9e-topbar { height: var(--mobile2aa9e-topbar-h); gap: 4px; padding: 7px 8px; }
.mobile2aa9e-drop-link[aria-current="page"] { color: var(--mobile2aa9e-lime); background: #28384a; }
.mobile2aa9e-p, .mobile2aa9e-lead { font-size: 14px; }
.mobile2aa9e-main p a, .mobile2aa9e-main li a, .mobile2aa9e-main dd a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: underline; text-underline-offset: 3px; }
.mobile2aa9e-gcard { min-width: 0; padding: 0; font: inherit; text-align: inherit; cursor: pointer; }
.mobile2aa9e-gcard-name { display: block; -webkit-line-clamp: unset; line-clamp: unset; min-height: 48px; overflow-wrap: anywhere; }
.mobile2aa9e-slide { border: 0; padding: 0; background: transparent; cursor: pointer; text-align: left; font: inherit; min-width: 0; }
.mobile2aa9e-slide-img { aspect-ratio: 2 / 1; object-fit: contain; height: auto; }
.mobile2aa9e-gcard-img { height: auto; }
.mobile2aa9e-slide-cap { position: static; background: #101720; padding: 10px; }
.mobile2aa9e-slide-cap b { font-size: 13px; }
.mobile2aa9e-slide-cta { white-space: normal; }
.mobile2aa9e-dots { position: static; justify-content: center; background: #101720; }
.mobile2aa9e-dot { width: 44px; height: 44px; }
.mobile2aa9e-pause { display: block; min-height: 44px; margin: 0 auto; padding: 0 12px; border: 1px solid var(--mobile2aa9e-line); background: var(--mobile2aa9e-bg-panel); color: var(--mobile2aa9e-ink); font: inherit; cursor: pointer; }
.mobile2aa9e-xt-dir-item { min-height: 54px; }
.mobile2aa9e-xt-dir { display: flex; overflow-x: auto; padding: 3px 3px 9px; scroll-snap-type: x proximity; }
.mobile2aa9e-xt-dir-item { flex: 0 0 73%; scroll-snap-align: start; }
.mobile2aa9e-shortcuts { display: flex; overflow-x: auto; padding: 3px 3px 9px; }
.mobile2aa9e-shortcut { flex: 0 0 46%; min-width: 44px; }
.mobile2aa9e-sec-head { align-items: flex-start; flex-wrap: wrap; }
.mobile2aa9e-h2 { text-transform: none; letter-spacing: .01em; }
.mobile2aa9e-checks { list-style: none; padding: 0; margin: 0; counter-reset: mobile2aa9e-check; }
.mobile2aa9e-checks li { padding: 14px 12px; border-bottom: 1px solid var(--mobile2aa9e-line); counter-increment: mobile2aa9e-check; }
.mobile2aa9e-checks li::before { content: counter(mobile2aa9e-check, decimal-leading-zero); display: inline-block; margin-right: 8px; color: var(--mobile2aa9e-plum); font-weight: 800; }
.mobile2aa9e-checks b { color: var(--mobile2aa9e-ink); }
.mobile2aa9e-decision { margin: 12px 0; padding: 12px; background: #142b28; border-left: 3px solid var(--mobile2aa9e-lime); }
.mobile2aa9e-case { padding: 13px 0; border-bottom: 1px solid var(--mobile2aa9e-line); }
.mobile2aa9e-case dt { font-weight: 800; color: var(--mobile2aa9e-plum); margin-bottom: 6px; }
.mobile2aa9e-case dd { margin: 0; }
.mobile2aa9e-ledger { margin: 12px 0; border-left: 2px solid var(--mobile2aa9e-plum); padding: 0 12px; }
.mobile2aa9e-ledger p { margin: 8px 0 14px; }
.mobile2aa9e-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; margin: 12px 0; }
.mobile2aa9e-table th, .mobile2aa9e-table td { padding: 10px 7px; border: 1px solid var(--mobile2aa9e-line); vertical-align: top; overflow-wrap: anywhere; }
.mobile2aa9e-table th { background: var(--mobile2aa9e-slate); color: #fff; text-align: left; }
.mobile2aa9e-steps { padding-left: 24px; }
.mobile2aa9e-steps li { padding: 7px 0 12px 4px; }
.mobile2aa9e-actionline { margin: 12px 0 20px; }
.mobile2aa9e-actionline button { min-height: 44px; min-width: 44px; padding: 9px 12px; background: linear-gradient(125deg, #6820ad, #8b008b); border: 1px solid var(--mobile2aa9e-plum); color: white; font: inherit; font-weight: 700; cursor: pointer; }
.mobile2aa9e-note { border-top: 2px solid var(--mobile2aa9e-neutral); padding-top: 10px; color: var(--mobile2aa9e-ink-soft); }
.mobile2aa9e-bnav-item { font: inherit; }
.mobile2aa9e-bnav { padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px)); }
.mobile2aa9e-main { padding-bottom: calc(var(--mobile2aa9e-bnav-h) + env(safe-area-inset-bottom, 0px) + 30px); }

/* Very narrow phones: shave paddings, keep four game columns */
@media (max-width: 340px) {
  .mobile2aa9e-main {
    padding-left: 9px;
    padding-right: 9px;
  }

  .mobile2aa9e-seg-btn {
    padding: 0 10px;
  }

  .mobile2aa9e-slide-cta {
    font-size: 10px;
    padding: 7px 9px;
  }
}
