/* ============================================================
   999999.homes - mobile-first canvas stylesheet
   Prefix contract: every class uses "layer18764-",
   every CSS custom property uses "--layer18764-".
   Palette: #1B263B deep navy base / #5D5D5D muted gray /
   #BDC3C7 light text / #FFA500 amber accent / #95A5A6 steel.
   Design keynote: high-contrast display type + readable body,
   low-radius zoned panels, horizontal icon-name bars for the
   featured rail, question-driven rhythm, restrained fades.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --layer18764-base: #1B263B;
  --layer18764-base-deep: #141C2E;
  --layer18764-base-outer: #0E1524;
  --layer18764-panel: #22304B;
  --layer18764-panel-soft: #1E2A42;
  --layer18764-line: #2C3C5C;
  --layer18764-ink: #E9EDF0;
  --layer18764-mist: #BDC3C7;
  --layer18764-steel: #95A5A6;
  --layer18764-muted: #5D5D5D;
  --layer18764-amber: #FFA500;
  --layer18764-amber-deep: #D98E00;
  --layer18764-amber-soft: rgba(255, 165, 0, 0.14);
  --layer18764-display: "Anek Bangla", "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
  --layer18764-body: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
  --layer18764-radius: 6px;
  --layer18764-radius-lg: 10px;
  --layer18764-dock-h: 58px;
  --layer18764-header-h: 60px;
}

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

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

body {
  background: var(--layer18764-base-outer);
  color: var(--layer18764-mist);
  font-family: var(--layer18764-body);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

::selection { background: var(--layer18764-amber); color: var(--layer18764-base-deep); }

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

/* ---------- skip link ---------- */
.layer18764-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--layer18764-amber);
  color: var(--layer18764-base-deep);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 var(--layer18764-radius) 0;
}
.layer18764-skip:focus { left: 0; color: var(--layer18764-base-deep); }

/* ---------- phone canvas ---------- */
.layer18764-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--layer18764-base);
  min-height: 430px;
  overflow-x: clip;
}

@media (min-width: 431px) {
  .layer18764-canvas {
    border-left: 1px solid var(--layer18764-line);
    border-right: 1px solid var(--layer18764-line);
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- header: logo-led action bar ---------- */
.layer18764-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(17, 24, 40, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--layer18764-line);
  transition: box-shadow 0.25s ease;
}

.layer18764-header-scrolled { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }

.layer18764-header-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: var(--layer18764-header-h);
  padding: 8px 10px;
}

/* brand zone: logo image only, no extra taglines */
.layer18764-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  color: var(--layer18764-ink);
}

.layer18764-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--layer18764-radius);
  border: 1px solid var(--layer18764-line);
  object-fit: cover;
}

.layer18764-brand-name {
  font-family: var(--layer18764-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--layer18764-ink);
  line-height: 1;
  transition: color 0.25s ease;
}
.layer18764-brand:hover .layer18764-brand-name { color: var(--layer18764-amber); }

.layer18764-header-spacer { flex: 1 1 auto; }

/* compact icon-text action buttons */
.layer18764-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 11px;
  border-radius: var(--layer18764-radius);
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.layer18764-btn svg { width: 14px; height: 14px; flex: none; }
.layer18764-btn:active { transform: scale(0.97); }

.layer18764-btn-register {
  background: var(--layer18764-amber);
  color: #16202F;
}
.layer18764-btn-register:hover { background: var(--layer18764-amber-deep); color: #16202F; }

.layer18764-btn-login {
  background: transparent;
  color: var(--layer18764-ink);
  border: 1px solid var(--layer18764-line);
}
.layer18764-btn-login:hover { border-color: var(--layer18764-amber); color: var(--layer18764-amber); }

.layer18764-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--layer18764-radius);
  border: 1px solid var(--layer18764-line);
  color: var(--layer18764-mist);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.layer18764-menu-btn:hover { border-color: var(--layer18764-amber); color: var(--layer18764-amber); }
.layer18764-menu-btn svg { width: 18px; height: 18px; }
.layer18764-menu-btn-x { display: none; }
.layer18764-menu-open-btn .layer18764-menu-btn-bars { display: none; }
.layer18764-menu-open-btn .layer18764-menu-btn-x { display: block; }

/* ---------- layered dropdown menu ---------- */
.layer18764-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #182338;
  border-bottom: 1px solid var(--layer18764-line);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  padding: 6px 12px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.layer18764-menu-open { opacity: 1; visibility: visible; transform: translateY(0); }

.layer18764-menu-group { margin-top: 12px; }

.layer18764-menu-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--layer18764-steel);
  padding: 0 6px 6px;
  border-bottom: 1px dashed var(--layer18764-line);
}

.layer18764-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 6px;
  color: var(--layer18764-mist);
  border-bottom: 1px solid rgba(44, 60, 92, 0.55);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.25s ease;
}
.layer18764-menu-link:hover { color: var(--layer18764-amber); }
.layer18764-menu-link::after {
  content: "\203A";
  color: var(--layer18764-steel);
  font-weight: 700;
  transition: color 0.25s ease;
}
.layer18764-menu-link:hover::after { color: var(--layer18764-amber); }

.layer18764-menu-link-active {
  color: var(--layer18764-amber);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--layer18764-amber);
  padding-left: 10px;
}

/* ---------- main ---------- */
.layer18764-main {
  padding-top: calc(var(--layer18764-header-h) + 8px);
  /* clearance for the fixed bottom dock */
  padding-bottom: calc(var(--layer18764-dock-h) + 26px);
}

.layer18764-sec {
  padding: 18px 12px 6px;
}

.layer18764-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-left: 3px solid var(--layer18764-amber);
  padding-left: 10px;
  margin-bottom: 8px;
}

.layer18764-h2 {
  font-family: var(--layer18764-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--layer18764-ink);
}

.layer18764-h3 {
  font-family: var(--layer18764-display);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--layer18764-ink);
}

.layer18764-lede {
  font-size: 12.5px;
  color: var(--layer18764-mist);
  margin-bottom: 12px;
}

.layer18764-lede a, .layer18764-text a {
  color: var(--layer18764-amber);
  border-bottom: 1px dotted rgba(255, 165, 0, 0.5);
}
.layer18764-lede a:hover, .layer18764-text a:hover { border-bottom-style: solid; }

/* ---------- hero ---------- */
.layer18764-hero {
  padding: 14px 12px 4px;
}

.layer18764-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--layer18764-amber);
  border: 1px solid rgba(255, 165, 0, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.layer18764-hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--layer18764-amber);
}

.layer18764-h1 {
  font-family: var(--layer18764-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--layer18764-ink);
  margin-bottom: 8px;
}

.layer18764-hero-lead {
  font-size: 13px;
  color: var(--layer18764-mist);
  margin-bottom: 12px;
}

.layer18764-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.layer18764-chip {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--layer18764-mist);
  background: var(--layer18764-panel-soft);
  border: 1px solid var(--layer18764-line);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

/* ---------- carousel ---------- */
.layer18764-carousel {
  position: relative;
  border-radius: var(--layer18764-radius-lg);
  overflow: hidden;
  border: 1px solid var(--layer18764-line);
  background: var(--layer18764-panel-soft);
}

.layer18764-track {
  display: flex;
  transition: transform 0.45s ease;
}

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

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

.layer18764-slide-tag {
  position: absolute;
  left: 8px;
  top: 8px;
  max-width: 78%;
  background: rgba(20, 28, 46, 0.88);
  border-left: 3px solid var(--layer18764-amber);
  color: var(--layer18764-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  padding: 5px 9px;
  border-radius: 4px;
}

.layer18764-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.layer18764-dot {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  background: rgba(189, 195, 199, 0.4);
  transition: background 0.3s ease;
}
.layer18764-dot:hover { background: rgba(189, 195, 199, 0.75); }
.layer18764-dot-active { background: var(--layer18764-amber); }

/* ---------- facts strip ---------- */
.layer18764-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px 12px 6px;
}

.layer18764-fact {
  background: var(--layer18764-panel-soft);
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  padding: 10px 8px;
  text-align: center;
  transition: border-color 0.25s ease;
}
.layer18764-fact:hover { border-color: var(--layer18764-amber); }

.layer18764-fact-num {
  display: block;
  font-family: var(--layer18764-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--layer18764-amber);
  line-height: 1.2;
}

.layer18764-fact-label {
  display: block;
  font-size: 10px;
  color: var(--layer18764-steel);
  margin-top: 2px;
  line-height: 1.45;
}

/* ---------- featured rail: horizontal icon-name bars ---------- */
.layer18764-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 12px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.layer18764-rail::-webkit-scrollbar { display: none; }

.layer18764-bar {
  flex: none;
  width: 156px;
  display: flex;
  align-items: center;
  gap: 8px;
  scroll-snap-align: start;
  background: var(--layer18764-panel-soft);
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  padding: 7px;
  min-height: 60px;
  color: var(--layer18764-mist);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.layer18764-bar:hover {
  border-color: var(--layer18764-amber);
  background: var(--layer18764-panel);
  color: var(--layer18764-ink);
}
.layer18764-bar:active { transform: scale(0.98); }

.layer18764-bar img {
  width: 44px;
  height: 44px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid var(--layer18764-line);
  flex: none;
}

.layer18764-bar-body { min-width: 0; }

.layer18764-bar-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 700;
  color: inherit;
  line-height: 1.35;
}

.layer18764-bar-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--layer18764-amber);
  margin-top: 3px;
}

/* ---------- game grid ---------- */
.layer18764-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 392px) {
  .layer18764-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.layer18764-cell {
  display: flex;
  flex-direction: column;
  background: var(--layer18764-panel-soft);
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  padding: 5px 5px 6px;
  color: var(--layer18764-mist);
  transition: border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.layer18764-cell:hover {
  border-color: var(--layer18764-amber);
  color: var(--layer18764-ink);
}
.layer18764-cell:active { transform: scale(0.96); }

.layer18764-cell img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--layer18764-panel);
}

.layer18764-cell-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  margin-top: 5px;
  min-height: 29px;
  color: inherit;
}

.layer18764-grid-note {
  font-size: 10.5px;
  color: var(--layer18764-steel);
  margin-top: 8px;
}

/* ---------- content modules ---------- */
.layer18764-panel {
  background: var(--layer18764-panel-soft);
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  padding: 12px;
  margin-top: 10px;
}

.layer18764-text { font-size: 12.5px; color: var(--layer18764-mist); }
.layer18764-text + .layer18764-text { margin-top: 8px; }

/* definition block */
.layer18764-define {
  border-left: 3px solid var(--layer18764-amber);
  background: var(--layer18764-amber-soft);
  border-radius: 0 var(--layer18764-radius) var(--layer18764-radius) 0;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--layer18764-ink);
  margin-bottom: 10px;
}

/* comparison rows */
.layer18764-compare {
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  overflow: hidden;
  margin-top: 10px;
}

.layer18764-compare-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  border-bottom: 1px solid var(--layer18764-line);
}
.layer18764-compare-row:last-child { border-bottom: 0; }

.layer18764-compare-key {
  background: var(--layer18764-panel);
  color: var(--layer18764-amber);
  font-weight: 700;
  font-size: 11.5px;
  padding: 9px 8px;
  line-height: 1.45;
  border-right: 1px solid var(--layer18764-line);
}

.layer18764-compare-val {
  padding: 9px 10px;
  font-size: 11.5px;
  color: var(--layer18764-mist);
  line-height: 1.6;
}

/* step flow */
.layer18764-step {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--layer18764-line);
}
.layer18764-step:last-child { border-bottom: 0; padding-bottom: 2px; }

.layer18764-step-num {
  flex: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--layer18764-radius);
  background: var(--layer18764-amber);
  color: #16202F;
  font-family: var(--layer18764-display);
  font-weight: 800;
  font-size: 14px;
}

.layer18764-step-q {
  font-weight: 700;
  color: var(--layer18764-ink);
  font-size: 12.5px;
  margin-bottom: 2px;
}

.layer18764-step-a { font-size: 12px; color: var(--layer18764-mist); }

/* pros / limits duo */
.layer18764-duo { display: grid; gap: 8px; margin-top: 10px; }

.layer18764-duo-col {
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  padding: 10px 12px;
  background: var(--layer18764-panel-soft);
}
.layer18764-duo-good { border-top: 3px solid var(--layer18764-amber); }
.layer18764-duo-bad { border-top: 3px solid var(--layer18764-steel); }

.layer18764-duo-title {
  font-family: var(--layer18764-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--layer18764-ink);
  margin-bottom: 6px;
}

.layer18764-duo-col li {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--layer18764-mist);
  margin-bottom: 4px;
}
.layer18764-duo-col li:last-child { margin-bottom: 0; }

.layer18764-duo-good li::before {
  content: "+";
  position: absolute;
  left: 2px;
  color: var(--layer18764-amber);
  font-weight: 800;
}
.layer18764-duo-bad li::before {
  content: "\2212";
  position: absolute;
  left: 2px;
  color: var(--layer18764-steel);
  font-weight: 800;
}

/* scenario cards */
.layer18764-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.layer18764-scene {
  background: var(--layer18764-panel-soft);
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  padding: 10px;
  transition: border-color 0.25s ease;
}
.layer18764-scene:hover { border-color: var(--layer18764-amber); }

.layer18764-scene-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--layer18764-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--layer18764-amber);
  margin-bottom: 4px;
}
.layer18764-scene-title svg { width: 14px; height: 14px; flex: none; }

.layer18764-scene p { font-size: 11.5px; line-height: 1.6; color: var(--layer18764-mist); }

/* faq accordion */
.layer18764-faq { display: grid; gap: 8px; margin-top: 10px; }

.layer18764-faq-item {
  background: var(--layer18764-panel-soft);
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  overflow: hidden;
}

.layer18764-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--layer18764-ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}
.layer18764-faq-item summary::-webkit-details-marker { display: none; }
.layer18764-faq-item summary:hover { color: var(--layer18764-amber); }

.layer18764-faq-item summary::after {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--layer18764-line);
  border-radius: 50%;
  color: var(--layer18764-amber);
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.layer18764-faq-item[open] summary::after {
  content: "\2212";
  background: var(--layer18764-amber);
  color: #16202F;
  transform: rotate(180deg);
}

.layer18764-faq-body {
  padding: 0 12px 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--layer18764-mist);
}

/* ---------- extended footer ---------- */
.layer18764-ext {
  margin: 20px 12px 8px;
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius-lg);
  background: var(--layer18764-base-deep);
  padding: 14px 12px;
}

.layer18764-ext-brand { font-size: 12px; color: var(--layer18764-mist); margin-bottom: 12px; }
.layer18764-ext-brand p + p { margin-top: 6px; }

.layer18764-ext-title {
  font-family: var(--layer18764-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--layer18764-steel);
  margin: 14px 0 8px;
}

/* compact promo action groups */
.layer18764-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.layer18764-ext-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 6px;
  border-radius: var(--layer18764-radius);
  background: var(--layer18764-panel);
  border: 1px solid var(--layer18764-line);
  color: var(--layer18764-ink);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.layer18764-ext-promo svg { width: 13px; height: 13px; flex: none; color: var(--layer18764-amber); }
.layer18764-ext-promo:hover { border-color: var(--layer18764-amber); background: var(--layer18764-panel-soft); }
.layer18764-ext-promo:active { transform: scale(0.97); }

.layer18764-ext-promo-lead {
  grid-column: 1 / -1;
  background: var(--layer18764-amber);
  border-color: var(--layer18764-amber);
  color: #16202F;
}
.layer18764-ext-promo-lead svg { color: #16202F; }
.layer18764-ext-promo-lead:hover { background: var(--layer18764-amber-deep); }

/* page directory */
.layer18764-ext-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.layer18764-ext-dir-title {
  grid-column: 1 / -1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--layer18764-steel);
  border-bottom: 1px dashed var(--layer18764-line);
  padding-bottom: 4px;
  margin-bottom: 2px;
}

.layer18764-ext-dir a {
  display: block;
  font-size: 11.5px;
  color: var(--layer18764-mist);
  padding: 4px 0;
  border-bottom: 1px dotted rgba(149, 165, 166, 0.3);
  transition: color 0.25s ease;
}
.layer18764-ext-dir a:hover { color: var(--layer18764-amber); }

/* responsible entertainment note */
.layer18764-ext-note {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--layer18764-line);
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--layer18764-steel);
}

/* ---------- common footer ---------- */
.layer18764-footer {
  text-align: center;
  padding: 10px 12px 6px;
}

.layer18764-footer-copy {
  font-size: 10.5px;
  color: var(--layer18764-steel);
  letter-spacing: 0.02em;
}

/* ---------- mobile bottom dock: compact icon rack ---------- */
.layer18764-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--layer18764-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(16, 23, 39, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--layer18764-line);
}

.layer18764-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--layer18764-steel);
  transition: color 0.25s ease;
}

/* active state: top indicator line */
.layer18764-dock-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--layer18764-amber);
  transition: width 0.25s ease;
}

.layer18764-dock-item:hover { color: var(--layer18764-mist); }

.layer18764-dock-item-active { color: var(--layer18764-amber); }
.layer18764-dock-item-active::before { width: 68%; }

.layer18764-dock-icon { width: 21px; height: 21px; flex: none; }

.layer18764-dock-label {
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- back to top ---------- */
.layer18764-top-btn {
  position: fixed;
  bottom: calc(var(--layer18764-dock-h) + 18px);
  left: min(calc(50% + 160px), calc(100% - 56px));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--layer18764-panel);
  border: 1px solid var(--layer18764-line);
  color: var(--layer18764-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, border-color 0.25s ease;
}
.layer18764-top-btn svg { width: 18px; height: 18px; }
.layer18764-top-btn:hover { border-color: var(--layer18764-amber); }

.layer18764-top-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- restrained reveal feedback ---------- */
.layer18764-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.layer18764-reveal.layer18764-in { opacity: 1; transform: none; }

/* ---------- wide-phone refinements ---------- */
@media (min-width: 375px) {
  .layer18764-h1 { font-size: 26px; }
  .layer18764-h2 { font-size: 17.5px; }
  .layer18764-hero-lead { font-size: 13.5px; }
}

@media (min-width: 430px) {
  .layer18764-hero { padding-top: 18px; }
  .layer18764-sec { padding: 22px 14px 8px; }
  .layer18764-bar { width: 168px; }
  .layer18764-scene p { font-size: 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .layer18764-reveal { opacity: 1; transform: none; }
}

/* ---------- help-page additions ---------- */
.layer18764-help-hero {
  margin: 12px;
  padding: 14px 12px;
  border: 1px solid var(--layer18764-line);
  border-top: 3px solid var(--layer18764-amber);
  background: linear-gradient(145deg, var(--layer18764-panel), var(--layer18764-base-deep));
  border-radius: var(--layer18764-radius-lg);
}

.layer18764-help-kicker {
  color: var(--layer18764-amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.layer18764-help-hero p { font-size: 12.5px; color: var(--layer18764-mist); }

.layer18764-promo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.layer18764-promo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 7px;
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  background: var(--layer18764-panel);
  color: var(--layer18764-ink);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.layer18764-promo-link:hover { border-color: var(--layer18764-amber); color: var(--layer18764-amber); }
.layer18764-promo-link:active { transform: scale(0.97); }
.layer18764-promo-link-primary { grid-column: 1 / -1; background: var(--layer18764-amber); color: #16202F; border-color: var(--layer18764-amber); }
.layer18764-promo-link-primary:hover { color: #16202F; background: var(--layer18764-amber-deep); }

.layer18764-check-list { display: grid; gap: 8px; margin-top: 10px; }
.layer18764-check-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px dashed var(--layer18764-line);
}
.layer18764-check-row:last-child { border-bottom: 0; }
.layer18764-check-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--layer18764-amber);
  color: #16202F;
  font-weight: 800;
}
.layer18764-check-row strong { display: block; color: var(--layer18764-ink); font-size: 12.5px; margin-bottom: 2px; }
.layer18764-check-row span { display: block; color: var(--layer18764-mist); font-size: 12px; line-height: 1.65; }

.layer18764-risk-table { display: grid; gap: 7px; margin-top: 10px; }
.layer18764-risk-line {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  border: 1px solid var(--layer18764-line);
  border-radius: var(--layer18764-radius);
  overflow: hidden;
}
.layer18764-risk-label { padding: 9px 7px; background: var(--layer18764-panel); color: var(--layer18764-amber); font-size: 11px; font-weight: 700; }
.layer18764-risk-copy { padding: 9px 10px; color: var(--layer18764-mist); font-size: 11.5px; line-height: 1.6; }

.layer18764-help-banner { margin: 10px 12px 0; border: 1px solid var(--layer18764-line); border-radius: var(--layer18764-radius-lg); overflow: hidden; background: var(--layer18764-panel-soft); }
.layer18764-help-banner img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.layer18764-help-banner p { padding: 8px 10px; color: var(--layer18764-mist); font-size: 11.5px; }

.layer18764-answer { padding: 10px 12px; border-left: 3px solid var(--layer18764-amber); background: var(--layer18764-amber-soft); color: var(--layer18764-ink); font-size: 12px; line-height: 1.7; }
.layer18764-fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.layer18764-fact-list li { padding: 9px; border: 1px solid var(--layer18764-line); border-radius: var(--layer18764-radius); color: var(--layer18764-mist); font-size: 11.5px; line-height: 1.6; background: var(--layer18764-panel-soft); }
.layer18764-fact-list b { display: block; color: var(--layer18764-amber); font-size: 12px; margin-bottom: 2px; }

@media (max-width: 350px) {
  .layer18764-risk-line { grid-template-columns: 66px minmax(0, 1fr); }
  .layer18764-promo-strip { gap: 6px; }
  .layer18764-promo-link { font-size: 10.5px; padding-left: 4px; padding-right: 4px; }
}
