/* =====================================================================
   qs8888.homes - canvas-adaptive-7d8d2f.css
   Mobile-first stylesheet for the qs8888 game portal.
   Class prefix:  mobiled2f94-
   Variable prefix: --mobiled2f94-*
   Palette: cyan #0097A7 | mint #B2DFDB | silver #ADB5BD |
            slate #708090 | light #D3D3D3 | ink #262626
   Design tone: bold short titles + light body text,
                rounded buttons + square cards,
                image-only game tiles with a short name below,
                fact-first information rhythm,
                feedback only on key CTAs,
                solid primary buttons paired with outlined secondary.
   ===================================================================== */

:root {
  --mobiled2f94-cyan: #0097A7;
  --mobiled2f94-cyan-deep: #007a8a;
  --mobiled2f94-mint: #B2DFDB;
  --mobiled2f94-silver: #ADB5BD;
  --mobiled2f94-slate: #708090;
  --mobiled2f94-light: #D3D3D3;
  --mobiled2f94-ink: #262626;
  --mobiled2f94-ink-soft: #3a3a3a;
  --mobiled2f94-paper: #f3f6f7;
  --mobiled2f94-card: #ffffff;
  --mobiled2f94-line: rgba(38, 38, 38, 0.12);
  --mobiled2f94-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  --mobiled2f94-radius-btn: 22px;
  --mobiled2f94-radius-card: 4px;
  --mobiled2f94-radius-tile: 6px;
  --mobiled2f94-gap: 12px;
  --mobiled2f94-tap: 44px;
  --mobiled2f94-header-h: 60px;
  --mobiled2f94-bottomnav-h: 64px;
  --mobiled2f94-font: "Segoe UI", "Roboto", system-ui, -apple-system,
                      "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--mobiled2f94-font);
  color: var(--mobiled2f94-ink);
  background: var(--mobiled2f94-paper);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}

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

a {
  color: var(--mobiled2f94-cyan);
  text-decoration: none;
}

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

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

h1, h2, h3, h4 {
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--mobiled2f94-ink);
}

p { margin: 0 0 12px; color: var(--mobiled2f94-ink-soft); }

ul, ol { margin: 0 0 12px; padding-left: 20px; color: var(--mobiled2f94-ink-soft); }
li { margin-bottom: 6px; }

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

/* ---------- Layout shell ---------- */
.mobiled2f94-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--mobiled2f94-paper);
  min-height: 100vh;
  position: relative;
}

.mobiled2f94-main {
  padding: calc(var(--mobiled2f94-header-h) + 10px) 14px
           calc(var(--mobiled2f94-bottomnav-h) + 28px);
}

/* ---------- Header ---------- */
.mobiled2f94-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg,
              var(--mobiled2f94-ink) 0%,
              #1a1a1a 60%,
              var(--mobiled2f94-ink) 100%);
  color: #fff;
  border-bottom: 2px solid var(--mobiled2f94-cyan);
}

.mobiled2f94-header-inner {
  max-width: 480px;
  margin: 0 auto;
  height: var(--mobiled2f94-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
}

.mobiled2f94-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mobiled2f94-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--mobiled2f94-mint);
  object-fit: cover;
  background: var(--mobiled2f94-cyan);
  flex-shrink: 0;
}

.mobiled2f94-brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}

.mobiled2f94-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobiled2f94-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--mobiled2f94-tap);
  padding: 0 16px;
  border-radius: var(--mobiled2f94-radius-btn);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.mobiled2f94-btn-primary {
  background: var(--mobiled2f94-cyan);
  color: #fff;
  box-shadow: 0 3px 0 var(--mobiled2f94-cyan-deep);
}

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

.mobiled2f94-btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--mobiled2f94-mint);
}

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

.mobiled2f94-menu-btn {
  width: var(--mobiled2f94-tap);
  height: var(--mobiled2f94-tap);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  flex-shrink: 0;
}

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

.mobiled2f94-menu-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* ---------- Slide-out menu ---------- */
.mobiled2f94-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 150;
}

.mobiled2f94-menu-backdrop-on {
  opacity: 1;
  visibility: visible;
}

.mobiled2f94-menu-panel {
  position: fixed;
  top: 0;
  right: -84%;
  width: 84%;
  max-width: 360px;
  height: 100vh;
  background: var(--mobiled2f94-ink);
  color: #fff;
  z-index: 200;
  transition: right 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 24px;
  overflow-y: auto;
}

.mobiled2f94-menu-open { right: 0; }

.mobiled2f94-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mobiled2f94-menu-title {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mobiled2f94-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.mobiled2f94-menu-promo {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.mobiled2f94-menu-promo .mobiled2f94-btn { flex: 1; }

.mobiled2f94-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobiled2f94-menu-nav li { margin: 0; }

.mobiled2f94-menu-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  color: #e8eef0;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobiled2f94-menu-nav a:hover,
.mobiled2f94-menu-nav a:focus-visible {
  background: rgba(0, 151, 167, 0.18);
  text-decoration: none;
}

.mobiled2f94-menu-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mobiled2f94-cyan);
  flex-shrink: 0;
}

.mobiled2f94-menu-foot {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: var(--mobiled2f94-silver);
}

/* ---------- Carousel ---------- */
.mobiled2f94-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--mobiled2f94-shadow);
  margin-bottom: 18px;
  background: var(--mobiled2f94-ink);
}

.mobiled2f94-slides { position: relative; }

.mobiled2f94-slide {
  position: relative;
  display: none;
  width: 100%;
}

.mobiled2f94-slide-active { display: block; }

.mobiled2f94-slide-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.mobiled2f94-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 14px;
  background: linear-gradient(to top,
              rgba(38, 38, 38, 0.92) 10%,
              rgba(38, 38, 38, 0.35) 70%,
              transparent);
  color: #fff;
}

.mobiled2f94-slide-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.mobiled2f94-slide-sub {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--mobiled2f94-mint);
}

.mobiled2f94-slide-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: var(--mobiled2f94-radius-btn);
  background: var(--mobiled2f94-cyan);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.mobiled2f94-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.mobiled2f94-carousel-arrow:hover { background: rgba(0, 0, 0, 0.65); }

.mobiled2f94-arrow-prev { left: 8px; }
.mobiled2f94-arrow-next { right: 8px; }

.mobiled2f94-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.mobiled2f94-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease, width 0.2s ease;
}

.mobiled2f94-dot-active {
  background: var(--mobiled2f94-cyan);
  width: 18px;
  border-radius: 4px;
}

/* ---------- Section heading ---------- */
.mobiled2f94-section { margin-bottom: 26px; }

.mobiled2f94-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mobiled2f94-section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--mobiled2f94-ink);
  position: relative;
  padding-left: 12px;
}

.mobiled2f94-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--mobiled2f94-cyan);
}

.mobiled2f94-section-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--mobiled2f94-cyan);
}

/* ---------- Category pill nav ---------- */
.mobiled2f94-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  margin-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobiled2f94-pills::-webkit-scrollbar { display: none; }

.mobiled2f94-pill {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--mobiled2f94-card);
  border: 1px solid var(--mobiled2f94-line);
  color: var(--mobiled2f94-slate);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.mobiled2f94-pill:hover,
.mobiled2f94-pill:focus-visible {
  background: var(--mobiled2f94-mint);
  color: var(--mobiled2f94-ink);
  text-decoration: none;
}

/* ---------- Game grid ---------- */
.mobiled2f94-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
}

.mobiled2f94-game-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--mobiled2f94-ink);
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.mobiled2f94-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--mobiled2f94-radius-tile);
  background: var(--mobiled2f94-card);
  border: 1px solid var(--mobiled2f94-line);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease;
}

.mobiled2f94-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobiled2f94-game-tile:active .mobiled2f94-game-thumb {
  transform: scale(0.97);
}

.mobiled2f94-game-name {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--mobiled2f94-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* ---------- Promo strip ---------- */
.mobiled2f94-promo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.mobiled2f94-promo-card {
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(135deg,
              var(--mobiled2f94-cyan) 0%,
              var(--mobiled2f94-cyan-deep) 100%);
  color: #fff;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 151, 167, 0.28);
  border: 0;
  cursor: pointer;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobiled2f94-promo-card-alt {
  background: linear-gradient(135deg,
              var(--mobiled2f94-ink) 0%,
              var(--mobiled2f94-slate) 100%);
  color: #fff;
}

.mobiled2f94-promo-card-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
}

.mobiled2f94-promo-card-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* ---------- Content module cards ---------- */
.mobiled2f94-card {
  background: var(--mobiled2f94-card);
  border-radius: var(--mobiled2f94-radius-card);
  border: 1px solid var(--mobiled2f94-line);
  padding: 16px;
  margin-bottom: 12px;
}

.mobiled2f94-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--mobiled2f94-ink);
  margin-bottom: 10px;
}

.mobiled2f94-card p { font-size: 14px; }

/* Style compare table */
.mobiled2f94-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mobiled2f94-compare-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px;
  background: var(--mobiled2f94-paper);
  border-radius: var(--mobiled2f94-radius-tile);
  border-left: 3px solid var(--mobiled2f94-cyan);
}

.mobiled2f94-compare-key {
  font-weight: 800;
  font-size: 13px;
  color: var(--mobiled2f94-cyan-deep);
}

.mobiled2f94-compare-val {
  font-size: 13px;
  color: var(--mobiled2f94-ink-soft);
}

/* FAQ accordion */
.mobiled2f94-faq-item {
  border-bottom: 1px solid var(--mobiled2f94-line);
  padding: 4px 0;
}

.mobiled2f94-faq-item:last-child { border-bottom: 0; }

.mobiled2f94-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  padding: 12px 4px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--mobiled2f94-ink);
  background: transparent;
}

.mobiled2f94-faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--mobiled2f94-cyan);
  transition: transform 0.2s ease;
}

.mobiled2f94-faq-open .mobiled2f94-faq-icon { transform: rotate(45deg); }

.mobiled2f94-faq-a {
  display: none;
  padding: 0 4px 12px;
  font-size: 13.5px;
  color: var(--mobiled2f94-ink-soft);
}

.mobiled2f94-faq-open .mobiled2f94-faq-a { display: block; }

/* RTP bar list */
.mobiled2f94-rtp-row {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.mobiled2f94-rtp-label {
  font-weight: 600;
  color: var(--mobiled2f94-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobiled2f94-rtp-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--mobiled2f94-light);
  overflow: hidden;
}

.mobiled2f94-rtp-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,
              var(--mobiled2f94-cyan) 0%,
              var(--mobiled2f94-mint) 100%);
  border-radius: 4px;
}

.mobiled2f94-rtp-value {
  font-weight: 800;
  color: var(--mobiled2f94-cyan-deep);
  text-align: right;
}

/* Payment methods */
.mobiled2f94-pay-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mobiled2f94-pay-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 10px;
  background: var(--mobiled2f94-paper);
  border-radius: var(--mobiled2f94-radius-tile);
  align-items: center;
}

.mobiled2f94-pay-badge {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--mobiled2f94-cyan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.mobiled2f94-pay-name {
  font-weight: 700;
  font-size: 13.5px;
  margin: 0;
  color: var(--mobiled2f94-ink);
}

.mobiled2f94-pay-note {
  font-size: 12px;
  margin: 2px 0 0;
  color: var(--mobiled2f94-slate);
}

/* Term chips */
.mobiled2f94-term-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mobiled2f94-term {
  padding: 10px 12px;
  border-radius: var(--mobiled2f94-radius-tile);
  background: var(--mobiled2f94-paper);
  border-left: 3px solid var(--mobiled2f94-mint);
}

.mobiled2f94-term-name {
  font-weight: 800;
  color: var(--mobiled2f94-ink);
  font-size: 14px;
  margin: 0 0 2px;
}

.mobiled2f94-term-desc {
  margin: 0;
  font-size: 13px;
  color: var(--mobiled2f94-ink-soft);
}

/* Inline CTA inside prose */
.mobiled2f94-prose-cta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--mobiled2f94-cyan);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  margin: 2px 0;
  text-decoration: none;
}

.mobiled2f94-prose-link {
  color: var(--mobiled2f94-cyan);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Extended footer ---------- */
.mobiled2f94-extended {
  margin-top: 22px;
  background: var(--mobiled2f94-ink);
  color: #d9dee0;
  padding: 22px 16px 20px;
  border-radius: 14px 14px 0 0;
}

.mobiled2f94-extended h2 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 8px;
}

.mobiled2f94-extended p {
  color: var(--mobiled2f94-silver);
  font-size: 13px;
}

.mobiled2f94-ext-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 16px;
}

.mobiled2f94-ext-promo button {
  background: var(--mobiled2f94-cyan);
  color: #fff;
  border-radius: 20px;
  padding: 10px 8px;
  font-weight: 700;
  font-size: 12.5px;
  text-align: center;
  border: 0;
  min-height: 40px;
}

.mobiled2f94-ext-promo button:nth-child(even) {
  background: transparent;
  border: 1px solid var(--mobiled2f94-mint);
  color: var(--mobiled2f94-mint);
}

.mobiled2f94-ext-dir-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobiled2f94-ext-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}

.mobiled2f94-ext-dir li { margin: 0; }

.mobiled2f94-ext-dir a {
  color: var(--mobiled2f94-mint);
  font-size: 12.5px;
  font-weight: 600;
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobiled2f94-ext-dir a:hover { color: #fff; }

.mobiled2f94-ext-disclaimer {
  font-size: 11.5px;
  color: var(--mobiled2f94-silver);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin: 0;
}

/* ---------- Copyright footer ---------- */
.mobiled2f94-footer-copy {
  background: #1a1a1a;
  color: var(--mobiled2f94-silver);
  text-align: center;
  padding: 14px 14px calc(var(--mobiled2f94-bottomnav-h) + 16px);
  font-size: 12px;
}

.mobiled2f94-footer-copy p { color: var(--mobiled2f94-silver); margin: 0 0 4px; }

/* ---------- Mobile bottom nav ---------- */
.mobiled2f94-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.22);
}

.mobiled2f94-bottomnav-inner {
  max-width: 480px;
  margin: 0 auto;
  height: var(--mobiled2f94-bottomnav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.mobiled2f94-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  color: var(--mobiled2f94-silver);
  text-decoration: none;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  min-height: var(--mobiled2f94-bottomnav-h);
  position: relative;
  transition: color 0.2s ease, transform 0.12s ease;
}

.mobiled2f94-nav-item:focus-visible {
  outline: 2px solid var(--mobiled2f94-cyan);
  outline-offset: -4px;
  border-radius: 6px;
}

.mobiled2f94-nav-item-active { color: var(--mobiled2f94-mint); }
.mobiled2f94-nav-item-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--mobiled2f94-cyan);
}

.mobiled2f94-nav-item-promo { color: var(--mobiled2f94-mint); }
.mobiled2f94-nav-item-promo:active { transform: translateY(-1px); }

.mobiled2f94-nav-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.mobiled2f94-nav-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- Skip link ---------- */
.mobiled2f94-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mobiled2f94-cyan);
  color: #fff;
  padding: 10px 14px;
  z-index: 300;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}

.mobiled2f94-skip:focus {
  left: 0;
  color: #fff;
  text-decoration: none;
}

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

/* ---------- Wide handset breakpoint at 430px ---------- */
@media (min-width: 430px) {
  body { font-size: 15.5px; }
  .mobiled2f94-main { padding-left: 18px; padding-right: 18px; }
  .mobiled2f94-game-grid { grid-template-columns: repeat(5, 1fr); gap: 12px 10px; }
  .mobiled2f94-slide-img { height: 210px; }
  .mobiled2f94-section-title { font-size: 21px; }
  .mobiled2f94-slide-title { font-size: 19px; }
  .mobiled2f94-ext-dir { grid-template-columns: repeat(3, 1fr); }
  .mobiled2f94-ext-promo { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Very small phones ---------- */
@media (max-width: 359px) {
  .mobiled2f94-brand-name { font-size: 16px; }
  .mobiled2f94-btn { padding: 0 12px; font-size: 13px; }
  .mobiled2f94-game-grid { gap: 8px 6px; }
  .mobiled2f94-game-name { font-size: 10.5px; }
}

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