/* ==========================================================================
   457.homes - chrome-dynamic-87d675.css
   Mobile-first phone canvas: 320px up to 430px; wide screens keep the same
   centered canvas. Dark slate & gold theme, poster headings, narrow body.
   Every class and variable uses the mobile7d675- prefix.
   Design language: tab-style top bar, expandable sheet menu, outlined
   bottom function dock, grouped cover cards, step-progress modules,
   state-color-only motion budget, staggered primary/secondary CTAs.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --mobile7d675-void: #191919;            /* page backdrop behind the canvas */
  --mobile7d675-ink: #2C2C2C;             /* main surface ink */
  --mobile7d675-slab: #232323;            /* raised panel */
  --mobile7d675-slab-hi: #2E2E2E;         /* hovered panel */
  --mobile7d675-line: #708090;            /* structural slate */
  --mobile7d675-line-dim: #4A545E;        /* dim slate hairline */
  --mobile7d675-chalk: #F0E68C;           /* light khaki text */
  --mobile7d675-chalk-dim: #B7AF7B;       /* muted khaki text */
  --mobile7d675-gold: #DAA520;            /* goldenrod action */
  --mobile7d675-flare: #FFCC33;           /* bright gold highlight */
  --mobile7d755-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  --mobile7d675-radius: 6px;              /* small radius, high density */
  --mobile7d675-radius-sm: 4px;
  --mobile7d675-tap: 44px;                /* minimum touch target */
  --mobile7d675-canvas: 430px;            /* max phone canvas width */
  --mobile7d675-topbar-h: 56px;
  --mobile7d675-dock-h: 62px;
  --mobile7d675-glow: 0 0 0 1px rgba(255, 204, 51, 0.35), 0 0 14px rgba(218, 165, 32, 0.35);
}

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

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

body {
  background: var(--mobile7d675-void);
  color: var(--mobile7d675-chalk);
  font-family: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui,
    -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Narrow body type: compact size, taller rhythm */
  font-size: 13.5px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--mobile7d675-flare);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mobile7d675-flare);
  outline-offset: 2px;
  border-radius: var(--mobile7d675-radius-sm);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;               /* poster-weight headings */
  line-height: 1.22;
  color: var(--mobile7d675-chalk);
  letter-spacing: 0;
}

p {
  color: var(--mobile7d675-chalk-dim);
}

strong,
b {
  color: var(--mobile7d675-chalk);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3. Phone canvas shell (wide screens keep a centered 430px canvas)
   -------------------------------------------------------------------------- */
.mobile7d675-shell {
  width: 100%;
  max-width: var(--mobile7d675-canvas);
  margin: 0 auto;
  background: var(--mobile7d675-ink);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
}

@media (min-width: 431px) {
  /* Desktop: side rails reveal the phone canvas */
  body {
    background: var(--mobile7d675-void);
  }

  .mobile7d675-shell {
    border-left: 1px solid var(--mobile7d675-line-dim);
    border-right: 1px solid var(--mobile7d675-line-dim);
  }
}

/* Main column leaves room for fixed top bar and bottom dock */
.mobile7d675-main {
  padding: calc(var(--mobile7d675-topbar-h) + 10px) 10px
    calc(var(--mobile7d675-dock-h) + 18px + env(safe-area-inset-bottom)) 10px;
}

/* --------------------------------------------------------------------------
   4. Fixed tab-style top bar
   -------------------------------------------------------------------------- */
.mobile7d675-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile7d675-canvas);
  z-index: 60;
  background: rgba(35, 35, 35, 0.96);
  border-bottom: 1px solid var(--mobile7d675-line-dim);
}

.mobile7d675-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--mobile7d675-topbar-h);
  padding: 0 10px;
}

/* Brand zone: real logo image + site name only */
.mobile7d675-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--mobile7d675-tap);
}

.mobile7d675-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: var(--mobile7d675-radius-sm);
  border: 1px solid var(--mobile7d675-line-dim);
  background: var(--mobile7d675-slab-hi);
}

.mobile7d675-brand-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--mobile7d675-flare);
  letter-spacing: 0.04em;
}

/* Action zone: staggered register/login tabs + sheet trigger */
.mobile7d675-acts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile7d675-btn {
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--mobile7d675-radius-sm);
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid transparent;
}

/* Primary CTA: oversized gold slab */
.mobile7d675-btn-lead {
  background: linear-gradient(180deg, var(--mobile7d675-flare), var(--mobile7d675-gold));
  color: #241C05;
  font-size: 13.5px;
  min-height: 40px;
  padding: 8px 16px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.mobile7d675-btn-lead:active {
  box-shadow: var(--mobile7d675-glow);
}

/* Secondary CTA: smaller khaki outline tab */
.mobile7d675-btn-ghost {
  background: transparent;
  color: var(--mobile7d675-chalk);
  border-color: var(--mobile7d675-line);
  font-size: 12.5px;
  min-height: 36px;
  padding: 7px 12px;
}

.mobile7d675-btn-ghost:active {
  border-color: var(--mobile7d675-flare);
  color: var(--mobile7d675-flare);
}

/* Burger: three carved rails, no icon font needed */
.mobile7d675-burger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mobile7d675-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mobile7d675-chalk);
  border-radius: 1px;
  transition: background-color 0.18s ease;
}

.mobile7d675-burger:active,
.mobile7d675-burger.mobile7d675-burger-on {
  border-color: var(--mobile7d675-flare);
  box-shadow: var(--mobile7d675-glow);
}

.mobile7d675-burger.mobile7d675-burger-on span {
  background: var(--mobile7d675-flare);
}

/* Expandable sheet menu under the top bar */
.mobile7d675-sheet {
  display: none;
  border-top: 1px solid var(--mobile7d675-line-dim);
  background: var(--mobile7d675-slab);
  padding: 10px;
}

.mobile7d675-sheet.mobile7d675-sheet-open {
  display: block;
}

.mobile7d675-sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobile7d675-sheet a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--mobile7d675-tap);
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mobile7d675-chalk);
  background: var(--mobile7d675-ink);
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.mobile7d675-sheet a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mobile7d675-line);
  flex: 0 0 auto;
  transition: background-color 0.18s ease;
}

.mobile7d675-sheet a:active,
.mobile7d675-sheet a.mobile7d675-sheet-here {
  border-color: var(--mobile7d675-gold);
  color: var(--mobile7d675-flare);
}

.mobile7d675-sheet a.mobile7d675-sheet-here::before,
.mobile7d675-sheet a:active::before {
  background: var(--mobile7d675-flare);
}

/* --------------------------------------------------------------------------
   5. Hero: poster heading block
   -------------------------------------------------------------------------- */
.mobile7d675-hero {
  position: relative;
  padding: 16px 12px 14px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-left: 4px solid var(--mobile7d675-gold);
  border-radius: var(--mobile7d675-radius);
  background:
    linear-gradient(160deg, rgba(112, 128, 144, 0.16), rgba(25, 25, 25, 0) 58%),
    var(--mobile7d675-slab);
  overflow: hidden;
}

.mobile7d675-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mobile7d675-gold);
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 8px;
  background: var(--mobile7d675-ink);
}

.mobile7d675-hero h1 {
  /* Poster scale heading */
  font-size: clamp(25px, 8vw, 33px);
  line-height: 1.16;
  margin-bottom: 10px;
  text-wrap: balance;
}

.mobile7d675-hero h1 em {
  font-style: normal;
  color: var(--mobile7d675-flare);
}

.mobile7d675-hero-lead {
  font-size: 13px;
  margin-bottom: 10px;
}

.mobile7d675-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin-top: 4px;
}

.mobile7d675-hero-cta .mobile7d675-btn-lead {
  flex: 1 1 150px;
  min-height: var(--mobile7d675-tap);
  font-size: 14.5px;
}

.mobile7d675-hero-cta .mobile7d675-btn-ghost {
  flex: 0 1 110px;
  min-height: 38px;
}

/* Fact rail under the hero */
.mobile7d675-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.mobile7d675-fact {
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
  padding: 7px 6px;
  text-align: center;
}

.mobile7d675-fact b {
  display: block;
  font-size: 15px;
  color: var(--mobile7d675-flare);
  line-height: 1.2;
}

.mobile7d675-fact span {
  font-size: 10px;
  color: var(--mobile7d675-chalk-dim);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   6. Promo banner carousel (three real local banners)
   -------------------------------------------------------------------------- */
.mobile7d675-stage {
  position: relative;
  margin-top: 12px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius);
  overflow: hidden;
  background: var(--mobile7d675-slab);
}

.mobile7d675-stage-track {
  position: relative;
  height: 158px;
}

.mobile7d675-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile7d675-slide.mobile7d675-slide-on {
  opacity: 1;
}

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

.mobile7d675-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 12px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #FFF6D8;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0), rgba(19, 19, 19, 0.88) 62%);
  line-height: 1.4;
}

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

.mobile7d675-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--mobile7d675-flare);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.mobile7d675-dot.mobile7d675-dot-on {
  background: var(--mobile7d675-flare);
}

/* --------------------------------------------------------------------------
   7. Category groups with grouped cover cards
   -------------------------------------------------------------------------- */
.mobile7d675-band {
  margin-top: 16px;
}

.mobile7d675-band-shell {
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius);
  background: var(--mobile7d675-slab);
  overflow: hidden;
}

.mobile7d675-band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--mobile7d675-line-dim);
  background: linear-gradient(90deg, rgba(218, 165, 32, 0.14), rgba(112, 128, 144, 0.06));
}

.mobile7d675-band-head h2 {
  font-size: 16.5px;
  line-height: 1.28;
  text-wrap: balance;
}

.mobile7d675-band-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mobile7d675-flare);
  border: 1px solid var(--mobile7d675-gold);
  border-radius: 3px;
  padding: 2px 7px;
  letter-spacing: 0.05em;
  background: var(--mobile7d675-ink);
}

.mobile7d675-band-lead {
  padding: 10px 12px 4px;
  font-size: 12.5px;
}

/* Game grid: 4 columns at 320px, 5 columns from 390px up */
.mobile7d675-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 10px 12px;
}

.mobile7d675-game {
  display: block;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mobile7d675-game:active {
  border-color: var(--mobile7d675-flare);
  box-shadow: var(--mobile7d675-glow);
}

.mobile7d675-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #202020;
}

.mobile7d675-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
  padding: 3px 4px 4px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mobile7d675-chalk);
  text-align: center;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   8. Step-progress modules (shared shell for content bands)
   -------------------------------------------------------------------------- */
.mobile7d675-mod {
  margin-top: 16px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius);
  background: var(--mobile7d675-slab);
  padding: 12px;
}

.mobile7d675-mod > h2 {
  font-size: 17px;
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 4px solid var(--mobile7d675-gold);
  text-wrap: balance;
}

.mobile7d675-mod-lead {
  font-size: 12.8px;
  margin-bottom: 10px;
}

.mobile7d675-mod h3 {
  font-size: 13.5px;
  color: var(--mobile7d675-flare);
  margin: 12px 0 5px;
}

/* Numbered step rows: information advances like a rail */
.mobile7d675-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile7d675-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--mobile7d675-line-dim);
  border-left: 3px solid var(--mobile7d675-line);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
  padding: 9px 10px 9px 8px;
  transition: border-color 0.18s ease;
}

.mobile7d675-step:active {
  border-color: var(--mobile7d675-gold);
}

.mobile7d675-step-no {
  font-size: 15px;
  font-weight: 800;
  color: var(--mobile7d675-gold);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.mobile7d675-step b {
  display: block;
  font-size: 12.5px;
  margin-bottom: 2px;
  color: var(--mobile7d675-chalk);
}

.mobile7d675-step p {
  font-size: 12px;
}

/* Highlight rows: icon-free, tick-marked list */
.mobile7d675-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile7d675-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 9px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
  transition: border-color 0.18s ease;
}

.mobile7d675-row:active {
  border-color: var(--mobile7d675-gold);
}

.mobile7d675-row::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--mobile7d675-gold);
}

.mobile7d675-row b {
  display: block;
  font-size: 12.5px;
  margin-bottom: 1px;
}

.mobile7d675-row p,
.mobile7d675-row span {
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   9. Testimonial plates
   -------------------------------------------------------------------------- */
.mobile7d675-quotes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile7d675-quote {
  border: 1px solid var(--mobile7d675-line-dim);
  border-left: 3px solid var(--mobile7d675-line);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
  padding: 9px 11px;
}

.mobile7d675-quote p {
  font-size: 12.3px;
}

.mobile7d675-quote footer {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mobile7d675-flare);
}

/* Verification checklist */
.mobile7d675-checklist {
  margin-top: 10px;
  border: 1px dashed var(--mobile7d675-line);
  border-radius: var(--mobile7d675-radius-sm);
  padding: 10px;
  background: rgba(112, 128, 144, 0.08);
}

.mobile7d675-checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 7px;
  font-size: 12px;
  color: var(--mobile7d675-chalk-dim);
  padding: 3px 0;
}

.mobile7d675-checklist li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border: 1.5px solid var(--mobile7d675-gold);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   10. Promotion cards + staggered CTAs
   -------------------------------------------------------------------------- */
.mobile7d675-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mobile7d675-offer {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
  padding: 10px;
}

.mobile7d675-offer-tag {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobile7d675-gold);
  border-radius: var(--mobile7d675-radius-sm);
  color: var(--mobile7d675-flare);
  font-weight: 800;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  background: rgba(218, 165, 32, 0.12);
}

.mobile7d675-offer b {
  display: block;
  font-size: 12.8px;
  margin-bottom: 2px;
}

.mobile7d675-offer p {
  font-size: 12px;
}

.mobile7d675-cta-strip {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile7d675-cta-strip .mobile7d675-btn-lead {
  flex: 1 1 170px;
  min-height: var(--mobile7d675-tap);
}

.mobile7d675-cta-strip .mobile7d675-btn-ghost {
  flex: 1 1 110px;
}

/* Text-link entry, smallest CTA tier */
.mobile7d675-taplink {
  display: inline-flex;
  align-items: center;
  min-height: var(--mobile7d675-tap);
  padding: 6px 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile7d675-flare);
  border-bottom: 1px solid var(--mobile7d675-gold);
  cursor: pointer;
  transition: color 0.18s ease;
}

/* --------------------------------------------------------------------------
   11. Comparison table + RTP meter (static state colors only)
   -------------------------------------------------------------------------- */
.mobile7d675-versus {
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  overflow: hidden;
}

.mobile7d675-versus-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  border-top: 1px solid var(--mobile7d675-line-dim);
}

.mobile7d675-versus-row:first-child {
  border-top: 0;
}

.mobile7d675-versus-row dt {
  padding: 8px 9px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--mobile7d675-flare);
  background: rgba(112, 128, 144, 0.14);
  border-right: 1px solid var(--mobile7d675-line-dim);
}

.mobile7d675-versus-row dd {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--mobile7d675-chalk-dim);
}

/* Static three-band RTP gauge */
.mobile7d675-gauge {
  display: grid;
  grid-template-columns: 38% 32% 30%;
  height: 14px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--mobile7d675-line-dim);
  margin: 10px 0 4px;
}

.mobile7d675-gauge i {
  display: block;
  height: 100%;
}

.mobile7d675-gauge i:nth-child(1) {
  background: #708090;
}

.mobile7d675-gauge i:nth-child(2) {
  background: #DAA520;
}

.mobile7d675-gauge i:nth-child(3) {
  background: #FFCC33;
}

.mobile7d675-gauge-cap {
  display: grid;
  grid-template-columns: 38% 32% 30%;
  font-size: 10px;
  color: var(--mobile7d675-chalk-dim);
  text-align: center;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   12. Extended footer floor: promo entries, brand, directory, disclaimer
   -------------------------------------------------------------------------- */
.mobile7d675-xfloor {
  margin-top: 18px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius);
  background: var(--mobile7d675-slab);
  padding: 12px;
}

.mobile7d675-xfloor h2 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--mobile7d675-flare);
}

.mobile7d675-xpromo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mobile7d675-line-dim);
}

.mobile7d675-xpromo .mobile7d675-btn-lead {
  min-height: var(--mobile7d675-tap);
  font-size: 14.5px;
}

.mobile7d675-xpromo-duo {
  display: flex;
  gap: 8px;
}

.mobile7d675-xpromo-duo .mobile7d675-btn-ghost {
  flex: 1;
  min-height: 40px;
}

.mobile7d675-xpromo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-content: center;
}

.mobile7d675-xbrand {
  padding: 11px 0;
  border-bottom: 1px solid var(--mobile7d675-line-dim);
}

.mobile7d675-xbrand p {
  font-size: 12px;
}

/* Two-column page directory */
.mobile7d675-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 11px 0;
  border-bottom: 1px solid var(--mobile7d675-line-dim);
}

.mobile7d675-dir a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mobile7d675-chalk);
  background: var(--mobile7d675-ink);
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.mobile7d675-dir a:active {
  border-color: var(--mobile7d675-gold);
  color: var(--mobile7d675-flare);
}

.mobile7d675-xdisc {
  padding-top: 10px;
  font-size: 11px;
  color: var(--mobile7d675-chalk-dim);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   13. Common footer (copyright only) + fixed bottom dock
   -------------------------------------------------------------------------- */
.mobile7d675-foot {
  text-align: center;
  padding: 4px 10px 2px;
}

.mobile7d675-foot p {
  font-size: 11px;
  color: var(--mobile7d675-chalk-dim);
  letter-spacing: 0.04em;
}

.mobile7d675-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile7d675-canvas);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(30, 30, 30, 0.97);
  border-top: 1px solid var(--mobile7d675-line);
}

.mobile7d675-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius);
  background: var(--mobile7d675-ink);
  color: var(--mobile7d675-chalk-dim);
  padding: 4px 2px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease;
}

.mobile7d675-dock-item svg {
  width: 21px;
  height: 21px;
  display: block;
}

.mobile7d675-dock-item span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mobile7d675-dock-item:active {
  color: var(--mobile7d675-flare);
  border-color: var(--mobile7d675-gold);
}

/* Active page: slight lift + restrained gold glow */
.mobile7d675-dock-item.mobile7d675-dock-on {
  color: var(--mobile7d675-flare);
  border-color: var(--mobile7d675-gold);
  box-shadow: var(--mobile7d675-glow);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   14. Utility + breakpoints (canvas stays 320-430px)
   -------------------------------------------------------------------------- */
.mobile7d675-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mobile7d675-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--mobile7d675-tap);
  margin: 2px 10px 0;
  padding: 8px 12px;
  border: 1px solid var(--mobile7d675-line);
  border-radius: var(--mobile7d675-radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mobile7d675-flare);
  background: var(--mobile7d675-ink);
  transition: border-color 0.18s ease;
}

.mobile7d675-more:active {
  border-color: var(--mobile7d675-flare);
}

.mobile7d675-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--mobile7d675-gold);
  border-right: 2px solid var(--mobile7d675-gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

@media (min-width: 375px) {
  .mobile7d675-stage-track {
    height: 172px;
  }

  .mobile7d675-band-head h2,
  .mobile7d675-mod > h2 {
    font-size: 17.5px;
  }

  .mobile7d675-main {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* From 390px the game grid gains a fifth stable track */
@media (min-width: 390px) {
  .mobile7d675-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 430px) {
  .mobile7d675-main {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* --------------------------------------------------------------------------
   15. Help page variations: task rail and safety dossier
   -------------------------------------------------------------------------- */
.mobile7d675-help-main {
  padding-top: calc(var(--mobile7d675-topbar-h) + 10px);
}

.mobile7d675-help-hero {
  border: 1px solid var(--mobile7d675-line);
  border-radius: var(--mobile7d675-radius);
  padding: 15px 13px;
  background: linear-gradient(135deg, rgba(240, 230, 140, 0.11), rgba(44, 44, 44, 0) 62%), var(--mobile7d675-slab);
}

.mobile7d675-help-hero h1 {
  font-size: clamp(24px, 7.5vw, 32px);
  margin-bottom: 9px;
  text-wrap: balance;
}

.mobile7d675-help-hero p {
  font-size: 13px;
  margin-bottom: 10px;
}

.mobile7d675-help-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 7px;
  margin-top: 12px;
}

.mobile7d675-help-actions .mobile7d675-btn {
  min-height: var(--mobile7d675-tap);
}

.mobile7d675-help-panel {
  margin-top: 13px;
  border-top: 3px solid var(--mobile7d675-gold);
  border-right: 1px solid var(--mobile7d675-line-dim);
  border-bottom: 1px solid var(--mobile7d675-line-dim);
  border-left: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius);
  padding: 13px;
  background: var(--mobile7d675-slab);
}

.mobile7d675-help-panel h2,
.mobile7d675-safety-panel h2 {
  font-size: 17px;
  margin-bottom: 8px;
  text-wrap: balance;
}

.mobile7d675-help-panel > p,
.mobile7d675-safety-panel > p {
  font-size: 12.8px;
  margin-bottom: 10px;
}

.mobile7d675-task-rail {
  display: grid;
  gap: 8px;
  counter-reset: task;
}

.mobile7d675-task-card {
  counter-increment: task;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  padding: 10px 9px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
}

.mobile7d675-task-card::before {
  content: counter(task, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  color: var(--mobile7d675-void);
  background: var(--mobile7d675-flare);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
}

.mobile7d675-task-card h3 {
  margin: 0 0 3px;
  color: var(--mobile7d675-chalk);
  font-size: 13.5px;
}

.mobile7d675-task-card p,
.mobile7d675-task-card li {
  font-size: 12px;
  color: var(--mobile7d675-chalk-dim);
}

.mobile7d675-task-card ul {
  list-style: square;
  padding-left: 16px;
}

.mobile7d675-task-card li + li {
  margin-top: 3px;
}

.mobile7d675-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mobile7d675-check-tile {
  min-height: 82px;
  padding: 9px;
  border: 1px dashed var(--mobile7d675-line);
  border-radius: var(--mobile7d675-radius-sm);
  background: rgba(112, 128, 144, 0.08);
}

.mobile7d675-check-tile b {
  display: block;
  color: var(--mobile7d675-flare);
  font-size: 12.5px;
  margin-bottom: 3px;
}

.mobile7d675-check-tile span {
  display: block;
  color: var(--mobile7d675-chalk-dim);
  font-size: 11.5px;
  line-height: 1.48;
}

.mobile7d675-help-note {
  margin-top: 10px;
  padding: 9px 10px;
  border-left: 3px solid var(--mobile7d675-flare);
  background: rgba(255, 204, 51, 0.08);
  color: var(--mobile7d675-chalk);
  font-size: 12px;
}

.mobile7d675-answer-list {
  display: grid;
  gap: 7px;
}

.mobile7d675-answer-list details {
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
  overflow: hidden;
}

.mobile7d675-answer-list summary {
  min-height: var(--mobile7d675-tap);
  display: flex;
  align-items: center;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--mobile7d675-chalk);
  font-size: 12.5px;
  font-weight: 700;
}

.mobile7d675-answer-list summary::marker {
  color: var(--mobile7d675-gold);
}

.mobile7d675-answer-list details[open] summary {
  color: var(--mobile7d675-flare);
  border-bottom: 1px solid var(--mobile7d675-line-dim);
}

.mobile7d675-answer-list details p {
  padding: 9px 10px 11px;
  font-size: 12px;
}

/* The safety page uses a quieter incident-led visual rhythm. */
.mobile7d675-safety-main {
  padding-top: calc(var(--mobile7d675-topbar-h) + 10px);
}

.mobile7d675-safety-hero {
  padding: 14px 13px 13px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius);
  background: radial-gradient(circle at 92% 8%, rgba(255, 204, 51, 0.18), transparent 33%), var(--mobile7d675-slab);
}

.mobile7d675-safety-hero h1 {
  font-size: clamp(24px, 7.5vw, 32px);
  margin-bottom: 8px;
}

.mobile7d675-safety-hero p {
  font-size: 13px;
}

.mobile7d675-safety-banner {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 11px;
  padding: 10px;
  border: 1px solid var(--mobile7d675-gold);
  border-radius: var(--mobile7d675-radius-sm);
  background: rgba(218, 165, 32, 0.12);
}

.mobile7d675-safety-mark {
  flex: 0 0 29px;
  min-height: 29px;
  display: grid;
  place-items: center;
  border: 2px solid var(--mobile7d675-flare);
  border-radius: 50%;
  color: var(--mobile7d675-flare);
  font-weight: 900;
}

.mobile7d675-safety-banner p {
  font-size: 11.8px;
  line-height: 1.5;
}

.mobile7d675-safety-panel {
  margin-top: 13px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius);
  padding: 12px;
  background: var(--mobile7d675-slab);
}

.mobile7d675-risk-list {
  display: grid;
  gap: 7px;
}

.mobile7d675-risk-item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 9px;
  padding: 8px 9px;
  border-bottom: 1px solid var(--mobile7d675-line-dim);
}

.mobile7d675-risk-item:last-child {
  border-bottom: 0;
}

.mobile7d675-risk-item::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: var(--mobile7d675-flare);
  border-radius: 1px;
}

.mobile7d675-risk-item b {
  display: block;
  font-size: 12.8px;
  margin-bottom: 2px;
}

.mobile7d675-risk-item p {
  font-size: 12px;
}

.mobile7d675-scenario {
  display: grid;
  gap: 7px;
}

.mobile7d675-scenario-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  background: var(--mobile7d675-ink);
}

.mobile7d675-scenario-row strong {
  color: var(--mobile7d675-flare);
  font-size: 11.5px;
}

.mobile7d675-scenario-row p {
  font-size: 12px;
}

.mobile7d675-safety-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.mobile7d675-safety-actions .mobile7d675-btn {
  flex: 1 1 145px;
  min-height: var(--mobile7d675-tap);
}

.mobile7d675-resource-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.mobile7d675-resource-strip a {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 6px;
  text-align: center;
  border: 1px solid var(--mobile7d675-line-dim);
  border-radius: var(--mobile7d675-radius-sm);
  color: var(--mobile7d675-chalk);
  font-size: 11px;
  font-weight: 700;
  background: var(--mobile7d675-ink);
}

@media (max-width: 345px) {
  .mobile7d675-help-actions {
    grid-template-columns: 1fr;
  }

  .mobile7d675-check-grid {
    grid-template-columns: 1fr;
  }

  .mobile7d675-scenario-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
