/* ==========================================================================
   299bt.sbs - compact-87e31f-visuals.css
   Mobile-first visual system. Every class and variable uses mobile87e31- prefix.
   Palette: #212F3D (ink) / #E6E6FA (mist) / #BAE1FF (sky) / #9370DB (violet)
            / #F08080 (coral)
   Direction: bold-light type pairing, stroke-led restrained rounding,
   mixed large + small game cards, compact metric rhythm, short-distance
   section transitions, lightly rounded text button groups.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --mobile87e31-ink: #212F3D;
  --mobile87e31-ink-deep: #182430;
  --mobile87e31-mist: #E6E6FA;
  --mobile87e31-sky: #BAE1FF;
  --mobile87e31-violet: #9370DB;
  --mobile87e31-coral: #F08080;
  --mobile87e31-line: rgba(186, 225, 255, 0.22);
  --mobile87e31-line-strong: rgba(186, 225, 255, 0.45);
  --mobile87e31-panel: rgba(230, 230, 250, 0.05);
  --mobile87e31-panel-strong: rgba(230, 230, 250, 0.09);
  --mobile87e31-violet-soft: rgba(147, 112, 219, 0.16);
  --mobile87e31-coral-soft: rgba(240, 128, 128, 0.14);
  --mobile87e31-radius: 8px;
  --mobile87e31-radius-sm: 6px;
  --mobile87e31-radius-lg: 12px;
  --mobile87e31-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --mobile87e31-header-h: 58px;
  --mobile87e31-bnav-h: 64px;
  --mobile87e31-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base + reset
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--mobile87e31-font);
  font-weight: 300;
  background: var(--mobile87e31-ink-deep);
  color: var(--mobile87e31-mist);
  line-height: 1.65;
  font-size: 15px;
  letter-spacing: 0.1px;
  min-height: 100vh;
}

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

a {
  color: var(--mobile87e31-sky);
  text-decoration: none;
}

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

ul,
ol {
  list-style-position: inside;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

:focus-visible {
  outline: 2px solid var(--mobile87e31-sky);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection {
  background: var(--mobile87e31-violet);
  color: var(--mobile87e31-ink);
}

/* Phone canvas: page stays a centered handset frame on wide screens */
.mobile87e31-shell {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background:
    radial-gradient(120% 46% at 50% -8%, rgba(147, 112, 219, 0.22), transparent 60%),
    var(--mobile87e31-ink);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(186, 225, 255, 0.08), 0 18px 60px rgba(0, 0, 0, 0.5);
  overflow-x: hidden;
}

/* Skip link */
.mobile87e31-skip {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--mobile87e31-coral);
  color: var(--mobile87e31-ink);
  font-weight: 700;
  border-radius: var(--mobile87e31-radius-sm);
  transition: top 0.15s var(--mobile87e31-ease);
}

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

/* --------------------------------------------------------------------------
   3. Top action bar (LOGO-led)
   -------------------------------------------------------------------------- */
.mobile87e31-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  height: var(--mobile87e31-header-h);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: rgba(24, 36, 48, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mobile87e31-line-strong);
}

.mobile87e31-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  flex: 1 1 auto;
  min-width: 0;
}

.mobile87e31-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--mobile87e31-radius-sm);
  border: 1px solid var(--mobile87e31-line-strong);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--mobile87e31-panel);
}

.mobile87e31-brand-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--mobile87e31-mist);
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.mobile87e31-brand-name small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--mobile87e31-violet);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

.mobile87e31-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* Lightly rounded text button group */
.mobile87e31-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--mobile87e31-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s var(--mobile87e31-ease),
    background-color 0.12s var(--mobile87e31-ease),
    border-color 0.12s var(--mobile87e31-ease);
  -webkit-tap-highlight-color: transparent;
}

.mobile87e31-btn:active {
  transform: scale(0.94);
}

.mobile87e31-btn--primary {
  background: var(--mobile87e31-violet);
  border-color: var(--mobile87e31-violet);
  color: var(--mobile87e31-ink);
}

.mobile87e31-btn--primary:hover {
  background: #a48ae4;
  text-decoration: none;
}

.mobile87e31-btn--ghost {
  background: transparent;
  border-color: var(--mobile87e31-line-strong);
  color: var(--mobile87e31-mist);
}

.mobile87e31-btn--ghost:hover {
  border-color: var(--mobile87e31-sky);
  text-decoration: none;
}

.mobile87e31-btn--coral {
  background: var(--mobile87e31-coral);
  border-color: var(--mobile87e31-coral);
  color: var(--mobile87e31-ink);
}

.mobile87e31-btn--coral:hover {
  background: #f49b9b;
  text-decoration: none;
}

/* Menu toggle: linear burger strokes */
.mobile87e31-menubtn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--mobile87e31-line-strong);
  border-radius: var(--mobile87e31-radius-sm);
  cursor: pointer;
}

.mobile87e31-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mobile87e31-mist);
  border-radius: 1px;
  transition: transform 0.16s var(--mobile87e31-ease), opacity 0.16s var(--mobile87e31-ease);
}

.mobile87e31-menubtn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile87e31-menubtn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile87e31-menubtn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. Sectioned drop-down menu panel
   -------------------------------------------------------------------------- */
.mobile87e31-menu {
  position: fixed;
  top: var(--mobile87e31-header-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - var(--mobile87e31-header-h));
  overflow-y: auto;
  z-index: 89;
  background: rgba(24, 36, 48, 0.985);
  border-bottom: 1px solid var(--mobile87e31-line-strong);
  padding: 14px 14px 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.16s var(--mobile87e31-ease),
    transform 0.16s var(--mobile87e31-ease), visibility 0.16s;
}

.mobile87e31-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile87e31-menu-group {
  margin-bottom: 14px;
}

.mobile87e31-menu-group:last-child {
  margin-bottom: 0;
}

.mobile87e31-menu-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mobile87e31-violet);
  padding: 0 2px 7px;
  border-bottom: 1px solid var(--mobile87e31-line);
  margin-bottom: 7px;
}

.mobile87e31-menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobile87e31-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--mobile87e31-mist);
  background: var(--mobile87e31-panel);
  border: 1px solid var(--mobile87e31-line);
  border-radius: var(--mobile87e31-radius-sm);
  transition: transform 0.12s var(--mobile87e31-ease),
    border-color 0.12s var(--mobile87e31-ease);
}

.mobile87e31-menu-link em {
  font-style: normal;
  font-size: 10px;
  color: var(--mobile87e31-sky);
  opacity: 0.75;
  white-space: nowrap;
}

.mobile87e31-menu-link:hover,
.mobile87e31-menu-link:focus-visible {
  border-color: var(--mobile87e31-violet);
  text-decoration: none;
}

.mobile87e31-menu-link:active {
  transform: scale(0.97);
}

.mobile87e31-menu-link[aria-current="page"] {
  border-color: var(--mobile87e31-coral);
  box-shadow: inset 0 -2px 0 var(--mobile87e31-coral);
}

/* --------------------------------------------------------------------------
   5. Main column
   -------------------------------------------------------------------------- */
.mobile87e31-main {
  padding: calc(var(--mobile87e31-header-h) + 12px) 12px calc(var(--mobile87e31-bnav-h) + 58px);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.mobile87e31-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: 22px 16px 20px;
  margin-bottom: 14px;
  border: 1px solid var(--mobile87e31-line);
  border-radius: var(--mobile87e31-radius-lg);
  background:
    linear-gradient(168deg, rgba(147, 112, 219, 0.28), rgba(33, 47, 61, 0.1) 52%),
    repeating-linear-gradient(-45deg, rgba(186, 225, 255, 0.05) 0 1px, transparent 1px 12px),
    var(--mobile87e31-ink);
  overflow: hidden;
}

.mobile87e31-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid var(--mobile87e31-line-strong);
  border-radius: 50%;
  opacity: 0.5;
}

.mobile87e31-kicker {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--mobile87e31-coral);
  border: 1px solid rgba(240, 128, 128, 0.5);
  border-radius: 3px;
  padding: 4px 9px;
  background: var(--mobile87e31-coral-soft);
}

.mobile87e31-hero-title {
  font-size: clamp(21px, 6.4vw, 27px);
  color: var(--mobile87e31-mist);
}

.mobile87e31-hero-title b {
  color: var(--mobile87e31-sky);
  font-weight: 700;
}

.mobile87e31-hero-text {
  font-size: 13.5px;
  color: rgba(230, 230, 250, 0.88);
}

.mobile87e31-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile87e31-ctarow .mobile87e31-btn {
  flex: 1 1 130px;
}

/* Compact metric strip */
.mobile87e31-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--mobile87e31-line);
  border: 1px solid var(--mobile87e31-line);
  border-radius: var(--mobile87e31-radius);
  overflow: hidden;
}

.mobile87e31-metric {
  background: rgba(24, 36, 48, 0.85);
  padding: 9px 4px 8px;
  text-align: center;
}

.mobile87e31-metric b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--mobile87e31-sky);
  line-height: 1.2;
}

.mobile87e31-metric span {
  display: block;
  font-size: 9.5px;
  color: rgba(230, 230, 250, 0.66);
  line-height: 1.35;
  margin-top: 2px;
}

.mobile87e31-score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(230, 230, 250, 0.8);
}

.mobile87e31-score b {
  color: var(--mobile87e31-coral);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   7. Promo banner carousel
   -------------------------------------------------------------------------- */
.mobile87e31-carousel {
  position: relative;
  margin-bottom: 16px;
  border: 1px solid var(--mobile87e31-line-strong);
  border-radius: var(--mobile87e31-radius-lg);
  overflow: hidden;
  background: var(--mobile87e31-ink-deep);
}

.mobile87e31-track {
  display: flex;
  transition: transform 0.38s var(--mobile87e31-ease);
  touch-action: pan-y;
}

.mobile87e31-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
}

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

.mobile87e31-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 11px;
  background: linear-gradient(180deg, transparent, rgba(24, 36, 48, 0.94));
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile87e31-mist);
  line-height: 1.4;
}

.mobile87e31-slide-cap em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--mobile87e31-sky);
  margin-top: 2px;
}

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

.mobile87e31-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: 1px solid var(--mobile87e31-line-strong);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s var(--mobile87e31-ease);
}

.mobile87e31-dot.is-on {
  background: var(--mobile87e31-coral);
  border-color: var(--mobile87e31-coral);
}

/* --------------------------------------------------------------------------
   8. Category quick chips
   -------------------------------------------------------------------------- */
.mobile87e31-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 6px;
  scrollbar-width: none;
}

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

.mobile87e31-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--mobile87e31-mist);
  background: var(--mobile87e31-panel);
  border: 1px solid var(--mobile87e31-line);
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.12s var(--mobile87e31-ease), border-color 0.12s var(--mobile87e31-ease);
}

.mobile87e31-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mobile87e31-violet);
}

.mobile87e31-chip:hover,
.mobile87e31-chip:focus-visible {
  border-color: var(--mobile87e31-violet);
  text-decoration: none;
}

.mobile87e31-chip:active {
  transform: scale(0.94);
}

/* --------------------------------------------------------------------------
   9. Game sections: mixed large + small cards
   -------------------------------------------------------------------------- */
.mobile87e31-section {
  margin-bottom: 22px;
  scroll-margin-top: calc(var(--mobile87e31-header-h) + 10px);
}

.mobile87e31-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--mobile87e31-violet);
  margin-bottom: 10px;
}

.mobile87e31-sec-title {
  font-size: 17px;
  color: var(--mobile87e31-mist);
}

.mobile87e31-sec-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mobile87e31-sky);
  border: 1px solid var(--mobile87e31-line-strong);
  border-radius: 3px;
  padding: 3px 7px;
}

.mobile87e31-sec-note {
  font-size: 12.5px;
  color: rgba(230, 230, 250, 0.78);
  margin-bottom: 11px;
}

.mobile87e31-sec-note a {
  color: var(--mobile87e31-coral);
  font-weight: 400;
}

/* Large lead card */
.mobile87e31-leadcard {
  display: flex;
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  margin-bottom: 10px;
  background: var(--mobile87e31-panel-strong);
  border: 1px solid var(--mobile87e31-line-strong);
  border-left: 3px solid var(--mobile87e31-coral);
  border-radius: var(--mobile87e31-radius);
  transition: transform 0.12s var(--mobile87e31-ease), border-color 0.12s var(--mobile87e31-ease);
}

.mobile87e31-leadcard:hover,
.mobile87e31-leadcard:focus-visible {
  border-color: var(--mobile87e31-coral);
  text-decoration: none;
}

.mobile87e31-leadcard:active {
  transform: scale(0.98);
}

.mobile87e31-leadcard-img {
  flex: 0 0 96px;
  width: 96px;
  align-self: center;
  border-radius: var(--mobile87e31-radius-sm);
  border: 1px solid var(--mobile87e31-line);
  object-fit: cover;
}

.mobile87e31-leadcard-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mobile87e31-leadcard-tag {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobile87e31-coral);
}

.mobile87e31-leadcard-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--mobile87e31-mist);
  line-height: 1.3;
}

.mobile87e31-leadcard-desc {
  font-size: 11.5px;
  color: rgba(230, 230, 250, 0.72);
  line-height: 1.5;
}

.mobile87e31-leadcard-go {
  margin-top: 3px;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mobile87e31-sky);
  border-bottom: 1px solid var(--mobile87e31-line-strong);
}

/* Small card grid */
.mobile87e31-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mobile87e31-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px 7px;
  background: var(--mobile87e31-panel);
  border: 1px solid var(--mobile87e31-line);
  border-radius: var(--mobile87e31-radius-sm);
  text-align: center;
  transition: transform 0.12s var(--mobile87e31-ease), border-color 0.12s var(--mobile87e31-ease);
  -webkit-tap-highlight-color: transparent;
}

.mobile87e31-card:hover,
.mobile87e31-card:focus-visible {
  border-color: var(--mobile87e31-violet);
  text-decoration: none;
}

.mobile87e31-card:active {
  transform: scale(0.93);
}

.mobile87e31-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(186, 225, 255, 0.14);
  background: var(--mobile87e31-ink-deep);
}

.mobile87e31-card-name {
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(230, 230, 250, 0.9);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* Game search box */
.mobile87e31-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--mobile87e31-line-strong);
  border-radius: 999px;
  background: var(--mobile87e31-panel);
}

.mobile87e31-search svg {
  flex: 0 0 auto;
  opacity: 0.7;
}

.mobile87e31-search input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--mobile87e31-mist);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
}

.mobile87e31-search input::placeholder {
  color: rgba(230, 230, 250, 0.45);
}

.mobile87e31-empty {
  display: none;
  padding: 16px 12px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(230, 230, 250, 0.7);
  border: 1px dashed var(--mobile87e31-line-strong);
  border-radius: var(--mobile87e31-radius);
}

.mobile87e31-empty.is-shown {
  display: block;
}

/* --------------------------------------------------------------------------
   10. Content modules (compact metric-explanation rhythm)
   -------------------------------------------------------------------------- */
.mobile87e31-module {
  margin-bottom: 22px;
  padding: 15px 14px 16px;
  border: 1px solid var(--mobile87e31-line);
  border-top: 2px solid var(--mobile87e31-violet);
  border-radius: var(--mobile87e31-radius);
  background: var(--mobile87e31-panel);
}

.mobile87e31-module--coral {
  border-top-color: var(--mobile87e31-coral);
}

.mobile87e31-module--sky {
  border-top-color: var(--mobile87e31-sky);
}

.mobile87e31-module-title {
  font-size: 16.5px;
  color: var(--mobile87e31-mist);
  margin-bottom: 9px;
}

.mobile87e31-lede {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--mobile87e31-sky);
  padding: 9px 11px;
  margin-bottom: 10px;
  background: rgba(186, 225, 255, 0.07);
  border-left: 3px solid var(--mobile87e31-sky);
  border-radius: 0 var(--mobile87e31-radius-sm) var(--mobile87e31-radius-sm) 0;
}

.mobile87e31-module p {
  font-size: 13px;
  color: rgba(230, 230, 250, 0.85);
  margin-bottom: 9px;
}

.mobile87e31-module p:last-child {
  margin-bottom: 0;
}

.mobile87e31-module a {
  color: var(--mobile87e31-coral);
  font-weight: 400;
}

/* Metric rows: figure on the left, explanation on the right */
.mobile87e31-rows {
  display: grid;
  gap: 1px;
  background: var(--mobile87e31-line);
  border: 1px solid var(--mobile87e31-line);
  border-radius: var(--mobile87e31-radius);
  overflow: hidden;
  margin: 11px 0;
}

.mobile87e31-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  background: rgba(24, 36, 48, 0.9);
  padding: 9px 11px;
}

.mobile87e31-row b {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile87e31-coral);
  line-height: 1.35;
}

.mobile87e31-row span {
  font-size: 11.5px;
  color: rgba(230, 230, 250, 0.78);
  line-height: 1.5;
}

/* Step / checklist list */
.mobile87e31-steps {
  counter-reset: mobile87e31-step;
  display: grid;
  gap: 7px;
  margin: 11px 0;
}

.mobile87e31-step {
  counter-increment: mobile87e31-step;
  position: relative;
  padding: 9px 11px 9px 40px;
  font-size: 12.5px;
  color: rgba(230, 230, 250, 0.88);
  background: rgba(24, 36, 48, 0.9);
  border: 1px solid var(--mobile87e31-line);
  border-radius: var(--mobile87e31-radius-sm);
  line-height: 1.55;
}

.mobile87e31-step::before {
  content: counter(mobile87e31-step);
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--mobile87e31-ink);
  background: var(--mobile87e31-violet);
  border-radius: 50%;
}

.mobile87e31-check {
  position: relative;
  padding: 9px 11px 9px 32px;
  font-size: 12.5px;
  color: rgba(230, 230, 250, 0.88);
  background: rgba(24, 36, 48, 0.9);
  border: 1px solid var(--mobile87e31-line);
  border-radius: var(--mobile87e31-radius-sm);
  line-height: 1.55;
}

.mobile87e31-check + .mobile87e31-check {
  margin-top: 7px;
}

.mobile87e31-check::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--mobile87e31-coral);
  border-bottom: 2px solid var(--mobile87e31-coral);
  transform: rotate(-45deg);
}

/* Button group inside modules */
.mobile87e31-btngroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mobile87e31-btngroup .mobile87e31-btn {
  flex: 1 1 120px;
}

/* Inline text promo link */
.mobile87e31-inline {
  font-weight: 700;
  color: var(--mobile87e31-coral);
  border-bottom: 1px dashed rgba(240, 128, 128, 0.6);
  cursor: pointer;
}

.mobile87e31-inline:hover {
  color: #f7b3b3;
  text-decoration: none;
}

.mobile87e31-inline:active {
  transform: scale(0.97);
}

/* --------------------------------------------------------------------------
   11. Extended footer (two-column directory)
   -------------------------------------------------------------------------- */
.mobile87e31-xfoot {
  margin: 4px 12px 16px;
  padding: 16px 14px;
  border: 1px solid var(--mobile87e31-line-strong);
  border-radius: var(--mobile87e31-radius-lg);
  background:
    linear-gradient(180deg, rgba(147, 112, 219, 0.1), transparent 55%),
    var(--mobile87e31-ink-deep);
}

.mobile87e31-xfoot-title {
  font-size: 16px;
  color: var(--mobile87e31-mist);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--mobile87e31-line);
}

.mobile87e31-xfoot-block {
  margin-bottom: 15px;
}

.mobile87e31-xfoot-block:last-child {
  margin-bottom: 0;
}

.mobile87e31-xfoot-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mobile87e31-violet);
  margin-bottom: 7px;
}

.mobile87e31-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobile87e31-dir-link {
  display: block;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(230, 230, 250, 0.88);
  background: var(--mobile87e31-panel);
  border: 1px solid var(--mobile87e31-line);
  border-radius: var(--mobile87e31-radius-sm);
  line-height: 1.4;
  transition: transform 0.12s var(--mobile87e31-ease), border-color 0.12s var(--mobile87e31-ease);
}

.mobile87e31-dir-link em {
  display: block;
  font-style: normal;
  font-size: 9.5px;
  color: var(--mobile87e31-sky);
  opacity: 0.7;
  margin-top: 1px;
}

.mobile87e31-dir-link:hover,
.mobile87e31-dir-link:focus-visible {
  border-color: var(--mobile87e31-violet);
  text-decoration: none;
}

.mobile87e31-dir-link:active {
  transform: scale(0.97);
}

.mobile87e31-xfoot-brand {
  font-size: 12.5px;
  color: rgba(230, 230, 250, 0.78);
  line-height: 1.6;
}

.mobile87e31-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mobile87e31-promoitem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 9px 11px;
  text-align: left;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile87e31-ink);
  background: var(--mobile87e31-violet-soft);
  border: 1px solid var(--mobile87e31-violet);
  border-radius: var(--mobile87e31-radius-sm);
  cursor: pointer;
  transition: transform 0.12s var(--mobile87e31-ease), background-color 0.12s var(--mobile87e31-ease);
  -webkit-tap-highlight-color: transparent;
}

.mobile87e31-promoitem:nth-child(even) {
  background: var(--mobile87e31-coral-soft);
  border-color: var(--mobile87e31-coral);
}

.mobile87e31-promoitem small {
  font-size: 9.5px;
  font-weight: 400;
  color: rgba(230, 230, 250, 0.75);
}

.mobile87e31-promoitem:hover {
  text-decoration: none;
}

.mobile87e31-promoitem:active {
  transform: scale(0.96);
}

.mobile87e31-xfoot-note {
  font-size: 11px;
  color: rgba(230, 230, 250, 0.6);
  line-height: 1.6;
  padding: 9px 11px;
  border: 1px dashed var(--mobile87e31-line-strong);
  border-radius: var(--mobile87e31-radius-sm);
}

/* --------------------------------------------------------------------------
   12. Common footer + bottom navigation (center raised)
   -------------------------------------------------------------------------- */
.mobile87e31-footer {
  margin-top: auto;
  padding: 0 0 calc(var(--mobile87e31-bnav-h) + 22px);
  text-align: center;
}

.mobile87e31-copy {
  display: block;
  padding: 12px 16px 8px;
  font-size: 11px;
  color: rgba(230, 230, 250, 0.55);
  border-top: 1px solid var(--mobile87e31-line);
}

.mobile87e31-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  height: var(--mobile87e31-bnav-h);
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 0 6px 7px;
  background: rgba(24, 36, 48, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--mobile87e31-line-strong);
}

.mobile87e31-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px 5px;
  font-size: 10px;
  font-weight: 400;
  color: rgba(230, 230, 250, 0.72);
  border-radius: var(--mobile87e31-radius-sm);
  transition: transform 0.12s var(--mobile87e31-ease), color 0.12s var(--mobile87e31-ease);
  -webkit-tap-highlight-color: transparent;
}

.mobile87e31-bnav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile87e31-bnav-item:hover {
  color: var(--mobile87e31-mist);
  text-decoration: none;
}

.mobile87e31-bnav-item:active {
  transform: scale(0.9);
}

/* Active marker: underline bar */
.mobile87e31-bnav-item[aria-current="page"] {
  color: var(--mobile87e31-coral);
  font-weight: 700;
}

.mobile87e31-bnav-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--mobile87e31-coral);
}

/* Filled state for the active linear icon */
.mobile87e31-bnav-item[aria-current="page"] svg {
  fill: currentColor;
  fill-opacity: 0.22;
}

/* Raised center CTA */
.mobile87e31-bnav-item--cta {
  color: var(--mobile87e31-ink);
  transform: translateY(-16px);
  background: var(--mobile87e31-coral);
  border: 2px solid var(--mobile87e31-ink);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  justify-self: center;
  align-self: center;
  gap: 1px;
  box-shadow: 0 6px 18px rgba(240, 128, 128, 0.35);
}

.mobile87e31-bnav-item--cta svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.mobile87e31-bnav-item--cta .mobile87e31-bnav-label {
  font-size: 8.5px;
  font-weight: 700;
}

.mobile87e31-bnav-item--cta:active {
  transform: translateY(-16px) scale(0.92);
}

/* --------------------------------------------------------------------------
   13. Back-to-top
   -------------------------------------------------------------------------- */
.mobile87e31-top-btn {
  position: fixed;
  right: max(12px, calc(50% - 230px + 12px));
  bottom: calc(var(--mobile87e31-bnav-h) + 16px);
  z-index: 80;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  background: rgba(24, 36, 48, 0.95);
  border: 1px solid var(--mobile87e31-line-strong);
  border-radius: 50%;
  color: var(--mobile87e31-sky);
  cursor: pointer;
  transition: transform 0.12s var(--mobile87e31-ease), opacity 0.2s var(--mobile87e31-ease);
}

.mobile87e31-top-btn.is-shown {
  display: grid;
}

.mobile87e31-top-btn:active {
  transform: scale(0.9);
}

/* --------------------------------------------------------------------------
   14. Short-distance section reveal
   -------------------------------------------------------------------------- */
.mobile87e31-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--mobile87e31-ease),
    transform 0.3s var(--mobile87e31-ease);
}

.mobile87e31-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mobile87e31-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   15. Responsive refinements inside the 320-430px handset band and above
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .mobile87e31-brand-name {
    font-size: 18px;
  }

  .mobile87e31-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 360px) {
  .mobile87e31-card-name {
    font-size: 11px;
  }
}

/* 5 columns once the canvas reaches 430px */
@media (min-width: 430px) {
  .mobile87e31-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .mobile87e31-hero {
    padding: 28px 22px 24px;
  }

  .mobile87e31-dir {
    gap: 8px;
  }
}

@media (min-width: 461px) {
  body {
    font-size: 15.5px;
  }
}

/* Help-page patterns: diagnostic notes and a linear action trail */
.mobile87e31-help-hero {
  min-height: 0;
  justify-content: flex-start;
  padding-top: 24px;
  padding-bottom: 22px;
}

.mobile87e31-help-hero .mobile87e31-hero-title {
  max-width: 18ch;
}

.mobile87e31-issue-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.mobile87e31-issue {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--mobile87e31-line);
  border-left: 3px solid var(--mobile87e31-coral);
  border-radius: var(--mobile87e31-radius-sm);
  background: rgba(24, 36, 48, 0.86);
}

.mobile87e31-issue-label {
  align-self: start;
  font-size: 10px;
  font-weight: 700;
  color: var(--mobile87e31-coral);
  line-height: 1.35;
}

.mobile87e31-issue p {
  margin: 0;
  font-size: 12px;
  color: rgba(230, 230, 250, 0.84);
  line-height: 1.5;
}

.mobile87e31-help-rail {
  position: relative;
  display: grid;
  gap: 9px;
  margin: 13px 0 0 8px;
  padding-left: 20px;
  border-left: 1px solid var(--mobile87e31-violet);
}

.mobile87e31-rail-item {
  position: relative;
  padding: 10px 11px;
  border: 1px solid var(--mobile87e31-line);
  border-radius: 0 var(--mobile87e31-radius-sm) var(--mobile87e31-radius-sm) 0;
  background: var(--mobile87e31-panel);
}

.mobile87e31-rail-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 15px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--mobile87e31-sky);
  border-radius: 50%;
  background: var(--mobile87e31-ink);
}

.mobile87e31-rail-item b {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: var(--mobile87e31-sky);
}

.mobile87e31-rail-item span {
  display: block;
  font-size: 12px;
  color: rgba(230, 230, 250, 0.8);
  line-height: 1.5;
}

.mobile87e31-promo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.mobile87e31-promo-list .mobile87e31-btn {
  min-height: 48px;
  padding-inline: 9px;
  font-size: 11.5px;
}

.mobile87e31-answer {
  padding: 11px 12px;
  border-top: 1px solid var(--mobile87e31-line-strong);
  background: rgba(24, 36, 48, 0.72);
}

.mobile87e31-answer:first-child {
  border-top: 0;
}

.mobile87e31-answer b {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--mobile87e31-coral);
}

.mobile87e31-answer p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(230, 230, 250, 0.84);
}

@media (max-width: 359px) {
  .mobile87e31-issue {
    grid-template-columns: 58px 1fr;
  }

  .mobile87e31-promo-list {
    grid-template-columns: 1fr;
  }
}
