/* ==========================================================================
   jl991.homes — viewport stylesheet
   File: css/dynamic-3ce4fa-viewport.css
   Scope: mobile-first 320-430px phone canvas, centered on wide screens.
   Palette: #1B263B deep navy base, #800080 purple, #DA70D6 orchid,
            #F08080 coral highlight, #CC99FF lavender text accent,
            square high-contrast gold CTA buttons.
   All component classes use the framece4fa- prefix.
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --framece4fa-navy: #1b263b;
  --framece4fa-navy-deep: #141d30;
  --framece4fa-ink: #0e1524;
  --framece4fa-purple: #800080;
  --framece4fa-orchid: #da70d6;
  --framece4fa-coral: #f08080;
  --framece4fa-lav: #cc99ff;
  --framece4fa-gold: #f2c14e;
  --framece4fa-gold-deep: #9c7414;
  --framece4fa-text: #f4effb;
  --framece4fa-text-dim: #c5bedd;
  --framece4fa-card: #25304c;
  --framece4fa-card-2: #2b3757;
  --framece4fa-line: #3c4869;
  --framece4fa-radius: 8px;
  --framece4fa-radius-lg: 14px;
  --framece4fa-tap: 44px;
  --framece4fa-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --framece4fa-ease: cubic-bezier(0.33, 0.1, 0.25, 1);
}

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

body.framece4fa-page {
  margin: 0;
  padding: 0;
  font-family: var(--framece4fa-font);
  font-weight: 400;
  line-height: 1.55;
  color: var(--framece4fa-text);
  background: var(--framece4fa-navy-deep);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

.framece4fa-page ::selection {
  background: var(--framece4fa-purple);
  color: #ffffff;
}

.framece4fa-page a {
  color: var(--framece4fa-lav);
  text-decoration: none;
}

.framece4fa-page a:hover,
.framece4fa-page a:focus-visible {
  text-decoration: underline;
}

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

.framece4fa-page button {
  font-family: inherit;
}

.framece4fa-page :focus-visible {
  outline: 2px solid var(--framece4fa-gold);
  outline-offset: 2px;
  border-radius: 3px;
}

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

/* Wide screens keep the centered phone canvas, never a desktop redesign. */
@media (min-width: 431px) {
  body.framece4fa-page {
    background:
      radial-gradient(120% 60% at 50% 0%, #2a1a3e 0%, rgba(42, 26, 62, 0) 55%),
      var(--framece4fa-ink);
  }

  .framece4fa-shell {
    box-shadow: 0 0 0 1px rgba(204, 153, 255, 0.08),
      0 24px 60px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- screen-reader helper ---------- */
.framece4fa-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Top bar — edge-aligned functional header
   Row 1: brand (real logo image + site name only) | burger
   Row 2: Login (ghost) + Register (square gold)
   ========================================================================== */
.framece4fa-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 29, 48, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--framece4fa-line);
  padding: 8px 12px 10px;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
}

.framece4fa-topbar__row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
}

.framece4fa-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--framece4fa-text);
  min-height: var(--framece4fa-tap);
}

.framece4fa-brand__img {
  width: 34px;
  height: 34px;
  border-radius: var(--framece4fa-radius);
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(218, 112, 214, 0.35);
  flex: none;
}

.framece4fa-brand__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.framece4fa-brand__name em {
  font-style: normal;
  color: var(--framece4fa-orchid);
}

/* Burger: borderless symbol, taps open the sectioned menu drawer. */
.framece4fa-burger {
  width: var(--framece4fa-tap);
  height: var(--framece4fa-tap);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s var(--framece4fa-ease);
}

.framece4fa-burger:hover {
  background: rgba(204, 153, 255, 0.12);
}

.framece4fa-burger__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--framece4fa-text);
  transition: transform 0.18s var(--framece4fa-ease);
}

/* ---------- shared button skins ---------- */
.framece4fa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--framece4fa-tap);
  padding: 10px 14px;
  border-radius: 2px; /* square high-contrast CTA shape */
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s var(--framece4fa-ease),
    filter 0.15s var(--framece4fa-ease), background 0.15s var(--framece4fa-ease);
}

.framece4fa-btn:active {
  transform: translateY(1px) scale(0.985);
}

.framece4fa-btn--gold {
  background: linear-gradient(180deg, #f6d069 0%, var(--framece4fa-gold) 55%, #dfa92f 100%);
  color: #2a1c00;
  box-shadow: 0 3px 0 var(--framece4fa-gold-deep);
}

.framece4fa-btn--gold:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.framece4fa-btn--ghost {
  background: transparent;
  color: var(--framece4fa-text);
  border-color: var(--framece4fa-lav);
}

.framece4fa-btn--ghost:hover {
  background: rgba(204, 153, 255, 0.12);
  text-decoration: none;
}

.framece4fa-topbar__row2 {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  margin-top: 9px;
}

/* ==========================================================================
   Sectioned menu drawer + scrim
   ========================================================================== */
.framece4fa-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 25, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--framece4fa-ease);
  z-index: 60;
}

.framece4fa-scrim--on {
  opacity: 1;
  pointer-events: auto;
}

.framece4fa-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(86vw, 318px);
  z-index: 70;
  background: var(--framece4fa-navy-deep);
  border-left: 1px solid var(--framece4fa-line);
  transform: translateX(102%);
  transition: transform 0.22s var(--framece4fa-ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 14px 14px calc(20px + env(safe-area-inset-bottom, 0px));
}

/* Keep the dock-aligned drawer inside the centered phone canvas on wide screens. */
@media (min-width: 431px) {
  .framece4fa-drawer {
    right: calc(50% - 215px);
  }
}

.framece4fa-drawer--on {
  transform: translateX(0);
}

.framece4fa-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 12px;
  border-bottom: 1px solid var(--framece4fa-line);
}

.framece4fa-drawer__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--framece4fa-lav);
}

.framece4fa-drawer__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 153, 255, 0.1);
  border: 0;
  border-radius: 10px;
  color: var(--framece4fa-text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s var(--framece4fa-ease);
}

.framece4fa-drawer__close:hover {
  background: rgba(240, 128, 128, 0.22);
}

.framece4fa-drawer__group {
  margin-top: 16px;
}

.framece4fa-drawer__label {
  margin: 0 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--framece4fa-coral);
}

.framece4fa-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.framece4fa-drawer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--framece4fa-radius);
  background: var(--framece4fa-card);
  color: var(--framece4fa-text);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s var(--framece4fa-ease),
    border-color 0.15s var(--framece4fa-ease);
}

.framece4fa-drawer__link:hover {
  background: var(--framece4fa-card-2);
  text-decoration: none;
  border-color: rgba(218, 112, 214, 0.4);
}

.framece4fa-drawer__link--now {
  background: linear-gradient(90deg, rgba(128, 0, 128, 0.55), rgba(218, 112, 214, 0.28));
  border-color: rgba(218, 112, 214, 0.5);
  font-weight: 800;
}

.framece4fa-drawer__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--framece4fa-line);
  display: grid;
  gap: 8px;
}

/* ==========================================================================
   Hero carousel — three promo slides, swipe + dots
   ========================================================================== */
.framece4fa-hero {
  position: relative;
  margin: 12px 12px 0;
  border-radius: var(--framece4fa-radius-lg);
  overflow: hidden;
  background: var(--framece4fa-card);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.framece4fa-slides {
  position: relative;
  height: 178px;
}

.framece4fa-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--framece4fa-ink);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.24s var(--framece4fa-ease),
    transform 0.24s var(--framece4fa-ease);
  pointer-events: none;
  overflow: hidden;
}

.framece4fa-slide--on {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.framece4fa-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framece4fa-slide__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 21, 36, 0.05) 22%,
    rgba(14, 21, 36, 0.62) 62%,
    rgba(14, 21, 36, 0.92) 100%
  );
}

.framece4fa-slide__body {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: grid;
  gap: 6px;
}

.framece4fa-slide__kicker {
  justify-self: start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2a1c00;
  background: var(--framece4fa-gold);
  padding: 3px 8px;
  border-radius: 2px;
}

.framece4fa-slide__cap {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.framece4fa-slide__cap span {
  color: var(--framece4fa-lav);
}

.framece4fa-slide__cta {
  justify-self: start;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--framece4fa-gold);
  border-bottom: 2px solid var(--framece4fa-gold);
  padding-bottom: 1px;
}

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

.framece4fa-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.framece4fa-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transition: background 0.15s var(--framece4fa-ease),
    transform 0.15s var(--framece4fa-ease);
}

.framece4fa-dot--on::before {
  background: var(--framece4fa-gold);
  transform: scale(1.35);
}

/* ==========================================================================
   Quick category chips — tight horizontal rail
   ========================================================================== */
.framece4fa-chiprow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px 12px 4px;
  -ms-overflow-style: none;
}

.framece4fa-chiprow::-webkit-scrollbar {
  display: none;
}

.framece4fa-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--framece4fa-card);
  color: var(--framece4fa-text);
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--framece4fa-line);
  white-space: nowrap;
  transition: background 0.15s var(--framece4fa-ease),
    border-color 0.15s var(--framece4fa-ease);
}

.framece4fa-chip:hover {
  background: var(--framece4fa-card-2);
  border-color: var(--framece4fa-orchid);
  text-decoration: none;
}

.framece4fa-chip b {
  color: var(--framece4fa-coral);
  font-weight: 800;
}

/* ==========================================================================
   Intro block — single H1, lede, CTA pair, stat row
   ========================================================================== */
.framece4fa-main {
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

.framece4fa-intro {
  padding: 18px 14px 6px;
}

.framece4fa-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--framece4fa-orchid);
}

.framece4fa-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--framece4fa-orchid);
}

.framece4fa-intro h1 {
  margin: 8px 0 10px;
  font-size: 27px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.framece4fa-intro h1 span {
  color: var(--framece4fa-gold);
}

.framece4fa-lede {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--framece4fa-text-dim);
}

.framece4fa-lede strong {
  color: var(--framece4fa-text);
  font-weight: 700;
}

.framece4fa-ctarow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.framece4fa-ctarow .framece4fa-btn--gold {
  font-size: 16px;
}

.framece4fa-statrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.framece4fa-stat {
  background: var(--framece4fa-card);
  border: 1px solid var(--framece4fa-line);
  border-radius: var(--framece4fa-radius);
  padding: 10px 8px;
  text-align: center;
}

.framece4fa-stat__num {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--framece4fa-gold);
  line-height: 1.1;
}

.framece4fa-stat__lab {
  display: block;
  font-size: 11px;
  color: var(--framece4fa-text-dim);
  margin-top: 3px;
  line-height: 1.3;
}

/* Trust strip */
.framece4fa-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 14px 4px;
}

.framece4fa-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--framece4fa-text-dim);
  line-height: 1.4;
}

.framece4fa-trust__item::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 2px;
  background: var(--framece4fa-coral);
  transform: rotate(45deg);
}

/* ==========================================================================
   Game sections — grouped cover-card shelves
   ========================================================================== */
.framece4fa-section {
  padding: 22px 12px 4px;
  scroll-margin-top: 128px;
}

.framece4fa-sechead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.framece4fa-sechead h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  flex: 1;
}

.framece4fa-sechead h2 em {
  font-style: normal;
  color: var(--framece4fa-orchid);
}

.framece4fa-badge {
  flex: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #33141a;
  background: var(--framece4fa-coral);
  border-radius: 2px;
  padding: 3px 7px;
}

.framece4fa-secintro {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--framece4fa-text-dim);
}

.framece4fa-secintro a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(204, 153, 255, 0.5);
  text-underline-offset: 3px;
}

.framece4fa-secintro strong {
  color: var(--framece4fa-text);
  font-weight: 700;
}

/* Tight mobile grid, 4 stable columns from 320px up. */
.framece4fa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.framece4fa-tile {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 6px 5px 8px;
  background: var(--framece4fa-card);
  border: 1px solid var(--framece4fa-line);
  border-radius: var(--framece4fa-radius); /* lightly rounded grouped card */
  cursor: pointer;
  text-align: center;
  transition: transform 0.14s var(--framece4fa-ease),
    border-color 0.14s var(--framece4fa-ease),
    background 0.14s var(--framece4fa-ease);
}

.framece4fa-tile:hover {
  border-color: var(--framece4fa-orchid);
  background: var(--framece4fa-card-2);
}

.framece4fa-tile:active {
  transform: scale(0.96);
}

.framece4fa-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--framece4fa-ink);
}

.framece4fa-tile span {
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--framece4fa-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
}

/* Section divider — short-distance separated transition between shelves */
.framece4fa-rule {
  border: 0;
  height: 1px;
  margin: 20px 14px 0;
  background: linear-gradient(
    90deg,
    rgba(218, 112, 214, 0) 0%,
    rgba(218, 112, 214, 0.55) 50%,
    rgba(218, 112, 214, 0) 100%
  );
}

/* ==========================================================================
   Content modules — fact-first panels
   ========================================================================== */
.framece4fa-panel {
  margin: 22px 12px 0;
  padding: 16px 14px;
  background: var(--framece4fa-card);
  border: 1px solid var(--framece4fa-line);
  border-radius: var(--framece4fa-radius);
}

.framece4fa-panel > h2 {
  margin: 0 0 8px;
  font-size: 18.5px;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
}

.framece4fa-panel > h2 em {
  font-style: normal;
  color: var(--framece4fa-gold);
}

/* Conclusion-first fact line that opens each module */
.framece4fa-fact {
  margin: 0 0 12px;
  padding: 9px 11px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--framece4fa-text);
  background: rgba(242, 193, 78, 0.1);
  border-left: 3px solid var(--framece4fa-gold);
  border-radius: 0 var(--framece4fa-radius) var(--framece4fa-radius) 0;
}

.framece4fa-panel p {
  margin: 0 0 11px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--framece4fa-text-dim);
}

.framece4fa-panel p strong {
  color: var(--framece4fa-text);
  font-weight: 700;
}

.framece4fa-panel p a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(204, 153, 255, 0.5);
  text-underline-offset: 3px;
}

/* RTP definition rows */
.framece4fa-rtptable {
  margin: 12px 0;
  border: 1px solid var(--framece4fa-line);
  border-radius: var(--framece4fa-radius);
  overflow: hidden;
}

.framece4fa-rtptable__row {
  display: grid;
  grid-template-columns: minmax(104px, 38%) 1fr;
  gap: 10px;
  padding: 10px 11px;
  background: rgba(20, 29, 48, 0.5);
  border-bottom: 1px solid var(--framece4fa-line);
}

.framece4fa-rtptable__row:last-child {
  border-bottom: 0;
}

.framece4fa-rtptable__k {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--framece4fa-lav);
  line-height: 1.4;
}

.framece4fa-rtptable__v {
  font-size: 12.5px;
  color: var(--framece4fa-text-dim);
  line-height: 1.5;
}

.framece4fa-note {
  margin: 12px 0 0;
  padding: 10px 11px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--framece4fa-text-dim);
  background: rgba(240, 128, 128, 0.09);
  border: 1px dashed rgba(240, 128, 128, 0.45);
  border-radius: var(--framece4fa-radius);
}

.framece4fa-note strong {
  color: var(--framece4fa-coral);
}

/* Milestone rows with static progress tracks */
.framece4fa-miles {
  display: grid;
  gap: 12px;
  margin: 12px 0 4px;
}

.framece4fa-mile__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.framece4fa-mile__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--framece4fa-text);
}

.framece4fa-mile__pct {
  flex: none;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--framece4fa-orchid);
}

.framece4fa-mile__track {
  height: 7px;
  border-radius: 4px;
  background: rgba(14, 21, 36, 0.9);
  overflow: hidden;
}

.framece4fa-mile__fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--framece4fa-purple), var(--framece4fa-orchid));
}

.framece4fa-mile__fill--hot {
  background: linear-gradient(90deg, var(--framece4fa-coral), var(--framece4fa-gold));
}

/* Play-style comparison cards */
.framece4fa-styles {
  display: grid;
  gap: 10px;
  margin: 12px 0 4px;
}

.framece4fa-style {
  padding: 11px 12px;
  background: rgba(20, 29, 48, 0.55);
  border-radius: var(--framece4fa-radius);
  border-left: 3px solid var(--framece4fa-orchid);
}

.framece4fa-style--coral {
  border-left-color: var(--framece4fa-coral);
}

.framece4fa-style--lav {
  border-left-color: var(--framece4fa-lav);
}

.framece4fa-style h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.framece4fa-style p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--framece4fa-text-dim);
}

/* Key-facts definition list */
.framece4fa-facts {
  margin: 12px 0 0;
  border-radius: var(--framece4fa-radius);
  border: 1px solid var(--framece4fa-line);
  overflow: hidden;
}

.framece4fa-facts__row {
  display: grid;
  grid-template-columns: minmax(96px, 34%) 1fr;
  gap: 10px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--framece4fa-line);
  background: rgba(20, 29, 48, 0.5);
}

.framece4fa-facts__row:last-child {
  border-bottom: 0;
}

.framece4fa-facts dt {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--framece4fa-coral);
  line-height: 1.4;
  margin: 0;
}

.framece4fa-facts dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--framece4fa-text-dim);
  line-height: 1.5;
}

/* Inline Q&A woven through modules */
.framece4fa-qa {
  margin: 14px 0 0;
  padding: 12px;
  background: rgba(128, 0, 128, 0.16);
  border-radius: var(--framece4fa-radius);
}

.framece4fa-qa h3 {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--framece4fa-lav);
}

.framece4fa-qa p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.58;
  color: var(--framece4fa-text-dim);
}

/* ==========================================================================
   Homepage extended footer — two-column directory
   order: promotions > brand > page directory > disclaimer
   ========================================================================== */
.framece4fa-xfoot {
  margin: 26px 12px 0;
  padding: 16px 14px 6px;
  border: 1px solid var(--framece4fa-line);
  border-radius: var(--framece4fa-radius-lg);
  background: linear-gradient(180deg, var(--framece4fa-card-2), var(--framece4fa-card));
}

.framece4fa-xfoot__label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--framece4fa-coral);
}

.framece4fa-promolist {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.framece4fa-promoentry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 2px;
  border: 1px solid rgba(242, 193, 78, 0.55);
  background: rgba(242, 193, 78, 0.1);
  color: var(--framece4fa-text);
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s var(--framece4fa-ease),
    transform 0.15s var(--framece4fa-ease);
}

.framece4fa-promoentry:hover {
  background: rgba(242, 193, 78, 0.18);
}

.framece4fa-promoentry:active {
  transform: scale(0.99);
}

.framece4fa-promoentry::after {
  content: "\2192";
  flex: none;
  color: var(--framece4fa-gold);
  font-weight: 800;
}

.framece4fa-brandblurb {
  margin: 0 0 16px;
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--framece4fa-text-dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--framece4fa-line);
}

.framece4fa-brandblurb strong {
  color: var(--framece4fa-text);
}

.framece4fa-xfoot__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}

@media (min-width: 380px) {
  .framece4fa-xfoot__cols {
    grid-template-columns: 1fr 1fr;
  }
}

.framece4fa-dirlist {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.framece4fa-dirlink {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 9px;
  border-radius: var(--framece4fa-radius);
  background: rgba(20, 29, 48, 0.55);
  transition: background 0.15s var(--framece4fa-ease);
}

.framece4fa-dirlink:hover {
  background: rgba(128, 0, 128, 0.3);
  text-decoration: none;
}

.framece4fa-dirlink b {
  font-size: 13px;
  font-weight: 800;
  color: var(--framece4fa-lav);
}

.framece4fa-dirlink span {
  font-size: 11px;
  line-height: 1.4;
  color: var(--framece4fa-text-dim);
}

.framece4fa-disclaim {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  padding-top: 12px;
  border-top: 1px solid var(--framece4fa-line);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--framece4fa-text-dim);
}

.framece4fa-disclaim strong {
  color: var(--framece4fa-coral);
}

/* ==========================================================================
   Common footer — 2026 copyright only
   ========================================================================== */
.framece4fa-footer {
  padding: 20px 16px 8px;
  text-align: center;
}

.framece4fa-footer p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--framece4fa-text-dim);
}

.framece4fa-footer b {
  color: var(--framece4fa-lav);
  font-weight: 800;
}

/* ==========================================================================
   Floating bottom dock — 5 semantic roles
   Home / promo / promo / games feature page / guide help page
   ========================================================================== */
.framece4fa-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(406px, calc(100vw - 20px));
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(20, 29, 48, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(204, 153, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.framece4fa-dock__item {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 52px;
  padding: 6px 2px 5px;
  border-radius: 12px;
  background: transparent;
  border: 0;
  color: var(--framece4fa-text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s var(--framece4fa-ease), color 0.16s var(--framece4fa-ease);
}

.framece4fa-dock__item:hover {
  color: var(--framece4fa-text);
  text-decoration: none;
}

/* Active role sits on a background tray */
.framece4fa-dock__item--on {
  background: rgba(204, 153, 255, 0.16);
  color: #ffffff;
}

.framece4fa-dock__ico {
  width: 22px;
  height: 22px;
  display: block;
}

.framece4fa-dock__ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.framece4fa-dock__item--promo {
  color: var(--framece4fa-gold);
}

.framece4fa-dock__item--promo .framece4fa-dock__ico {
  filter: drop-shadow(0 0 6px rgba(242, 193, 78, 0.45));
}

.framece4fa-dock__item--promo:hover {
  color: #f6d069;
}

/* ==========================================================================
   Help page tools — timelines, feature boards and answer drawers
   ========================================================================== */
.framece4fa-helpintro {
  margin: 14px 12px 0;
  padding: 18px 14px;
  border: 1px solid rgba(218, 112, 214, 0.42);
  border-radius: var(--framece4fa-radius-lg);
  background:
    linear-gradient(135deg, rgba(128, 0, 128, 0.5), rgba(37, 48, 76, 0.9) 58%),
    var(--framece4fa-card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.framece4fa-helpintro__eyebrow {
  margin: 0 0 8px;
  color: var(--framece4fa-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.framece4fa-helpintro h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.13;
  letter-spacing: -0.015em;
}

.framece4fa-helpintro p {
  margin: 0;
  color: var(--framece4fa-text-dim);
  font-size: 14px;
  line-height: 1.65;
}

.framece4fa-helpintro p strong {
  color: #ffffff;
}

.framece4fa-helpintro__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.framece4fa-steprail {
  display: grid;
  gap: 10px;
  margin: 14px 0 4px;
  counter-reset: framece4fa-step;
}

.framece4fa-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 12px 11px 12px 9px;
  border: 1px solid var(--framece4fa-line);
  border-radius: var(--framece4fa-radius);
  background: rgba(20, 29, 48, 0.62);
}

.framece4fa-step::before {
  counter-increment: framece4fa-step;
  content: counter(framece4fa-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--framece4fa-purple);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.framece4fa-step__body {
  min-width: 0;
}

.framece4fa-step h3 {
  margin: 1px 0 5px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
}

.framece4fa-step p {
  margin: 0;
  color: var(--framece4fa-text-dim);
  font-size: 12.8px;
  line-height: 1.58;
}

.framece4fa-actionline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 11px;
  border-left: 3px solid var(--framece4fa-coral);
  border-radius: 0 var(--framece4fa-radius) var(--framece4fa-radius) 0;
  background: rgba(240, 128, 128, 0.1);
}

.framece4fa-actionline p {
  margin: 0;
  color: var(--framece4fa-text-dim);
  font-size: 12.5px;
  line-height: 1.45;
}

.framece4fa-actionline button {
  flex: none;
}

.framece4fa-checkgrid {
  display: grid;
  gap: 8px;
  margin: 12px 0 2px;
}

.framece4fa-checkitem {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--framece4fa-line);
  border-radius: var(--framece4fa-radius);
  background: rgba(20, 29, 48, 0.48);
}

.framece4fa-checkitem::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(242, 193, 78, 0.18);
  color: var(--framece4fa-gold);
  font-size: 13px;
  font-weight: 900;
}

.framece4fa-checkitem strong {
  display: block;
  margin-bottom: 2px;
  color: var(--framece4fa-text);
  font-size: 13px;
}

.framece4fa-checkitem span {
  display: block;
  color: var(--framece4fa-text-dim);
  font-size: 12.5px;
  line-height: 1.5;
}

.framece4fa-featureboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 3px;
}

.framece4fa-feature {
  min-width: 0;
  padding: 11px 10px;
  border-top: 3px solid var(--framece4fa-orchid);
  border-radius: var(--framece4fa-radius);
  background: rgba(20, 29, 48, 0.58);
}

.framece4fa-feature:nth-child(2n) {
  border-top-color: var(--framece4fa-coral);
}

.framece4fa-feature:nth-child(3n) {
  border-top-color: var(--framece4fa-gold);
}

.framece4fa-feature h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 13.5px;
  line-height: 1.3;
}

.framece4fa-feature p {
  margin: 0;
  color: var(--framece4fa-text-dim);
  font-size: 12.3px;
  line-height: 1.52;
}

.framece4fa-details {
  margin-top: 9px;
  border: 1px solid var(--framece4fa-line);
  border-radius: var(--framece4fa-radius);
  background: rgba(20, 29, 48, 0.46);
  overflow: hidden;
}

.framece4fa-details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  color: var(--framece4fa-text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.framece4fa-details summary::-webkit-details-marker {
  display: none;
}

.framece4fa-details summary::after {
  content: "+";
  color: var(--framece4fa-gold);
  font-size: 18px;
  line-height: 1;
}

.framece4fa-details[open] summary::after {
  content: "\2212";
}

.framece4fa-details__body {
  padding: 0 11px 11px;
  border-top: 1px solid var(--framece4fa-line);
}

.framece4fa-details__body p {
  margin: 9px 0 0;
  color: var(--framece4fa-text-dim);
  font-size: 12.8px;
  line-height: 1.58;
}

.framece4fa-minihead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
}

.framece4fa-minihead strong {
  color: var(--framece4fa-text);
  font-size: 14px;
}

.framece4fa-minihead span {
  color: var(--framece4fa-gold);
  font-size: 11px;
  font-weight: 800;
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .framece4fa-slide,
  .framece4fa-drawer,
  .framece4fa-scrim,
  .framece4fa-tile,
  .framece4fa-btn,
  .framece4fa-dock__item {
    transition: none;
  }
}

/* Narrow sanity pass: keep the 4-column grid readable at 320px. */
@media (max-width: 339px) {
  .framece4fa-tile span {
    font-size: 10px;
  }

  .framece4fa-intro h1 {
    font-size: 24px;
  }
}
