/* ==========================================================================
   okfun plus apk - mobile shell stylesheet
   Palette base: #FFF8DC (light text) / #2E4057 (deep ground) / #A0522D (line)
   Accent: #CD853F (copper) / Muted: #BC8F8F (rosy)
   Design voice: technical headings + open body copy, grouped cover cards,
   outlined function bar with top indicator line, compact icon+text CTAs.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --mobile779ef-ink: #fff8dc;
  --mobile779ef-ink-strong: #fffdf2;
  --mobile779ef-ground: #2e4057;
  --mobile779ef-line: #a0522d;
  --mobile779ef-copper: #cd853f;
  --mobile779ef-muted: #bc8f8f;
  --mobile779ef-veil: rgba(255, 248, 220, 0.05);
  --mobile779ef-veil-2: rgba(255, 248, 220, 0.09);
  --mobile779ef-shade: rgba(17, 27, 40, 0.55);
  --mobile779ef-night: #1d2c40;
  --mobile779ef-radius-s: 8px;
  --mobile779ef-radius-m: 12px;
  --mobile779ef-radius-l: 16px;
  --mobile779ef-gap: 14px;
  --mobile779ef-pad: 14px;
  --mobile779ef-head-stack: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mobile779ef-body-stack: "Segoe UI", -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mobile779ef-mono-stack: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --mobile779ef-rhythm: 1.62;
  --mobile779ef-header-h: 58px;
  --mobile779ef-bottomnav-h: 66px;
  --mobile779ef-tap: 44px;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #162234;
  color: var(--mobile779ef-ink);
  font-family: var(--mobile779ef-body-stack);
  font-size: 15px;
  line-height: var(--mobile779ef-rhythm);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--mobile779ef-copper); text-decoration: none; }
a:hover { text-decoration: underline; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

/* ==========================================================================
   phone canvas
   ========================================================================== */
.mobile779ef-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(160, 82, 45, 0.30), transparent 62%),
    linear-gradient(180deg, #334760 0%, var(--mobile779ef-ground) 34%, #293a4f 100%);
}

@media (min-width: 480px) {
  .mobile779ef-shell {
    border-inline: 1px solid rgba(160, 82, 45, 0.55);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
  }
}

/* ==========================================================================
   top action bar (logo-led)
   ========================================================================== */
.mobile779ef-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  min-height: var(--mobile779ef-header-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
  background: rgba(29, 44, 64, 0.97);
  border-bottom: 1px solid rgba(160, 82, 45, 0.65);
  backdrop-filter: blur(6px);
}

/* brand zone: logo + name only */
.mobile779ef-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--mobile779ef-tap);
  margin-right: auto;
}

.mobile779ef-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--mobile779ef-line);
  padding: 2px;
  background: rgba(255, 248, 220, 0.06);
  object-fit: contain;
  flex: none;
}

.mobile779ef-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mobile779ef-name b {
  font-family: var(--mobile779ef-head-stack);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--mobile779ef-ink-strong);
  white-space: nowrap;
}

.mobile779ef-name span {
  font-family: var(--mobile779ef-mono-stack);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mobile779ef-muted);
  white-space: nowrap;
}

/* action zone */
.mobile779ef-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile779ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--mobile779ef-radius-s);
  font-family: var(--mobile779ef-head-stack);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--mobile779ef-line);
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile779ef-btn svg { width: 14px; height: 14px; flex: none; }

.mobile779ef-btn:active {
  transform: scale(0.94);
  border-color: var(--mobile779ef-ink);
}

.mobile779ef-btn--solid {
  background: linear-gradient(160deg, #dda059, var(--mobile779ef-copper) 55%, #b06f31);
  border-color: rgba(255, 248, 220, 0.35);
  color: #2b1a0c;
}

.mobile779ef-btn--ghost {
  background: rgba(255, 248, 220, 0.04);
  color: var(--mobile779ef-ink);
}

.mobile779ef-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--mobile779ef-radius-s);
  border: 1px solid var(--mobile779ef-line);
  background: rgba(255, 248, 220, 0.04);
  -webkit-tap-highlight-color: transparent;
}

.mobile779ef-menu-btn:active { transform: scale(0.94); }

.mobile779ef-menu-btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   full-height menu layer
   ========================================================================== */
.mobile779ef-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(13, 21, 33, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobile779ef-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(84%, 340px);
  max-width: 430px;
  background: linear-gradient(200deg, #2c4058 0%, #22334a 70%, #1d2c40 100%);
  border-left: 1px solid var(--mobile779ef-line);
  transform: translateX(102%);
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.mobile779ef-menu-open .mobile779ef-scrim { opacity: 1; visibility: visible; }
body.mobile779ef-menu-open .mobile779ef-menu { transform: translateX(0); }
body.mobile779ef-menu-open { overflow: hidden; }

.mobile779ef-menu-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px 14px;
  border-bottom: 1px solid rgba(160, 82, 45, 0.5);
}

.mobile779ef-menu-top img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--mobile779ef-line);
  object-fit: contain;
  padding: 1px;
}

.mobile779ef-menu-top b {
  font-family: var(--mobile779ef-head-stack);
  font-size: 14px;
  letter-spacing: 0.03em;
  margin-right: auto;
}

.mobile779ef-menu-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobile779ef-line);
  border-radius: var(--mobile779ef-radius-s);
  background: rgba(255, 248, 220, 0.05);
}

.mobile779ef-menu-close svg { width: 16px; height: 16px; }

.mobile779ef-menu-group { padding: 14px 14px 4px; }

.mobile779ef-menu-label {
  font-family: var(--mobile779ef-mono-stack);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mobile779ef-copper);
  margin: 0 0 8px;
}

.mobile779ef-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mobile779ef-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--mobile779ef-tap);
  padding: 8px 10px;
  border-radius: var(--mobile779ef-radius-s);
  border: 1px solid rgba(160, 82, 45, 0.32);
  background: rgba(255, 248, 220, 0.035);
  color: var(--mobile779ef-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.mobile779ef-menu-list a:active { background: rgba(205, 133, 63, 0.2); }

.mobile779ef-menu-list a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mobile779ef-copper);
  box-shadow: 0 0 0 3px rgba(205, 133, 63, 0.18);
  flex: none;
}

.mobile779ef-menu-list a[aria-current="page"] {
  border-color: var(--mobile779ef-copper);
  background: rgba(205, 133, 63, 0.16);
}

.mobile779ef-menu-cta {
  margin: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 8px;
}

.mobile779ef-menu-cta .mobile779ef-btn { min-height: 46px; width: 100%; }

/* ==========================================================================
   main column
   ========================================================================== */
.mobile779ef-main {
  padding: calc(var(--mobile779ef-header-h) + 10px + env(safe-area-inset-top, 0px))
    var(--mobile779ef-pad)
    calc(var(--mobile779ef-bottomnav-h) + 26px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 22px;
}

/* ==========================================================================
   hero
   ========================================================================== */
.mobile779ef-hero {
  position: relative;
  border: 1px solid rgba(160, 82, 45, 0.6);
  border-radius: var(--mobile779ef-radius-l);
  background:
    linear-gradient(155deg, rgba(205, 133, 63, 0.2), transparent 52%),
    rgba(255, 248, 220, 0.04);
  padding: 18px 16px 16px;
  overflow: hidden;
}

.mobile779ef-hero::after {
  content: "";
  position: absolute;
  inset: auto -30% -58% auto;
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(205, 133, 63, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.mobile779ef-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mobile779ef-copper);
  margin: 0 0 10px;
}

.mobile779ef-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--mobile779ef-copper);
}

.mobile779ef-hero h1 {
  margin: 0 0 10px;
  font-family: var(--mobile779ef-head-stack);
  font-size: clamp(23px, 6.4vw, 29px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--mobile779ef-ink-strong);
}

.mobile779ef-lede {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--mobile779ef-ink);
  opacity: 0.94;
}

.mobile779ef-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile779ef-hero-cta .mobile779ef-btn { min-height: 44px; }

.mobile779ef-hero-cta .mobile779ef-btn--wide { flex: 1 1 150px; }

.mobile779ef-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border-top: 1px dashed rgba(188, 143, 143, 0.4);
  padding-top: 12px;
}

.mobile779ef-stats div { text-align: center; }

.mobile779ef-stats b {
  display: block;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 15px;
  color: var(--mobile779ef-copper);
  letter-spacing: 0.04em;
}

.mobile779ef-stats span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mobile779ef-muted);
}

/* ==========================================================================
   promo carousel
   ========================================================================== */
.mobile779ef-carousel { margin-inline: calc(var(--mobile779ef-pad) * -1); }

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

.mobile779ef-viewport::-webkit-scrollbar { display: none; }

.mobile779ef-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-height: 44px;
}

.mobile779ef-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--mobile779ef-night);
}

.mobile779ef-slide a {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(17, 27, 40, 0) 38%, rgba(17, 27, 40, 0.86) 100%);
  -webkit-tap-highlight-color: transparent;
}

.mobile779ef-slide a:hover { text-decoration: none; }

.mobile779ef-slide strong {
  font-family: var(--mobile779ef-head-stack);
  font-size: 15.5px;
  letter-spacing: 0.02em;
  color: var(--mobile779ef-ink-strong);
}

.mobile779ef-slide em {
  font-style: normal;
  font-size: 11px;
  color: var(--mobile779ef-copper);
  font-family: var(--mobile779ef-mono-stack);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile779ef-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 0;
}

.mobile779ef-dot {
  width: 26px;
  height: 6px;
  border-radius: 3px;
  border: 1px solid var(--mobile779ef-line);
  background: rgba(255, 248, 220, 0.08);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile779ef-dot[aria-current="true"] {
  background: var(--mobile779ef-copper);
  border-color: var(--mobile779ef-ink);
}

/* ==========================================================================
   category quick chips
   ========================================================================== */
.mobile779ef-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-inline: calc(var(--mobile779ef-pad) * -1);
  padding-inline: var(--mobile779ef-pad);
}

.mobile779ef-chips::-webkit-scrollbar { display: none; }

.mobile779ef-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(160, 82, 45, 0.55);
  background: rgba(255, 248, 220, 0.04);
  font-family: var(--mobile779ef-mono-stack);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mobile779ef-ink);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.mobile779ef-chip:hover { text-decoration: none; border-color: var(--mobile779ef-copper); }

.mobile779ef-chip i {
  font-style: normal;
  color: var(--mobile779ef-copper);
}

.mobile779ef-chip.mobile779ef-chip--on {
  background: rgba(205, 133, 63, 0.22);
  border-color: var(--mobile779ef-copper);
  color: var(--mobile779ef-ink-strong);
}

/* ==========================================================================
   content modules shared head
   ========================================================================== */
.mobile779ef-module { display: grid; gap: 12px; }

.mobile779ef-modhead {
  border-bottom: 1px solid rgba(160, 82, 45, 0.5);
  padding-bottom: 10px;
}

.mobile779ef-modhead h2 {
  margin: 0;
  font-family: var(--mobile779ef-head-stack);
  font-size: clamp(17.5px, 5vw, 20px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.015em;
  color: var(--mobile779ef-ink-strong);
}

.mobile779ef-module p { margin: 0; font-size: 14px; opacity: 0.95; }

.mobile779ef-module p + p { margin-top: 8px; }

/* ==========================================================================
   game groups: grouped cover cards
   ========================================================================== */
.mobile779ef-catgroup { display: grid; gap: 10px; }

.mobile779ef-catgroup[id] { scroll-margin-top: calc(var(--mobile779ef-header-h) + 18px); }

.mobile779ef-catcover {
  border: 1px solid rgba(160, 82, 45, 0.65);
  border-radius: var(--mobile779ef-radius-m);
  background:
    linear-gradient(135deg, rgba(160, 82, 45, 0.42), rgba(46, 64, 87, 0.1) 62%),
    rgba(255, 248, 220, 0.03);
  padding: 12px 12px 11px;
}

.mobile779ef-catrow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile779ef-catindex {
  font-family: var(--mobile779ef-mono-stack);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mobile779ef-copper);
}

.mobile779ef-catcover h3 {
  margin: 0;
  font-family: var(--mobile779ef-head-stack);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mobile779ef-ink-strong);
}

.mobile779ef-catcount {
  margin-left: auto;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mobile779ef-night);
  background: var(--mobile779ef-copper);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.mobile779ef-catblurb {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mobile779ef-ink);
  opacity: 0.92;
}

.mobile779ef-catlinks {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
}

.mobile779ef-catlinks a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  color: var(--mobile779ef-copper);
  font-weight: 600;
}

.mobile779ef-catlinks a::before { content: "\2197"; font-size: 11px; }

/* game tile grid */
.mobile779ef-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

.mobile779ef-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid rgba(160, 82, 45, 0.4);
  border-radius: 10px;
  background: rgba(255, 248, 220, 0.035);
  padding: 4px 4px 6px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.12s ease;
}

.mobile779ef-game:active {
  border-color: var(--mobile779ef-copper);
  background: rgba(205, 133, 63, 0.14);
}

.mobile779ef-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: var(--mobile779ef-night);
}

.mobile779ef-game b {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--mobile779ef-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.56em;
  word-break: break-word;
}

/* ==========================================================================
   game tricks list
   ========================================================================== */
.mobile779ef-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  counter-reset: mobile779ef-tip;
}

.mobile779ef-tips li {
  counter-increment: mobile779ef-tip;
  position: relative;
  padding: 10px 12px 10px 44px;
  border: 1px solid rgba(160, 82, 45, 0.38);
  border-radius: var(--mobile779ef-radius-m);
  background: var(--mobile779ef-veil);
  font-size: 13px;
  line-height: 1.58;
}

.mobile779ef-tips li::before {
  content: "0" counter(mobile779ef-tip);
  position: absolute;
  left: 10px;
  top: 11px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mobile779ef-line);
  border-radius: 8px;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 10.5px;
  color: var(--mobile779ef-copper);
  background: rgba(205, 133, 63, 0.12);
}

.mobile779ef-tips b { color: var(--mobile779ef-ink-strong); }

/* ==========================================================================
   features grid
   ========================================================================== */
.mobile779ef-featgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mobile779ef-feat {
  border: 1px solid rgba(160, 82, 45, 0.42);
  border-radius: var(--mobile779ef-radius-m);
  background: var(--mobile779ef-veil);
  padding: 11px 11px 10px;
}

.mobile779ef-feat h3 {
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mobile779ef-head-stack);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mobile779ef-ink-strong);
}

.mobile779ef-feat h3 i {
  font-style: normal;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 10px;
  color: var(--mobile779ef-copper);
}

.mobile779ef-feat p { margin: 0; font-size: 12px; line-height: 1.55; opacity: 0.92; }

/* ==========================================================================
   app download block
   ========================================================================== */
.mobile779ef-appbox {
  border: 1px solid rgba(205, 133, 63, 0.55);
  border-radius: var(--mobile779ef-radius-l);
  background:
    linear-gradient(170deg, rgba(205, 133, 63, 0.16), rgba(255, 248, 220, 0.03) 55%),
    var(--mobile779ef-veil);
  padding: 14px 13px;
  display: grid;
  gap: 11px;
}

.mobile779ef-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mobile779ef-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
}

.mobile779ef-steps i {
  font-style: normal;
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--mobile779ef-copper);
  font-family: var(--mobile779ef-mono-stack);
  font-size: 10.5px;
  color: var(--mobile779ef-copper);
}

.mobile779ef-appbox .mobile779ef-btn { min-height: 46px; width: 100%; }

.mobile779ef-sysrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mobile779ef-sysrow span {
  font-family: var(--mobile779ef-mono-stack);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mobile779ef-muted);
  border: 1px dashed rgba(188, 143, 143, 0.5);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ==========================================================================
   rtp readout bars
   ========================================================================== */
.mobile779ef-rtprows { display: grid; gap: 10px; }

.mobile779ef-rtprow { display: grid; gap: 5px; }

.mobile779ef-rtprow header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile779ef-ink-strong);
}

.mobile779ef-rtprow header i {
  font-style: normal;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mobile779ef-muted);
}

.mobile779ef-track {
  height: 8px;
  border-radius: 4px;
  border: 1px solid rgba(160, 82, 45, 0.5);
  background: rgba(255, 248, 220, 0.05);
  overflow: hidden;
}

.mobile779ef-track span {
  display: block;
  height: 100%;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #a0522d, #cd853f);
}

.mobile779ef-rtprow p { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--mobile779ef-muted); }

.mobile779ef-rtpnote {
  font-size: 11px;
  color: var(--mobile779ef-muted);
  border-left: 2px solid var(--mobile779ef-line);
  padding: 2px 0 2px 10px;
}

/* ==========================================================================
   comparison rows
   ========================================================================== */
.mobile779ef-compare { display: grid; gap: 8px; }

.mobile779ef-cmprow {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  border: 1px solid rgba(160, 82, 45, 0.36);
  border-radius: var(--mobile779ef-radius-m);
  background: var(--mobile779ef-veil);
  padding: 9px 11px;
}

.mobile779ef-cmprow > b {
  font-family: var(--mobile779ef-head-stack);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mobile779ef-copper);
  align-self: start;
  padding-top: 2px;
}

.mobile779ef-cmpcells { display: grid; gap: 4px; }

.mobile779ef-cmpcells div {
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  gap: 7px;
}

.mobile779ef-cmpcells i {
  font-style: normal;
  flex: none;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mobile779ef-muted);
  border: 1px solid rgba(188, 143, 143, 0.45);
  border-radius: 4px;
  padding: 1px 5px;
  margin-top: 2px;
  min-width: 46px;
  text-align: center;
}

/* ==========================================================================
   extended footer (home only)
   ========================================================================== */
.mobile779ef-extended {
  border: 1px solid rgba(160, 82, 45, 0.55);
  border-radius: var(--mobile779ef-radius-l);
  background: rgba(255, 248, 220, 0.035);
  padding: 15px 13px;
  display: grid;
  gap: 15px;
}

.mobile779ef-dir { display: grid; gap: 11px; }

.mobile779ef-dirgroup h3 {
  margin: 0 0 6px;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mobile779ef-copper);
}

.mobile779ef-dirgroup ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.mobile779ef-dirgroup a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 8px;
  border-radius: var(--mobile779ef-radius-s);
  color: var(--mobile779ef-ink);
  font-size: 12.5px;
  font-weight: 600;
}

.mobile779ef-dirgroup a:active { background: rgba(205, 133, 63, 0.16); }

.mobile779ef-dirgroup a i {
  font-style: normal;
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(160, 82, 45, 0.55);
  border-radius: 6px;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 10px;
  color: var(--mobile779ef-copper);
}

.mobile779ef-brandnote {
  border-top: 1px dashed rgba(188, 143, 143, 0.4);
  border-bottom: 1px dashed rgba(188, 143, 143, 0.4);
  padding: 12px 2px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mobile779ef-ink);
  opacity: 0.9;
}

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

.mobile779ef-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--mobile779ef-line);
  border-radius: var(--mobile779ef-radius-m);
  background: linear-gradient(150deg, rgba(205, 133, 63, 0.2), rgba(255, 248, 220, 0.03));
  font-family: var(--mobile779ef-head-stack);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mobile779ef-ink-strong);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.mobile779ef-promo:active { transform: scale(0.96); }

.mobile779ef-promo svg { width: 17px; height: 17px; flex: none; color: var(--mobile779ef-copper); }

.mobile779ef-promo small {
  display: block;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mobile779ef-muted);
  font-weight: 400;
}

.mobile779ef-disclaimer {
  display: flex;
  gap: 9px;
  border: 1px dashed rgba(188, 143, 143, 0.5);
  border-radius: var(--mobile779ef-radius-m);
  padding: 10px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--mobile779ef-muted);
}

.mobile779ef-disclaimer svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }

/* copyright bar */
.mobile779ef-copybar {
  text-align: center;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mobile779ef-muted);
  padding: 4px 6px 0;
}

.mobile779ef-copybar b { color: rgba(255, 248, 220, 0.8); font-weight: 600; }

/* ==========================================================================
   bottom function bar (outlined)
   ========================================================================== */
.mobile779ef-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(29, 44, 64, 0.98);
  border-top: 1px solid var(--mobile779ef-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  backdrop-filter: blur(6px);
}

.mobile779ef-bottomnav a,
.mobile779ef-bottomnav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobile779ef-bottomnav-h);
  padding: 8px 2px 7px;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mobile779ef-muted);
  -webkit-tap-highlight-color: transparent;
}

.mobile779ef-bottomnav svg { width: 21px; height: 21px; }

/* top indicator line for the active role */
.mobile779ef-bottomnav a::before,
.mobile779ef-bottomnav button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: transparent;
  transition: background-color 0.18s ease, width 0.18s ease;
}

.mobile779ef-bottomnav a:hover,
.mobile779ef-bottomnav button:hover { text-decoration: none; }

/* label reveal micro-interaction */
.mobile779ef-bottomnav span {
  opacity: 0.72;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.mobile779ef-bottomnav a:active span,
.mobile779ef-bottomnav button:active span { opacity: 1; }

.mobile779ef-bottomnav a:active svg,
.mobile779ef-bottomnav button:active svg { transform: translateY(1px) scale(0.92); }

.mobile779ef-bn-on { color: var(--mobile779ef-ink-strong); }

.mobile779ef-bn-on::before {
  background: var(--mobile779ef-copper);
  width: 34px;
}

.mobile779ef-bn-on span { opacity: 1; color: var(--mobile779ef-copper); }

/* promo roles get a lighter copper wash */
.mobile779ef-bn-hot svg { color: var(--mobile779ef-copper); }

/* ==========================================================================
   question & answer blocks (faqs help page)
   ========================================================================== */
.mobile779ef-qa { display: grid; gap: 9px; }

.mobile779ef-qaitem {
  border: 1px solid rgba(160, 82, 45, 0.38);
  border-radius: var(--mobile779ef-radius-m);
  background: var(--mobile779ef-veil);
  overflow: hidden;
}

.mobile779ef-qaitem h3 {
  margin: 0;
  padding: 10px 12px 9px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border-bottom: 1px dashed rgba(160, 82, 45, 0.4);
  background: rgba(205, 133, 63, 0.1);
  font-family: var(--mobile779ef-head-stack);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--mobile779ef-ink-strong);
}

.mobile779ef-qaitem h3 i {
  font-style: normal;
  flex: none;
  margin-top: 2px;
  font-family: var(--mobile779ef-mono-stack);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--mobile779ef-copper);
  border: 1px solid var(--mobile779ef-line);
  border-radius: 6px;
  padding: 2px 6px;
}

.mobile779ef-qaitem > div {
  padding: 10px 12px 11px;
  display: grid;
  gap: 7px;
}

.mobile779ef-qaitem p { margin: 0; font-size: 12.5px; line-height: 1.6; opacity: 0.95; }

/* ==========================================================================
   utilities
   ========================================================================== */
.mobile779ef-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mobile779ef-seemore {
  justify-self: center;
  min-height: 44px;
  padding: 0 22px;
}

/* ==========================================================================
   breakpoints
   ========================================================================== */
@media (min-width: 375px) {
  .mobile779ef-grid { gap: 10px 8px; }
  .mobile779ef-game b { font-size: 11px; }
  .mobile779ef-promos { gap: 9px; }
}

@media (min-width: 400px) {
  .mobile779ef-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mobile779ef-featgrid { gap: 10px; }
}

@media (max-width: 359px) {
  .mobile779ef-name span { display: none; }
  .mobile779ef-btn { padding: 0 9px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }
