/* ==========================================================================
   Scatter Game - shell-mobile-1e4185.css
   Site: scattergame.cyou (en-PH)
   Mobile-first shell drawn for a 320-430px phone canvas; wide screens keep
   the same centered canvas. Class prefix: frame1e418-
   Visual brief: edge-aligned functional header, layered dropdown menu,
   horizontal icon+name game bars, brand-accent bottom band, color-switch
   active states and light press feedback only.
   ========================================================================== */

:root {
  --frame1e418-ink: #1c2833;
  --frame1e418-ink-deep: #141d26;
  --frame1e418-panel: #233240;
  --frame1e418-panel-hi: #2b4050;
  --frame1e418-line: rgba(178, 223, 219, 0.16);
  --frame1e418-line-hi: rgba(0, 229, 255, 0.4);
  --frame1e418-cyan: #00e5ff;
  --frame1e418-teal: #008b8b;
  --frame1e418-mist: #b2dfdb;
  --frame1e418-clay: #a0522d;
  --frame1e418-clay-hi: #c46a3d;
  --frame1e418-paper: #eaf6f4;
  --frame1e418-header-h: 56px;
  --frame1e418-bnav-h: 62px;
  --frame1e418-font-head: "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --frame1e418-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame1e418-press: transform 120ms ease, background-color 160ms ease,
    color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #0d141b;
  color: var(--frame1e418-paper);
  font-family: var(--frame1e418-font-body);
  font-size: 15px;
  line-height: 1.62;
}

img { max-width: 100%; height: auto; }

/* ---------------------------------------------------------------------------
   Phone canvas: never wider than 430px, centered on desktop viewports.
--------------------------------------------------------------------------- */
.frame1e418-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--frame1e418-ink);
  color: var(--frame1e418-paper);
  overflow-x: clip;
}

/* ---------------------------------------------------------------------------
   Fixed functional header (edge-aligned): brand block left, actions right.
--------------------------------------------------------------------------- */
.frame1e418-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame1e418-header-h);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 10px;
  background: rgba(20, 29, 38, 0.97);
  border-bottom: 1px solid rgba(0, 229, 255, 0.28);
  z-index: 80;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.frame1e418-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.frame1e418-logo {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 6px;
  border: 1px solid var(--frame1e418-line);
  display: block;
}

.frame1e418-brand-name {
  font-family: var(--frame1e418-font-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: var(--frame1e418-paper);
}

.frame1e418-brand-name span { color: var(--frame1e418-cyan); }

.frame1e418-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Light-rounded text buttons with an enlarged invisible hit area (>=44px). */
.frame1e418-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 11px;
  min-height: 38px;
  font-family: var(--frame1e418-font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--frame1e418-press);
}

.frame1e418-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
}

.frame1e418-btn--promo {
  background: var(--frame1e418-cyan);
  color: #06232b;
}

.frame1e418-btn--promo:active {
  transform: translateY(1px);
  background: #6ff1ff;
}

.frame1e418-btn--ghost {
  background: transparent;
  color: var(--frame1e418-mist);
  border-color: rgba(178, 223, 219, 0.4);
}

.frame1e418-btn--ghost:active {
  transform: translateY(1px);
  color: var(--frame1e418-paper);
  border-color: var(--frame1e418-cyan);
}

.frame1e418-btn--icon {
  width: 40px;
  min-width: 40px;
  padding: 8px 0;
  background: transparent;
  border-color: rgba(178, 223, 219, 0.3);
  color: var(--frame1e418-mist);
}

.frame1e418-btn--icon svg { width: 17px; height: 17px; display: block; }

.frame1e418-btn--icon:active {
  transform: translateY(1px);
  color: var(--frame1e418-cyan);
  border-color: var(--frame1e418-cyan);
}

.frame1e418-btn--wide {
  width: 100%;
  padding: 12px 16px;
  min-height: 44px;
  font-size: 13px;
}

/* ---------------------------------------------------------------------------
   Layered dropdown menu under the header (grouped tiers of real routes).
--------------------------------------------------------------------------- */
.frame1e418-drawer {
  position: fixed;
  top: var(--frame1e418-header-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  max-height: calc(100dvh - var(--frame1e418-header-h) - var(--frame1e418-bnav-h));
  overflow-y: auto;
  padding: 6px 12px 14px;
  background: rgba(20, 29, 38, 0.985);
  border-bottom: 1px solid var(--frame1e418-line-hi);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  z-index: 75;
  visibility: hidden;
  opacity: 0;
  transition: opacity 170ms ease, transform 170ms ease, visibility 170ms;
}

.frame1e418-drawer--open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.frame1e418-dgroup {
  border-top: 1px solid var(--frame1e418-line);
  padding: 9px 0 11px;
}

.frame1e418-dgroup:first-child { border-top: 0; padding-top: 8px; }

.frame1e418-dlabel {
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(178, 223, 219, 0.72);
}

.frame1e418-dlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frame1e418-dlink {
  display: block;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--frame1e418-line);
  border-left: 3px solid transparent;
  border-radius: 4px;
  background: var(--frame1e418-panel);
  text-decoration: none;
  transition: var(--frame1e418-press);
}

.frame1e418-dlink:active {
  transform: translateY(1px);
  border-left-color: var(--frame1e418-cyan);
  background: var(--frame1e418-panel-hi);
}

.frame1e418-dlink strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--frame1e418-paper);
  line-height: 1.3;
}

.frame1e418-dlink small {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  color: var(--frame1e418-mist);
  line-height: 1.35;
}

.frame1e418-dpromo {
  display: flex;
  gap: 6px;
  margin-top: 11px;
}

.frame1e418-dpromo .frame1e418-btn { flex: 1 1 0; }

/* ---------------------------------------------------------------------------
   Main column: clears the fixed header and the fixed bottom band.
--------------------------------------------------------------------------- */
.frame1e418-main {
  padding: calc(var(--frame1e418-header-h) + 12px) 12px
    calc(var(--frame1e418-bnav-h) + 28px + env(safe-area-inset-bottom));
}

/* ---------------------------------------------------------------------------
   Hero: one H1, conclusion-first lede, light-rounded CTA group, fact chips.
--------------------------------------------------------------------------- */
.frame1e418-hero { margin: 2px 0 0; }

.frame1e418-h1 {
  margin: 0 0 10px;
  font-family: var(--frame1e418-font-head);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--frame1e418-paper);
}

.frame1e418-lede {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--frame1e418-mist);
}

.frame1e418-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.frame1e418-cta {
  position: relative;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 16px;
  min-height: 44px;
  font-family: var(--frame1e418-font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: var(--frame1e418-press);
}

.frame1e418-cta::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
}

.frame1e418-cta--fill {
  background: var(--frame1e418-cyan);
  color: #06232b;
}

.frame1e418-cta--fill:active { transform: translateY(1px); background: #6ff1ff; }

.frame1e418-cta--line {
  background: transparent;
  color: var(--frame1e418-cyan);
  border-color: rgba(0, 229, 255, 0.55);
}

.frame1e418-cta--line:active {
  transform: translateY(1px);
  background: rgba(0, 229, 255, 0.1);
}

.frame1e418-chips {
  display: flex;
  gap: 6px;
  margin: 13px 0 0;
}

.frame1e418-chip {
  flex: none;
  border: 1px solid var(--frame1e418-line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.2;
  color: var(--frame1e418-mist);
}

.frame1e418-chip b { color: var(--frame1e418-cyan); font-weight: 700; }

/* ---------------------------------------------------------------------------
   Banner carousel: three local promo slides, dot controls.
--------------------------------------------------------------------------- */
.frame1e418-carousel {
  position: relative;
  margin-top: 16px;
  border: 1px solid var(--frame1e418-line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--frame1e418-ink-deep);
}

.frame1e418-track {
  display: flex;
  transition: transform 420ms ease;
}

.frame1e418-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  display: block;
  cursor: pointer;
}

.frame1e418-slide img { display: block; width: 100%; height: auto; }

.frame1e418-slide:active img { filter: brightness(1.08); }

.frame1e418-slidecap {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 86%;
  padding: 7px 12px;
  background: rgba(20, 29, 38, 0.86);
  border-left: 3px solid var(--frame1e418-cyan);
  font-size: 11px;
  line-height: 1.4;
  color: var(--frame1e418-mist);
  text-align: left;
}

.frame1e418-slidecap strong {
  display: block;
  font-size: 12px;
  color: var(--frame1e418-cyan);
}

.frame1e418-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 2px;
}

.frame1e418-dot {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.frame1e418-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 9px auto 0;
  border-radius: 50%;
  background: rgba(178, 223, 219, 0.45);
  transition: background-color 160ms ease;
}

.frame1e418-dot--on::before { background: var(--frame1e418-cyan); }

.frame1e418-dot:active::before { background: #6ff1ff; }

/* ---------------------------------------------------------------------------
   Floor jump strip (scroll shortcut chips; real routes live in body copy).
--------------------------------------------------------------------------- */
.frame1e418-jump {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding: 2px 2px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.frame1e418-jump::-webkit-scrollbar { display: none; }

.frame1e418-jump a {
  position: relative;
  flex: none;
  border: 1px solid var(--frame1e418-line);
  border-radius: 999px;
  padding: 9px 13px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--frame1e418-mist);
  text-decoration: none;
  transition: var(--frame1e418-press);
}

.frame1e418-jump a::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
}

.frame1e418-jump a:active {
  transform: translateY(1px);
  color: var(--frame1e418-cyan);
  border-color: var(--frame1e418-cyan);
}

/* ---------------------------------------------------------------------------
   Content sections and headings.
--------------------------------------------------------------------------- */
.frame1e418-section { margin-top: 28px; }

.frame1e418-h2 {
  margin: 0 0 8px;
  font-family: var(--frame1e418-font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--frame1e418-paper);
}

.frame1e418-h2::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  margin: 0 8px 5px 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--frame1e418-cyan), var(--frame1e418-teal));
  vertical-align: middle;
}

.frame1e418-intro {
  margin: 0 0 13px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--frame1e418-mist);
}

.frame1e418-intro a,
.frame1e418-body a,
.frame1e418-qa a,
.frame1e418-tile a {
  color: var(--frame1e418-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.5);
  text-underline-offset: 2px;
}

.frame1e418-intro a:active,
.frame1e418-body a:active { color: #6ff1ff; }

.frame1e418-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--frame1e418-mist);
}

.frame1e418-help-list {
  margin: 0;
  padding: 0 0 0 22px;
  color: var(--frame1e418-mist);
}

.frame1e418-help-list li {
  margin: 0 0 12px;
  padding-left: 4px;
  font-size: 13px;
  line-height: 1.68;
}

.frame1e418-help-list li:last-child { margin-bottom: 0; }
.frame1e418-help-list strong { color: var(--frame1e418-paper); }

.frame1e418-count {
  display: inline-block;
  margin: 0 0 10px;
  border: 1px solid rgba(0, 139, 139, 0.55);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--frame1e418-teal);
  background: rgba(0, 139, 139, 0.12);
}

/* ---------------------------------------------------------------------------
   Game floors: horizontal icon+name bars on a stable two-column grid.
--------------------------------------------------------------------------- */
.frame1e418-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.frame1e418-gamebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 82px;
  padding: 7px 4px;
  border: 1px solid var(--frame1e418-line);
  border-radius: 4px;
  background: var(--frame1e418-panel);
  text-align: left;
  cursor: pointer;
  font-family: var(--frame1e418-font-body);
  transition: var(--frame1e418-press);
}

.frame1e418-gamebar:active {
  transform: translateY(1px);
  background: var(--frame1e418-panel-hi);
  border-color: rgba(0, 229, 255, 0.5);
}

.frame1e418-gamebar-img {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 3px;
  display: block;
  object-fit: cover;
  background: var(--frame1e418-ink-deep);
}

.frame1e418-gamebar-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  width: 100%;
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.18;
  text-align: center;
  color: var(--frame1e418-paper);
}

/* ---------------------------------------------------------------------------
   Promotions module: clay-edged stacked rows (offer summary + action link).
--------------------------------------------------------------------------- */
.frame1e418-promorow {
  border: 1px solid var(--frame1e418-line);
  border-left: 3px solid var(--frame1e418-clay-hi);
  border-radius: 4px;
  background: var(--frame1e418-panel);
  padding: 11px 13px;
  margin: 0 0 9px;
}

.frame1e418-promorow:last-child { margin-bottom: 0; }

.frame1e418-promorow h3 {
  margin: 0 0 4px;
  font-family: var(--frame1e418-font-head);
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--frame1e418-paper);
}

.frame1e418-promorow p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--frame1e418-mist);
}

.frame1e418-promoact {
  position: relative;
  border: 0;
  padding: 6px 0;
  min-height: 32px;
  background: none;
  color: var(--frame1e418-cyan);
  font-family: var(--frame1e418-font-body);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.5);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: var(--frame1e418-press);
}

.frame1e418-promoact::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}

.frame1e418-promoact:active { color: #6ff1ff; }

/* ---------------------------------------------------------------------------
   Features module: scannable two-column fact tiles.
--------------------------------------------------------------------------- */
.frame1e418-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.frame1e418-tile {
  border: 1px solid var(--frame1e418-line);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--frame1e418-panel), rgba(35, 50, 64, 0.35));
  padding: 11px 11px 12px;
}

.frame1e418-tile h3 {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--frame1e418-cyan);
  line-height: 1.35;
}

.frame1e418-tile p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--frame1e418-mist);
}

/* ---------------------------------------------------------------------------
   Play-style comparison table.
--------------------------------------------------------------------------- */
.frame1e418-styletable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.frame1e418-styletable th {
  padding: 8px 8px;
  border-bottom: 1px solid var(--frame1e418-line-hi);
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--frame1e418-cyan);
}

.frame1e418-styletable td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--frame1e418-line);
  vertical-align: top;
  font-size: 11.8px;
  line-height: 1.5;
  color: var(--frame1e418-mist);
}

.frame1e418-styletable td:first-child {
  color: var(--frame1e418-paper);
  font-weight: 600;
}

.frame1e418-styletable col.frame1e418-col-a { width: 31%; }
.frame1e418-styletable col.frame1e418-col-b { width: 37%; }

/* ---------------------------------------------------------------------------
   Direct-answer panel.
--------------------------------------------------------------------------- */
.frame1e418-answer {
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 6px;
  padding: 13px 14px;
  background:
    linear-gradient(160deg, rgba(0, 139, 139, 0.18), rgba(20, 29, 38, 0.35)),
    var(--frame1e418-panel);
}

.frame1e418-qa {
  border-top: 1px dashed rgba(178, 223, 219, 0.3);
  margin-top: 12px;
  padding-top: 11px;
}

.frame1e418-qa h3 {
  margin: 0 0 5px;
  font-family: var(--frame1e418-font-head);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--frame1e418-cyan);
}

.frame1e418-qa p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--frame1e418-mist);
}

/* ---------------------------------------------------------------------------
   Extended homepage footer: brand blurb > 7 promo actions > page directory >
   short disclaimer, laid out as a sectioned list.
--------------------------------------------------------------------------- */
.frame1e418-xfooter {
  margin-top: 34px;
  border-top: 1px solid var(--frame1e418-line-hi);
  padding-top: 4px;
}

.frame1e418-xlabel {
  margin: 18px 0 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(178, 223, 219, 0.7);
}

.frame1e418-xbrand {
  margin: 14px 0 0;
  font-size: 12.8px;
  line-height: 1.66;
  color: var(--frame1e418-mist);
}

.frame1e418-xact {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0 0 7px;
  padding: 9px 12px;
  border: 1px solid var(--frame1e418-line);
  border-left: 3px solid var(--frame1e418-clay);
  border-radius: 4px;
  background: var(--frame1e418-panel);
  text-align: left;
  cursor: pointer;
  font-family: var(--frame1e418-font-body);
  transition: var(--frame1e418-press);
}

.frame1e418-xact:active {
  transform: translateY(1px);
  border-left-color: var(--frame1e418-clay-hi);
  background: var(--frame1e418-panel-hi);
}

.frame1e418-xact strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--frame1e418-paper);
}

.frame1e418-xact small {
  display: block;
  margin-top: 2px;
  font-size: 10.8px;
  line-height: 1.4;
  color: var(--frame1e418-mist);
}

.frame1e418-xdir { display: block; }

.frame1e418-xdir a {
  display: block;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--frame1e418-line);
  text-decoration: none;
  transition: var(--frame1e418-press);
}

.frame1e418-xdir a:active { transform: translateY(1px); }

.frame1e418-xdir strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--frame1e418-cyan);
  line-height: 1.35;
}

.frame1e418-xdir small {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--frame1e418-mist);
}

.frame1e418-xdisc {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(160, 82, 45, 0.5);
  border-radius: 4px;
  background: rgba(160, 82, 45, 0.1);
  font-size: 11px;
  line-height: 1.55;
  color: rgba(178, 223, 219, 0.85);
}

/* ---------------------------------------------------------------------------
   Generic footer + fixed brand-accent bottom band (5 roles).
--------------------------------------------------------------------------- */
.frame1e418-copy {
  margin: 18px 0 0;
  padding: 0 4px;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(178, 223, 219, 0.62);
}

.frame1e418-copy a { color: rgba(0, 229, 255, 0.75); text-decoration: none; }

.frame1e418-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--frame1e418-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--frame1e418-ink-deep);
  border-top: 2px solid var(--frame1e418-cyan);
  z-index: 80;
}

.frame1e418-bnav a,
.frame1e418-bnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--frame1e418-bnav-h);
  padding: 0 2px;
  border: 0;
  background: none;
  font-family: var(--frame1e418-font-body);
  font-size: 9.8px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.1;
  color: var(--frame1e418-mist);
  text-decoration: none;
  cursor: pointer;
  transition: var(--frame1e418-press);
}

.frame1e418-bnav svg {
  width: 21px;
  height: 21px;
  display: block;
}

.frame1e418-bnav a:active,
.frame1e418-bnav button:active {
  transform: translateY(1px);
  background: rgba(0, 229, 255, 0.07);
  color: var(--frame1e418-paper);
}

/* Active state is a plain color switch. */
.frame1e418-bnav .frame1e418-on { color: var(--frame1e418-cyan); }

/* ---------------------------------------------------------------------------
   Utilities, focus visibility, motion sensitivity.
--------------------------------------------------------------------------- */
.frame1e418-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.frame1e418-shell :is(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--frame1e418-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .frame1e418-track { transition: none; }
  .frame1e418-btn,
  .frame1e418-cta,
  .frame1e418-gamebar,
  .frame1e418-drawer,
  .frame1e418-bnav a,
  .frame1e418-bnav button,
  .frame1e418-jump a,
  .frame1e418-xact,
  .frame1e418-promoact,
  .frame1e418-dlink { transition: none; }
}

/* ---------------------------------------------------------------------------
   Slightly roomier rhythm once the canvas reaches 375px.
--------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .frame1e418-h1 { font-size: 25px; }
  .frame1e418-h2 { font-size: 20px; }
  .frame1e418-gamegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
  .frame1e418-gamebar-name { font-size: 10.5px; }
  .frame1e418-lede { font-size: 14px; }
  .frame1e418-intro { font-size: 13.5px; }
  .frame1e418-btn { font-size: 12px; }
}

/* ---------------------------------------------------------------------------
   Wide viewport: keep the phone canvas centered with a quiet desktop frame.
--------------------------------------------------------------------------- */
@media (min-width: 431px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(0, 139, 139, 0.18), transparent 70%),
      #0d141b;
  }

  .frame1e418-shell {
    border-left: 1px solid rgba(0, 229, 255, 0.14);
    border-right: 1px solid rgba(0, 229, 255, 0.14);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
}
