/* ==========================================================================
   Ninong Game - mobile-first interface stylesheet
   Canvas: 320-430px phone layout, centered on wide screens
   Class prefix: mobilefe869-
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --mobilefe869-bg-page: #1b2735;        /* backdrop behind the phone canvas */
  --mobilefe869-bg: #2e4057;             /* main canvas surface            */
  --mobilefe869-bg-deep: #24344a;        /* sunken panels / header bars    */
  --mobilefe869-panel: #37506e;          /* raised card panel              */
  --mobilefe869-panel-strong: #405c80;   /* pressed / hovered panel        */
  --mobilefe869-ink: #fff2f5;            /* primary light text             */
  --mobilefe869-muted: #d9b8bd;          /* secondary text (soft rose)     */
  --mobilefe869-rose: #bc8f8f;           /* hairlines and quiet accents    */
  --mobilefe869-pink: #ffb6c1;           /* highlight tint                 */
  --mobilefe869-coral: #ff7f50;          /* primary action color           */
  --mobilefe869-sand: #f4a460;           /* warm secondary action          */
  --mobilefe869-navy: #2e4057;           /* ink used on light buttons      */
  --mobilefe869-line: rgba(255, 182, 193, 0.16);
  --mobilefe869-line-strong: rgba(255, 182, 193, 0.32);
  --mobilefe869-r-sm: 8px;
  --mobilefe869-r-md: 12px;
  --mobilefe869-r-lg: 16px;
  --mobilefe869-shadow-card: 0 6px 18px rgba(15, 25, 40, 0.45);
  --mobilefe869-shadow-float: 0 10px 26px rgba(15, 25, 40, 0.55);
  --mobilefe869-topbar-h: 58px;
  --mobilefe869-bottomnav-h: 64px;
  --mobilefe869-gap: 8px;
  --mobilefe869-pad: 12px;
}

/* --------------------------------------------------------------------------
   2. Base / reset scoped to the site canvas
   -------------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mobilefe869-bg-page);
  color: var(--mobilefe869-ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400; /* lightweight body copy against bold headings */
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

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

a {
  color: var(--mobilefe869-pink);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1, h2, h3 {
  font-weight: 800; /* clean bold display against the light body face */
  line-height: 1.24;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-wrap: balance;
}

h2 { font-size: 20px; }
h3 { font-size: 16px; }

p { margin: 0 0 12px; }

ul, ol { margin: 0 0 12px; padding-left: 20px; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--mobilefe869-sand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Phone canvas - stays centered with a 430px ceiling on wide screens
   -------------------------------------------------------------------------- */
.mobilefe869-canvas {
  position: relative;
  width: 100%;
  max-width: 430px; /* literal phone-canvas width */
  margin-inline: auto;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 420px at 85% -140px, rgba(255, 127, 80, 0.16), transparent 62%),
    radial-gradient(900px 380px at -10% 12%, rgba(244, 164, 96, 0.10), transparent 58%),
    var(--mobilefe869-bg);
  box-shadow: 0 0 44px rgba(8, 14, 24, 0.55);
}

.mobilefe869-skip {
  position: absolute;
  left: var(--mobilefe869-pad);
  top: -48px;
  z-index: 60;
  background: var(--mobilefe869-sand);
  color: var(--mobilefe869-navy);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--mobilefe869-r-sm);
  transition: top 0.15s ease;
}

.mobilefe869-skip:focus {
  top: 6px;
}

/* --------------------------------------------------------------------------
   4. Fixed top bar - minimal title + action band
   -------------------------------------------------------------------------- */
.mobilefe869-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px; /* align with the canvas edge */
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--mobilefe869-topbar-h);
  padding: 8px var(--mobilefe869-pad) 8px 10px;
  box-sizing: border-box;
  background: rgba(36, 52, 74, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mobilefe869-line);
}

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

.mobilefe869-brand:hover,
.mobilefe869-brand:focus-visible {
  text-decoration: none;
}

.mobilefe869-brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--mobilefe869-line-strong);
  background: var(--mobilefe869-bg-deep);
  object-fit: cover;
}

.mobilefe869-brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobilefe869-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Compact icon-text CTA buttons */
.mobilefe869-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px; /* touch target */
  padding: 9px 14px;
  border-radius: var(--mobilefe869-r-md);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mobilefe869-btn:active {
  transform: translateY(1px);
}

.mobilefe869-btn-coral {
  background: linear-gradient(160deg, #ff9068, var(--mobilefe869-coral));
  color: #2b1508;
  box-shadow: 0 4px 14px rgba(255, 127, 80, 0.35);
}

.mobilefe869-btn-coral:hover {
  box-shadow: 0 6px 18px rgba(255, 127, 80, 0.5);
}

.mobilefe869-btn-sand {
  background: linear-gradient(160deg, #f7b57f, var(--mobilefe869-sand));
  color: #3a2410;
  box-shadow: 0 4px 14px rgba(244, 164, 96, 0.3);
}

.mobilefe869-btn-ghost {
  background: rgba(255, 182, 193, 0.08);
  color: var(--mobilefe869-ink);
  border: 1px solid var(--mobilefe869-line-strong);
}

.mobilefe869-btn-ghost:hover {
  background: rgba(255, 182, 193, 0.16);
}

.mobilefe869-btn-block {
  width: 100%;
}

.mobilefe869-btn .mobilefe869-btn-ic {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

/* Hamburger trigger */
.mobilefe869-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 10px 11px;
  border-radius: var(--mobilefe869-r-sm);
  border: 1px solid var(--mobilefe869-line-strong);
  background: rgba(255, 182, 193, 0.08);
  box-sizing: border-box;
}

.mobilefe869-menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--mobilefe869-pink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobilefe869-menu-btn:hover {
  background: rgba(255, 182, 193, 0.16);
}

/* --------------------------------------------------------------------------
   5. Stacked slide-in overlay menu
   -------------------------------------------------------------------------- */
.mobilefe869-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px; /* keep the overlay inside the phone canvas */
  left: 50%;
  transform: translateX(-50%) translateX(-104%); /* parked off-canvas left */
  visibility: hidden;
  background: linear-gradient(175deg, #2a3c53 0%, #223146 58%, #1f2c40 100%);
  box-shadow: 22px 0 60px rgba(10, 18, 30, 0.6);
  transition: transform 0.26s ease-out, visibility 0s linear 0.26s;
}

.mobilefe869-overlay.mobilefe869-overlay-open {
  transform: translateX(-50%) translateX(0);
  visibility: visible;
  transition: transform 0.26s ease-out, visibility 0s;
}

.mobilefe869-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px var(--mobilefe869-pad);
  border-bottom: 1px solid var(--mobilefe869-line);
}

.mobilefe869-overlay-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--mobilefe869-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mobilefe869-overlay-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--mobilefe869-line-strong);
  color: var(--mobilefe869-ink);
  font-size: 20px;
  line-height: 1;
}

.mobilefe869-overlay-close:hover {
  background: rgba(255, 127, 80, 0.18);
}

.mobilefe869-overlay-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px var(--mobilefe869-pad) 12px;
  overscroll-behavior: contain;
}

.mobilefe869-overlay-group-label {
  margin: 14px 2px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mobilefe869-rose);
}

.mobilefe869-overlay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mobilefe869-overlay-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--mobilefe869-r-md);
  background: rgba(255, 182, 193, 0.06);
  border: 1px solid var(--mobilefe869-line);
  color: var(--mobilefe869-ink);
  font-weight: 600;
  font-size: 14.5px;
  transform: translateX(-12px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.2s ease;
}

.mobilefe869-overlay-open .mobilefe869-overlay-item {
  transform: translateX(0);
  opacity: 1;
}

/* Staggered slide-in so stacked entries arrive one after another */
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(1) { transition-delay: 0.04s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(2) { transition-delay: 0.07s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(3) { transition-delay: 0.10s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(4) { transition-delay: 0.13s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(5) { transition-delay: 0.16s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(6) { transition-delay: 0.19s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(7) { transition-delay: 0.22s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(8) { transition-delay: 0.25s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(9) { transition-delay: 0.28s; }
.mobilefe869-overlay-open .mobilefe869-overlay-item:nth-child(10) { transition-delay: 0.31s; }

.mobilefe869-overlay-item:hover {
  background: rgba(255, 182, 193, 0.14);
  text-decoration: none;
}

.mobilefe869-overlay-item .mobilefe869-overlay-item-ic {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--mobilefe869-sand);
}

.mobilefe869-overlay-foot {
  padding: 12px var(--mobilefe869-pad) calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--mobilefe869-line);
  display: grid;
  gap: 8px;
}

/* Page-scroll lock applied by JS while the overlay is open */
.mobilefe869-noscroll {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   6. Main column and shared prose blocks
   -------------------------------------------------------------------------- */
.mobilefe869-main {
  display: block;
  padding: calc(var(--mobilefe869-topbar-h) + 14px) var(--mobilefe869-pad) calc(var(--mobilefe869-bottomnav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

.mobilefe869-section {
  margin: 0 0 26px;
}

.mobilefe869-prose {
  color: var(--mobilefe869-muted);
  font-size: 14.5px;
}

.mobilefe869-prose strong {
  color: var(--mobilefe869-ink);
  font-weight: 700;
}

.mobilefe869-lead {
  font-size: 15px;
  color: var(--mobilefe869-ink);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.mobilefe869-hero {
  margin: 4px 0 18px;
}

.mobilefe869-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--mobilefe869-line-strong);
  background: rgba(255, 182, 193, 0.08);
  color: var(--mobilefe869-pink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobilefe869-hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mobilefe869-coral);
  box-shadow: 0 0 8px var(--mobilefe869-coral);
}

.mobilefe869-hero-title {
  font-size: 27px;
  margin-bottom: 12px;
}

.mobilefe869-hero-title em {
  font-style: normal;
  color: var(--mobilefe869-sand);
}

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

/* --------------------------------------------------------------------------
   8. Banner carousel (scroll-snap track advanced by JS)
   -------------------------------------------------------------------------- */
.mobilefe869-carousel {
  position: relative;
  margin: 0 0 18px;
}

.mobilefe869-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--mobilefe869-r-lg);
  -ms-overflow-style: none;
}

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

.mobilefe869-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  border-radius: var(--mobilefe869-r-lg);
  overflow: hidden;
  position: relative;
  background: var(--mobilefe869-bg-deep);
}

.mobilefe869-slide-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mobilefe869-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(27, 39, 53, 0) 0%, rgba(23, 33, 46, 0.88) 68%, rgba(23, 33, 46, 0.95) 100%);
}

.mobilefe869-slide-txt {
  min-width: 0;
}

.mobilefe869-slide-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--mobilefe869-ink);
  line-height: 1.25;
}

.mobilefe869-slide-sub {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--mobilefe869-pink);
}

.mobilefe869-slide-cta {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  background: linear-gradient(160deg, #ff9068, var(--mobilefe869-coral));
  color: #2b1508;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 127, 80, 0.4);
}

.mobilefe869-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.mobilefe869-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 182, 193, 0.28);
  transition: width 0.22s ease, background 0.22s ease;
}

.mobilefe869-dot.mobilefe869-dot-on {
  width: 24px;
  background: var(--mobilefe869-coral);
}

/* --------------------------------------------------------------------------
   9. Scene branches - compact 3-up routing cards
   -------------------------------------------------------------------------- */
.mobilefe869-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 20px;
}

.mobilefe869-branch {
  padding: 11px 10px;
  border-radius: var(--mobilefe869-r-md);
  background: rgba(255, 182, 193, 0.06);
  border: 1px solid var(--mobilefe869-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mobilefe869-branch-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mobilefe869-sand);
}

.mobilefe869-branch-txt {
  font-size: 12px;
  color: var(--mobilefe869-muted);
  line-height: 1.45;
  margin: 0;
}

.mobilefe869-branch-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--mobilefe869-coral);
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}

.mobilefe869-branch-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. Category chip shortcuts
   -------------------------------------------------------------------------- */
.mobilefe869-catnav {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin: 0 0 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobilefe869-catnav::-webkit-scrollbar {
  display: none;
}

.mobilefe869-catnav-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--mobilefe869-line-strong);
  background: rgba(55, 80, 110, 0.55);
  color: var(--mobilefe869-ink);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.mobilefe869-catnav-chip:hover {
  background: var(--mobilefe869-panel-strong);
  text-decoration: none;
}

.mobilefe869-catnav-chip .mobilefe869-catnav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   11. Numbered steps row
   -------------------------------------------------------------------------- */
.mobilefe869-steps {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
}

.mobilefe869-step {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--mobilefe869-r-md);
  background: rgba(36, 52, 74, 0.75);
  border: 1px solid var(--mobilefe869-line);
}

.mobilefe869-step-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #f7b57f, var(--mobilefe869-sand));
  color: #3a2410;
  font-weight: 800;
  font-size: 14px;
}

.mobilefe869-step-body {
  font-size: 13.5px;
  color: var(--mobilefe869-muted);
  min-width: 0;
}

.mobilefe869-step-body strong {
  color: var(--mobilefe869-ink);
}

/* --------------------------------------------------------------------------
   12. Game groups - grouped cover-card clusters
   -------------------------------------------------------------------------- */
.mobilefe869-group {
  margin: 0 0 24px;
  border-radius: var(--mobilefe869-r-lg);
  background: rgba(36, 52, 74, 0.5);
  border: 1px solid var(--mobilefe869-line);
  padding: 13px 11px 14px;
  scroll-margin-top: calc(var(--mobilefe869-topbar-h) + 8px);
}

.mobilefe869-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 9px 11px;
  border-radius: var(--mobilefe869-r-md);
  border: 1px solid transparent;
}

/* Per-family tints keep the five clusters visually distinct */
.mobilefe869-group-fishing .mobilefe869-group-head {
  background: linear-gradient(120deg, rgba(188, 143, 143, 0.28), rgba(188, 143, 143, 0.08));
  border-color: rgba(188, 143, 143, 0.4);
}

.mobilefe869-group-slot .mobilefe869-group-head {
  background: linear-gradient(120deg, rgba(244, 164, 96, 0.26), rgba(244, 164, 96, 0.07));
  border-color: rgba(244, 164, 96, 0.4);
}

.mobilefe869-group-hot .mobilefe869-group-head {
  background: linear-gradient(120deg, rgba(255, 127, 80, 0.30), rgba(255, 127, 80, 0.08));
  border-color: rgba(255, 127, 80, 0.45);
}

.mobilefe869-group-live .mobilefe869-group-head {
  background: linear-gradient(120deg, rgba(255, 182, 193, 0.24), rgba(255, 182, 193, 0.06));
  border-color: rgba(255, 182, 193, 0.42);
}

.mobilefe869-group-cards .mobilefe869-group-head {
  background: linear-gradient(120deg, rgba(188, 143, 143, 0.2), rgba(64, 92, 128, 0.35));
  border-color: rgba(188, 143, 143, 0.35);
}

.mobilefe869-group-title {
  font-size: 18px;
  margin: 0;
  min-width: 0;
}

.mobilefe869-group-meta {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(27, 39, 53, 0.55);
  border: 1px solid var(--mobilefe869-line-strong);
  color: var(--mobilefe869-pink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.mobilefe869-group-intro {
  margin: 0 2px 12px;
  font-size: 13.5px;
  color: var(--mobilefe869-muted);
}

.mobilefe869-group-intro a {
  font-weight: 700;
}

/* Cover-card grid: 4 columns on the narrowest canvas */
.mobilefe869-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--mobilefe869-gap);
}

/* Wider phones move to a 5-column cover grid */
@media (min-width: 393px) {
  .mobilefe869-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
  }
}

.mobilefe869-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 4px 7px;
  border-radius: var(--mobilefe869-r-md);
  background: linear-gradient(180deg, var(--mobilefe869-panel) 0%, rgba(55, 80, 110, 0.55) 100%);
  border: 1px solid var(--mobilefe869-line);
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.mobilefe869-card:hover {
  transform: translateY(-3px); /* light lift */
  box-shadow: var(--mobilefe869-shadow-card);
  border-color: var(--mobilefe869-line-strong);
}

.mobilefe869-card:active {
  transform: translateY(-1px);
}

.mobilefe869-card-imgwrap {
  position: relative;
  border-radius: var(--mobilefe869-r-sm);
  overflow: hidden;
  background: var(--mobilefe869-bg-deep);
}

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

.mobilefe869-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mobilefe869-ink);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   13. RTP compact table
   -------------------------------------------------------------------------- */
.mobilefe869-rtp {
  border: 1px solid var(--mobilefe869-line);
  border-radius: var(--mobilefe869-r-md);
  overflow: hidden;
  margin: 12px 0 4px;
}

.mobilefe869-rtp-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr;
  gap: 6px;
  padding: 9px 11px;
  font-size: 12.5px;
  border-top: 1px solid var(--mobilefe869-line);
  background: rgba(36, 52, 74, 0.6);
}

.mobilefe869-rtp-row:first-child {
  border-top: 0;
  background: rgba(55, 80, 110, 0.85);
  font-weight: 800;
  color: var(--mobilefe869-pink);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobilefe869-rtp-row span {
  min-width: 0;
}

.mobilefe869-rtp-row .mobilefe869-rtp-val {
  color: var(--mobilefe869-sand);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   14. FAQ accordion (native details)
   -------------------------------------------------------------------------- */
.mobilefe869-faq {
  border: 1px solid var(--mobilefe869-line);
  border-radius: var(--mobilefe869-r-md);
  overflow: hidden;
  margin-top: 12px;
}

.mobilefe869-faq details {
  border-top: 1px solid var(--mobilefe869-line);
  background: rgba(36, 52, 74, 0.6);
}

.mobilefe869-faq details:first-child {
  border-top: 0;
}

.mobilefe869-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 12px;
  min-height: 48px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mobilefe869-ink);
  cursor: pointer;
  box-sizing: border-box;
}

.mobilefe869-faq summary::-webkit-details-marker {
  display: none;
}

.mobilefe869-faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--mobilefe869-sand);
  border-bottom: 2px solid var(--mobilefe869-sand);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  margin-top: -4px;
}

.mobilefe869-faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.mobilefe869-faq-a {
  padding: 0 12px 13px;
  font-size: 13px;
  color: var(--mobilefe869-muted);
}

.mobilefe869-faq-a a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15. Latest winners strip
   -------------------------------------------------------------------------- */
.mobilefe869-winners {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 3px 1px 8px;
  margin-top: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

.mobilefe869-winners::-webkit-scrollbar {
  display: none;
}

.mobilefe869-winner {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 138px;
  padding: 10px 11px;
  border-radius: var(--mobilefe869-r-md);
  background: linear-gradient(150deg, rgba(255, 127, 80, 0.14), rgba(55, 80, 110, 0.6));
  border: 1px solid var(--mobilefe869-line-strong);
}

.mobilefe869-winner-user {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--mobilefe869-pink);
  text-transform: uppercase;
}

.mobilefe869-winner-game {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobilefe869-ink);
  line-height: 1.3;
}

.mobilefe869-winner-amount {
  font-size: 15px;
  font-weight: 800;
  color: var(--mobilefe869-sand);
}

.mobilefe869-winner-note {
  margin: 8px 2px 0;
  font-size: 11.5px;
  color: var(--mobilefe869-rose);
}

/* --------------------------------------------------------------------------
   16. Decision checklist
   -------------------------------------------------------------------------- */
.mobilefe869-check {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.mobilefe869-check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--mobilefe869-r-md);
  background: rgba(36, 52, 74, 0.6);
  border: 1px solid var(--mobilefe869-line);
  font-size: 13.5px;
  color: var(--mobilefe869-muted);
}

.mobilefe869-check-item::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 2px solid var(--mobilefe869-sand);
  background:
    linear-gradient(var(--mobilefe869-navy), var(--mobilefe869-navy)) padding-box,
    var(--mobilefe869-sand) border-box;
}

.mobilefe869-check-item strong {
  color: var(--mobilefe869-ink);
}

/* --------------------------------------------------------------------------
   17. Home extended footer (brand > directory > promos > disclaimer)
   -------------------------------------------------------------------------- */
.mobilefe869-extfoot {
  margin: 26px 0 18px;
  padding: 15px 13px 16px;
  border-radius: var(--mobilefe869-r-lg);
  background: rgba(27, 39, 53, 0.72);
  border: 1px solid var(--mobilefe869-line);
}

.mobilefe869-extfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--mobilefe869-line-strong);
  margin-bottom: 12px;
}

.mobilefe869-extfoot-brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--mobilefe869-line-strong);
}

.mobilefe869-extfoot-brand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--mobilefe869-muted);
}

.mobilefe869-extfoot-brand strong {
  display: block;
  font-size: 14.5px;
  color: var(--mobilefe869-ink);
  margin-bottom: 3px;
}

/* Two-column page directory */
.mobilefe869-extfoot-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  margin-bottom: 13px;
}

.mobilefe869-extfoot-dir a {
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 7px 9px;
  border-radius: var(--mobilefe869-r-sm);
  background: rgba(255, 182, 193, 0.05);
  border: 1px solid var(--mobilefe869-line);
  color: var(--mobilefe869-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.mobilefe869-extfoot-dir a:hover {
  background: rgba(255, 182, 193, 0.12);
  text-decoration: none;
}

/* Four short promotion actions */
.mobilefe869-extfoot-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--mobilefe869-line-strong);
}

.mobilefe869-extfoot-promo {
  min-height: 48px;
  border-radius: var(--mobilefe869-r-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 8px 11px;
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mobilefe869-extfoot-promo:hover {
  transform: translateY(-2px);
  box-shadow: var(--mobilefe869-shadow-card);
}

.mobilefe869-extfoot-promo small {
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.85;
}

.mobilefe869-extfoot-promo-coral {
  background: linear-gradient(150deg, rgba(255, 127, 80, 0.24), rgba(255, 127, 80, 0.08));
  border-color: rgba(255, 127, 80, 0.5);
  color: #ffbfa5;
}

.mobilefe869-extfoot-promo-sand {
  background: linear-gradient(150deg, rgba(244, 164, 96, 0.2), rgba(244, 164, 96, 0.06));
  border-color: rgba(244, 164, 96, 0.45);
  color: #f7d3ab;
}

.mobilefe869-extfoot-note {
  margin: 12px 2px 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--mobilefe869-rose);
}

/* --------------------------------------------------------------------------
   18. Common footer
   -------------------------------------------------------------------------- */
.mobilefe869-footer {
  padding: 4px 2px 8px;
  text-align: center;
}

.mobilefe869-footer p {
  margin: 0 0 4px;
  font-size: 11.5px;
  color: var(--mobilefe869-rose);
}

.mobilefe869-footer .mobilefe869-footer-copy {
  font-weight: 700;
  color: var(--mobilefe869-muted);
}

/* --------------------------------------------------------------------------
   19. Fixed bottom action band (brand-accent)
   -------------------------------------------------------------------------- */
.mobilefe869-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px; /* matched to the phone canvas */
  z-index: 45;
  display: flex;
  align-items: stretch;
  min-height: var(--mobilefe869-bottomnav-h);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  gap: 2px;
  background: linear-gradient(180deg, rgba(36, 52, 74, 0.97), rgba(27, 39, 53, 0.99));
  border-top: 1px solid rgba(255, 127, 80, 0.38);
  box-shadow: 0 -8px 24px rgba(10, 18, 30, 0.45);
}

.mobilefe869-bottomnav-item {
  position: relative;
  flex: 1 1 20%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  border-radius: var(--mobilefe869-r-md);
  color: var(--mobilefe869-muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.mobilefe869-bottomnav-item:hover {
  color: var(--mobilefe869-ink);
  background: rgba(255, 182, 193, 0.08);
  text-decoration: none;
}

.mobilefe869-bottomnav-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.18s ease, stroke 0.18s ease;
}

.mobilefe869-bottomnav-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Filled active treatment for the linear icon set */
.mobilefe869-bottomnav-item-on {
  color: var(--mobilefe869-sand);
  background: rgba(244, 164, 96, 0.12);
}

.mobilefe869-bottomnav-item-on .mobilefe869-bottomnav-icon {
  fill: rgba(244, 164, 96, 0.3);
  stroke: var(--mobilefe869-sand);
}

.mobilefe869-bottomnav-item-on .mobilefe869-bottomnav-label {
  color: var(--mobilefe869-pink);
}

/* Sliding indicator pill */
.mobilefe869-indicator {
  position: absolute;
  top: 0;
  left: 8px;
  height: 3px;
  width: 44px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mobilefe869-coral), var(--mobilefe869-sand));
  transition: transform 0.26s cubic-bezier(0.33, 1, 0.5, 1), width 0.26s cubic-bezier(0.33, 1, 0.5, 1);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   20. Utility and motion preferences
   -------------------------------------------------------------------------- */
.mobilefe869-note {
  font-size: 11.5px;
  color: var(--mobilefe869-rose);
}

@media (max-width: 359px) {
  .mobilefe869-branches {
    grid-template-columns: 1fr;
  }

  .mobilefe869-extfoot-dir {
    grid-template-columns: 1fr;
  }

  .mobilefe869-extfoot-promos {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 375px) {
  .mobilefe869-hero-title {
    font-size: 29px;
  }

  .mobilefe869-group-title {
    font-size: 19px;
  }

  .mobilefe869-card-name {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mobilefe869-overlay,
  .mobilefe869-overlay-item,
  .mobilefe869-card,
  .mobilefe869-indicator,
  .mobilefe869-dot,
  .mobilefe869-slide-cta,
  .mobilefe869-extfoot-promo,
  .mobilefe869-bottomnav-item,
  .mobilefe869-bottomnav-icon {
    transition: none;
  }
}
