/* ============================================================
   7000bet apk - mobile interface stylesheet
   File: css/7000bet-apk-interface-083a8e.css
   All class names / CSS variables use the mobile3a8e3- prefix.
   Canvas: 320-430px mobile first, centered phone canvas on
   wide screens. Motion budget: state (color) changes only.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --mobile3a8e3-c-bg: #273746;            /* base deep slate canvas */
  --mobile3a8e3-c-bg-deep: #1d2a36;       /* sunk panels */
  --mobile3a8e3-c-bg-outer: #18222d;      /* letterbox behind canvas */
  --mobile3a8e3-c-plum: #DDA0DD;          /* light accent / links */
  --mobile3a8e3-c-magenta: #8B008B;       /* secondary surface */
  --mobile3a8e3-c-violet: #9400D3;        /* primary CTA */
  --mobile3a8e3-c-ink: #f4eaf7;           /* main text */
  --mobile3a8e3-c-muted: #c7b6ce;         /* secondary text */
  --mobile3a8e3-c-line: rgba(221, 160, 221, 0.16);
  --mobile3a8e3-font-head: "Trebuchet MS", "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --mobile3a8e3-font-body: "Segoe UI", Roboto, "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
  --mobile3a8e3-r-s: 8px;                 /* small radius */
  --mobile3a8e3-r-m: 12px;                /* medium radius */
  --mobile3a8e3-r-l: 16px;                /* panel radius */
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mobile3a8e3-c-bg-outer);
  color: var(--mobile3a8e3-c-ink);
  font-family: var(--mobile3a8e3-font-body);
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--mobile3a8e3-font-head); font-weight: 700; }
a { color: var(--mobile3a8e3-c-plum); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--mobile3a8e3-c-plum);
  outline-offset: 2px;
  border-radius: 4px;
}
body.mobile3a8e3-no-scroll { overflow: hidden; }

/* ---------- phone canvas ---------- */
.mobile3a8e3-page {
  max-width: 430px;
  margin: 0 auto;
  background: var(--mobile3a8e3-c-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* main column clears fixed top bar and floating dock */
.mobile3a8e3-main {
  padding-top: 60px;
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

/* ---------- fixed compact brand bar ---------- */
.mobile3a8e3-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(29, 42, 54, 0.97);
  border-bottom: 1px solid var(--mobile3a8e3-c-line);
}
.mobile3a8e3-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-right: auto;
}
.mobile3a8e3-brand-img {
  width: 32px;
  height: 32px;
  border-radius: var(--mobile3a8e3-r-s);
  border: 1px solid rgba(221, 160, 221, 0.35);
  object-fit: cover;
  flex: none;
}
.mobile3a8e3-brand-name {
  font-family: var(--mobile3a8e3-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--mobile3a8e3-c-ink);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.mobile3a8e3-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.mobile3a8e3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mobile3a8e3-btn--ghost {
  border: 1px solid rgba(221, 160, 221, 0.55);
  color: var(--mobile3a8e3-c-plum);
  background: rgba(139, 0, 139, 0.12);
}
.mobile3a8e3-btn--ghost:hover, .mobile3a8e3-btn--ghost:focus-visible {
  background: rgba(221, 160, 221, 0.18);
  border-color: var(--mobile3a8e3-c-plum);
}
.mobile3a8e3-btn--fill {
  background: linear-gradient(135deg, var(--mobile3a8e3-c-violet), var(--mobile3a8e3-c-magenta));
  color: #ffffff;
}
.mobile3a8e3-btn--fill:hover, .mobile3a8e3-btn--fill:focus-visible {
  background: linear-gradient(135deg, #a52ae8, #a110a1);
}
.mobile3a8e3-menu-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mobile3a8e3-r-s);
  border: 1px solid rgba(221, 160, 221, 0.4);
  color: var(--mobile3a8e3-c-plum);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.mobile3a8e3-menu-btn:hover, .mobile3a8e3-menu-btn:focus-visible {
  border-color: var(--mobile3a8e3-c-plum);
  background: rgba(221, 160, 221, 0.14);
}
.mobile3a8e3-menu-btn svg { width: 20px; height: 20px; }

/* ---------- full-height menu layer ---------- */
.mobile3a8e3-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(24, 34, 45, 0.98);
  padding: 10px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.mobile3a8e3-drawer.mobile3a8e3-is-open { opacity: 1; visibility: visible; }
.mobile3a8e3-drawer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mobile3a8e3-c-line);
}
.mobile3a8e3-drawer-head .mobile3a8e3-brand-name { font-size: 16px; }
.mobile3a8e3-drawer-close {
  margin-left: auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mobile3a8e3-r-s);
  border: 1px solid rgba(221, 160, 221, 0.4);
  color: var(--mobile3a8e3-c-plum);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mobile3a8e3-drawer-close:hover { background: rgba(221, 160, 221, 0.14); }
.mobile3a8e3-drawer-close svg { width: 18px; height: 18px; }
.mobile3a8e3-drawer-group {
  margin: 16px 0 6px;
  font-family: var(--mobile3a8e3-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobile3a8e3-c-plum);
  opacity: 0.85;
}
.mobile3a8e3-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: var(--mobile3a8e3-r-m);
  color: var(--mobile3a8e3-c-ink);
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mobile3a8e3-drawer-link:hover, .mobile3a8e3-drawer-link:focus-visible {
  background: rgba(148, 0, 211, 0.16);
  border-color: rgba(148, 0, 211, 0.5);
}
.mobile3a8e3-drawer-link svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--mobile3a8e3-c-plum);
}
.mobile3a8e3-drawer-cta {
  margin-top: 18px;
  display: block;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--mobile3a8e3-r-m);
  background: linear-gradient(135deg, var(--mobile3a8e3-c-violet), var(--mobile3a8e3-c-magenta));
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease;
}
.mobile3a8e3-drawer-cta:hover { background: linear-gradient(135deg, #a52ae8, #a110a1); }

/* ---------- hero ---------- */
.mobile3a8e3-hero {
  padding: 22px 16px 6px;
}
.mobile3a8e3-h1 {
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: #ffffff;
}
.mobile3a8e3-lede {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--mobile3a8e3-c-muted);
}
.mobile3a8e3-cta {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--mobile3a8e3-r-m);
  background: linear-gradient(135deg, var(--mobile3a8e3-c-violet), var(--mobile3a8e3-c-magenta));
  color: #ffffff;
  font-family: var(--mobile3a8e3-font-head);
  font-size: 15.5px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.3px;
  transition: background-color 0.2s ease;
}
.mobile3a8e3-cta:hover, .mobile3a8e3-cta:focus-visible {
  background: linear-gradient(135deg, #a52ae8, #a110a1);
}
.mobile3a8e3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.mobile3a8e3-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(221, 160, 221, 0.3);
  background: rgba(139, 0, 139, 0.14);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mobile3a8e3-c-plum);
}
.mobile3a8e3-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mobile3a8e3-c-violet);
}

/* ---------- promo carousel (fade-only motion) ---------- */
.mobile3a8e3-carousel {
  position: relative;
  margin: 18px 16px 0;
  border-radius: var(--mobile3a8e3-r-l);
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: var(--mobile3a8e3-c-bg-deep);
  border: 1px solid var(--mobile3a8e3-c-line);
}
.mobile3a8e3-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile3a8e3-slide.mobile3a8e3-is-on { opacity: 1; }
.mobile3a8e3-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mobile3a8e3-slide-cap {
  position: relative;
  width: 100%;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, rgba(24, 34, 45, 0) 0%, rgba(24, 34, 45, 0.92) 78%);
  font-family: var(--mobile3a8e3-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
}
.mobile3a8e3-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}
.mobile3a8e3-dot {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.mobile3a8e3-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(221, 160, 221, 0.35);
  transition: background-color 0.2s ease;
}
.mobile3a8e3-dot.mobile3a8e3-is-on::before { background: var(--mobile3a8e3-c-plum); }
.mobile3a8e3-dot:hover::before { background: rgba(221, 160, 221, 0.7); }

/* ---------- category quick strip ---------- */
.mobile3a8e3-catstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 16px 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile3a8e3-catstrip::-webkit-scrollbar { display: none; }
.mobile3a8e3-catchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 0, 211, 0.5);
  background: rgba(139, 0, 139, 0.16);
  color: var(--mobile3a8e3-c-plum);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mobile3a8e3-catchip:hover, .mobile3a8e3-catchip:focus-visible {
  background: rgba(148, 0, 211, 0.34);
  border-color: var(--mobile3a8e3-c-violet);
  color: #ffffff;
}

/* ---------- generic section ---------- */
.mobile3a8e3-section { padding: 24px 0 4px; }
.mobile3a8e3-h2 {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: #ffffff;
  padding: 0 16px 8px;
}
.mobile3a8e3-intro {
  padding: 0 16px 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mobile3a8e3-c-muted);
}
.mobile3a8e3-intro a, .mobile3a8e3-inlinelink {
  color: var(--mobile3a8e3-c-plum);
  text-decoration: underline;
  text-decoration-color: rgba(221, 160, 221, 0.5);
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s ease;
}
.mobile3a8e3-intro a:hover, .mobile3a8e3-inlinelink:hover { color: #ffffff; }

/* ---------- game grid: 4 cols base, 5 cols from 375px ---------- */
.mobile3a8e3-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  padding: 0 14px;
}
.mobile3a8e3-gcell { display: flex; }
.mobile3a8e3-gcell--xl { grid-column: span 2; }
.mobile3a8e3-gcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 6px;
  padding: 6px;
  border-radius: var(--mobile3a8e3-r-m);
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(221, 160, 221, 0.12);
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mobile3a8e3-gcard:hover, .mobile3a8e3-gcard:focus-visible {
  background: rgba(148, 0, 211, 0.16);
  border-color: var(--mobile3a8e3-c-violet);
}
.mobile3a8e3-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--mobile3a8e3-r-s);
  background: #22303d;
}
.mobile3a8e3-gname {
  font-size: 11px;
  line-height: 1.4;
  color: #efe3f2;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
.mobile3a8e3-gcell--xl .mobile3a8e3-gname { font-size: 13px; -webkit-line-clamp: 2; }

/* ---------- conclusion + compare block ---------- */
.mobile3a8e3-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px;
}
.mobile3a8e3-compare-col {
  border-radius: var(--mobile3a8e3-r-m);
  border: 1px solid var(--mobile3a8e3-c-line);
  background: var(--mobile3a8e3-c-bg-deep);
  padding: 12px;
}
.mobile3a8e3-compare-h {
  font-family: var(--mobile3a8e3-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile3a8e3-c-plum);
  margin-bottom: 8px;
}
.mobile3a8e3-compare-col ul { list-style: none; }
.mobile3a8e3-compare-li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--mobile3a8e3-c-muted);
  margin-bottom: 6px;
}
.mobile3a8e3-compare-li:last-child { margin-bottom: 0; }
.mobile3a8e3-compare-li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mobile3a8e3-c-violet);
}
.mobile3a8e3-outro {
  padding: 12px 16px 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mobile3a8e3-c-muted);
}

/* ---------- milestone track (game achievements) ---------- */
.mobile3a8e3-milestones {
  margin: 0 16px;
  border-radius: var(--mobile3a8e3-r-l);
  border: 1px solid var(--mobile3a8e3-c-line);
  background: var(--mobile3a8e3-c-bg-deep);
  padding: 6px 14px;
}
.mobile3a8e3-mile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(221, 160, 221, 0.16);
}
.mobile3a8e3-mile:last-child { border-bottom: 0; }
.mobile3a8e3-mile-num {
  flex: none;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--mobile3a8e3-c-violet);
  color: var(--mobile3a8e3-c-plum);
  font-family: var(--mobile3a8e3-font-head);
  font-size: 13px;
  font-weight: 700;
}
.mobile3a8e3-mile-t {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mobile3a8e3-c-muted);
}
.mobile3a8e3-mile-t strong {
  display: block;
  color: var(--mobile3a8e3-c-ink);
  font-size: 13px;
  margin-bottom: 2px;
}

/* ---------- payment condition rows ---------- */
.mobile3a8e3-payrows { padding: 0 16px; }
.mobile3a8e3-payrow {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: var(--mobile3a8e3-r-m);
  border: 1px solid var(--mobile3a8e3-c-line);
  border-left: 3px solid var(--mobile3a8e3-c-magenta);
  background: rgba(139, 0, 139, 0.08);
  padding: 11px 13px;
  margin-bottom: 10px;
}
.mobile3a8e3-pay-h {
  font-family: var(--mobile3a8e3-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile3a8e3-c-plum);
}
.mobile3a8e3-pay-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--mobile3a8e3-c-muted);
}

/* ---------- winners feed ---------- */
.mobile3a8e3-feed { padding: 0 16px; }
.mobile3a8e3-feedrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(221, 160, 221, 0.1);
}
.mobile3a8e3-feedrow:last-child { border-bottom: 0; }
.mobile3a8e3-feedwho {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile3a8e3-c-ink);
}
.mobile3a8e3-feedamt {
  font-family: var(--mobile3a8e3-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile3a8e3-c-plum);
  text-align: right;
}
.mobile3a8e3-feedgame {
  font-size: 11.5px;
  color: var(--mobile3a8e3-c-muted);
  grid-column: 1 / 2;
}
.mobile3a8e3-feedtime {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 10.5px;
  color: rgba(199, 182, 206, 0.7);
  text-align: right;
}
.mobile3a8e3-feednote {
  margin-top: 12px;
  border-radius: var(--mobile3a8e3-r-m);
  background: rgba(148, 0, 211, 0.1);
  border: 1px solid rgba(148, 0, 211, 0.35);
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--mobile3a8e3-c-muted);
}

/* ---------- fact summary grid ---------- */
.mobile3a8e3-facts {
  margin: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mobile3a8e3-facts > div {
  border-radius: var(--mobile3a8e3-r-m);
  border: 1px solid var(--mobile3a8e3-c-line);
  background: var(--mobile3a8e3-c-bg-deep);
  padding: 10px 11px;
}
.mobile3a8e3-facts dt {
  font-size: 10.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--mobile3a8e3-c-plum);
  opacity: 0.9;
  margin-bottom: 3px;
}
.mobile3a8e3-facts dd {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--mobile3a8e3-c-ink);
}

/* ---------- extended footer (directory > brand > promotions > disclaimer) ---------- */
.mobile3a8e3-ext {
  margin-top: 28px;
  border-top: 1px solid var(--mobile3a8e3-c-line);
  padding: 20px 0 6px;
}
.mobile3a8e3-ext .mobile3a8e3-h2 { padding-bottom: 12px; }
.mobile3a8e3-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 14px;
  padding: 0 16px 16px;
}
.mobile3a8e3-dirlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile3a8e3-c-plum);
  line-height: 1.4;
  transition: color 0.2s ease;
}
.mobile3a8e3-dirlink::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mobile3a8e3-c-magenta);
}
.mobile3a8e3-dirlink:hover, .mobile3a8e3-dirlink:focus-visible { color: #ffffff; }
.mobile3a8e3-brandbox {
  margin: 0 16px 16px;
  border-radius: var(--mobile3a8e3-r-l);
  background: var(--mobile3a8e3-c-bg-deep);
  border: 1px solid var(--mobile3a8e3-c-line);
  padding: 13px 14px;
}
.mobile3a8e3-brandbox strong {
  display: block;
  font-family: var(--mobile3a8e3-font-head);
  font-size: 13.5px;
  color: #ffffff;
  margin-bottom: 5px;
}
.mobile3a8e3-brandbox p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--mobile3a8e3-c-muted);
}
.mobile3a8e3-promoactions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 16px;
}
.mobile3a8e3-paction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 10px;
  border-radius: var(--mobile3a8e3-r-m);
  border: 1px solid rgba(148, 0, 211, 0.55);
  background: rgba(139, 0, 139, 0.22);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mobile3a8e3-paction:hover, .mobile3a8e3-paction:focus-visible {
  background: rgba(148, 0, 211, 0.4);
  border-color: var(--mobile3a8e3-c-violet);
}
.mobile3a8e3-paction svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--mobile3a8e3-c-plum);
}
.mobile3a8e3-note {
  margin: 0 16px;
  border-left: 3px solid var(--mobile3a8e3-c-magenta);
  background: rgba(139, 0, 139, 0.08);
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--mobile3a8e3-c-muted);
}

/* ---------- common footer ---------- */
.mobile3a8e3-footer {
  text-align: center;
  padding: 18px 16px 10px;
  font-size: 11.5px;
  color: rgba(199, 182, 206, 0.75);
}
.mobile3a8e3-footer a { color: var(--mobile3a8e3-c-plum); }

/* ---------- floating dock bottom nav ---------- */
.mobile3a8e3-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 410px;
  z-index: 70;
  display: flex;
  align-items: stretch;
  border-radius: 18px;
  background: rgba(24, 34, 45, 0.96);
  border: 1px solid rgba(221, 160, 221, 0.22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  padding: 6px 4px;
}
.mobile3a8e3-dock-item {
  position: relative;
  flex: 1;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 14px;
  color: rgba(199, 182, 206, 0.78);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.mobile3a8e3-dock-item:hover, .mobile3a8e3-dock-item:focus-visible {
  color: var(--mobile3a8e3-c-plum);
  background: rgba(148, 0, 211, 0.12);
}
/* active: top indicator line + filled icon + bright label */
.mobile3a8e3-dock-item.mobile3a8e3-is-active { color: var(--mobile3a8e3-c-plum); }
.mobile3a8e3-dock-item.mobile3a8e3-is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -13px;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--mobile3a8e3-c-plum);
}
.mobile3a8e3-dock-item svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile3a8e3-dock-item.mobile3a8e3-is-active svg { fill: currentColor; stroke: var(--mobile3a8e3-c-plum); }
.mobile3a8e3-dock-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
.mobile3a8e3-dock-item.mobile3a8e3-is-active .mobile3a8e3-dock-label { opacity: 1; }

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

/* ---------- breakpoints ---------- */
/* 375px and up: game grids move to a stable 5-track layout */
@media (min-width: 375px) {
  .mobile3a8e3-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 10px; }
  .mobile3a8e3-h1 { font-size: 24px; }
  .mobile3a8e3-h2 { font-size: 18px; }
}
/* keep the same phone-canvas experience on wide screens */
@media (min-width: 430px) {
  .mobile3a8e3-page {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 0 44px rgba(0, 0, 0, 0.5);
  }
}
/* very narrow canvas: slightly tighter horizontal rhythm */
@media (max-width: 359px) {
  .mobile3a8e3-grid { gap: 8px 6px; }
  .mobile3a8e3-brand-name { font-size: 14px; }
  .mobile3a8e3-btn { padding: 7px 9px; font-size: 11.5px; }
  .mobile3a8e3-h1 { font-size: 21px; }
}
/* respect users who prefer no transitions at all */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
