/* ==========================================================================
   1111bd.homes — mobile-first canvas stylesheet
   Class prefix : view8b641-
   Palette      : #FFDFBA (cream text) over #2C2C2C (dark ground)
   Tone         : technical headings + open body type, near-square corners,
                  grouped cover cards, scenario-branch rhythm, short-distance
                  section transitions, compact icon+text CTAs.
   Canvas       : stable 320-430px phone frame, centered on wide screens.
   ========================================================================== */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --view8b641-ink: #2c2c2c;
  --view8b641-ink-deep: #191919;
  --view8b641-ink-panel: #232323;
  --view8b641-ink-raise: #2a2a2a;
  --view8b641-cream: #ffdfba;
  --view8b641-cream-soft: rgba(255, 223, 186, 0.74);
  --view8b641-cream-faint: rgba(255, 223, 186, 0.48);
  --view8b641-line: rgba(255, 223, 186, 0.16);
  --view8b641-line-soft: rgba(255, 223, 186, 0.09);
  --view8b641-amber: #ffc179;
  --view8b641-amber-deep: #e8a04f;
  --view8b641-glow: rgba(255, 193, 121, 0.38);
  --view8b641-wash: rgba(255, 223, 186, 0.05);
  --view8b641-r: 4px;          /* near-square tool radius */
  --view8b641-r-lg: 6px;
  --view8b641-top-h: 56px;
  --view8b641-bnav-h: 66px;
  --view8b641-font: "Noto Sans Bengali", "Hind Siliguri", "Bangla MN",
    "SolaimanLipi", "Nirmala UI", system-ui, -apple-system, "Segoe UI", sans-serif;
  --view8b641-num: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --view8b641-move: 0.17s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body.view8b641-page {
  background: #141414;
  color: var(--view8b641-cream);
  font-family: var(--view8b641-font);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--view8b641-cream); text-decoration: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--view8b641-amber);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link — first tab stop */
.view8b641-skip {
  position: fixed;
  top: -48px;
  left: 10px;
  z-index: 90;
  padding: 9px 14px;
  background: var(--view8b641-cream);
  color: #241b0e;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--view8b641-r);
  transition: top var(--view8b641-move);
}
.view8b641-skip:focus { top: 8px; }

/* ---------- 2. Phone canvas ---------- */
.view8b641-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  background:
    radial-gradient(120% 52% at 50% 0%, rgba(255, 193, 121, 0.07), transparent 60%),
    var(--view8b641-ink);
  min-height: 100vh;
  min-height: 100dvh;
}
@media (min-width: 480px) {
  .view8b641-canvas {
    box-shadow:
      0 0 0 1px rgba(255, 223, 186, 0.08),
      0 30px 90px rgba(0, 0, 0, 0.6);
  }
}

.view8b641-main {
  padding: calc(var(--view8b641-top-h) + 12px) 12px
    calc(var(--view8b641-bnav-h) + env(safe-area-inset-bottom, 0px) + 22px);
}

/* ---------- 3. Top bar: centered identity + compact action wing ---------- */
.view8b641-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: rgba(25, 25, 25, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--view8b641-line);
}

.view8b641-toprow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: var(--view8b641-top-h);
  padding: 0 10px;
}

/* Brand sits dead-center regardless of wing widths */
.view8b641-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.view8b641-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--view8b641-r);
  border: 1px solid var(--view8b641-line);
  object-fit: cover;
}
.view8b641-brandname {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--view8b641-cream);
  white-space: nowrap;
}

.view8b641-wing { display: flex; align-items: center; gap: 6px; }

/* Compact icon+text CTAs */
.view8b641-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  border: 1px solid var(--view8b641-line);
  transition: box-shadow var(--view8b641-move), border-color var(--view8b641-move),
    background-color var(--view8b641-move);
}
.view8b641-btn:active { box-shadow: 0 0 0 3px var(--view8b641-glow); }
.view8b641-btn--reg {
  background: linear-gradient(135deg, var(--view8b641-cream), var(--view8b641-amber));
  border-color: transparent;
  color: #2b1d0c;
}
.view8b641-btn--login { color: var(--view8b641-cream); }
.view8b641-btn--login:active { border-color: var(--view8b641-amber); }

/* Burger: three-bar tool switch */
.view8b641-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 8px 9px;
  border: 1px solid var(--view8b641-line);
  border-radius: 3px;
}
.view8b641-burger span {
  display: block;
  height: 2px;
  background: var(--view8b641-cream);
  transition: transform var(--view8b641-move), opacity var(--view8b641-move);
}
.view8b641-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.view8b641-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.view8b641-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Compact route panel */
.view8b641-routes {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.22s ease, opacity 0.18s ease, border-color 0.18s ease;
}
.view8b641-routes.view8b641-open {
  max-height: 520px;
  opacity: 1;
  border-top-color: var(--view8b641-line-soft);
}
.view8b641-routes-inner { padding: 10px 10px 14px; }
.view8b641-routes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.view8b641-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  font-size: 12.5px;
  color: var(--view8b641-cream-soft);
  background: var(--view8b641-wash);
  border: 1px solid var(--view8b641-line-soft);
  border-radius: 3px;
  transition: color var(--view8b641-move), border-color var(--view8b641-move),
    background-color var(--view8b641-move);
}
.view8b641-route::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 1px;
  background: var(--view8b641-cream-faint);
  transition: background-color var(--view8b641-move);
}
.view8b641-route:hover,
.view8b641-route:focus-visible,
.view8b641-route:active {
  color: var(--view8b641-cream);
  border-color: var(--view8b641-line);
  background: rgba(255, 223, 186, 0.08);
}
.view8b641-route:active::before { background: var(--view8b641-amber); }
.view8b641-route-note {
  margin: 9px 2px 0;
  font-size: 10.5px;
  color: var(--view8b641-cream-faint);
  letter-spacing: 0.02em;
}

/* ---------- 4. Hero + banner carousel ---------- */
.view8b641-hero { padding: 2px 0 4px; }

.view8b641-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--view8b641-amber);
  border: 1px solid rgba(255, 193, 121, 0.35);
  border-radius: 2px;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.view8b641-kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--view8b641-amber);
}

.view8b641-h1 {
  font-size: 24px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.view8b641-herosub {
  margin-top: 9px;
  font-size: 13px;
  color: var(--view8b641-cream-soft);
}
.view8b641-herosub strong { color: var(--view8b641-cream); font-weight: 700; }
.view8b641-herosub .view8b641-inline {
  color: var(--view8b641-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.view8b641-carousel {
  position: relative;
  margin-top: 13px;
  border: 1px solid var(--view8b641-line);
  border-radius: var(--view8b641-r-lg);
  overflow: hidden;
  background: var(--view8b641-ink-deep);
}
.view8b641-track {
  display: flex;
  transition: transform 0.3s ease;
  touch-action: pan-y;
}
.view8b641-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
}
.view8b641-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.view8b641-dots {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  padding: 4px 6px;
  background: rgba(20, 20, 20, 0.6);
  border-radius: 999px;
}
.view8b641-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  background: var(--view8b641-cream-faint);
  transition: background-color var(--view8b641-move), transform var(--view8b641-move);
}
.view8b641-dot.view8b641-on {
  background: var(--view8b641-amber);
  transform: scale(1.18);
}

/* ---------- 5. Quick strip (horizontal internal shortcuts) ---------- */
.view8b641-quickstrip {
  display: flex;
  gap: 8px;
  margin: 12px 0 2px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.view8b641-quickstrip::-webkit-scrollbar { display: none; }
.view8b641-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--view8b641-cream-soft);
  border: 1px solid var(--view8b641-line);
  border-radius: 999px;
  background: var(--view8b641-wash);
  transition: color var(--view8b641-move), border-color var(--view8b641-move);
}
.view8b641-chip::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--view8b641-amber);
}
.view8b641-chip:hover, .view8b641-chip:active { color: var(--view8b641-cream); border-color: var(--view8b641-amber); }

/* ---------- 6. Category groups: grouped cover-card sections ---------- */
.view8b641-section {
  margin-top: 16px;
  border: 1px solid var(--view8b641-line);
  border-radius: var(--view8b641-r-lg);
  background: linear-gradient(180deg, var(--view8b641-ink-raise), var(--view8b641-ink-panel) 42px);
  overflow: hidden;
}
.view8b641-grouphed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px 10px;
  border-bottom: 1px solid var(--view8b641-line-soft);
}
.view8b641-grouphed h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.view8b641-grouphed h2::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--view8b641-cream), var(--view8b641-amber));
}
.view8b641-count {
  flex: 0 0 auto;
  font-family: var(--view8b641-num);
  font-size: 11px;
  color: var(--view8b641-amber);
  border: 1px solid rgba(255, 193, 121, 0.35);
  border-radius: 2px;
  padding: 2px 7px;
  white-space: nowrap;
}
.view8b641-groupintro {
  padding: 10px 12px 2px;
  font-size: 12.5px;
  color: var(--view8b641-cream-soft);
}
.view8b641-groupintro a {
  color: var(--view8b641-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Game grid: 4 columns at 320px, 5 columns from 375px up */
.view8b641-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 10px 12px;
}
@media (min-width: 375px) {
  .view8b641-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.view8b641-cell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 5px;
  min-width: 0;
  background: var(--view8b641-wash);
  border: 1px solid var(--view8b641-line-soft);
  border-radius: var(--view8b641-r);
  text-align: center;
  transition: border-color var(--view8b641-move), box-shadow var(--view8b641-move),
    background-color var(--view8b641-move);
}
.view8b641-cell:active {
  border-color: var(--view8b641-amber);
  background: rgba(255, 223, 186, 0.1);
  box-shadow: 0 0 0 3px var(--view8b641-glow);
}
.view8b641-cell-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  background: var(--view8b641-ink-deep);
}
.view8b641-cell-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--view8b641-cream-soft);
  overflow-wrap: break-word;
  word-break: break-word;
}
.view8b641-cell:active .view8b641-cell-name { color: var(--view8b641-cream); }

/* ---------- 7. Guide modules (scenario-branch rhythm) ---------- */
.view8b641-guide { margin-top: 22px; }
.view8b641-h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.view8b641-h2::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 19px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--view8b641-cream), var(--view8b641-amber));
}
.view8b641-lead {
  margin: 9px 0 4px;
  font-size: 13px;
  color: var(--view8b641-cream);
  border-left: 2px solid rgba(255, 193, 121, 0.5);
  padding-left: 10px;
}
.view8b641-bodytext {
  margin-top: 8px;
  font-size: 13px;
  color: var(--view8b641-cream-soft);
}
.view8b641-bodytext a {
  color: var(--view8b641-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.view8b641-inline-button {
  display: inline;
  min-height: 44px;
  padding: 0 2px;
  color: var(--view8b641-amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.view8b641-bodytext strong { color: var(--view8b641-cream); font-weight: 700; }

/* Help pages use the shared vocabulary with a slightly denser reading rhythm. */
.view8b641-help-hero { padding-bottom: 3px; }
.view8b641-help-panel,
.view8b641-review-opening,
.view8b641-verdict-strip,
.view8b641-feature-ledger,
.view8b641-account-route,
.view8b641-use-branches,
.view8b641-decision-board,
.view8b641-help-close,
.view8b641-conditional-notes,
.view8b641-step-route,
.view8b641-practical-board,
.view8b641-mistakes,
.view8b641-entity-map { scroll-margin-top: calc(var(--view8b641-top-h) + 12px); }
.view8b641-help-close { margin-bottom: 6px; }

/* Numbered steps with mono digits */
.view8b641-steps { margin-top: 12px; display: grid; gap: 9px; }
.view8b641-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  background: var(--view8b641-wash);
  border: 1px solid var(--view8b641-line-soft);
  border-radius: var(--view8b641-r);
}
.view8b641-stepnum {
  font-family: var(--view8b641-num);
  font-size: 13px;
  font-weight: 700;
  color: #2b1d0c;
  background: linear-gradient(135deg, var(--view8b641-cream), var(--view8b641-amber));
  border-radius: 3px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view8b641-step h3 { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.view8b641-step p { margin-top: 3px; font-size: 12.5px; color: var(--view8b641-cream-soft); }

/* Scenario branches: compact two-way condition cards */
.view8b641-branches {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.view8b641-branch {
  padding: 10px 11px;
  background: var(--view8b641-ink-panel);
  border: 1px solid var(--view8b641-line-soft);
  border-left: 3px solid var(--view8b641-amber);
  border-radius: var(--view8b641-r);
}
.view8b641-branch-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--view8b641-amber);
  margin-bottom: 4px;
}
.view8b641-branch p { font-size: 12px; line-height: 1.55; color: var(--view8b641-cream-soft); }

/* Trick rows */
.view8b641-tricks { margin-top: 12px; display: grid; gap: 8px; }
.view8b641-trick {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  background: var(--view8b641-wash);
  border: 1px solid var(--view8b641-line-soft);
  border-radius: var(--view8b641-r);
}
.view8b641-trick-ico {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--view8b641-amber);
}
.view8b641-trick-ico svg { width: 16px; height: 16px; }
.view8b641-trick strong { display: block; font-size: 13px; font-weight: 700; }
.view8b641-trick span { font-size: 12px; color: var(--view8b641-cream-soft); }

/* Fact ledger */
.view8b641-facts {
  margin-top: 12px;
  border: 1px solid var(--view8b641-line);
  border-radius: var(--view8b641-r);
  overflow: hidden;
}
.view8b641-fact {
  display: grid;
  grid-template-columns: minmax(96px, 38%) 1fr;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px dashed var(--view8b641-line-soft);
  background: var(--view8b641-ink-panel);
}
.view8b641-fact:last-child { border-bottom: 0; }
.view8b641-fact dt {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--view8b641-cream-faint);
  letter-spacing: 0.02em;
}
.view8b641-fact dd { font-size: 12.5px; color: var(--view8b641-cream); }
.view8b641-fact dd .view8b641-num { color: var(--view8b641-amber); }

/* Key takeaway list */
.view8b641-takes { margin-top: 12px; display: grid; gap: 8px; }
.view8b641-take {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 11px;
  border: 1px solid var(--view8b641-line-soft);
  background: linear-gradient(90deg, rgba(255, 193, 121, 0.08), transparent 55%);
  border-radius: var(--view8b641-r);
  font-size: 12.5px;
  color: var(--view8b641-cream-soft);
}
.view8b641-take::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: var(--view8b641-amber);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.view8b641-take a {
  color: var(--view8b641-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.view8b641-take strong { color: var(--view8b641-cream); font-weight: 700; }

/* CTA band */
.view8b641-ctaband {
  margin-top: 12px;
  padding: 14px 13px;
  border: 1px solid rgba(255, 193, 121, 0.45);
  border-radius: var(--view8b641-r-lg);
  background:
    linear-gradient(135deg, rgba(255, 193, 121, 0.14), rgba(255, 223, 186, 0.04)),
    var(--view8b641-ink-panel);
}
.view8b641-ctaband h3 { font-size: 14.5px; font-weight: 800; }
.view8b641-ctaband p {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--view8b641-cream-soft);
}
.view8b641-ctaband p a { color: var(--view8b641-amber); text-decoration: underline; text-underline-offset: 3px; }
.view8b641-ctarow { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 8px; }
.view8b641-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 3px;
  transition: box-shadow var(--view8b641-move), transform var(--view8b641-move);
}
.view8b641-cta svg { width: 15px; height: 15px; }
.view8b641-cta--solid {
  background: linear-gradient(135deg, var(--view8b641-cream), var(--view8b641-amber));
  color: #2b1d0c;
}
.view8b641-cta--ghost {
  border: 1px solid var(--view8b641-line);
  color: var(--view8b641-cream);
}
.view8b641-cta:active { box-shadow: 0 0 0 4px var(--view8b641-glow); }

/* ---------- 8. Extended footer zone ---------- */
.view8b641-extfoot {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--view8b641-line);
}
.view8b641-extkicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--view8b641-cream-faint);
  margin-bottom: 8px;
}

/* Six horizontal promo shortcuts */
.view8b641-promostrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.view8b641-promostrip::-webkit-scrollbar { display: none; }
.view8b641-promo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--view8b641-cream);
  background: var(--view8b641-wash);
  border: 1px solid var(--view8b641-line);
  border-radius: 3px;
  transition: border-color var(--view8b641-move), box-shadow var(--view8b641-move);
}
.view8b641-promo svg { width: 15px; height: 15px; color: var(--view8b641-amber); }
.view8b641-promo:active { border-color: var(--view8b641-amber); box-shadow: 0 0 0 3px var(--view8b641-glow); }

.view8b641-brandnote {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--view8b641-cream-soft);
  border: 1px solid var(--view8b641-line-soft);
  border-radius: var(--view8b641-r);
  padding: 11px 12px;
  background: var(--view8b641-ink-panel);
}
.view8b641-brandnote strong { color: var(--view8b641-cream); }

/* Page directory */
.view8b641-dirgrid {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.view8b641-dir {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--view8b641-line-soft);
  border-radius: var(--view8b641-r);
  background: var(--view8b641-wash);
  transition: border-color var(--view8b641-move);
}
.view8b641-dir:hover, .view8b641-dir:active { border-color: var(--view8b641-line); }
.view8b641-dir b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--view8b641-cream);
}
.view8b641-dir span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--view8b641-cream-faint);
}

/* Conditional disclaimer */
.view8b641-disclaimer {
  margin-top: 14px;
  padding: 11px 12px;
  border-left: 3px solid var(--view8b641-cream-faint);
  background: rgba(255, 223, 186, 0.03);
  border-radius: 0 var(--view8b641-r) var(--view8b641-r) 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--view8b641-cream-faint);
}

/* ---------- 9. Footer & raised-center bottom nav ---------- */
.view8b641-footer {
  margin-top: 20px;
  padding: 4px 0 2px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--view8b641-cream-faint);
}

.view8b641-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 45;
  background: rgba(21, 21, 21, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--view8b641-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.view8b641-bnav-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  height: var(--view8b641-bnav-h);
}
.view8b641-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: var(--view8b641-cream-faint);
  font-size: 10px;
  font-weight: 600;
  transition: color var(--view8b641-move);
}
.view8b641-bnav-item svg { width: 21px; height: 21px; }
.view8b641-bnav-item:active { color: var(--view8b641-cream); }
.view8b641-bnav-item.view8b641-on { color: var(--view8b641-amber); }
.view8b641-bnav-item.view8b641-on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--view8b641-amber);
}

/* Raised center launch button */
.view8b641-bnav-mid { position: relative; height: 100%; }
.view8b641-bnav-launch {
  position: absolute;
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--view8b641-cream) 10%, var(--view8b641-amber) 90%);
  color: #2b1d0c;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(255, 193, 121, 0.16);
  transition: box-shadow var(--view8b641-move), transform var(--view8b641-move);
}
.view8b641-bnav-launch svg { width: 22px; height: 22px; }
.view8b641-bnav-launch:active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 0 7px var(--view8b641-glow);
}
.view8b641-bnav-midlabel {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--view8b641-cream);
}

/* ---------- 10. Short-distance reveal motion ---------- */
.view8b641-js .view8b641-reveal {
  opacity: 0;
  transform: translateY(10px);
}
.view8b641-js .view8b641-reveal.view8b641-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .view8b641-js .view8b641-reveal { opacity: 1; transform: none; }
}

/* Long Bengali game names inside tight cells must never push the grid */
.view8b641-cell, .view8b641-grid { min-width: 0; }
