/* ==========================================================================
   jaya9bdt.homes - native-a7c772-surface.css
   Mobile-first surface system for the jaya9bdt lobby (bn-BD).
   Palette: #00FF00 / #1A1A1A / #FF5722 / #006400 / #D3D3D3 / #00FF7F
   Design voice: humanist headings + clear body, pill buttons over squared
   cards, image-plus-name-bar game tiles, scenario-branch information rhythm,
   light press motion, softly rounded text CTA groups.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --frame7c772-ink: #1A1A1A;            /* base dark surface */
  --frame7c772-pit: #0C120D;            /* page background under shell */
  --frame7c772-leaf: #006400;           /* deep moss structure */
  --frame7c772-leaf-hi: #0B4D2B;        /* lifted moss panel */
  --frame7c772-neon: #00FF7F;           /* spring green accent */
  --frame7c772-lime: #00FF00;           /* bright signal green */
  --frame7c772-ember: #FF5722;          /* hot / promo accent */
  --frame7c772-mist: #D3D3D3;           /* primary body text */
  --frame7c772-mist-dim: #9FB3A4;       /* secondary text */
  --frame7c772-line: #24352A;           /* hairline borders */
  --frame7c772-font-display: "Baloo Da 2", "Hind Siliguri", "Noto Sans Bengali",
    "Nirmala UI", "Segoe UI", system-ui, sans-serif;
  --frame7c772-font-body: "Hind Siliguri", "Noto Sans Bengali", "Nirmala UI",
    "Segoe UI", system-ui, sans-serif;
  --frame7c772-r-card: 6px;             /* squared cards */
  --frame7c772-r-chip: 10px;
  --frame7c772-r-btn: 999px;            /* pill buttons */
  --frame7c772-top-h: 56px;
  --frame7c772-rail-h: 60px;
  --frame7c772-tap: 44px;
  --frame7c772-move: 180ms cubic-bezier(0.33, 0.1, 0.25, 1);
  --frame7c772-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  --frame7c772-shell-w: 430px;          /* phone canvas width */
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(1200px 420px at 50% -140px, rgba(0, 105, 40, 0.55), transparent 70%),
    var(--frame7c772-pit);
  color: var(--frame7c772-mist);
  font-family: var(--frame7c772-font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--frame7c772-neon);
  text-decoration: none;
}

a:active {
  color: var(--frame7c772-lime);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

::selection {
  background: var(--frame7c772-neon);
  color: var(--frame7c772-ink);
}

/* Phone canvas: centered column on wide screens */
.frame7c772-shell {
  width: 100%;
  max-width: var(--frame7c772-shell-w);
  margin: 0 auto;
  background: var(--frame7c772-ink);
  box-shadow: var(--frame7c772-shadow);
  position: relative;
  min-height: 100vh;
}

.frame7c772-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 90;
  background: var(--frame7c772-lime);
  color: var(--frame7c772-ink);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--frame7c772-r-chip);
  transition: top var(--frame7c772-move);
}

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

/* Main content clears the fixed top bar and bottom rail */
.frame7c772-main {
  display: block;
  padding-top: var(--frame7c772-top-h);
  padding-bottom: calc(var(--frame7c772-rail-h) + 34px);
}

/* --------------------------------------------------------------------------
   3. Top bar - compact brand rail
   -------------------------------------------------------------------------- */
.frame7c772-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame7c772-shell-w);
  height: var(--frame7c772-top-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #10251A 0%, #0C1A12 100%);
  border-bottom: 1px solid var(--frame7c772-line);
}

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

.frame7c772-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--frame7c772-r-chip);
  border: 1px solid rgba(0, 255, 127, 0.55);
  object-fit: cover;
  background: #08120C;
  flex: 0 0 auto;
}

.frame7c772-brand-name {
  font-family: var(--frame7c772-font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame7c772-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Pill action buttons */
.frame7c772-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: var(--frame7c772-r-btn);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform var(--frame7c772-move), background-color var(--frame7c772-move),
    color var(--frame7c772-move), border-color var(--frame7c772-move);
}

.frame7c772-btn:active {
  transform: translateY(1px) scale(0.97);
}

.frame7c772-btn--register {
  background: linear-gradient(135deg, var(--frame7c772-ember), #D84315);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
}

.frame7c772-btn--login {
  background: rgba(0, 255, 127, 0.1);
  color: var(--frame7c772-neon);
  border-color: rgba(0, 255, 127, 0.6);
}

/* Menu trigger - bold symbol, light active marker */
.frame7c772-menubtn {
  width: 38px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frame7c772-r-chip);
  border: 1px solid var(--frame7c772-line);
  background: #101C15;
}

.frame7c772-menubtn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--frame7c772-neon);
  border-radius: 2px;
  box-shadow: 0 -5px 0 var(--frame7c772-neon), 0 5px 0 var(--frame7c772-neon);
  transition: transform var(--frame7c772-move), background var(--frame7c772-move);
}

.frame7c772-menubtn:active span {
  transform: translateY(1px);
  background: var(--frame7c772-lime);
  box-shadow: 0 -5px 0 var(--frame7c772-lime), 0 5px 0 var(--frame7c772-lime);
}

/* --------------------------------------------------------------------------
   4. Side drawer menu
   -------------------------------------------------------------------------- */
.frame7c772-scrim {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 5, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--frame7c772-move), visibility var(--frame7c772-move);
  z-index: 70;
}

.frame7c772-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(84vw, 320px);
  z-index: 80;
  background: linear-gradient(180deg, #0F2418 0%, #0A150F 100%);
  border-right: 1px solid var(--frame7c772-line);
  transform: translateX(-102%);
  transition: transform var(--frame7c772-move);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: calc(var(--frame7c772-rail-h) + 14px);
}

.frame7c772-drawer[data-open="true"] {
  transform: translateX(0);
}

.frame7c772-scrim[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.frame7c772-drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--frame7c772-line);
}

.frame7c772-drawer-head img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0, 255, 127, 0.5);
}

.frame7c772-drawer-title {
  font-family: var(--frame7c772-font-display);
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.05rem;
}

.frame7c772-drawer-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: var(--frame7c772-r-chip);
  border: 1px solid var(--frame7c772-line);
  color: var(--frame7c772-mist);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.frame7c772-drawer-group {
  margin: 14px 0 0;
  padding: 0 14px;
}

.frame7c772-drawer-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame7c772-mist-dim);
  padding: 0 4px 6px;
}

.frame7c772-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.frame7c772-drawer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--frame7c772-tap);
  padding: 10px 12px;
  border-radius: var(--frame7c772-r-chip);
  color: var(--frame7c772-mist);
  background: transparent;
  border: 1px solid transparent;
  transition: background-color var(--frame7c772-move), transform var(--frame7c772-move),
    border-color var(--frame7c772-move);
}

.frame7c772-drawer-item:active {
  transform: translateY(1px);
}

.frame7c772-drawer-item:hover,
.frame7c772-drawer-item:focus-visible {
  background: rgba(0, 255, 127, 0.08);
}

.frame7c772-drawer-item--active {
  background: rgba(0, 255, 127, 0.12);
  border-color: rgba(0, 255, 127, 0.5);
  color: #FFFFFF;
  /* active marker: short green notch on the left */
  box-shadow: inset 3px 0 0 var(--frame7c772-neon);
}

.frame7c772-drawer-item .frame7c772-drawer-ic {
  width: 20px;
  text-align: center;
  color: var(--frame7c772-neon);
  font-weight: 700;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.frame7c772-drawer-cta {
  margin: 18px 14px 0;
  display: grid;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   5. Hero carousel
   -------------------------------------------------------------------------- */
.frame7c772-hero {
  position: relative;
  margin: 10px 10px 0;
  border-radius: var(--frame7c772-r-card);
  overflow: hidden;
  border: 1px solid var(--frame7c772-line);
  background: #0A140E;
}

.frame7c772-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 460ms ease, visibility 460ms ease;
}

.frame7c772-slide--on {
  opacity: 1;
  visibility: visible;
}

.frame7c772-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.frame7c772-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(180deg, transparent, rgba(6, 12, 8, 0.92));
  color: #FFFFFF;
  text-align: left;
  font-family: var(--frame7c772-font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  pointer-events: none;
}

.frame7c772-hero-pad {
  /* keeps hero height while slides are absolutely positioned */
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
}

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

.frame7c772-dot {
  width: 22px;
  height: 8px;
  min-height: 8px;
  border-radius: 4px;
  background: rgba(211, 211, 211, 0.4);
  transition: background-color var(--frame7c772-move), transform var(--frame7c772-move);
}

.frame7c772-dot--on {
  background: var(--frame7c772-neon);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Intro block (H1) + soft CTA group
   -------------------------------------------------------------------------- */
.frame7c772-intro {
  padding: 16px 12px 4px;
}

.frame7c772-h1 {
  font-family: var(--frame7c772-font-display);
  font-size: 1.34rem;
  line-height: 1.42;
  color: #FFFFFF;
  margin: 0 0 8px;
}

.frame7c772-h1 mark {
  background: linear-gradient(180deg, transparent 62%, rgba(0, 255, 127, 0.35) 62%);
  color: var(--frame7c772-lime);
  padding: 0 2px;
}

.frame7c772-lede {
  margin: 0;
  color: var(--frame7c772-mist);
  font-size: 0.92rem;
}

.frame7c772-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.frame7c772-ctachip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 15px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(0, 255, 127, 0.45);
  color: var(--frame7c772-neon);
  background: rgba(0, 100, 0, 0.28);
  transition: transform var(--frame7c772-move), background-color var(--frame7c772-move),
    color var(--frame7c772-move);
}

.frame7c772-ctachip:active {
  transform: translateY(1px) scale(0.97);
}

.frame7c772-ctachip--ember {
  border-color: rgba(255, 87, 34, 0.6);
  color: #FFB59E;
  background: rgba(255, 87, 34, 0.16);
}

/* --------------------------------------------------------------------------
   7. Game lobby - squared category blocks, image + bottom name bar tiles
   -------------------------------------------------------------------------- */
.frame7c772-lobby {
  padding: 18px 10px 4px;
  display: grid;
  gap: 22px;
}

.frame7c772-cat-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 2px 6px;
}

.frame7c772-cat-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: var(--frame7c772-r-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--frame7c772-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--frame7c772-ink);
  background: linear-gradient(140deg, var(--frame7c772-neon), var(--frame7c772-lime));
}

.frame7c772-cat-badge--ember {
  background: linear-gradient(140deg, #FF8A50, var(--frame7c772-ember));
  color: #FFFFFF;
}

.frame7c772-h2 {
  font-family: var(--frame7c772-font-display);
  font-size: 1.08rem;
  line-height: 1.45;
  color: #FFFFFF;
  margin: 0;
}

.frame7c772-cat-note {
  margin: 4px 2px 10px;
  font-size: 0.84rem;
  color: var(--frame7c772-mist-dim);
}

/* Stable 4-column grid on 320px, 5 columns on wider phones */
.frame7c772-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 400px) {
  .frame7c772-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }
}

.frame7c772-card {
  display: block;
  border-radius: var(--frame7c772-r-card);
  overflow: hidden;
  background: #0E1912;
  border: 1px solid var(--frame7c772-line);
  transition: transform var(--frame7c772-move), border-color var(--frame7c772-move);
  text-align: center;
  padding: 0 0 2px;
}

.frame7c772-card:active {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 127, 0.65);
}

/* image area with bottom name bar */
.frame7c772-card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0A130D;
}

.frame7c772-card-bar {
  display: block;
  padding: 4px 3px 5px;
  min-height: 32px;
  background: linear-gradient(180deg, rgba(0, 100, 0, 0.35), rgba(10, 20, 13, 0.95));
  border-top: 1px solid var(--frame7c772-line);
}

.frame7c772-card-name {
  font-size: 0.62rem;
  line-height: 1.3;
  color: var(--frame7c772-mist);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.frame7c772-cat-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 10px 2px 0;
  font-size: 0.8rem;
}

.frame7c772-cat-more span {
  color: var(--frame7c772-mist-dim);
  font-weight: 700;
}

.frame7c772-cat-more a {
  color: var(--frame7c772-neon);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: var(--frame7c772-tap);
  display: inline-flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   8. Reading modules (scenario-branch rhythm)
   -------------------------------------------------------------------------- */
.frame7c772-reading {
  padding: 6px 12px 8px;
  display: grid;
  gap: 26px;
}

.frame7c772-panel {
  border-top: 2px solid rgba(0, 255, 127, 0.35);
  padding-top: 12px;
}

.frame7c772-panel--ember {
  border-top-color: rgba(255, 87, 34, 0.55);
}

.frame7c772-p {
  margin: 8px 0;
  font-size: 0.92rem;
  color: var(--frame7c772-mist);
}

.frame7c772-p strong,
.frame7c772-answer strong {
  color: #FFFFFF;
}

.frame7c772-h3 {
  font-family: var(--frame7c772-font-display);
  font-size: 0.98rem;
  color: var(--frame7c772-lime);
  margin: 16px 0 4px;
}

/* Branch rows: scene label on the left rail, advice on the right */
.frame7c772-branches {
  display: grid;
  gap: 10px;
  margin: 10px 0 4px;
  padding: 0;
  list-style: none;
}

.frame7c772-branch {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  border: 1px solid var(--frame7c772-line);
  border-left: 3px solid var(--frame7c772-leaf-hi);
  border-radius: var(--frame7c772-r-card);
  background: #101C14;
  padding: 10px;
}

.frame7c772-branch-tag {
  font-family: var(--frame7c772-font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--frame7c772-neon);
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.frame7c772-branch-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--frame7c772-ember);
  margin-top: 5px;
  flex: 0 0 auto;
}

.frame7c772-branch-body {
  font-size: 0.85rem;
  color: var(--frame7c772-mist);
}

.frame7c772-branch-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Compact fact rows for quick comparison */
.frame7c772-rows {
  margin: 10px 0 2px;
  border: 1px solid var(--frame7c772-line);
  border-radius: var(--frame7c772-r-card);
  overflow: hidden;
}

.frame7c772-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 9px 10px;
  font-size: 0.85rem;
  background: #0F1A13;
}

.frame7c772-row + .frame7c772-row {
  border-top: 1px solid var(--frame7c772-line);
}

.frame7c772-row dt {
  margin: 0;
  font-weight: 700;
  color: var(--frame7c772-neon);
  font-family: var(--frame7c772-font-display);
  font-size: 0.8rem;
}

.frame7c772-row dd {
  margin: 0;
  color: var(--frame7c772-mist);
}

/* Direct-answer card */
.frame7c772-answer {
  border: 1px solid rgba(255, 87, 34, 0.5);
  border-radius: var(--frame7c772-r-card);
  background: linear-gradient(160deg, rgba(255, 87, 34, 0.12), rgba(0, 100, 0, 0.16));
  padding: 12px;
  margin: 10px 0;
  font-size: 0.9rem;
}

.frame7c772-answer-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFB59E;
  border: 1px solid rgba(255, 87, 34, 0.55);
  border-radius: var(--frame7c772-r-btn);
  padding: 2px 10px;
  margin-bottom: 8px;
}

.frame7c772-note {
  font-size: 0.78rem;
  color: var(--frame7c772-mist-dim);
  border-left: 3px solid var(--frame7c772-line);
  padding: 4px 0 4px 10px;
  margin: 10px 0 0;
}

/* --------------------------------------------------------------------------
   9. Homepage extended footer
   order: promotions > brand > page directory > disclaimer
   -------------------------------------------------------------------------- */
.frame7c772-ext {
  margin: 22px 10px 0;
  border: 1px solid var(--frame7c772-line);
  border-radius: 10px;
  background: #0E1811;
  padding: 14px 12px;
}

.frame7c772-ext-label {
  font-family: var(--frame7c772-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame7c772-mist-dim);
  margin: 0 0 8px;
}

/* horizontal shortcut rail */
.frame7c772-ext-promos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.frame7c772-shortcut {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: var(--frame7c772-tap);
  padding: 8px 14px;
  border-radius: var(--frame7c772-r-chip);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(0, 255, 127, 0.5);
  background: linear-gradient(150deg, rgba(0, 100, 0, 0.5), rgba(0, 255, 127, 0.08));
  color: #FFFFFF;
  white-space: nowrap;
  transition: transform var(--frame7c772-move), background-color var(--frame7c772-move);
}

.frame7c772-shortcut:active {
  transform: translateY(1px) scale(0.97);
}

.frame7c772-shortcut--ember {
  border-color: rgba(255, 87, 34, 0.6);
  background: linear-gradient(150deg, rgba(255, 87, 34, 0.3), rgba(216, 67, 21, 0.1));
}

.frame7c772-shortcut-ic {
  font-size: 0.95rem;
  line-height: 1;
}

.frame7c772-ext-brand {
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: var(--frame7c772-mist);
  line-height: 1.75;
}

/* page directory */
.frame7c772-ext-dir {
  margin-top: 16px;
  border-top: 1px dashed var(--frame7c772-line);
  padding-top: 12px;
}

.frame7c772-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame7c772-dir-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--frame7c772-tap);
  padding: 8px 10px;
  border-radius: var(--frame7c772-r-card);
  background: #101C14;
  border: 1px solid var(--frame7c772-line);
  color: var(--frame7c772-mist);
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform var(--frame7c772-move), border-color var(--frame7c772-move);
}

.frame7c772-dir-link:active {
  transform: translateY(1px);
  border-color: rgba(0, 255, 127, 0.55);
}

.frame7c772-dir-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--frame7c772-neon);
  flex: 0 0 auto;
}

/* responsible-entertainment note */
.frame7c772-disclaimer {
  margin-top: 16px;
  border-top: 1px dashed var(--frame7c772-line);
  padding-top: 12px;
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--frame7c772-mist-dim);
}

/* --------------------------------------------------------------------------
   10. Common footer (copyright only)
   -------------------------------------------------------------------------- */
.frame7c772-footer {
  text-align: center;
  padding: 18px 14px 10px;
  font-size: 0.74rem;
  color: var(--frame7c772-mist-dim);
  border-top: 1px solid var(--frame7c772-line);
  margin-top: 18px;
}

.frame7c772-footer strong {
  color: var(--frame7c772-mist);
}

/* --------------------------------------------------------------------------
   11. Fixed bottom navigation rail
   -------------------------------------------------------------------------- */
.frame7c772-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame7c772-shell-w);
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: calc(var(--frame7c772-rail-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 4px calc(env(safe-area-inset-bottom, 0px) * 0.6);
  background: linear-gradient(180deg, #0D1B12 0%, #08110B 100%);
  border-top: 1px solid var(--frame7c772-line);
}

.frame7c772-rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--frame7c772-rail-h);
  color: var(--frame7c772-mist-dim);
  font-size: 0.62rem;
  font-weight: 700;
  padding-top: 4px;
  transition: color var(--frame7c772-move), transform var(--frame7c772-move);
}

.frame7c772-rail-item:active {
  transform: translateY(1px);
}

.frame7c772-rail-ic {
  width: 22px;
  height: 22px;
  display: block;
}

.frame7c772-rail-ic svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* active state: light lift + neon marker dot */
.frame7c772-rail-item--active {
  color: var(--frame7c772-lime);
  transform: translateY(-3px);
}

.frame7c772-rail-item--active::after {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--frame7c772-neon);
  margin-top: 1px;
}

/* center promo button lifts higher */
.frame7c772-rail-item--cta {
  color: #FFFFFF;
}

.frame7c772-rail-item--cta .frame7c772-rail-ic {
  width: 34px;
  height: 34px;
  margin-top: -14px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--frame7c772-ember), #C63C10);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(255, 87, 34, 0.4);
}

.frame7c772-rail-item--cta .frame7c772-rail-ic svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   12. Wide-screen dressing + fine tuning
   -------------------------------------------------------------------------- */
@media (min-width: 430px) {
  body {
    background:
      radial-gradient(900px 380px at 50% -160px, rgba(0, 105, 40, 0.4), transparent 70%),
      var(--frame7c772-pit);
  }

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

@media (max-width: 359px) {
  .frame7c772-brand-name {
    font-size: 1.05rem;
  }

  .frame7c772-btn {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Compatible accessibility and Part1 reading refinements. */
html { scroll-padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
.frame7c772-shell { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.frame7c772-topbar { height: calc(60px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 8px 0; gap: 4px; }
.frame7c772-main { padding-top: calc(60px + env(safe-area-inset-top, 0px)); padding-bottom: 20px; }
.frame7c772-btn, .frame7c772-menubtn, .frame7c772-drawer-close, .frame7c772-ctachip { min-height: 44px; }
.frame7c772-menubtn, .frame7c772-drawer-close { width: 44px; flex-shrink: 0; }
.frame7c772-topacts { gap: 4px; }
.frame7c772-brand { gap: 5px; }
.frame7c772-brand-name { font-size: 1.05rem; letter-spacing: 0; }
.frame7c772-btn--register { background: var(--frame7c772-ember); color: #151515; }
.frame7c772-drawer { visibility: hidden; padding-top: env(safe-area-inset-top, 0px); padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.frame7c772-drawer[data-open="true"] { visibility: visible; }
@media (min-width: 431px) { .frame7c772-drawer { left: calc(50% - 215px); } }
.frame7c772-hero { padding-bottom: 52px; touch-action: pan-y; }
.frame7c772-slide { height: calc(100% - 52px); }
.frame7c772-slide img { object-fit: contain; }
.frame7c772-slide-cap { font-size: .76rem; padding: 16px 8px 4px; }
.frame7c772-dots { position: static; justify-content: flex-end; gap: 0; height: 44px; margin-top: -44px; padding-right: 4px; transform: translateY(48px); }
.frame7c772-dot { width: 44px; height: 44px; min-height: 44px; background: transparent; position: relative; }
.frame7c772-dot::after { content: ''; position: absolute; width: 22px; height: 6px; top: 19px; left: 11px; border-radius: 4px; background: #83968a; }
.frame7c772-dot--on::after { background: var(--frame7c772-neon); }
.frame7c772-hero-pause { position: absolute; bottom: 4px; left: 8px; min-height: 44px; padding: 5px 10px; color: var(--frame7c772-neon); border: 1px solid var(--frame7c772-line); border-radius: 10px; font-size: .8rem; }
.frame7c772-reading a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.frame7c772-reading p, .frame7c772-row dd, .frame7c772-branch-body { overflow-wrap: anywhere; }
.frame7c772-h2 { margin-bottom: 8px; }
.frame7c772-main > .frame7c772-reading { margin-top: 20px; }
.frame7c772-checks { padding: 0 0 0 24px; margin: 12px 0; }
.frame7c772-checks li { padding: 10px 4px; border-bottom: 1px solid var(--frame7c772-line); }
.frame7c772-memo { border-left: 3px solid var(--frame7c772-ember); background: #102017; padding: 12px; margin: 12px 0; }
.frame7c772-crumb { padding: 10px 12px 0; font-size: .8rem; }
.frame7c772-crumb a { min-height: 44px; display: inline-flex; align-items: center; }
.frame7c772-card-name { font-size: .68rem; line-height: 1.45; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
.frame7c772-card-bar { min-height: 42px; }
.frame7c772-rail { align-items: center; padding-bottom: env(safe-area-inset-bottom, 0px); }
.frame7c772-footer p { margin: 0; }
.frame7c772-skip { min-height: 44px; }
.frame7c772-dots { pointer-events: none; }
.frame7c772-dot { pointer-events: auto; }
.frame7c772-hero-pause { z-index: 6; }

@media (max-width: 359px) { .frame7c772-brand-logo { width: 28px; height: 28px; } .frame7c772-btn { padding: 5px 7px; font-size: .74rem; } .frame7c772-brand-name { font-size: .95rem; } }

