/* ============================================================
   c54.click - c54-frame-b631e4.css
   Mobile-first frame for the C54 game portal (vi).
   Palette: #E6E6FA / #8B008B / #48D1CC / #2E4057 / #9932CC
   Tone: mono accents + regular body, round buttons, square
   outlined game tiles, restrained fade feedback, full-width CTAs.
   All classes and variables use the mobile1e4f4- prefix.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --mobile1e4f4-bg: #2E4057;
  --mobile1e4f4-bg-deep: #263A50;
  --mobile1e4f4-bg-panel: rgba(38, 56, 77, 0.72);
  --mobile1e4f4-ink: #E6E6FA;
  --mobile1e4f4-dim: rgba(230, 230, 250, 0.68);
  --mobile1e4f4-faint: rgba(230, 230, 250, 0.46);
  --mobile1e4f4-grape: #8B008B;
  --mobile1e4f4-orchid: #9932CC;
  --mobile1e4f4-aqua: #48D1CC;
  --mobile1e4f4-line: rgba(230, 230, 250, 0.16);
  --mobile1e4f4-line-strong: rgba(230, 230, 250, 0.3);
  --mobile1e4f4-grad-cta: linear-gradient(135deg, #9932CC 0%, #8B008B 100%);
  --mobile1e4f4-grad-panel: linear-gradient(180deg, rgba(153, 50, 204, 0.14), rgba(139, 0, 139, 0.05));
  --mobile1e4f4-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  --mobile1e4f4-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mobile1e4f4-r-pill: 999px;
  --mobile1e4f4-r-card: 3px;
  --mobile1e4f4-shell-w: 430px;
  --mobile1e4f4-tap: 44px;
  --mobile1e4f4-safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: #1D2B3D;
  color: var(--mobile1e4f4-ink);
  font-family: var(--mobile1e4f4-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a { color: var(--mobile1e4f4-aqua); text-decoration: none; }

ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--mobile1e4f4-aqua); outline-offset: 2px; border-radius: 2px; }

/* phone canvas stays centered on wide screens */
.mobile1e4f4-shell {
  position: relative;
  width: 100%;
  max-width: var(--mobile1e4f4-shell-w);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(153, 50, 204, 0.22) 0%, rgba(153, 50, 204, 0) 60%),
    linear-gradient(180deg, #2E4057 0%, #28394E 55%, #223246 100%);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.45);
  overflow-x: clip;
}

/* skip link */
.mobile1e4f4-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  padding: 8px 14px;
  background: var(--mobile1e4f4-aqua);
  color: #1D2B3D;
  font-family: var(--mobile1e4f4-mono);
  font-size: 12px;
  border-radius: var(--mobile1e4f4-r-pill);
  transition: top 0.15s ease;
}
.mobile1e4f4-skip:focus { top: 8px; }

/* ---------- top header: brand layer + action layer ---------- */
.mobile1e4f4-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile1e4f4-shell-w);
  z-index: 60;
  background: rgba(38, 56, 77, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mobile1e4f4-line);
}

.mobile1e4f4-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  min-height: 54px;
}

.mobile1e4f4-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 8px;
  border: 1px solid rgba(72, 209, 204, 0.55);
  background: rgba(29, 43, 61, 0.85);
  padding: 3px;
  object-fit: contain;
}

.mobile1e4f4-sitename {
  font-family: var(--mobile1e4f4-mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mobile1e4f4-ink);
  text-shadow: 0 0 14px rgba(153, 50, 204, 0.6);
}

.mobile1e4f4-menubtn {
  margin-left: auto;
  width: var(--mobile1e4f4-tap);
  height: var(--mobile1e4f4-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobile1e4f4-line-strong);
  border-radius: 10px;
  background: rgba(230, 230, 250, 0.05);
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.mobile1e4f4-menubtn:active { transform: scale(0.92); }
.mobile1e4f4-menubtn svg { width: 20px; height: 20px; stroke: var(--mobile1e4f4-ink); }
.mobile1e4f4-menubtn[aria-expanded="true"] { border-color: var(--mobile1e4f4-aqua); }

/* action layer */
.mobile1e4f4-actionrow {
  display: flex;
  gap: 10px;
  padding: 0 14px 10px;
}

.mobile1e4f4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--mobile1e4f4-tap);
  padding: 10px 16px;
  border-radius: var(--mobile1e4f4-r-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.mobile1e4f4-btn:active { transform: scale(0.95); }

.mobile1e4f4-btn--solid {
  flex: 1;
  background: var(--mobile1e4f4-grad-cta);
  color: var(--mobile1e4f4-ink);
  box-shadow: 0 6px 18px rgba(139, 0, 139, 0.4);
}

.mobile1e4f4-btn--ghost {
  flex: 1;
  border: 1px solid rgba(72, 209, 204, 0.7);
  color: var(--mobile1e4f4-aqua);
  background: rgba(72, 209, 204, 0.06);
}

/* layered dropdown menu */
.mobile1e4f4-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--mobile1e4f4-bg-deep);
  border-bottom: 1px solid var(--mobile1e4f4-line-strong);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile1e4f4-menu.mobile1e4f4-menu--open { max-height: 620px; }

.mobile1e4f4-menugroups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
  padding: 12px 14px 16px;
}

.mobile1e4f4-menulabel {
  grid-column: 1 / -1;
  font-family: var(--mobile1e4f4-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mobile1e4f4-aqua);
  padding: 10px 2px 4px;
}

.mobile1e4f4-menuitem {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--mobile1e4f4-tap);
  padding: 10px 10px;
  color: var(--mobile1e4f4-ink);
  font-size: 13.5px;
  border-radius: 8px;
  transition: background 0.12s ease, transform 0.12s ease;
}
.mobile1e4f4-menuitem:active { transform: scale(0.97); background: rgba(153, 50, 204, 0.16); }
.mobile1e4f4-menuitem::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(72, 209, 204, 0.75);
  flex: 0 0 auto;
}
/* current page marker: aqua indicator line on top */
.mobile1e4f4-menuitem--now {
  background: rgba(72, 209, 204, 0.1);
  box-shadow: inset 0 2px 0 var(--mobile1e4f4-aqua);
  color: var(--mobile1e4f4-aqua);
  font-weight: 700;
}

/* ---------- main ---------- */
.mobile1e4f4-main {
  padding: 118px 0 calc(96px + var(--mobile1e4f4-safe-b));
}

/* hero heading block */
.mobile1e4f4-herohead { padding: 14px 16px 4px; }

.mobile1e4f4-kicker {
  display: inline-block;
  font-family: var(--mobile1e4f4-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mobile1e4f4-aqua);
  border: 1px solid rgba(72, 209, 204, 0.4);
  border-radius: var(--mobile1e4f4-r-pill);
  padding: 3px 10px;
  margin-bottom: 10px;
  background: rgba(72, 209, 204, 0.07);
}

.mobile1e4f4-h1 {
  font-size: 21px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--mobile1e4f4-ink);
}
.mobile1e4f4-h1 .mobile1e4f4-h1accent { color: var(--mobile1e4f4-aqua); }

.mobile1e4f4-lead {
  margin-top: 10px;
  font-size: 14px;
  color: var(--mobile1e4f4-dim);
}

/* ---------- promo carousel ---------- */
.mobile1e4f4-carousel {
  position: relative;
  margin: 14px 14px 0;
  border-radius: var(--mobile1e4f4-r-card);
  border: 1px solid var(--mobile1e4f4-line-strong);
  overflow: hidden;
  background: var(--mobile1e4f4-bg-deep);
}

.mobile1e4f4-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
  touch-action: pan-y;
}

.mobile1e4f4-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  text-align: left;
  min-height: 0;
}

.mobile1e4f4-slideimg {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
}

.mobile1e4f4-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(29, 43, 61, 0) 0%, rgba(29, 43, 61, 0.92) 78%);
}
.mobile1e4f4-slidecap strong {
  font-family: var(--mobile1e4f4-mono);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--mobile1e4f4-ink);
  display: block;
}
.mobile1e4f4-slidecap span {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--mobile1e4f4-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #1D2B3D;
  background: var(--mobile1e4f4-aqua);
  border-radius: var(--mobile1e4f4-r-pill);
  padding: 4px 10px;
  font-weight: 700;
}

.mobile1e4f4-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.mobile1e4f4-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--mobile1e4f4-r-pill);
  background: rgba(230, 230, 250, 0.34);
  transition: width 0.2s ease, background 0.2s ease;
}
.mobile1e4f4-dot--on { width: 20px; background: var(--mobile1e4f4-aqua); }

/* ---------- scene branch chips ---------- */
.mobile1e4f4-branch { padding: 16px 0 2px; }

.mobile1e4f4-branchq {
  font-family: var(--mobile1e4f4-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mobile1e4f4-aqua);
  padding: 0 16px 8px;
}

.mobile1e4f4-branchrow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 16px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mobile1e4f4-branchrow::-webkit-scrollbar { display: none; }

.mobile1e4f4-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: var(--mobile1e4f4-r-pill);
  border: 1px solid var(--mobile1e4f4-line-strong);
  background: rgba(230, 230, 250, 0.04);
  color: var(--mobile1e4f4-ink);
  font-family: var(--mobile1e4f4-mono);
  font-size: 11.5px;
  white-space: nowrap;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.mobile1e4f4-chip:active { transform: scale(0.94); border-color: var(--mobile1e4f4-aqua); }
.mobile1e4f4-chip em {
  font-style: normal;
  color: var(--mobile1e4f4-aqua);
  font-size: 10px;
}

/* trust strip */
.mobile1e4f4-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 14px 0;
  padding: 10px 6px;
  border: 1px dashed var(--mobile1e4f4-line-strong);
  border-radius: var(--mobile1e4f4-r-card);
  background: rgba(230, 230, 250, 0.03);
}
.mobile1e4f4-strip div {
  text-align: center;
  font-family: var(--mobile1e4f4-mono);
  font-size: 10px;
  color: var(--mobile1e4f4-dim);
  line-height: 1.4;
}
.mobile1e4f4-strip b {
  display: block;
  font-size: 14px;
  color: var(--mobile1e4f4-aqua);
  letter-spacing: 0.04em;
}

/* ---------- game sections ---------- */
.mobile1e4f4-sec { padding-top: 22px; }

.mobile1e4f4-sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px 4px;
  border-bottom: 1px solid var(--mobile1e4f4-line);
  margin-bottom: 12px;
}

.mobile1e4f4-seclabel {
  font-family: var(--mobile1e4f4-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--mobile1e4f4-orchid);
  display: block;
  margin-bottom: 3px;
}

.mobile1e4f4-h2 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--mobile1e4f4-ink);
}

.mobile1e4f4-seclinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  padding-bottom: 6px;
  flex: 0 0 auto;
}
.mobile1e4f4-seclinks a {
  font-family: var(--mobile1e4f4-mono);
  font-size: 10.5px;
  color: var(--mobile1e4f4-aqua);
  white-space: nowrap;
  border-bottom: 1px dotted rgba(72, 209, 204, 0.5);
  padding-bottom: 1px;
}
.mobile1e4f4-seclinks a:active { opacity: 0.7; }

.mobile1e4f4-secintro {
  padding: 0 16px 12px;
  font-size: 13.5px;
  color: var(--mobile1e4f4-dim);
}

/* tile grid: 4 columns at 320px, 5 columns on larger phones */
.mobile1e4f4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 14px;
}

.mobile1e4f4-tile {
  display: block;
  width: 100%;
  text-align: center;
  padding: 5px 4px 7px;
  border: 1px solid var(--mobile1e4f4-line-strong);
  border-radius: var(--mobile1e4f4-r-card);
  background: rgba(230, 230, 250, 0.035);
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.mobile1e4f4-tile:active {
  transform: scale(0.93);
  border-color: var(--mobile1e4f4-aqua);
  background: rgba(72, 209, 204, 0.08);
}

.mobile1e4f4-tileimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--mobile1e4f4-bg-deep);
  border: 1px solid rgba(29, 43, 61, 0.6);
}

.mobile1e4f4-tilename {
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.28;
  color: var(--mobile1e4f4-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 27px;
}

/* per-section accent on outlined tiles */
.mobile1e4f4-sec--hot .mobile1e4f4-tile { border-color: rgba(153, 50, 204, 0.55); }
.mobile1e4f4-sec--hot .mobile1e4f4-seclabel { color: #C77BFF; }
.mobile1e4f4-sec--live .mobile1e4f4-tile { border-color: rgba(139, 0, 139, 0.5); }

/* ---------- content panels ---------- */
.mobile1e4f4-panel {
  margin: 18px 14px 0;
  padding: 16px 14px 18px;
  border: 1px solid var(--mobile1e4f4-line);
  border-radius: var(--mobile1e4f4-r-card);
  background: var(--mobile1e4f4-bg-panel);
}

.mobile1e4f4-panelhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.mobile1e4f4-panelhead::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--mobile1e4f4-grad-cta);
  flex: 0 0 auto;
}
.mobile1e4f4-panel .mobile1e4f4-h2 { font-size: 16px; }

.mobile1e4f4-p { font-size: 13.5px; color: var(--mobile1e4f4-dim); margin-bottom: 10px; }
.mobile1e4f4-p strong, .mobile1e4f4-li strong { color: var(--mobile1e4f4-ink); }
.mobile1e4f4-p a, .mobile1e4f4-li a { border-bottom: 1px dotted rgba(72, 209, 204, 0.55); }

/* verdict line: conclusion-first opener for advisory blocks */
.mobile1e4f4-verdict {
  font-family: var(--mobile1e4f4-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--mobile1e4f4-ink);
  border-left: 3px solid var(--mobile1e4f4-aqua);
  background: rgba(72, 209, 204, 0.07);
  padding: 9px 12px;
  border-radius: 0 var(--mobile1e4f4-r-card) var(--mobile1e4f4-r-card) 0;
  margin-bottom: 12px;
}

/* check list */
.mobile1e4f4-check { display: grid; gap: 9px; }
.mobile1e4f4-li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  color: var(--mobile1e4f4-dim);
}
.mobile1e4f4-li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid rgba(72, 209, 204, 0.65);
  background:
    linear-gradient(135deg, transparent 42%, rgba(72, 209, 204, 0.9) 44%, rgba(72, 209, 204, 0.9) 58%, transparent 60%);
}

/* feature comparison rows */
.mobile1e4f4-kv { display: grid; gap: 8px; }
.mobile1e4f4-kvrow {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid var(--mobile1e4f4-line);
  border-radius: var(--mobile1e4f4-r-card);
  background: rgba(230, 230, 250, 0.025);
}
.mobile1e4f4-kvkey {
  font-family: var(--mobile1e4f4-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mobile1e4f4-aqua);
  padding-top: 2px;
}
.mobile1e4f4-kvval { font-size: 13px; color: var(--mobile1e4f4-dim); }

/* scenario branches inside panels */
.mobile1e4f4-scene {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.mobile1e4f4-sceneitem {
  border: 1px dashed var(--mobile1e4f4-line-strong);
  border-radius: var(--mobile1e4f4-r-card);
  padding: 10px 12px;
}
.mobile1e4f4-sceneitem b {
  display: block;
  font-family: var(--mobile1e4f4-mono);
  font-size: 11.5px;
  color: var(--mobile1e4f4-ink);
  margin-bottom: 3px;
}
.mobile1e4f4-sceneitem b em { font-style: normal; color: var(--mobile1e4f4-aqua); }
.mobile1e4f4-sceneitem p { font-size: 12.5px; color: var(--mobile1e4f4-dim); }

/* FAQ via native details */
.mobile1e4f4-qa { display: grid; gap: 8px; }
.mobile1e4f4-qa details {
  border: 1px solid var(--mobile1e4f4-line);
  border-radius: var(--mobile1e4f4-r-card);
  background: rgba(230, 230, 250, 0.025);
  overflow: hidden;
}
.mobile1e4f4-qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--mobile1e4f4-tap);
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile1e4f4-ink);
  transition: color 0.12s ease;
}
.mobile1e4f4-qa summary::-webkit-details-marker { display: none; }
.mobile1e4f4-qa summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mobile1e4f4-mono);
  color: var(--mobile1e4f4-aqua);
  font-size: 15px;
  transition: transform 0.15s ease;
}
.mobile1e4f4-qa details[open] summary { color: var(--mobile1e4f4-aqua); box-shadow: inset 0 2px 0 rgba(72, 209, 204, 0.55); }
.mobile1e4f4-qa details[open] summary::after { transform: rotate(45deg); }
.mobile1e4f4-qa .mobile1e4f4-answer { padding: 0 12px 12px; font-size: 12.8px; color: var(--mobile1e4f4-dim); }

/* numbered steps */
.mobile1e4f4-steps { counter-reset: mobile1e4f4step; display: grid; gap: 8px; }
.mobile1e4f4-step {
  counter-increment: mobile1e4f4step;
  position: relative;
  padding: 9px 10px 9px 42px;
  border: 1px solid var(--mobile1e4f4-line);
  border-radius: var(--mobile1e4f4-r-card);
  font-size: 13px;
  color: var(--mobile1e4f4-dim);
  background: rgba(230, 230, 250, 0.02);
}
.mobile1e4f4-step::before {
  content: counter(mobile1e4f4step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 10px;
  font-family: var(--mobile1e4f4-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--mobile1e4f4-orchid);
}

/* term glossary */
.mobile1e4f4-terms { display: grid; gap: 8px; }
.mobile1e4f4-term {
  padding: 9px 11px;
  border-left: 2px solid rgba(153, 50, 204, 0.7);
  background: rgba(153, 50, 204, 0.07);
  border-radius: 0 var(--mobile1e4f4-r-card) var(--mobile1e4f4-r-card) 0;
}
.mobile1e4f4-term dt {
  font-family: var(--mobile1e4f4-mono);
  font-size: 12px;
  color: var(--mobile1e4f4-ink);
  margin-bottom: 2px;
}
.mobile1e4f4-term dd { font-size: 12.5px; color: var(--mobile1e4f4-dim); }

/* full-width CTA inside panels */
.mobile1e4f4-ctawide {
  width: 100%;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--mobile1e4f4-tap);
  border-radius: var(--mobile1e4f4-r-pill);
  background: var(--mobile1e4f4-grad-cta);
  color: var(--mobile1e4f4-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(139, 0, 139, 0.38);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.mobile1e4f4-ctawide:active { transform: scale(0.97); filter: brightness(1.12); }
.mobile1e4f4-ctawide span {
  font-family: var(--mobile1e4f4-mono);
  font-size: 10px;
  font-weight: 400;
  opacity: 0.85;
}

/* ---------- extended footer (home only) ---------- */
.mobile1e4f4-ext {
  margin-top: 26px;
  padding: 18px 14px 6px;
  border-top: 1px solid var(--mobile1e4f4-line-strong);
  background: linear-gradient(180deg, rgba(153, 50, 204, 0.08), rgba(29, 43, 61, 0) 65%);
}

/* horizontal promo shortcuts */
.mobile1e4f4-extpromos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mobile1e4f4-extpromos::-webkit-scrollbar { display: none; }

.mobile1e4f4-shortcut {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: var(--mobile1e4f4-r-pill);
  border: 1px solid rgba(153, 50, 204, 0.65);
  background: var(--mobile1e4f4-grad-panel);
  color: var(--mobile1e4f4-ink);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.mobile1e4f4-shortcut:active { transform: scale(0.94); border-color: var(--mobile1e4f4-aqua); }
.mobile1e4f4-shortcut i {
  font-style: normal;
  font-family: var(--mobile1e4f4-mono);
  font-size: 10px;
  color: var(--mobile1e4f4-aqua);
}

.mobile1e4f4-extbrand {
  font-size: 12.8px;
  color: var(--mobile1e4f4-dim);
  padding: 4px 2px 14px;
  border-bottom: 1px dashed var(--mobile1e4f4-line);
}

/* page directory */
.mobile1e4f4-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  padding: 14px 2px;
}
.mobile1e4f4-dirlink {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-height: 40px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--mobile1e4f4-line);
  font-size: 12px;
  color: var(--mobile1e4f4-ink);
}
.mobile1e4f4-dirlink b {
  font-family: var(--mobile1e4f4-mono);
  font-size: 9.5px;
  color: var(--mobile1e4f4-orchid);
  font-weight: 700;
}
.mobile1e4f4-dirlink:active { color: var(--mobile1e4f4-aqua); }

.mobile1e4f4-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--mobile1e4f4-faint);
  padding: 10px 2px 14px;
  border-top: 1px dashed var(--mobile1e4f4-line);
}

/* ---------- common footer ---------- */
.mobile1e4f4-foot {
  text-align: center;
  padding: 14px 16px 10px;
  border-top: 1px solid var(--mobile1e4f4-line);
  font-family: var(--mobile1e4f4-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--mobile1e4f4-faint);
}

/* ---------- bottom dock: 5 roles, center raised ---------- */
.mobile1e4f4-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile1e4f4-shell-w);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: calc(66px + var(--mobile1e4f4-safe-b));
  padding: 6px 4px calc(6px + var(--mobile1e4f4-safe-b));
  background: rgba(31, 46, 64, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--mobile1e4f4-line-strong);
}

.mobile1e4f4-dockitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 52px;
  color: var(--mobile1e4f4-dim);
  border-radius: 10px;
  padding: 4px 2px;
  transition: color 0.12s ease;
}
.mobile1e4f4-dockitem:active .mobile1e4f4-dockicon { transform: scale(0.86); }

/* top indicator line for the current page */
.mobile1e4f4-dockitem--on { color: var(--mobile1e4f4-aqua); }
.mobile1e4f4-dockitem--on::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: var(--mobile1e4f4-r-pill);
  background: var(--mobile1e4f4-aqua);
  box-shadow: 0 0 10px rgba(72, 209, 204, 0.8);
}

/* containerized symbol tiles */
.mobile1e4f4-dockicon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--mobile1e4f4-line-strong);
  background: rgba(230, 230, 250, 0.05);
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.mobile1e4f4-dockicon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile1e4f4-dockitem--on .mobile1e4f4-dockicon { border-color: rgba(72, 209, 204, 0.7); background: rgba(72, 209, 204, 0.1); }

.mobile1e4f4-docklabel {
  font-family: var(--mobile1e4f4-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

/* raised center promo */
.mobile1e4f4-dockcenter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 52px;
  padding: 4px 2px;
}
.mobile1e4f4-dockcenter .mobile1e4f4-docklabel { color: var(--mobile1e4f4-ink); }
.mobile1e4f4-dockcenterbtn {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mobile1e4f4-grad-cta);
  border: 2px solid rgba(230, 230, 250, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(139, 0, 139, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.mobile1e4f4-dockcenterbtn:active { transform: translateX(-50%) scale(0.9); }
.mobile1e4f4-dockcenterbtn svg { width: 24px; height: 24px; stroke: #E6E6FA; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- restrained reveal ---------- */
.mobile1e4f4-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.mobile1e4f4-reveal.mobile1e4f4-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .mobile1e4f4-reveal { opacity: 1; transform: none; transition: none; }
  .mobile1e4f4-track { transition: none; }
  .mobile1e4f4-menu { transition: none; }
}

/* ---------- breakpoints ---------- */
@media (min-width: 360px) {
  .mobile1e4f4-h1 { font-size: 22px; }
  .mobile1e4f4-tilename { font-size: 11px; }
}

@media (min-width: 390px) {
  /* 5 columns of game tiles on 390-430px phones */
  .mobile1e4f4-grid { grid-template-columns: repeat(5, 1fr); }
  .mobile1e4f4-strip { grid-template-columns: repeat(4, 1fr); }
  .mobile1e4f4-h2 { font-size: 18px; }
}

@media (min-width: 430px) {
  .mobile1e4f4-shell { border-radius: 0 0 18px 18px; }
  .mobile1e4f4-h1 { font-size: 24px; }
  .mobile1e4f4-lead { font-size: 14.5px; }
  .mobile1e4f4-dir { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 359px) {
  /* keep 4 stable tracks even on the narrowest canvas */
  .mobile1e4f4-grid { gap: 6px; }
  .mobile1e4f4-tilename { font-size: 10px; }
  .mobile1e4f4-menugroups { grid-template-columns: 1fr; }
}
