/* ==========================================================================
   qq887.cfd - layers-compact-b5f4b4.css
   Mobile-first phone canvas (320-430px). Dark navy base, green zones,
   tomato CTA, peru accents. Every selector uses the framef4b4d- prefix.
   Design tone: tech-feel headings, low-radius zoned sections, pure image
   game cards with short names, conclusion-first content blocks,
   short-distance transitions, staggered primary/secondary CTAs.
   ========================================================================== */

:root {
  --framef4b4d-ink: #1b263b;
  --framef4b4d-ink-deep: #10182a;
  --framef4b4d-panel: #1f2c48;
  --framef4b4d-panel-2: #243354;
  --framef4b4d-line: #33436a;
  --framef4b4d-green: #006400;
  --framef4b4d-green-line: #158015;
  --framef4b4d-green-soft: rgba(0, 100, 0, 0.35);
  --framef4b4d-tomato: #ff6347;
  --framef4b4d-tomato-soft: rgba(255, 99, 71, 0.16);
  --framef4b4d-peru: #cd853f;
  --framef4b4d-peru-soft: rgba(205, 133, 63, 0.5);
  --framef4b4d-mist: #e5e5e5;
  --framef4b4d-mist-soft: #c9d4e8;
  --framef4b4d-mist-dim: #9fb0cd;
  --framef4b4d-white: #ffffff;
  --framef4b4d-r: 4px;
  --framef4b4d-r-lg: 6px;
  --framef4b4d-head-h: 96px;
  --framef4b4d-bnav-h: 62px;
  --framef4b4d-t: 0.18s ease;
  --framef4b4d-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--framef4b4d-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--framef4b4d-mist);
  background: var(--framef4b4d-ink-deep);
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--framef4b4d-tomato);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Phone canvas: centered column, capped at 430px on wide screens
   -------------------------------------------------------------------------- */

.framef4b4d-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--framef4b4d-ink);
  overflow-x: hidden;
}

.framef4b4d-skip {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 90;
  padding: 10px 14px;
  background: var(--framef4b4d-tomato);
  color: #16203a;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--framef4b4d-r);
  text-decoration: none;
  transition: top var(--framef4b4d-t);
}

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

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

/* --------------------------------------------------------------------------
   Fixed tab-style header: brand row + scrollable category tabs
   -------------------------------------------------------------------------- */

.framef4b4d-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: rgba(16, 24, 42, 0.97);
  border-bottom: 1px solid var(--framef4b4d-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.framef4b4d-toprow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  min-height: 56px;
}

.framef4b4d-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}

.framef4b4d-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--framef4b4d-r);
  border: 1px solid var(--framef4b4d-line);
  object-fit: cover;
  flex: none;
}

.framef4b4d-sitename {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--framef4b4d-white);
  white-space: nowrap;
}

.framef4b4d-sitename em {
  font-style: normal;
  color: var(--framef4b4d-tomato);
}

.framef4b4d-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.framef4b4d-btn {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--framef4b4d-r);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--framef4b4d-t), filter var(--framef4b4d-t),
    border-color var(--framef4b4d-t);
}

.framef4b4d-btn:active {
  transform: scale(0.96);
}

/* Primary CTA: large tomato block */
.framef4b4d-btn--register {
  background: var(--framef4b4d-tomato);
  color: #16203a;
  box-shadow: 0 0 14px rgba(255, 99, 71, 0.35);
}

/* Secondary CTA: quiet outline */
.framef4b4d-btn--login {
  background: transparent;
  border-color: var(--framef4b4d-peru-soft);
  color: var(--framef4b4d-peru);
}

.framef4b4d-menubtn {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--framef4b4d-panel);
  border: 1px solid var(--framef4b4d-line);
  border-radius: var(--framef4b4d-r);
  color: var(--framef4b4d-mist);
  cursor: pointer;
  transition: border-color var(--framef4b4d-t), color var(--framef4b4d-t);
}

.framef4b4d-menubtn[aria-expanded="true"] {
  border-color: var(--framef4b4d-tomato);
  color: var(--framef4b4d-tomato);
}

.framef4b4d-menubtn svg {
  width: 20px;
  height: 20px;
}

/* Category tab strip */
.framef4b4d-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(51, 67, 106, 0.5);
}

.framef4b4d-tabs::-webkit-scrollbar {
  display: none;
}

.framef4b4d-tab {
  flex: none;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--framef4b4d-mist-dim);
  border-bottom: 2px solid transparent;
  transition: color var(--framef4b4d-t), border-color var(--framef4b4d-t);
}

.framef4b4d-tab--on {
  color: var(--framef4b4d-white);
  border-bottom-color: var(--framef4b4d-tomato);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Zoned drop-down menu panel + backdrop
   -------------------------------------------------------------------------- */

.framef4b4d-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(6, 10, 20, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.framef4b4d-backdrop--on {
  opacity: 1;
  visibility: visible;
}

.framef4b4d-menu {
  position: fixed;
  top: var(--framef4b4d-head-h);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - var(--framef4b4d-head-h));
  overflow-y: auto;
  z-index: 50;
  background: var(--framef4b4d-panel);
  border-top: 2px solid var(--framef4b4d-green-line);
  border-bottom: 1px solid var(--framef4b4d-line);
  padding: 6px 14px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.framef4b4d-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.framef4b4d-menu-cap {
  margin: 14px 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--framef4b4d-peru);
}

.framef4b4d-menu-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 6px 10px;
  border-left: 3px solid transparent;
  border-radius: 0 var(--framef4b4d-r) var(--framef4b4d-r) 0;
  color: var(--framef4b4d-mist);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--framef4b4d-t), border-color var(--framef4b4d-t),
    color var(--framef4b4d-t);
}

.framef4b4d-menu-link:hover,
.framef4b4d-menu-link:focus-visible {
  background: var(--framef4b4d-tomato-soft);
  border-left-color: var(--framef4b4d-tomato);
  color: var(--framef4b4d-white);
}

.framef4b4d-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 16px;
  background: var(--framef4b4d-tomato);
  color: #16203a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--framef4b4d-r);
}

/* --------------------------------------------------------------------------
   Main flow
   -------------------------------------------------------------------------- */

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

/* Hero carousel */
.framef4b4d-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--framef4b4d-line);
  border-radius: var(--framef4b4d-r-lg);
  background: var(--framef4b4d-panel);
  aspect-ratio: 16 / 7;
  min-height: 148px;
}

.framef4b4d-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.framef4b4d-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  text-decoration: none;
}

.framef4b4d-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framef4b4d-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 30px;
  background: linear-gradient(180deg, rgba(16, 24, 42, 0) 0%, rgba(11, 17, 30, 0.92) 78%);
  display: block;
}

.framef4b4d-slide-cap b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--framef4b4d-white);
  letter-spacing: 0.02em;
}

.framef4b4d-slide-cap small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--framef4b4d-mist);
}

.framef4b4d-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 4px;
  z-index: 2;
}

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

.framef4b4d-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(229, 229, 229, 0.55);
  transition: width var(--framef4b4d-t), background var(--framef4b4d-t),
    border-radius var(--framef4b4d-t);
}

.framef4b4d-dot--on::after {
  width: 18px;
  border-radius: 3px;
  background: var(--framef4b4d-tomato);
}

/* Intro block */
.framef4b4d-h1 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--framef4b4d-white);
}

.framef4b4d-lead {
  font-size: 13px;
  line-height: 1.7;
  color: var(--framef4b4d-mist-soft);
}

.framef4b4d-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 12px 0 4px;
}

.framef4b4d-chips li {
  padding: 5px 10px;
  border: 1px solid var(--framef4b4d-line);
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--framef4b4d-mist-dim);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Game zones: tech index + title + counter, pure image cards
   -------------------------------------------------------------------------- */

.framef4b4d-zone {
  margin-top: 26px;
  scroll-margin-top: calc(var(--framef4b4d-head-h) + 8px);
}

.framef4b4d-zone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--framef4b4d-line);
}

.framef4b4d-zone-idx {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--framef4b4d-peru);
  font-variant-numeric: tabular-nums;
}

.framef4b4d-zone-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--framef4b4d-white);
}

.framef4b4d-zone-count {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--framef4b4d-line);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--framef4b4d-mist-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.framef4b4d-zone-note {
  margin: 8px 0 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--framef4b4d-mist-dim);
}

.framef4b4d-zone-note a {
  color: var(--framef4b4d-peru);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.framef4b4d-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  list-style: none;
}

.framef4b4d-game {
  display: block;
  padding: 5px 5px 7px;
  background: linear-gradient(180deg, #22304e 0%, #1a2540 100%);
  border: 1px solid #2e3d61;
  border-radius: var(--framef4b4d-r);
  text-decoration: none;
  transition: transform var(--framef4b4d-t), border-color var(--framef4b4d-t),
    box-shadow var(--framef4b4d-t);
}

.framef4b4d-game:hover,
.framef4b4d-game:focus-visible {
  transform: translateY(-2px);
  border-color: var(--framef4b4d-tomato);
}

.framef4b4d-game:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 0 10px rgba(255, 99, 71, 0.35);
}

.framef4b4d-game-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
  background: #0e1526;
}

.framef4b4d-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  min-height: 27px;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  color: var(--framef4b4d-mist);
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   Content modules: conclusion-first, low-radius panels
   -------------------------------------------------------------------------- */

.framef4b4d-sec {
  margin-top: 26px;
  padding: 16px 14px;
  background: var(--framef4b4d-panel);
  border: 1px solid var(--framef4b4d-line);
  border-radius: var(--framef4b4d-r-lg);
}

.framef4b4d-h2 {
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--framef4b4d-tomato);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--framef4b4d-white);
}

.framef4b4d-h2--green {
  border-left-color: var(--framef4b4d-green-line);
}

.framef4b4d-h2--peru {
  border-left-color: var(--framef4b4d-peru);
}

.framef4b4d-sec p {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--framef4b4d-mist-soft);
}

.framef4b4d-sec p:last-child {
  margin-bottom: 0;
}

.framef4b4d-sec a {
  color: var(--framef4b4d-peru);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tip cards */
.framef4b4d-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin-top: 12px;
}

.framef4b4d-tip {
  padding: 12px;
  background: var(--framef4b4d-ink);
  border: 1px solid var(--framef4b4d-line);
  border-radius: var(--framef4b4d-r);
}

.framef4b4d-tip h3 {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--framef4b4d-tomato);
}

.framef4b4d-tip p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--framef4b4d-mist-soft);
}

/* Requirements checklist */
.framef4b4d-checks {
  list-style: none;
  margin-top: 12px;
}

.framef4b4d-checks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 12.8px;
  line-height: 1.7;
  color: var(--framef4b4d-mist-soft);
}

.framef4b4d-checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--framef4b4d-green-line);
  border-bottom: 2px solid var(--framef4b4d-green-line);
  transform: rotate(-45deg);
}

.framef4b4d-checks li strong {
  color: var(--framef4b4d-white);
  font-weight: 700;
}

/* Selection criteria rows */
.framef4b4d-crit {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px dashed var(--framef4b4d-line);
}

.framef4b4d-crit:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.framef4b4d-crit-n {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--framef4b4d-peru-soft);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--framef4b4d-peru);
  font-variant-numeric: tabular-nums;
}

.framef4b4d-crit h3 {
  margin-bottom: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--framef4b4d-white);
}

.framef4b4d-crit p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--framef4b4d-mist-soft);
}

/* --------------------------------------------------------------------------
   Partner logos strip
   -------------------------------------------------------------------------- */

.framef4b4d-partners {
  margin-top: 26px;
}

.framef4b4d-partners-cap {
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--framef4b4d-mist-dim);
}

.framef4b4d-partners-row {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 12px;
  background: var(--framef4b4d-ink);
  border: 1px solid var(--framef4b4d-line);
  border-radius: var(--framef4b4d-r);
}

.framef4b4d-partners-row::-webkit-scrollbar {
  display: none;
}

.framef4b4d-partners-row img {
  height: 26px;
  width: auto;
  flex: none;
  opacity: 0.8;
  filter: grayscale(35%);
}

/* --------------------------------------------------------------------------
   Home extended footer: brand > promo actions > directory > disclaimer
   -------------------------------------------------------------------------- */

.framef4b4d-xf {
  margin-top: 30px;
  padding: 16px 14px 18px;
  background: var(--framef4b4d-panel-2);
  border: 1px solid var(--framef4b4d-line);
  border-top: 2px solid var(--framef4b4d-green-line);
  border-radius: var(--framef4b4d-r-lg);
}

.framef4b4d-xf-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.framef4b4d-xf-brand img {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: var(--framef4b4d-r);
  border: 1px solid var(--framef4b4d-line);
}

.framef4b4d-xf-brand p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--framef4b4d-mist-soft);
}

/* One large primary promo + compact chip grid (staggered CTA sizes) */
.framef4b4d-xf-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  background: var(--framef4b4d-tomato);
  color: #16203a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--framef4b4d-r);
  box-shadow: 0 0 14px rgba(255, 99, 71, 0.3);
  transition: filter var(--framef4b4d-t), transform var(--framef4b4d-t);
}

.framef4b4d-xf-main:active {
  transform: scale(0.98);
  filter: brightness(0.92);
}

.framef4b4d-xf-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
  list-style: none;
}

.framef4b4d-xf-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 4px;
  background: rgba(205, 133, 63, 0.08);
  border: 1px solid var(--framef4b4d-peru-soft);
  border-radius: 3px;
  color: var(--framef4b4d-peru);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background var(--framef4b4d-t), transform var(--framef4b4d-t);
}

.framef4b4d-xf-chip:active {
  transform: scale(0.96);
  background: rgba(205, 133, 63, 0.2);
}

.framef4b4d-xf-dir {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--framef4b4d-line);
}

.framef4b4d-xf-dir-cap {
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--framef4b4d-mist-dim);
}

.framef4b4d-xf-dir ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 14px;
  list-style: none;
}

.framef4b4d-xf-dir a {
  display: block;
  padding: 7px 0 7px 12px;
  position: relative;
  font-size: 12px;
  font-weight: 600;
  color: var(--framef4b4d-mist);
  text-decoration: none;
  border-bottom: 1px dotted rgba(51, 67, 106, 0.6);
}

.framef4b4d-xf-dir a::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--framef4b4d-peru);
  font-weight: 800;
}

.framef4b4d-xf-note {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.65;
  color: #8494b3;
}

/* --------------------------------------------------------------------------
   Common footer (copyright only) + fixed segmented bottom nav
   -------------------------------------------------------------------------- */

.framef4b4d-footer {
  margin-top: 18px;
  text-align: center;
}

.framef4b4d-copy {
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #7f8fae;
  padding: 6px 0 2px;
}

.framef4b4d-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  background: rgba(16, 24, 42, 0.97);
  border-top: 1px solid var(--framef4b4d-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.framef4b4d-bnav-item {
  flex: 1;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 2px 5px;
  color: var(--framef4b4d-mist-dim);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color var(--framef4b4d-t), transform var(--framef4b4d-t);
}

.framef4b4d-bnav-item svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.framef4b4d-bnav-item--on {
  color: var(--framef4b4d-tomato);
  transform: translateY(-2px);
}

.framef4b4d-bnav-item--on svg {
  filter: drop-shadow(0 0 6px rgba(255, 99, 71, 0.55));
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

/* Phones within the compact canvas range */
@media (max-width: 430px) {
  .framef4b4d-main {
    padding-left: 11px;
    padding-right: 11px;
  }

  .framef4b4d-h1 {
    font-size: 19px;
  }

  .framef4b4d-games {
    gap: 10px 7px;
  }

  .framef4b4d-zone-title {
    font-size: 14.5px;
  }
}

/* Wider phones: roomier modules */
@media (min-width: 375px) {
  .framef4b4d-tips {
    grid-template-columns: repeat(2, 1fr);
  }

  .framef4b4d-xf-chips {
    grid-template-columns: repeat(3, 1fr);
  }

  .framef4b4d-h1 {
    font-size: 21px;
  }
}

/* Upper canvas range: fifth game column */
@media (min-width: 400px) {
  .framef4b4d-games {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Narrow phones: compress header chrome */
@media (max-width: 374px) {
  .framef4b4d-toprow {
    gap: 5px;
    padding: 6px 8px;
  }

  .framef4b4d-btn {
    padding: 0 9px;
    font-size: 12px;
  }

  .framef4b4d-sitename {
    font-size: 17px;
  }

  .framef4b4d-game-name {
    font-size: 9.5px;
  }

  .framef4b4d-tab {
    padding: 0 10px;
    font-size: 11px;
  }
}

/* Desktop and tablets: keep the centered phone canvas visible */
@media (min-width: 431px) {
  body {
    background: radial-gradient(1200px 600px at 50% -10%, #182238 0%, var(--framef4b4d-ink-deep) 60%);
  }

  .framef4b4d-canvas {
    border-left: 1px solid #2a3a5e;
    border-right: 1px solid #2a3a5e;
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

/* --------------------------------------------------------------------------
   Help-page reading tools: timeline, answers, and compact action rails
   -------------------------------------------------------------------------- */

.framef4b4d-help-lead {
  margin-top: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(0, 100, 0, 0.28), rgba(31, 44, 72, 0.96));
  border-left: 4px solid var(--framef4b4d-green-line);
  border-radius: var(--framef4b4d-r);
  color: var(--framef4b4d-mist-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

.framef4b4d-promo-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.framef4b4d-promo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 7px 8px;
  border: 1px solid var(--framef4b4d-tomato);
  border-radius: var(--framef4b4d-r);
  background: var(--framef4b4d-tomato-soft);
  color: var(--framef4b4d-white);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background var(--framef4b4d-t), transform var(--framef4b4d-t);
}

.framef4b4d-promo-link--wide {
  grid-column: 1 / -1;
  background: var(--framef4b4d-tomato);
  color: #16203a;
}

.framef4b4d-promo-link:active {
  transform: scale(0.97);
}

.framef4b4d-timeline {
  list-style: none;
  margin-top: 12px;
  counter-reset: framef4b4d-step;
}

.framef4b4d-timeline li {
  position: relative;
  counter-increment: framef4b4d-step;
  padding: 0 0 16px 44px;
  color: var(--framef4b4d-mist-soft);
  font-size: 12.8px;
  line-height: 1.72;
}

.framef4b4d-timeline li::before {
  content: counter(framef4b4d-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--framef4b4d-peru);
  border-radius: 3px;
  color: var(--framef4b4d-peru);
  font-size: 10px;
  font-weight: 800;
}

.framef4b4d-timeline li::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 34px;
  bottom: 0;
  border-left: 1px dashed var(--framef4b4d-green-line);
}

.framef4b4d-timeline li:last-child::after {
  display: none;
}

.framef4b4d-timeline strong,
.framef4b4d-answer strong {
  color: var(--framef4b4d-white);
}

.framef4b4d-answer-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.framef4b4d-answer {
  padding: 12px;
  border-top: 2px solid var(--framef4b4d-green-line);
  background: var(--framef4b4d-ink);
  color: var(--framef4b4d-mist-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

.framef4b4d-answer summary {
  min-height: 28px;
  cursor: pointer;
  color: var(--framef4b4d-white);
  font-size: 13px;
  font-weight: 800;
}

.framef4b4d-answer p {
  margin: 9px 0 0;
}

.framef4b4d-mark {
  display: inline-block;
  margin-right: 5px;
  padding: 2px 5px;
  border: 1px solid var(--framef4b4d-peru-soft);
  border-radius: 2px;
  color: var(--framef4b4d-peru);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.framef4b4d-compare {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 11.5px;
  line-height: 1.5;
}

.framef4b4d-compare th,
.framef4b4d-compare td {
  padding: 9px 7px;
  border: 1px solid var(--framef4b4d-line);
  text-align: left;
  vertical-align: top;
}

.framef4b4d-compare th {
  color: var(--framef4b4d-tomato);
  background: var(--framef4b4d-ink-deep);
  font-size: 10.5px;
}

.framef4b4d-compare td {
  color: var(--framef4b4d-mist-soft);
}

.framef4b4d-note-line {
  margin-top: 11px;
  padding: 10px 12px;
  border-left: 3px solid var(--framef4b4d-peru);
  background: rgba(205, 133, 63, 0.1);
  color: var(--framef4b4d-mist-soft);
  font-size: 12px;
  line-height: 1.68;
}

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

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