/* ==================================================================
   44jl.homes — mobile-first stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Class prefix: cbb7f4-
   Palette anchors: #2C3E50 (base) / #8B008B (accent) / #CC99FF (lite)
                    #DEE2E6 (text)
   Direction: high-contrast display type + readable body, mixed radii,
   compact square game tiles, short-list info rhythm, menu slide-in +
   light card lift, full-width primary CTA.
   ================================================================== */

/* ---------- design tokens ---------- */
:root {
  --cbb7f4-bg: #2C3E50;
  --cbb7f4-bg-deep: #223140;
  --cbb7f4-bg-ink: #16202b;
  --cbb7f4-panel: #2f4257;
  --cbb7f4-panel-soft: rgba(47, 66, 87, 0.62);
  --cbb7f4-magenta: #8B008B;
  --cbb7f4-magenta-hi: #A312A3;
  --cbb7f4-lilac: #CC99FF;
  --cbb7f4-lilac-soft: rgba(204, 153, 255, 0.32);
  --cbb7f4-mist: #DEE2E6;
  --cbb7f4-mist-dim: rgba(222, 226, 230, 0.72);
  --cbb7f4-mist-faint: rgba(222, 226, 230, 0.55);
  --cbb7f4-line: rgba(222, 226, 230, 0.16);
  --cbb7f4-font-display: "Oswald", "Arial Narrow", "Franklin Gothic Medium", "Segoe UI", sans-serif;
  --cbb7f4-font-body: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cbb7f4-radius-xs: 6px;
  --cbb7f4-radius-sm: 10px;
  --cbb7f4-radius-lg: 18px;
  --cbb7f4-header-h: 60px;
  --cbb7f4-bnav-h: 62px;
  --cbb7f4-canvas: 430px;
  --cbb7f4-gutter: 12px;
  --cbb7f4-ease: cubic-bezier(0.32, 0.72, 0.28, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--cbb7f4-bg-ink);
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background:
    radial-gradient(120% 44% at 50% 0%, rgba(139, 0, 139, 0.28), transparent 62%),
    var(--cbb7f4-bg);
  color: var(--cbb7f4-mist);
  font-family: var(--cbb7f4-font-body);
  font-size: 14px;
  line-height: 1.58;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cbb7f4-lilac); text-decoration: none; }
a:hover { text-decoration: underline; }

button {
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(204, 153, 255, 0.18);
}

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

::selection { background: var(--cbb7f4-magenta); color: #fff; }

.cbb7f4-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.cbb7f4-skip {
  position: absolute;
  left: 10px; top: -52px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--cbb7f4-lilac);
  color: #1b1226;
  font-weight: 700;
  font-size: 13px;
  transition: top 0.2s var(--cbb7f4-ease);
}
.cbb7f4-skip:focus { top: 0; }

/* wide-screen framing: keep the phone canvas */
@media (min-width: 480px) {
  body {
    box-shadow:
      0 0 0 1px rgba(204, 153, 255, 0.14),
      0 26px 70px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- main column ---------- */
.cbb7f4-main {
  padding: calc(var(--cbb7f4-header-h) + 12px) var(--cbb7f4-gutter) 6px;
}

.cbb7f4-section { margin-top: 24px; }

/* ---------- fixed top bar: asymmetric brand header ---------- */
.cbb7f4-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  background: linear-gradient(180deg, #243445 0%, var(--cbb7f4-bg) 100%);
  border-bottom: 1px solid var(--cbb7f4-line);
}

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

/* brand block: heavier on the left, magenta wedge bleeding right */
.cbb7f4-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  min-width: 0;
  padding: 5px 12px 5px 7px;
  border-left: 3px solid var(--cbb7f4-magenta-hi);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(135deg, rgba(139, 0, 139, 0.38), rgba(139, 0, 139, 0.04) 78%);
}

.cbb7f4-brand-logo {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--cbb7f4-lilac-soft);
  background: var(--cbb7f4-bg-deep);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.cbb7f4-brand-name {
  font-family: var(--cbb7f4-font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--cbb7f4-mist);
  white-space: nowrap;
}
.cbb7f4-brand-name em {
  font-style: normal;
  color: var(--cbb7f4-lilac);
}

/* header actions live outside the brand zone */
.cbb7f4-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cbb7f4-btn-reg,
.cbb7f4-btn-log {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 9px;
  font-family: var(--cbb7f4-font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.16s var(--cbb7f4-ease), box-shadow 0.16s, filter 0.16s;
}

.cbb7f4-btn-reg {
  background: linear-gradient(135deg, var(--cbb7f4-magenta-hi), var(--cbb7f4-magenta) 70%);
  color: #fff;
  border: 1px solid rgba(204, 153, 255, 0.4);
  box-shadow: 0 3px 12px rgba(139, 0, 139, 0.45);
}
.cbb7f4-btn-reg:active { transform: translateY(1px); filter: brightness(1.12); }

.cbb7f4-btn-log {
  color: var(--cbb7f4-lilac);
  border: 1px solid var(--cbb7f4-lilac);
  background: rgba(204, 153, 255, 0.07);
}
.cbb7f4-btn-log:active { transform: translateY(1px); background: rgba(204, 153, 255, 0.16); }

.cbb7f4-burger {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cbb7f4-line);
  border-radius: 9px;
  background: rgba(34, 49, 64, 0.6);
}
.cbb7f4-burger-box {
  position: relative;
  width: 18px; height: 12px;
}
.cbb7f4-burger-l {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--cbb7f4-mist);
  transition: transform 0.24s var(--cbb7f4-ease), opacity 0.18s, width 0.2s;
}
.cbb7f4-burger-l:nth-child(1) { top: 0; }
.cbb7f4-burger-l:nth-child(2) { top: 5px; width: 70%; }
.cbb7f4-burger-l:nth-child(3) { top: 10px; }

body.cbb7f4-menu-on .cbb7f4-burger-l:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.cbb7f4-menu-on .cbb7f4-burger-l:nth-child(2) { opacity: 0; }
body.cbb7f4-menu-on .cbb7f4-burger-l:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 100%; }

/* ---------- full-height slide-in menu layer ---------- */
.cbb7f4-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  visibility: hidden;
  pointer-events: none;
}
.cbb7f4-menu.is-open { visibility: visible; pointer-events: auto; }

.cbb7f4-menu-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 22, 0.66);
  opacity: 0;
  transition: opacity 0.26s ease;
}
.cbb7f4-menu.is-open .cbb7f4-menu-scrim { opacity: 1; }

.cbb7f4-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86%, 336px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(200deg, #26394c, var(--cbb7f4-bg-deep) 45%);
  border-left: 1px solid var(--cbb7f4-lilac-soft);
  transform: translateX(103%);
  transition: transform 0.32s var(--cbb7f4-ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cbb7f4-menu.is-open .cbb7f4-menu-panel { transform: none; }

.cbb7f4-menu-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--cbb7f4-line);
}
.cbb7f4-menu-head img {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--cbb7f4-lilac-soft);
  object-fit: cover;
}
.cbb7f4-menu-head-name {
  font-family: var(--cbb7f4-font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin-right: auto;
}
.cbb7f4-menu-close {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cbb7f4-line);
  border-radius: 10px;
  color: var(--cbb7f4-mist);
  font-size: 19px;
  line-height: 1;
}

.cbb7f4-menu-body { padding: 12px 14px 18px; }

.cbb7f4-menu-group { margin-bottom: 16px; }

.cbb7f4-menu-group-title {
  margin: 0 0 7px;
  font-family: var(--cbb7f4-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cbb7f4-lilac);
}

.cbb7f4-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 10px;
  margin-bottom: 4px;
  border-radius: var(--cbb7f4-radius-sm);
  border: 1px solid transparent;
  color: var(--cbb7f4-mist);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.cbb7f4-menu-link:hover { text-decoration: none; background: rgba(204, 153, 255, 0.08); }
.cbb7f4-menu-link:active { transform: translateX(2px); }

.cbb7f4-menu-link svg {
  width: 18px; height: 18px;
  flex: 0 0 18px;
  stroke: var(--cbb7f4-lilac);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* active route: filled icon + left indicator bar */
.cbb7f4-menu-link.is-here {
  background: rgba(139, 0, 139, 0.22);
  border-color: var(--cbb7f4-lilac-soft);
  box-shadow: inset 3px 0 0 var(--cbb7f4-lilac);
  color: #fff;
}
.cbb7f4-menu-link.is-here svg { fill: rgba(204, 153, 255, 0.3); }

.cbb7f4-menu-foot {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--cbb7f4-line);
  display: grid;
  gap: 8px;
}

/* ---------- hero ---------- */
.cbb7f4-hero { padding-top: 4px; }

.cbb7f4-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--cbb7f4-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cbb7f4-lilac);
}
.cbb7f4-kicker::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cbb7f4-magenta-hi), var(--cbb7f4-lilac));
}

.cbb7f4-h1 {
  margin: 9px 0 10px;
  font-family: var(--cbb7f4-font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0.01em;
  color: #fff;
  text-wrap: balance;
}
.cbb7f4-h1 em {
  font-style: normal;
  color: var(--cbb7f4-lilac);
}

.cbb7f4-lede {
  margin: 0;
  font-size: 13.5px;
  color: rgba(222, 226, 230, 0.88);
}

.cbb7f4-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 13px 0 0;
}
.cbb7f4-fact {
  padding: 8px 5px 7px;
  text-align: center;
  background: var(--cbb7f4-panel-soft);
  border: 1px solid var(--cbb7f4-line);
  border-radius: var(--cbb7f4-radius-xs);
}
.cbb7f4-fact b {
  display: block;
  font-family: var(--cbb7f4-font-display);
  font-size: 17px;
  line-height: 1.1;
  color: var(--cbb7f4-lilac);
}
.cbb7f4-fact span {
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cbb7f4-mist-dim);
}

/* ---------- full-width CTA ---------- */
.cbb7f4-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  margin: 14px 0 0;
  border-radius: var(--cbb7f4-radius-sm);
  background: linear-gradient(135deg, var(--cbb7f4-magenta-hi), #6E016E 85%);
  border: 1px solid rgba(204, 153, 255, 0.42);
  box-shadow: 0 7px 20px rgba(139, 0, 139, 0.38);
  color: #fff;
  font-family: var(--cbb7f4-font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.16s var(--cbb7f4-ease), filter 0.16s;
}
.cbb7f4-cta svg {
  width: 17px; height: 17px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cbb7f4-cta:active { transform: translateY(1px); filter: brightness(1.14); }

.cbb7f4-cta--ghost {
  background: rgba(204, 153, 255, 0.08);
  border: 1px solid var(--cbb7f4-lilac);
  color: var(--cbb7f4-lilac);
  box-shadow: none;
}
.cbb7f4-cta--ghost svg { stroke: var(--cbb7f4-lilac); }
.cbb7f4-cta--ghost:active { background: rgba(204, 153, 255, 0.18); }

/* inline promo text link inside paragraphs */
.cbb7f4-anchor {
  color: var(--cbb7f4-lilac);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(204, 153, 255, 0.55);
  text-underline-offset: 3px;
}

/* ---------- promo carousel (edge bleed) ---------- */
.cbb7f4-carousel {
  position: relative;
  margin: 16px calc(var(--cbb7f4-gutter) * -1) 0;
}
.cbb7f4-ctrack {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cbb7f4-ctrack::-webkit-scrollbar { display: none; }

.cbb7f4-cslide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  display: block;
  width: 100%;
}
.cbb7f4-cslide img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  background: var(--cbb7f4-bg-deep);
}
.cbb7f4-cslide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 14px 11px;
  background: linear-gradient(180deg, rgba(15, 22, 30, 0), rgba(15, 22, 30, 0.94) 72%);
}
.cbb7f4-cslide-t {
  display: block;
  font-family: var(--cbb7f4-font-display);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
.cbb7f4-cslide-d {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(222, 226, 230, 0.85);
}
.cbb7f4-cdots {
  position: absolute;
  right: 12px; bottom: 10px;
  display: flex;
  gap: 5px;
}
.cbb7f4-cdot {
  width: 7px; height: 7px;
  padding: 0;
  border-radius: 999px;
  background: rgba(222, 226, 230, 0.38);
  border: 1px solid rgba(222, 226, 230, 0.55);
  transition: background 0.2s, width 0.22s var(--cbb7f4-ease);
}
.cbb7f4-cdot.is-on {
  width: 17px;
  background: var(--cbb7f4-lilac);
  border-color: var(--cbb7f4-lilac);
}

/* ---------- section headers: varied per category ---------- */
.cbb7f4-sh { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.cbb7f4-sh-title {
  margin: 0;
  font-family: var(--cbb7f4-font-display);
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
}
.cbb7f4-sh-note {
  margin: 0 0 11px;
  font-size: 11.8px;
  line-height: 1.5;
  color: var(--cbb7f4-mist-dim);
}
.cbb7f4-chip {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--cbb7f4-font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cbb7f4-lilac);
  border: 1px solid var(--cbb7f4-lilac-soft);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(204, 153, 255, 0.08);
}

/* variant: hot rail */
.cbb7f4-sh--hot::before {
  content: "";
  width: 4px; height: 20px;
  flex: 0 0 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cbb7f4-lilac), var(--cbb7f4-magenta-hi));
  box-shadow: 0 0 10px rgba(204, 153, 255, 0.55);
}

/* variant: underline tab */
.cbb7f4-sh--tab .cbb7f4-sh-title {
  padding-bottom: 4px;
  border-bottom: 3px solid var(--cbb7f4-magenta-hi);
}

/* variant: numbered rail */
.cbb7f4-sh--rail .cbb7f4-sh-idx {
  font-family: var(--cbb7f4-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--cbb7f4-lilac);
  border: 1px dashed var(--cbb7f4-lilac-soft);
  border-radius: 8px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.cbb7f4-sh--rail::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--cbb7f4-line) 0 6px, transparent 6px 12px);
}

/* variant: live pulse */
.cbb7f4-sh--live::before {
  content: "";
  width: 9px; height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--cbb7f4-lilac);
  box-shadow: 0 0 0 0 rgba(204, 153, 255, 0.55);
  animation: cbb7f4-pulse 2s infinite;
}
@keyframes cbb7f4-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(204, 153, 255, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(204, 153, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 153, 255, 0); }
}

/* ---------- compact square game catalog ---------- */
.cbb7f4-ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 392px) {
  .cbb7f4-ggrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.cbb7f4-gcell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 5px 5px 6px;
  text-align: center;
  background: var(--cbb7f4-panel-soft);
  border: 1px solid var(--cbb7f4-line);
  border-radius: var(--cbb7f4-radius-sm);
  transition: transform 0.18s var(--cbb7f4-ease), border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.cbb7f4-gcell:hover {
  text-decoration: none;
  border-color: var(--cbb7f4-lilac-soft);
  background: rgba(204, 153, 255, 0.07);
}
.cbb7f4-gcell:active {
  transform: translateY(-2px);
  border-color: var(--cbb7f4-lilac);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
}
.cbb7f4-gcell-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--cbb7f4-radius-xs);
  background: var(--cbb7f4-bg-deep);
}
.cbb7f4-gcell-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.28;
  color: var(--cbb7f4-mist);
}

/* ---------- editorial panels (post-game modules) ---------- */
.cbb7f4-panel {
  margin-top: 12px;
  padding: 14px 13px 15px;
  background: var(--cbb7f4-panel-soft);
  border: 1px solid var(--cbb7f4-line);
  border-radius: var(--cbb7f4-radius-lg);
}
.cbb7f4-panel + .cbb7f4-panel { margin-top: 10px; }

.cbb7f4-panel-h {
  margin: 0 0 9px;
  font-family: var(--cbb7f4-font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.cbb7f4-panel-h em { font-style: normal; color: var(--cbb7f4-lilac); }

.cbb7f4-p {
  margin: 0 0 10px;
  font-size: 12.8px;
  line-height: 1.62;
  color: rgba(222, 226, 230, 0.86);
}
.cbb7f4-p:last-child { margin-bottom: 0; }
.cbb7f4-p b { color: #fff; }

/* security checklist rows */
.cbb7f4-safe {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--cbb7f4-line);
}
.cbb7f4-safe:last-of-type { border-bottom: 0; }
.cbb7f4-safe-ic {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  stroke: var(--cbb7f4-lilac);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cbb7f4-safe-txt b {
  display: block;
  font-family: var(--cbb7f4-font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.cbb7f4-safe-txt p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--cbb7f4-mist-dim);
}

/* goal-mapper rows */
.cbb7f4-goal {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 9px 11px;
  margin-bottom: 7px;
  background: rgba(34, 49, 64, 0.55);
  border: 1px solid var(--cbb7f4-line);
  border-left: 3px solid var(--cbb7f4-lilac-soft);
  border-radius: var(--cbb7f4-radius-sm);
}
.cbb7f4-goal:last-of-type { margin-bottom: 0; }
.cbb7f4-goal-q { flex: 1; min-width: 0; }
.cbb7f4-goal-q b {
  display: block;
  font-family: var(--cbb7f4-font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}
.cbb7f4-goal-q span {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--cbb7f4-mist-dim);
}
.cbb7f4-goal-go {
  flex-shrink: 0;
  max-width: 96px;
  text-align: center;
  font-family: var(--cbb7f4-font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cbb7f4-lilac);
  border: 1px dashed rgba(204, 153, 255, 0.5);
  border-radius: 999px;
  padding: 6px 10px;
}

/* RTP callout */
.cbb7f4-rtp {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin: 4px 0 12px;
  padding: 13px 12px;
  background: linear-gradient(135deg, rgba(139, 0, 139, 0.3), rgba(44, 62, 80, 0.55));
  border: 1px solid rgba(204, 153, 255, 0.28);
  border-radius: var(--cbb7f4-radius-lg);
}
.cbb7f4-rtp-big {
  font-family: var(--cbb7f4-font-display);
  font-size: 33px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--cbb7f4-lilac);
  text-shadow: 0 0 22px rgba(204, 153, 255, 0.4);
}
.cbb7f4-rtp-big small {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cbb7f4-mist-dim);
}
.cbb7f4-rtp-txt p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(222, 226, 230, 0.85);
}
.cbb7f4-rtp-txt p:last-child { margin-bottom: 0; }
.cbb7f4-rtp-txt b { color: #fff; }

/* category highlight cards */
.cbb7f4-catcard {
  position: relative;
  padding: 11px 12px;
  margin-bottom: 8px;
  background: rgba(34, 49, 64, 0.55);
  border: 1px solid var(--cbb7f4-line);
  border-radius: var(--cbb7f4-radius-sm);
}
.cbb7f4-catcard:last-child { margin-bottom: 0; }
.cbb7f4-catcard:nth-child(odd) { border-left: 3px solid var(--cbb7f4-lilac); }
.cbb7f4-catcard:nth-child(even) { border-right: 3px solid var(--cbb7f4-magenta-hi); }
.cbb7f4-catcard h3 {
  margin: 0 0 4px;
  font-family: var(--cbb7f4-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}
.cbb7f4-catcard p {
  margin: 0;
  font-size: 12.2px;
  line-height: 1.58;
  color: var(--cbb7f4-mist-dim);
}

/* quick-line strips (dense recap lines inside editorial panels) */
.cbb7f4-ql {
  margin: 13px 0 0;
  padding: 10px 11px 9px;
  list-style: none;
  background: rgba(34, 49, 64, 0.5);
  border: 1px dashed var(--cbb7f4-lilac-soft);
  border-radius: var(--cbb7f4-radius-sm);
}
.cbb7f4-ql li {
  position: relative;
  padding: 3px 0 3px 16px;
  font-size: 12px;
  line-height: 1.52;
  color: var(--cbb7f4-mist-dim);
}
.cbb7f4-ql li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--cbb7f4-lilac);
}
.cbb7f4-ql li b { color: #fff; }

/* numbered takeaways */
.cbb7f4-take {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 11px;
}
.cbb7f4-take:last-child { margin-bottom: 0; }
.cbb7f4-take-n {
  flex: 0 0 27px;
  width: 27px; height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(139, 0, 139, 0.32);
  border: 1px solid rgba(204, 153, 255, 0.36);
  font-family: var(--cbb7f4-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--cbb7f4-lilac);
}
.cbb7f4-take p {
  margin: 2px 0 0;
  font-size: 12.6px;
  line-height: 1.58;
  color: rgba(222, 226, 230, 0.86);
}
.cbb7f4-take b { color: #fff; }

/* ---------- extended footer (homepage only) ---------- */
.cbb7f4-ext {
  margin-top: 28px;
  padding: 15px 14px 16px;
  background: linear-gradient(200deg, #26394c, var(--cbb7f4-bg-deep));
  border: 1px solid var(--cbb7f4-line);
  border-radius: var(--cbb7f4-radius-lg);
}
.cbb7f4-ext-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.cbb7f4-ext-brand img {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 11px;
  border: 1px solid var(--cbb7f4-lilac-soft);
  object-fit: cover;
}
.cbb7f4-ext-brand h2 {
  margin: 0 0 5px;
  font-family: var(--cbb7f4-font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}
.cbb7f4-ext-brand p {
  margin: 0;
  font-size: 12px;
  line-height: 1.58;
  color: var(--cbb7f4-mist-dim);
}

.cbb7f4-ext-h {
  margin: 17px 0 9px;
  font-family: var(--cbb7f4-font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cbb7f4-lilac);
}
.cbb7f4-ext-h::after {
  content: "";
  display: block;
  width: 34px; height: 2px;
  margin-top: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cbb7f4-magenta-hi), var(--cbb7f4-lilac));
}

/* two-column page directory */
.cbb7f4-ext-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
}
.cbb7f4-ext-dir a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--cbb7f4-mist);
  background: rgba(44, 62, 80, 0.62);
  border: 1px solid var(--cbb7f4-line);
  border-radius: var(--cbb7f4-radius-xs);
  transition: border-color 0.16s, background 0.16s;
}
.cbb7f4-ext-dir a::after {
  content: "\203A";
  margin-left: auto;
  color: var(--cbb7f4-lilac);
  font-weight: 700;
}
.cbb7f4-ext-dir a:hover {
  text-decoration: none;
  border-color: var(--cbb7f4-lilac-soft);
  background: rgba(204, 153, 255, 0.08);
}

/* four promo actions */
.cbb7f4-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.cbb7f4-ext-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 8px 6px;
  border-radius: var(--cbb7f4-radius-sm);
  font-family: var(--cbb7f4-font-display);
  text-align: center;
  transition: transform 0.16s var(--cbb7f4-ease), filter 0.16s;
}
.cbb7f4-ext-cta b {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cbb7f4-ext-cta span {
  font-family: var(--cbb7f4-font-body);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  opacity: 0.82;
}
.cbb7f4-ext-cta--main {
  background: linear-gradient(135deg, var(--cbb7f4-magenta-hi), #6E016E 88%);
  border: 1px solid rgba(204, 153, 255, 0.42);
  color: #fff;
}
.cbb7f4-ext-cta--line {
  background: rgba(204, 153, 255, 0.07);
  border: 1px solid var(--cbb7f4-lilac);
  color: var(--cbb7f4-lilac);
}
.cbb7f4-ext-cta:active { transform: translateY(1px); filter: brightness(1.15); }

.cbb7f4-ext-note {
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1px solid var(--cbb7f4-line);
  font-size: 10.6px;
  line-height: 1.55;
  color: var(--cbb7f4-mist-faint);
}

/* ---------- common footer ---------- */
.cbb7f4-foot {
  margin: 20px 0 0;
  padding: 0 4px calc(var(--cbb7f4-bnav-h) + 26px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--cbb7f4-mist-faint);
}
.cbb7f4-foot b {
  font-family: var(--cbb7f4-font-display);
  color: var(--cbb7f4-mist-dim);
}

/* ---------- outlined bottom function bar ---------- */
.cbb7f4-bnav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 95;
  background: rgba(24, 35, 48, 0.97);
  border-top: 1px solid var(--cbb7f4-lilac-soft);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cbb7f4-bnav-row { position: relative; display: flex; }

/* sliding active indicator */
.cbb7f4-bnav-ind {
  position: absolute;
  top: 0; left: 0;
  width: 20%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--cbb7f4-lilac), var(--cbb7f4-magenta-hi));
  box-shadow: 0 2px 9px rgba(204, 153, 255, 0.6);
  transition: left 0.3s var(--cbb7f4-ease), width 0.3s var(--cbb7f4-ease);
}

.cbb7f4-bnav-item {
  flex: 1 1 20%;
  min-width: 0;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 2px 7px;
  color: var(--cbb7f4-mist-dim);
  border-right: 1px solid var(--cbb7f4-line);
  transition: color 0.18s, background 0.18s;
}
.cbb7f4-bnav-item:last-child { border-right: 0; }
.cbb7f4-bnav-item:hover { text-decoration: none; color: var(--cbb7f4-mist); background: rgba(204, 153, 255, 0.05); }
.cbb7f4-bnav-item:active { background: rgba(204, 153, 255, 0.12); }

.cbb7f4-bnav-ico {
  width: 23px; height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--cbb7f4-ease);
}
.cbb7f4-bnav-item:active .cbb7f4-bnav-ico { transform: translateY(-2px) scale(1.06); }

.cbb7f4-bnav-txt {
  font-family: var(--cbb7f4-font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* active role: lilac tint + filled icon silhouette */
.cbb7f4-bnav-item.is-on { color: var(--cbb7f4-lilac); }
.cbb7f4-bnav-item.is-on .cbb7f4-bnav-ico { fill: rgba(204, 153, 255, 0.3); }
.cbb7f4-bnav-item.is-on .cbb7f4-bnav-txt { font-weight: 700; }

/* ---------- scroll reveal (JS-gated so no-JS keeps content visible) ---------- */
.cbb7f4-js .cbb7f4-rise {
  opacity: 0;
  transform: translateY(12px);
}
.cbb7f4-js .cbb7f4-rise.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s var(--cbb7f4-ease);
}
.cbb7f4-js .cbb7f4-ggrid .cbb7f4-rise:nth-child(5n + 2) { transition-delay: 0.05s; }
.cbb7f4-js .cbb7f4-ggrid .cbb7f4-rise:nth-child(5n + 3) { transition-delay: 0.1s; }
.cbb7f4-js .cbb7f4-ggrid .cbb7f4-rise:nth-child(5n + 4) { transition-delay: 0.15s; }
.cbb7f4-js .cbb7f4-ggrid .cbb7f4-rise:nth-child(5n) { transition-delay: 0.2s; }

/* ---------- motion & contrast safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cbb7f4-js .cbb7f4-rise { opacity: 1; transform: none; }
}

@media (min-width: 375px) {
  .cbb7f4-h1 { font-size: 29px; }
  .cbb7f4-cslide img { height: 186px; }
  .cbb7f4-gcell-name { font-size: 11px; }
}

@media (min-width: 430px) {
  .cbb7f4-h1 { font-size: 31px; }
  .cbb7f4-p,
  .cbb7f4-catcard p { font-size: 13px; }
}

/* ---------- help pages: login rail (distinct from lobby panels) ---------- */
.cbb7f4-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cbb7f4-mist-faint);
}
.cbb7f4-crumb a { color: var(--cbb7f4-lilac); }
.cbb7f4-crumb span[aria-hidden="true"] { color: var(--cbb7f4-lilac-soft); }

.cbb7f4-req {
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.cbb7f4-req-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid var(--cbb7f4-line);
}
.cbb7f4-req-row:last-child { border-bottom: 0; }
.cbb7f4-req-k {
  font-family: var(--cbb7f4-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cbb7f4-lilac);
  padding-top: 2px;
}
.cbb7f4-req-v {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.55;
  color: rgba(222, 226, 230, 0.88);
}

.cbb7f4-devscroller {
  display: flex;
  gap: 8px;
  margin: 10px 0 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cbb7f4-devscroller::-webkit-scrollbar { display: none; }
.cbb7f4-dev {
  flex: 0 0 148px;
  scroll-snap-align: start;
  min-height: 92px;
  padding: 10px 10px 11px;
  background: rgba(34, 49, 64, 0.72);
  border: 1px solid var(--cbb7f4-line);
  border-radius: var(--cbb7f4-radius-sm);
}
.cbb7f4-dev b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--cbb7f4-font-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.cbb7f4-dev span {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--cbb7f4-mist-dim);
}

.cbb7f4-rail { margin: 8px 0 0; padding: 0; list-style: none; }
.cbb7f4-rail-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 12px;
}
.cbb7f4-rail-step:last-child { padding-bottom: 0; }
.cbb7f4-rail-n {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--cbb7f4-lilac);
  color: var(--cbb7f4-lilac);
  font-family: var(--cbb7f4-font-display);
  font-size: 13px;
  font-weight: 700;
  background: rgba(139, 0, 139, 0.25);
}
.cbb7f4-rail-step p {
  margin: 2px 0 0;
  font-size: 12.6px;
  line-height: 1.58;
  color: rgba(222, 226, 230, 0.88);
}
.cbb7f4-rail-step b { color: #fff; }

.cbb7f4-ifbar {
  margin: 0 0 8px;
  padding: 10px 11px;
  border-radius: 4px 14px 14px 4px;
  background: rgba(34, 49, 64, 0.55);
  border-left: 3px solid var(--cbb7f4-magenta-hi);
}
.cbb7f4-ifbar:last-child { margin-bottom: 0; }
.cbb7f4-ifbar strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--cbb7f4-font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--cbb7f4-lilac);
}
.cbb7f4-ifbar p {
  margin: 0;
  font-size: 12.4px;
  line-height: 1.55;
  color: rgba(222, 226, 230, 0.86);
}

.cbb7f4-ticks { margin: 8px 0 0; padding: 0; list-style: none; }
.cbb7f4-ticks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--cbb7f4-line);
  font-size: 12.6px;
  line-height: 1.5;
  color: rgba(222, 226, 230, 0.88);
}
.cbb7f4-ticks li:last-child { border-bottom: 0; }
.cbb7f4-ticks li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 4px;
  border: 1.5px solid var(--cbb7f4-lilac);
  box-shadow: inset 0 0 0 3px rgba(44, 62, 80, 0.9), inset 0 0 0 8px var(--cbb7f4-lilac);
}

/* ---------- help pages: faq ledger (not the login rail) ---------- */
.cbb7f4-qledger { margin: 8px 0 0; }
.cbb7f4-qitem {
  padding: 11px 0 12px;
  border-top: 1px solid var(--cbb7f4-line);
}
.cbb7f4-qitem:first-child { border-top: 0; padding-top: 0; }
.cbb7f4-qitem h3 {
  margin: 0 0 5px;
  font-family: var(--cbb7f4-font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.cbb7f4-qitem p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.58;
  color: rgba(222, 226, 230, 0.88);
}

.cbb7f4-sym {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.cbb7f4-sym-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  background: rgba(22, 32, 43, 0.45);
  border-radius: var(--cbb7f4-radius-xs);
  border: 1px solid var(--cbb7f4-line);
}
.cbb7f4-sym-tag {
  font-family: var(--cbb7f4-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cbb7f4-magenta-hi);
  background: rgba(204, 153, 255, 0.12);
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
  align-self: start;
}
.cbb7f4-sym-row p {
  margin: 0;
  font-size: 12.3px;
  line-height: 1.52;
  color: rgba(222, 226, 230, 0.88);
}

.cbb7f4-payol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: cbb7f4pay; }
.cbb7f4-payol li {
  position: relative;
  margin: 0 0 8px;
  padding: 8px 10px 8px 36px;
  background: linear-gradient(90deg, rgba(139, 0, 139, 0.22), rgba(44, 62, 80, 0.2));
  border-radius: var(--cbb7f4-radius-sm);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(222, 226, 230, 0.88);
  counter-increment: cbb7f4pay;
}
.cbb7f4-payol li::before {
  content: counter(cbb7f4pay);
  position: absolute;
  left: 8px;
  top: 8px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--cbb7f4-magenta);
  color: #fff;
  font-family: var(--cbb7f4-font-display);
  font-size: 12px;
  font-weight: 700;
}
.cbb7f4-payol li:last-child { margin-bottom: 0; }

.cbb7f4-exduo {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.cbb7f4-exduo article {
  padding: 10px 11px;
  border-radius: var(--cbb7f4-radius-lg) var(--cbb7f4-radius-xs);
  border: 1px solid var(--cbb7f4-lilac-soft);
  background: rgba(204, 153, 255, 0.06);
}
.cbb7f4-exduo article:nth-child(even) {
  border-radius: var(--cbb7f4-radius-xs) var(--cbb7f4-radius-lg);
  background: rgba(139, 0, 139, 0.16);
}
.cbb7f4-exduo h3 {
  margin: 0 0 4px;
  font-family: var(--cbb7f4-font-display);
  font-size: 14px;
  color: #fff;
}
.cbb7f4-exduo p {
  margin: 0;
  font-size: 12.4px;
  line-height: 1.55;
  color: rgba(222, 226, 230, 0.86);
}

.cbb7f4-check2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.cbb7f4-check2 li {
  min-height: 52px;
  padding: 8px;
  font-size: 11.6px;
  line-height: 1.4;
  color: rgba(222, 226, 230, 0.9);
  background: rgba(34, 49, 64, 0.55);
  border: 1px solid var(--cbb7f4-line);
  border-radius: var(--cbb7f4-radius-xs);
}
.cbb7f4-check2 li b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--cbb7f4-font-display);
  font-size: 12px;
  color: var(--cbb7f4-lilac);
}

.cbb7f4-band {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--cbb7f4-radius-lg);
  background:
    linear-gradient(160deg, rgba(139, 0, 139, 0.35), rgba(44, 62, 80, 0.2) 55%),
    var(--cbb7f4-bg-deep);
  border: 1px solid var(--cbb7f4-line);
}
.cbb7f4-band ol {
  margin: 0;
  padding-left: 18px;
}
.cbb7f4-band li {
  margin: 0 0 7px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(222, 226, 230, 0.9);
}
.cbb7f4-band li:last-child { margin-bottom: 0; }

.cbb7f4-help-gap { height: 8px; }
