/* ==========================================================================
   399bet download apk - mobile surface stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Prefix contract: every class uses mobile03a8d-
   Palette: #FFB347 amber / #E9967A salmon / #2C3E50 slate / #FFEF94 cream / #BAFFC9 mint
   Design voice: bold condensed headings + light body, outlined tile cards,
   scenario-branch info rhythm, motion reserved for key CTAs only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --mobile03a8d-amber: #FFB347;
  --mobile03a8d-salmon: #E9967A;
  --mobile03a8d-slate: #2C3E50;
  --mobile03a8d-slate-deep: #22303F;
  --mobile03a8d-slate-ink: #1A2530;
  --mobile03a8d-cream: #FFEF94;
  --mobile03a8d-mint: #BAFFC9;
  --mobile03a8d-line: rgba(255, 179, 71, 0.30);
  --mobile03a8d-line-soft: rgba(255, 239, 148, 0.14);
  --mobile03a8d-text: #F4EFD8;
  --mobile03a8d-text-dim: #C9CFB9;
  --mobile03a8d-canvas: 480px;
  --mobile03a8d-radius-tile: 10px;
  --mobile03a8d-radius-card: 14px;
  --mobile03a8d-radius-btn: 8px;
  --mobile03a8d-tap: 44px;
  --mobile03a8d-dock-h: 62px;
  --mobile03a8d-top-h: 54px;
  --mobile03a8d-font-head: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", system-ui, sans-serif;
  --mobile03a8d-font-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Segoe UI", system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html {
  background: #131C26;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  max-width: var(--mobile03a8d-canvas);
  min-height: 100vh;
  background:
    radial-gradient(1200px 420px at 50% -160px, rgba(255, 179, 71, 0.14), transparent 62%),
    var(--mobile03a8d-slate);
  color: var(--mobile03a8d-text);
  font-family: var(--mobile03a8d-font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  /* room for the floating dock + copyright strip */
  padding-bottom: calc(var(--mobile03a8d-dock-h) + 34px + env(safe-area-inset-bottom, 0px));
}

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

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

a { color: var(--mobile03a8d-mint); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.mobile03a8d-noscroll { overflow: hidden; }

.mobile03a8d-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Top brand bar (sticky compact brand row + action cluster)
   -------------------------------------------------------------------------- */
.mobile03a8d-top {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--mobile03a8d-top-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(34, 48, 63, 0.97), rgba(34, 48, 63, 0.88));
  border-bottom: 1px solid var(--mobile03a8d-line);
  backdrop-filter: blur(8px);
}

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

.mobile03a8d-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--mobile03a8d-line);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--mobile03a8d-slate-ink);
}

.mobile03a8d-brand-name {
  font-family: var(--mobile03a8d-font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  color: var(--mobile03a8d-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* compact dual action group: outline login + solid register */
.mobile03a8d-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.mobile03a8d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--mobile03a8d-radius-btn);
  font-family: var(--mobile03a8d-font-head);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.mobile03a8d-btn:active {
  transform: translateY(-2px);
}

.mobile03a8d-btn-register {
  background: linear-gradient(135deg, var(--mobile03a8d-amber), #f39c2d);
  color: var(--mobile03a8d-slate-ink);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}

.mobile03a8d-btn-register:active {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}

.mobile03a8d-btn-login {
  border-color: var(--mobile03a8d-line);
  color: var(--mobile03a8d-cream);
  background: rgba(255, 239, 148, 0.05);
}

.mobile03a8d-menu-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--mobile03a8d-radius-btn);
  border: 1px solid var(--mobile03a8d-line);
  background: rgba(255, 179, 71, 0.08);
}

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

.mobile03a8d-menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile03a8d-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile03a8d-menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. Side drawer menu
   -------------------------------------------------------------------------- */
.mobile03a8d-veil {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 16, 22, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobile03a8d-veil.is-on { opacity: 1; visibility: visible; }

.mobile03a8d-drawer {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 80;
  width: min(84vw, 318px);
  background: linear-gradient(180deg, #26364a, var(--mobile03a8d-slate-deep));
  border-right: 1px solid var(--mobile03a8d-line);
  transform: translateX(-102%);
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 24px;
}

.mobile03a8d-drawer.is-open { transform: translateX(0); }

.mobile03a8d-drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--mobile03a8d-line-soft);
}

.mobile03a8d-drawer-head img {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--mobile03a8d-line);
}

.mobile03a8d-drawer-head strong {
  font-family: var(--mobile03a8d-font-head);
  font-size: 15px;
  color: var(--mobile03a8d-cream);
  display: block;
  line-height: 1.3;
}

.mobile03a8d-drawer-head small {
  color: var(--mobile03a8d-text-dim);
  font-size: 11px;
  letter-spacing: 0.4px;
}

.mobile03a8d-drawer-nav {
  list-style: none;
  margin: 10px 0 0;
  padding: 0 10px;
}

.mobile03a8d-drawer-nav li { margin: 2px 0; }

.mobile03a8d-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--mobile03a8d-tap);
  padding: 10px 12px;
  border-radius: var(--mobile03a8d-radius-btn);
  color: var(--mobile03a8d-text);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
}

.mobile03a8d-drawer-nav a:hover,
.mobile03a8d-drawer-nav a:focus-visible {
  background: rgba(255, 179, 71, 0.10);
  text-decoration: none;
}

.mobile03a8d-drawer-nav a.is-here {
  background: rgba(255, 179, 71, 0.14);
  border-color: var(--mobile03a8d-line);
  color: var(--mobile03a8d-cream);
}

.mobile03a8d-drawer-nav svg {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  color: var(--mobile03a8d-amber);
}

.mobile03a8d-drawer-cta {
  margin: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--mobile03a8d-line-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile03a8d-drawer-cta .mobile03a8d-btn { width: 100%; }

/* --------------------------------------------------------------------------
   5. Main column + hero carousel
   -------------------------------------------------------------------------- */
main { padding: 14px 12px 6px; }

.mobile03a8d-hero {
  position: relative;
  border-radius: var(--mobile03a8d-radius-card);
  border: 1px solid var(--mobile03a8d-line);
  overflow: hidden;
  background: var(--mobile03a8d-slate-ink);
  aspect-ratio: 16 / 8;
  touch-action: pan-y;
}

.mobile03a8d-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.mobile03a8d-slide.is-on { opacity: 1; visibility: visible; }

.mobile03a8d-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.mobile03a8d-slide-veilgrad {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(26, 37, 48, 0.92));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.mobile03a8d-slide-veilgrad strong {
  font-family: var(--mobile03a8d-font-head);
  font-size: 14px;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.mobile03a8d-slide-chip {
  flex: 0 0 auto;
  background: var(--mobile03a8d-amber);
  color: var(--mobile03a8d-slate-ink);
  font-family: var(--mobile03a8d-font-head);
  font-weight: 700;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

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

.mobile03a8d-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: rgba(255, 239, 148, 0.38);
  border: 1px solid rgba(26, 37, 48, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.mobile03a8d-dot.is-on {
  width: 18px;
  background: var(--mobile03a8d-amber);
}

/* --------------------------------------------------------------------------
   6. Section shells (varied head treatments, scenario rhythm)
   -------------------------------------------------------------------------- */
.mobile03a8d-sec { margin: 22px 0 0; }

.mobile03a8d-kick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobile03a8d-salmon);
  margin: 0 0 6px;
}

.mobile03a8d-kick::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--mobile03a8d-salmon);
  border-radius: 2px;
}

h1.mobile03a8d-h1 {
  font-family: var(--mobile03a8d-font-head);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--mobile03a8d-cream);
  margin: 0 0 8px;
  letter-spacing: 0.2px;
}

h2.mobile03a8d-h2 {
  font-family: var(--mobile03a8d-font-head);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--mobile03a8d-cream);
  margin: 0 0 8px;
}

h3.mobile03a8d-h3 {
  font-family: var(--mobile03a8d-font-head);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--mobile03a8d-amber);
  margin: 16px 0 6px;
}

.mobile03a8d-lede {
  margin: 0 0 10px;
  color: var(--mobile03a8d-text-dim);
  font-size: 14.5px;
}

.mobile03a8d-p { margin: 0 0 10px; }

/* thin outlined info card used for summary / fact blocks */
.mobile03a8d-card {
  border: 1px solid var(--mobile03a8d-line-soft);
  border-left: 3px solid var(--mobile03a8d-amber);
  border-radius: var(--mobile03a8d-radius-card);
  background: rgba(255, 239, 148, 0.045);
  padding: 12px 12px 10px;
  margin: 12px 0;
}

/* numbered step rail */
.mobile03a8d-steps {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  counter-reset: mobile03a8d-step;
}

.mobile03a8d-steps li {
  counter-increment: mobile03a8d-step;
  position: relative;
  padding: 0 0 14px 40px;
}

.mobile03a8d-steps li::before {
  content: counter(mobile03a8d-step);
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--mobile03a8d-line);
  background: rgba(255, 179, 71, 0.12);
  color: var(--mobile03a8d-amber);
  font-family: var(--mobile03a8d-font-head);
  font-weight: 700;
  font-size: 13px;
}

.mobile03a8d-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.5px; top: 30px; bottom: 2px;
  width: 1px;
  background: var(--mobile03a8d-line-soft);
}

.mobile03a8d-steps strong { color: var(--mobile03a8d-cream); display: block; font-size: 14.5px; }

/* scenario branch rows: condition chip on the left, guidance on the right */
.mobile03a8d-branch {
  margin: 12px 0;
  border: 1px solid var(--mobile03a8d-line-soft);
  border-radius: var(--mobile03a8d-radius-card);
  overflow: hidden;
}

.mobile03a8d-branch-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--mobile03a8d-line-soft);
  font-size: 13.5px;
}

.mobile03a8d-branch-row:last-child { border-bottom: 0; }

.mobile03a8d-branch-row:hover { background: rgba(255, 179, 71, 0.05); }

.mobile03a8d-branch-who {
  align-self: start;
  justify-self: start;
  font-family: var(--mobile03a8d-font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.3px;
  color: var(--mobile03a8d-slate-ink);
  background: var(--mobile03a8d-mint);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* criteria checklist with drawn check marks */
.mobile03a8d-check {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

.mobile03a8d-check li {
  position: relative;
  padding: 5px 0 5px 30px;
  font-size: 14px;
  border-bottom: 1px dashed var(--mobile03a8d-line-soft);
}

.mobile03a8d-check li:last-child { border-bottom: 0; }

.mobile03a8d-check li::before {
  content: "";
  position: absolute;
  left: 4px; top: 13px;
  width: 11px; height: 6px;
  border-left: 2.5px solid var(--mobile03a8d-mint);
  border-bottom: 2.5px solid var(--mobile03a8d-mint);
  transform: rotate(-45deg);
}

/* term lexicon */
.mobile03a8d-lex { margin: 10px 0; }

.mobile03a8d-lex-row {
  border: 1px solid var(--mobile03a8d-line-soft);
  border-radius: var(--mobile03a8d-radius-tile);
  padding: 9px 11px;
  margin: 8px 0;
  background: rgba(186, 255, 201, 0.04);
}

.mobile03a8d-lex-row dt {
  font-family: var(--mobile03a8d-font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mobile03a8d-mint);
}

.mobile03a8d-lex-row dd {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--mobile03a8d-text-dim);
}

/* inline promo text link inside paragraphs */
.mobile03a8d-inline {
  color: var(--mobile03a8d-amber);
  font-weight: 700;
  border-bottom: 1.5px dotted var(--mobile03a8d-amber);
}

.mobile03a8d-inline:hover { text-decoration: none; color: var(--mobile03a8d-cream); }

/* larger dual CTA group for body sections */
.mobile03a8d-duo {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
}

.mobile03a8d-duo .mobile03a8d-btn {
  flex: 1 1 50%;
  min-height: var(--mobile03a8d-tap);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   7. Game zones: outlined tile grid
   -------------------------------------------------------------------------- */
.mobile03a8d-cat {
  margin: 24px 0 0;
}

.mobile03a8d-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--mobile03a8d-line);
}

.mobile03a8d-cat-mark {
  width: 10px; height: 10px;
  flex: 0 0 auto;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--mobile03a8d-amber);
}

.mobile03a8d-cat-mark--salmon { background: var(--mobile03a8d-salmon); }
.mobile03a8d-cat-mark--mint { background: var(--mobile03a8d-mint); }
.mobile03a8d-cat-mark--cream { background: var(--mobile03a8d-cream); }

.mobile03a8d-cat-title {
  font-family: var(--mobile03a8d-font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--mobile03a8d-cream);
  margin: 0;
  flex: 1 1 auto;
}

.mobile03a8d-cat-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--mobile03a8d-slate-ink);
  background: var(--mobile03a8d-cream);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 4 columns at 320px, 5 columns from 375px up */
.mobile03a8d-games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

.mobile03a8d-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--mobile03a8d-line);
  border-radius: var(--mobile03a8d-radius-tile);
  background: rgba(255, 239, 148, 0.04);
  transition: border-color 0.16s ease, background 0.16s ease;
  text-align: center;
}

.mobile03a8d-tile:hover,
.mobile03a8d-tile:focus-visible {
  border-color: var(--mobile03a8d-amber);
  background: rgba(255, 179, 71, 0.10);
}

.mobile03a8d-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: var(--mobile03a8d-slate-ink);
}

.mobile03a8d-tile span {
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--mobile03a8d-cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   8. Extended site footer (promo list, brand note, directory, disclaimer)
   -------------------------------------------------------------------------- */
.mobile03a8d-ext {
  margin: 28px 0 0;
  border: 1px solid var(--mobile03a8d-line-soft);
  border-radius: var(--mobile03a8d-radius-card);
  background: rgba(26, 37, 48, 0.55);
  padding: 4px 12px 12px;
}

.mobile03a8d-ext-h {
  font-family: var(--mobile03a8d-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--mobile03a8d-amber);
  margin: 14px 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--mobile03a8d-line-soft);
}

/* six short promo rows, chevron on the right */
.mobile03a8d-acts { list-style: none; margin: 0; padding: 0; }

.mobile03a8d-acts li { border-bottom: 1px dashed var(--mobile03a8d-line-soft); }
.mobile03a8d-acts li:last-child { border-bottom: 0; }

.mobile03a8d-act {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: var(--mobile03a8d-tap);
  padding: 8px 2px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--mobile03a8d-text);
}

.mobile03a8d-act:hover { color: var(--mobile03a8d-cream); }

.mobile03a8d-act em {
  font-style: normal;
  font-family: var(--mobile03a8d-font-head);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.6px;
  color: var(--mobile03a8d-slate-ink);
  background: var(--mobile03a8d-salmon);
  border-radius: 999px;
  padding: 3px 8px;
  flex: 0 0 auto;
}

.mobile03a8d-act .mobile03a8d-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-top: 2px solid var(--mobile03a8d-amber);
  border-right: 2px solid var(--mobile03a8d-amber);
  transform: rotate(45deg);
}

.mobile03a8d-brandnote {
  font-size: 13px;
  color: var(--mobile03a8d-text-dim);
  margin: 0;
}

/* two-column directory of real inner pages */
.mobile03a8d-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile03a8d-dir a {
  display: block;
  min-height: 40px;
  padding: 8px 9px;
  border: 1px solid var(--mobile03a8d-line-soft);
  border-radius: var(--mobile03a8d-radius-tile);
  font-size: 12px;
  line-height: 1.4;
  color: var(--mobile03a8d-text);
  background: rgba(255, 239, 148, 0.035);
}

.mobile03a8d-dir a:hover {
  border-color: var(--mobile03a8d-amber);
  color: var(--mobile03a8d-cream);
  text-decoration: none;
}

.mobile03a8d-disc {
  font-size: 11.5px;
  line-height: 1.6;
  color: #97a08c;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. Copyright strip + floating dock nav
   -------------------------------------------------------------------------- */
.mobile03a8d-copy {
  text-align: center;
  font-size: 12px;
  color: #8D9AA8;
  padding: 16px 12px calc(14px + env(safe-area-inset-bottom, 0px));
  margin: 18px 0 0;
  border-top: 1px solid var(--mobile03a8d-line-soft);
}

.mobile03a8d-copy strong { color: var(--mobile03a8d-text-dim); }

.mobile03a8d-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: calc(var(--mobile03a8d-canvas) - 24px);
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  min-height: var(--mobile03a8d-dock-h);
  padding: 6px 4px;
  border-radius: 16px;
  border: 1px solid var(--mobile03a8d-line);
  background: linear-gradient(180deg, rgba(34, 48, 63, 0.97), rgba(26, 37, 48, 0.97));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.mobile03a8d-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobile03a8d-tap);
  padding: 4px 2px;
  border-radius: 12px;
  color: #AEB9A4;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.16s ease, color 0.16s ease;
}

.mobile03a8d-dock-item svg { width: 21px; height: 21px; }

.mobile03a8d-dock-item:hover { color: var(--mobile03a8d-cream); text-decoration: none; }

/* active role: lifted icon + emphasized label */
.mobile03a8d-dock-item.is-here {
  color: var(--mobile03a8d-cream);
  font-weight: 700;
  transform: translateY(-3px);
}

.mobile03a8d-dock-item.is-here svg { color: var(--mobile03a8d-amber); }

/* promo roles get the warm accent icon */
.mobile03a8d-dock-item--promo svg { color: var(--mobile03a8d-salmon); }

/* --------------------------------------------------------------------------
   10. Responsive refinement across the 320-430px band
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  body { font-size: 14.5px; }
  h1.mobile03a8d-h1 { font-size: 21px; }
  .mobile03a8d-btn { padding: 6px 9px; font-size: 12px; }
  .mobile03a8d-games { gap: 8px 6px; }
  .mobile03a8d-tile span { font-size: 10px; }
  .mobile03a8d-dir { grid-template-columns: 1fr; }
}

/* from 375px: wider grids and roomier type */
@media (min-width: 375px) {
  .mobile03a8d-games { grid-template-columns: repeat(5, 1fr); gap: 10px 8px; }
  .mobile03a8d-tile span { font-size: 11px; }
  h1.mobile03a8d-h1 { font-size: 25px; }
  main { padding: 16px 14px 6px; }
}

/* 430px and up: keep the same phone rhythm, add breathing room */
@media (min-width: 430px) {
  body { font-size: 15.5px; }
  h1.mobile03a8d-h1 { font-size: 27px; }
  h2.mobile03a8d-h2 { font-size: 19px; }
  main { padding: 18px 16px 6px; }
  .mobile03a8d-games { gap: 12px 10px; }
  .mobile03a8d-slide-veilgrad strong { font-size: 15px; }
}

/* wide screens: keep the centered phone canvas visible */
@media (min-width: 560px) {
  body {
    box-shadow: 0 0 0 1px rgba(255, 179, 71, 0.10), 0 24px 60px rgba(0, 0, 0, 0.5);
    min-height: 100vh;
  }
}

/* --------------------------------------------------------------------------
   11. Motion budget: only key CTAs animate; honor reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .mobile03a8d-dock-item.is-here { transform: none; }
}
