/* ==========================================================================
   bd898.homes - adaptive display stylesheet
   Every class and custom property carries the mobile9bd61- prefix.
   Canvas strategy: built for 320-430px phones; wider screens keep the
   same phone frame centered on a darker backdrop.
   Palette anchors: #9400D3 / #008B8B / #00695C / #26A69A / #333333
   ========================================================================== */

:root {
  --mobile9bd61-violet: #9400D3;
  --mobile9bd61-teal: #008B8B;
  --mobile9bd61-deepteal: #00695C;
  --mobile9bd61-mint: #26A69A;
  --mobile9bd61-ink: #333333;
  --mobile9bd61-night: #05100e;
  --mobile9bd61-panel: #0b1d1a;
  --mobile9bd61-panel2: #0f2622;
  --mobile9bd61-panel3: #123029;
  --mobile9bd61-line: rgba(38, 166, 154, 0.26);
  --mobile9bd61-line2: rgba(148, 0, 211, 0.34);
  --mobile9bd61-text: #ecf7f4;
  --mobile9bd61-soft: #a9cbc3;
  --mobile9bd61-dim: #7da79f;
  --mobile9bd61-gold: #ffd76a;
  --mobile9bd61-danger: #ff8f6b;
  --mobile9bd61-radius: 14px;
  --mobile9bd61-radius-sm: 9px;
  --mobile9bd61-topbar-h: 54px;
  --mobile9bd61-tabbar-h: 62px;
  --mobile9bd61-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- base ------------------------------------------------------- */

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

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

body.mobile9bd61-page {
  margin: 0;
  font-family: var(--mobile9bd61-font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--mobile9bd61-text);
  background:
    radial-gradient(1200px 420px at 50% -160px, rgba(148, 0, 211, 0.20), transparent 62%),
    radial-gradient(900px 380px at 110% 12%, rgba(0, 105, 92, 0.28), transparent 60%),
    var(--mobile9bd61-night);
  min-height: 100vh;
}

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

button { font: inherit; color: inherit; }

.mobile9bd61-page a { color: var(--mobile9bd61-mint); text-decoration: none; }
.mobile9bd61-page a:hover,
.mobile9bd61-page a:focus-visible { text-decoration: underline; }

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

/* phone frame: everything lives inside a stable 430px rail */
.mobile9bd61-shell {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}

/* main column clears the fixed bars; bottom pad keeps tabbar off content */
.mobile9bd61-main {
  padding-top: calc(var(--mobile9bd61-topbar-h) + 12px);
  padding-bottom: calc(var(--mobile9bd61-tabbar-h) + 30px + env(safe-area-inset-bottom));
}

.mobile9bd61-sec { margin: 26px 0 0; }

/* ---------- fixed compact brand bar ------------------------------------ */

.mobile9bd61-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(6, 20, 17, 0.985), rgba(6, 22, 19, 0.96));
  border-bottom: 1px solid var(--mobile9bd61-line);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.mobile9bd61-topbar-in {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  min-height: var(--mobile9bd61-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
}

.mobile9bd61-brand-home {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mobile9bd61-text);
  min-height: 44px;
  text-decoration: none;
}

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

.mobile9bd61-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--mobile9bd61-line2);
  box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.12);
  object-fit: cover;
}

.mobile9bd61-brandname {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.1;
}

.mobile9bd61-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* compact icon + text CTAs */
.mobile9bd61-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

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

.mobile9bd61-btnreg {
  background: linear-gradient(135deg, var(--mobile9bd61-violet), #7c1fa8);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(148, 0, 211, 0.4);
}

.mobile9bd61-btnlog {
  background: rgba(38, 166, 154, 0.12);
  border-color: var(--mobile9bd61-mint);
  color: #bdf0e8;
}

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

.mobile9bd61-menubtn {
  width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--mobile9bd61-line);
  background: rgba(38, 166, 154, 0.08);
  cursor: pointer;
}

.mobile9bd61-menubtn-box {
  display: grid;
  gap: 4px;
  width: 16px;
}

.mobile9bd61-menubtn-box span {
  height: 2px;
  border-radius: 2px;
  background: var(--mobile9bd61-mint);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile9bd61-menubtn[aria-expanded="true"] .mobile9bd61-menubtn-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile9bd61-menubtn[aria-expanded="true"] .mobile9bd61-menubtn-box span:nth-child(2) { opacity: 0; }
.mobile9bd61-menubtn[aria-expanded="true"] .mobile9bd61-menubtn-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- expandable nav drawer -------------------------------------- */

.mobile9bd61-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: rgba(7, 21, 18, 0.985);
  border-bottom: 1px solid transparent;
  transition: max-height 0.28s ease, opacity 0.24s ease;
}

.mobile9bd61-drawer.mobile9bd61-open {
  max-height: 420px;
  opacity: 1;
  border-bottom-color: var(--mobile9bd61-line);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
}

.mobile9bd61-drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
}

.mobile9bd61-drawer-grid a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--mobile9bd61-radius-sm);
  background: rgba(38, 166, 154, 0.07);
  border: 1px solid var(--mobile9bd61-line);
  color: var(--mobile9bd61-text);
  font-size: 13.5px;
  font-weight: 600;
}

.mobile9bd61-drawer-grid a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mobile9bd61-mint);
  box-shadow: 0 0 8px rgba(38, 166, 154, 0.8);
  flex: none;
}

/* ---------- lede (H1 block) -------------------------------------------- */

.mobile9bd61-lede {
  margin-top: 14px;
  padding: 16px 14px;
  border-radius: var(--mobile9bd61-radius);
  background: linear-gradient(150deg, rgba(148, 0, 211, 0.14), rgba(0, 105, 92, 0.22));
  border: 1px solid var(--mobile9bd61-line2);
}

.mobile9bd61-h1 {
  margin: 0 0 10px;
  font-size: 20.5px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.mobile9bd61-lede-lead,
.mobile9bd61-lede-sub { margin: 0 0 9px; font-size: 14.5px; color: var(--mobile9bd61-soft); }
.mobile9bd61-lede-sub { margin: 0; color: var(--mobile9bd61-dim); }

/* ---------- hero carousel ---------------------------------------------- */

.mobile9bd61-hero { margin-top: 16px; }

.mobile9bd61-hero-frame {
  position: relative;
  border-radius: var(--mobile9bd61-radius);
  overflow: hidden;
  border: 1px solid var(--mobile9bd61-line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.mobile9bd61-hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.33, 0.9, 0.3, 1);
}

.mobile9bd61-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--mobile9bd61-panel);
  cursor: pointer;
  text-align: left;
}

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

.mobile9bd61-hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(4, 14, 12, 0.92));
}

.mobile9bd61-hero-cap b { font-size: 15.5px; color: #ffffff; }
.mobile9bd61-hero-cap i { font-style: normal; font-size: 12.5px; color: var(--mobile9bd61-soft); }

.mobile9bd61-hero-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.mobile9bd61-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(236, 247, 244, 0.75);
  background: rgba(236, 247, 244, 0.25);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.mobile9bd61-dot.mobile9bd61-live {
  width: 22px;
  background: var(--mobile9bd61-mint);
  border-color: var(--mobile9bd61-mint);
}

/* ---------- sticky category chips -------------------------------------- */

.mobile9bd61-chips {
  position: sticky;
  top: var(--mobile9bd61-topbar-h);
  z-index: 40;
  display: flex;
  gap: 8px;
  margin: 16px -12px 0;
  padding: 9px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(5, 16, 14, 0.94);
  border-bottom: 1px solid rgba(38, 166, 154, 0.16);
  backdrop-filter: blur(6px);
}

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

.mobile9bd61-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--mobile9bd61-line);
  background: rgba(38, 166, 154, 0.08);
  color: var(--mobile9bd61-soft);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile9bd61-chip.mobile9bd61-here {
  background: var(--mobile9bd61-mint);
  border-color: var(--mobile9bd61-mint);
  color: #04211d;
}

/* ---------- section headings (slide-in accent mark) -------------------- */

.mobile9bd61-h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  font-size: 17.5px;
  line-height: 1.45;
  font-weight: 800;
}

.mobile9bd61-h2-mark {
  flex: none;
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--mobile9bd61-violet), var(--mobile9bd61-mint));
  transform: translateY(0);
  animation: mobile9bd61-mark-slide 0.4s ease both;
}

@keyframes mobile9bd61-mark-slide {
  from { transform: translateY(-8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.mobile9bd61-h3 {
  margin: 14px 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  color: #d9efe9;
}

.mobile9bd61-secintro {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--mobile9bd61-soft);
}

/* ---------- game grid: light floating image cards ----------------------- */

.mobile9bd61-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.mobile9bd61-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px 6px 8px;
  border-radius: var(--mobile9bd61-radius-sm);
  border: 1px solid var(--mobile9bd61-line);
  background: linear-gradient(180deg, rgba(38, 166, 154, 0.10), rgba(18, 48, 41, 0.55));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mobile9bd61-card:hover,
.mobile9bd61-card:active {
  transform: translateY(-3px);
  border-color: var(--mobile9bd61-mint);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(38, 166, 154, 0.35);
}

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

.mobile9bd61-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--mobile9bd61-text);
  overflow-wrap: anywhere;
}

/* ---------- winners ticker --------------------------------------------- */

.mobile9bd61-ticker {
  border: 1px solid var(--mobile9bd61-line);
  border-radius: var(--mobile9bd61-radius);
  background: var(--mobile9bd61-panel);
  overflow: hidden;
}

.mobile9bd61-ticker-view {
  height: 176px;
  overflow: hidden;
  animation: mobile9bd61-ticker-run 18s linear infinite;
}

.mobile9bd61-ticker-group { display: block; }

.mobile9bd61-ticker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 12px;
  border-bottom: 1px dashed rgba(38, 166, 154, 0.18);
  font-size: 12.5px;
}

.mobile9bd61-ticker-row:last-child { border-bottom: 0; }

.mobile9bd61-ticker-game {
  flex: 1 1 auto;
  font-weight: 600;
  color: var(--mobile9bd61-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile9bd61-ticker-amount { color: var(--mobile9bd61-gold); font-weight: 700; }
.mobile9bd61-ticker-time { color: var(--mobile9bd61-dim); font-size: 11.5px; flex: none; }

@keyframes mobile9bd61-ticker-run {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* ---------- category highlight cards ----------------------------------- */

.mobile9bd61-catcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.mobile9bd61-catcard {
  padding: 11px 10px;
  border-radius: var(--mobile9bd61-radius-sm);
  border: 1px solid var(--mobile9bd61-line);
  background: var(--mobile9bd61-panel2);
}

.mobile9bd61-catcard-tag {
  display: inline-block;
  margin: 0 0 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: rgba(148, 0, 211, 0.22);
  border: 1px solid var(--mobile9bd61-line2);
  color: #e6ccff;
}

.mobile9bd61-catcard h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--mobile9bd61-text);
}

.mobile9bd61-catcard p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mobile9bd61-soft);
}

/* ---------- numbered tricks -------------------------------------------- */

.mobile9bd61-tricks {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mobile9bd61-trick;
}

.mobile9bd61-trick {
  position: relative;
  counter-increment: mobile9bd61-trick;
  padding: 10px 12px 10px 52px;
  margin: 0 0 8px;
  border-radius: var(--mobile9bd61-radius-sm);
  border: 1px solid var(--mobile9bd61-line);
  background: var(--mobile9bd61-panel2);
  font-size: 13.5px;
  color: var(--mobile9bd61-soft);
}

.mobile9bd61-trick b { color: var(--mobile9bd61-text); }

.mobile9bd61-trick::before {
  content: counter(mobile9bd61-trick, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: rgba(38, 166, 154, 0.55);
}

/* ---------- mobile access steps ---------------------------------------- */

.mobile9bd61-steps {
  margin: 0;
  padding: 4px 0 0 14px;
  list-style: none;
  position: relative;
}

.mobile9bd61-steps::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--mobile9bd61-violet), var(--mobile9bd61-mint));
}

.mobile9bd61-step {
  position: relative;
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--mobile9bd61-soft);
}

.mobile9bd61-step b { color: var(--mobile9bd61-text); }

.mobile9bd61-step::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mobile9bd61-mint);
  box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.2);
}

/* ---------- comparison table ------------------------------------------- */

.mobile9bd61-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--mobile9bd61-line);
  border-radius: var(--mobile9bd61-radius-sm);
  -webkit-overflow-scrolling: touch;
}

.mobile9bd61-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.mobile9bd61-table th,
.mobile9bd61-table td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(38, 166, 154, 0.14);
}

.mobile9bd61-table thead th {
  background: rgba(0, 105, 92, 0.5);
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.mobile9bd61-table tbody tr:nth-child(even) { background: rgba(38, 166, 154, 0.05); }
.mobile9bd61-table tbody tr:last-child td { border-bottom: 0; }
.mobile9bd61-table td:first-child { color: var(--mobile9bd61-text); font-weight: 600; white-space: nowrap; }
.mobile9bd61-table td { color: var(--mobile9bd61-soft); }

/* ---------- extended homepage footer ----------------------------------- */

.mobile9bd61-xfoot {
  margin-top: 28px;
  padding: 16px 14px;
  border-radius: var(--mobile9bd61-radius);
  border: 1px solid var(--mobile9bd61-line);
  background: linear-gradient(180deg, rgba(15, 38, 34, 0.9), rgba(8, 20, 17, 0.96));
}

.mobile9bd61-xfoot-dir {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mobile9bd61-xfoot-dir a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 7px 9px;
  border-radius: var(--mobile9bd61-radius-sm);
  background: rgba(38, 166, 154, 0.07);
  border: 1px solid var(--mobile9bd61-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mobile9bd61-text);
  line-height: 1.4;
}

.mobile9bd61-xfoot-dir a::after {
  content: "\203A";
  margin-left: auto;
  color: var(--mobile9bd61-mint);
  font-weight: 800;
}

.mobile9bd61-xfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--mobile9bd61-radius-sm);
  background: rgba(148, 0, 211, 0.10);
  border: 1px solid var(--mobile9bd61-line2);
}

.mobile9bd61-xfoot-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--mobile9bd61-line2);
  object-fit: cover;
  flex: none;
}

.mobile9bd61-xfoot-brand p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mobile9bd61-soft);
}

/* six promotion shortcuts in one horizontal rail */
.mobile9bd61-xfoot-promos {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.mobile9bd61-xfoot-promos::-webkit-scrollbar { display: none; }

.mobile9bd61-promo-chip {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 86px;
  min-height: 44px;
  padding: 10px 6px;
  border-radius: var(--mobile9bd61-radius-sm);
  border: 1px solid var(--mobile9bd61-line);
  background: rgba(38, 166, 154, 0.08);
  color: var(--mobile9bd61-text);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.mobile9bd61-promo-chip svg { width: 18px; height: 18px; color: var(--mobile9bd61-mint); }

.mobile9bd61-promo-chip:active,
.mobile9bd61-promo-chip:hover {
  transform: translateY(-3px);
  border-color: var(--mobile9bd61-mint);
}

.mobile9bd61-xfoot-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--mobile9bd61-dim);
}

/* ---------- common slim footer ----------------------------------------- */

.mobile9bd61-foot {
  max-width: 430px;
  margin: 0 auto;
  padding: 14px 12px calc(var(--mobile9bd61-tabbar-h) + 18px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 12px;
  color: var(--mobile9bd61-dim);
}

.mobile9bd61-foot p { margin: 0; }

/* ---------- fixed bottom navigation rail ------------------------------- */

.mobile9bd61-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: linear-gradient(180deg, rgba(6, 20, 17, 0.97), rgba(4, 13, 11, 0.99));
  border-top: 1px solid var(--mobile9bd61-line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile9bd61-tabbar-in {
  max-width: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--mobile9bd61-tabbar-h);
}

.mobile9bd61-tab {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 8px 2px 7px;
  border: 0;
  background: none;
  color: var(--mobile9bd61-dim);
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile9bd61-tab svg {
  width: 21px;
  height: 21px;
  transition: transform 0.2s ease;
}

.mobile9bd61-tab:hover { color: var(--mobile9bd61-soft); text-decoration: none; }

.mobile9bd61-tab.mobile9bd61-active { color: var(--mobile9bd61-mint); }

.mobile9bd61-tab.mobile9bd61-active svg { transform: translateY(-2px); }

.mobile9bd61-tab.mobile9bd61-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  transform: translateX(-50%);
  background: var(--mobile9bd61-mint);
}

/* ---------- help-page reading tools ------------------------------------- */

.mobile9bd61-help-intro {
  margin-top: 14px;
  padding: 15px 14px;
  border-left: 4px solid var(--mobile9bd61-violet);
  border-radius: var(--mobile9bd61-radius-sm);
  background: linear-gradient(135deg, rgba(148, 0, 211, 0.16), rgba(38, 166, 154, 0.10));
  color: var(--mobile9bd61-soft);
}

.mobile9bd61-help-intro p { margin: 0 0 9px; }
.mobile9bd61-help-intro p:last-child { margin-bottom: 0; color: var(--mobile9bd61-text); }

.mobile9bd61-help-tags {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.mobile9bd61-help-tags::-webkit-scrollbar { display: none; }

.mobile9bd61-help-tag {
  flex: none;
  min-height: 32px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--mobile9bd61-line);
  background: rgba(0, 105, 92, 0.28);
  color: var(--mobile9bd61-soft);
  font-size: 12px;
  font-weight: 700;
}

.mobile9bd61-help-panel {
  padding: 13px 12px;
  border: 1px solid var(--mobile9bd61-line);
  border-radius: var(--mobile9bd61-radius);
  background: linear-gradient(180deg, rgba(15, 38, 34, 0.92), rgba(8, 20, 17, 0.96));
}

.mobile9bd61-help-panel + .mobile9bd61-help-panel { margin-top: 10px; }
.mobile9bd61-help-panel p { margin: 0 0 9px; color: var(--mobile9bd61-soft); }
.mobile9bd61-help-panel p:last-child { margin-bottom: 0; }

.mobile9bd61-help-panel h3 {
  margin: 0 0 7px;
  font-size: 15px;
  color: var(--mobile9bd61-text);
}

.mobile9bd61-help-callout {
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: var(--mobile9bd61-radius-sm);
  border: 1px solid var(--mobile9bd61-line2);
  background: rgba(148, 0, 211, 0.11);
  color: #e8d7f5;
  font-size: 13px;
}

.mobile9bd61-help-callout b { color: var(--mobile9bd61-gold); }

.mobile9bd61-help-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.mobile9bd61-help-fact {
  min-height: 78px;
  padding: 9px;
  border-radius: var(--mobile9bd61-radius-sm);
  border: 1px solid rgba(38, 166, 154, 0.25);
  background: rgba(38, 166, 154, 0.08);
}

.mobile9bd61-help-fact b { display: block; margin-bottom: 3px; color: var(--mobile9bd61-mint); font-size: 12.5px; }
.mobile9bd61-help-fact span { color: var(--mobile9bd61-soft); font-size: 12px; line-height: 1.55; }

.mobile9bd61-help-details { display: grid; gap: 8px; }

.mobile9bd61-help-details details {
  border: 1px solid var(--mobile9bd61-line);
  border-radius: var(--mobile9bd61-radius-sm);
  background: var(--mobile9bd61-panel2);
  overflow: hidden;
}

.mobile9bd61-help-details summary {
  min-height: 44px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--mobile9bd61-text);
  font-size: 13.5px;
  font-weight: 700;
}

.mobile9bd61-help-details details[open] summary { color: var(--mobile9bd61-mint); border-bottom: 1px solid var(--mobile9bd61-line); }
.mobile9bd61-help-details details p { margin: 0; padding: 10px 12px 12px; color: var(--mobile9bd61-soft); font-size: 13px; }

.mobile9bd61-help-rail {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mobile9bd61-help-step;
}

.mobile9bd61-help-rail li {
  position: relative;
  counter-increment: mobile9bd61-help-step;
  min-height: 58px;
  padding: 9px 10px 9px 48px;
  border: 1px solid var(--mobile9bd61-line);
  border-radius: var(--mobile9bd61-radius-sm);
  background: rgba(0, 105, 92, 0.18);
  color: var(--mobile9bd61-soft);
  font-size: 13px;
}

.mobile9bd61-help-rail li::before {
  content: counter(mobile9bd61-help-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mobile9bd61-violet);
  color: #ffffff;
  font-weight: 800;
}

.mobile9bd61-help-rail b { color: var(--mobile9bd61-text); }

.mobile9bd61-help-checks {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile9bd61-help-checks li {
  position: relative;
  padding: 9px 10px 9px 34px;
  border-bottom: 1px dashed rgba(38, 166, 154, 0.24);
  color: var(--mobile9bd61-soft);
  font-size: 13px;
}

.mobile9bd61-help-checks li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 13px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--mobile9bd61-mint);
  border-bottom: 2px solid var(--mobile9bd61-mint);
  transform: rotate(-45deg);
}

.mobile9bd61-help-checks b { color: var(--mobile9bd61-text); }

.mobile9bd61-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mobile9bd61-help-actions .mobile9bd61-btn { min-height: 44px; }

.mobile9bd61-help-note {
  margin: 12px 0 0;
  color: var(--mobile9bd61-dim);
  font-size: 12px;
}

/* ---------- small phone refinements (320-430px band) ------------------- */

@media (max-width: 430px) {
  .mobile9bd61-brandname { font-size: 18px; }
  .mobile9bd61-btn { padding: 7px 9px; font-size: 12.5px; }
  .mobile9bd61-btn span { display: inline; }
  .mobile9bd61-h1 { font-size: 19.5px; }
  .mobile9bd61-grid { gap: 8px; }
  .mobile9bd61-card-name { font-size: 11px; }
  .mobile9bd61-xfoot-dir { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .mobile9bd61-btn svg { display: none; }
  .mobile9bd61-h1 { font-size: 18px; }
  .mobile9bd61-h2 { font-size: 16.5px; }
}

/* slightly wider phones gain a 5th game column */
@media (min-width: 400px) {
  .mobile9bd61-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* desktop: keep the phone canvas centered on a deeper backdrop */
@media (min-width: 640px) {
  body.mobile9bd61-page { background-color: #020807; }
  .mobile9bd61-shell {
    border-left: 1px solid rgba(38, 166, 154, 0.14);
    border-right: 1px solid rgba(38, 166, 154, 0.14);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- motion budget: focus slide only, honor reduced motion ------ */

@media (prefers-reduced-motion: reduce) {
  .mobile9bd61-hero-track { transition: none; }
  .mobile9bd61-ticker-view { animation: none; height: auto; }
  .mobile9bd61-h2-mark { animation: none; }
  .mobile9bd61-card,
  .mobile9bd61-promo-chip,
  .mobile9bd61-tab svg { transition: none; }
}
