/* ==========================================================================
   cb666appapk.click - frame-adaptive-531b60.css
   Mobile-first base stylesheet (320-430px phone canvas, centered on wide
   screens). Palette: ink #212F3D background + mint #9AFF9A accents.
   Voice: humanist headings, compact square game catalog, outlined dock.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --frame531b6-ink: #212F3D;            /* base background */
  --frame531b6-ink-deep: #1A2531;       /* recessed background */
  --frame531b6-ink-raise: #2A3B4C;      /* raised panels */
  --frame531b6-ink-edge: #31455A;       /* strong panel edge */
  --frame531b6-mint: #9AFF9A;           /* brand light */
  --frame531b6-mint-deep: #7BE07B;      /* pressed mint */
  --frame531b6-paper: #E9F6E9;          /* near-white body text */
  --frame531b6-muted: rgba(233, 246, 233, 0.66);
  --frame531b6-faint: rgba(233, 246, 233, 0.44);
  --frame531b6-mint-soft: rgba(154, 255, 154, 0.13);
  --frame531b6-mint-ghost: rgba(154, 255, 154, 0.07);
  --frame531b6-rule: rgba(154, 255, 154, 0.22);
  --frame531b6-rule-thin: rgba(154, 255, 154, 0.12);
  --frame531b6-ink-on-mint: #17222C;    /* text over mint fills */
  --frame531b6-radius-lg: 16px;
  --frame531b6-radius-md: 12px;
  --frame531b6-radius-sm: 9px;
  --frame531b6-radius-xs: 7px;
  --frame531b6-gap: 14px;
  --frame531b6-pad: 14px;
  --frame531b6-topbar-h: 58px;
  --frame531b6-dock-h: 64px;
  --frame531b6-ease: cubic-bezier(0.32, 0.72, 0.28, 1);
  --frame531b6-font-head: "Baloo Da 2", "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  --frame531b6-font-body: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
}

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

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

body {
  margin: 0;
  padding: 0;
  background: #10171F;
  color: var(--frame531b6-paper);
  font-family: var(--frame531b6-font-body);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: var(--frame531b6-mint);
  text-decoration: none;
  transition: color 0.22s var(--frame531b6-ease);
}

a:hover {
  color: #C6FFC6;
}

h1, h2, h3, h4 {
  font-family: var(--frame531b6-font-head);
  color: var(--frame531b6-mint);
  line-height: 1.34;
  margin: 0 0 0.5em;
  font-weight: 700;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 0.85em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.42em;
}

::selection {
  background: var(--frame531b6-mint);
  color: var(--frame531b6-ink-on-mint);
}

:focus-visible {
  outline: 2px solid var(--frame531b6-mint);
  outline-offset: 2px;
  border-radius: var(--frame531b6-radius-xs);
}

/* ---------- 3. Phone canvas (centered on desktop) ---------- */
.frame531b6-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(154, 255, 154, 0.06), transparent 62%),
    var(--frame531b6-ink);
  box-shadow: 0 0 0 1px rgba(154, 255, 154, 0.08), 0 18px 60px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.frame531b6-main {
  padding: calc(var(--frame531b6-topbar-h) + 10px) var(--frame531b6-pad) calc(var(--frame531b6-dock-h) + 34px);
}

/* ---------- 4. Top compact brand bar ---------- */
.frame531b6-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  height: var(--frame531b6-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, #24333F 0%, rgba(33, 47, 61, 0.96) 100%);
  border-bottom: 1px solid var(--frame531b6-rule);
  backdrop-filter: blur(8px);
}

.frame531b6-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.frame531b6-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--frame531b6-radius-sm);
  border: 1px solid var(--frame531b6-rule);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(154, 255, 154, 0.08);
  flex: none;
}

.frame531b6-brand-name {
  font-family: var(--frame531b6-font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--frame531b6-paper);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame531b6-brand-name b {
  color: var(--frame531b6-mint);
  font-weight: 700;
}

.frame531b6-topacts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.frame531b6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: var(--frame531b6-radius-sm);
  font-family: var(--frame531b6-font-head);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1;
  transition: transform 0.2s var(--frame531b6-ease), background 0.25s var(--frame531b6-ease),
    color 0.25s var(--frame531b6-ease), border-color 0.25s var(--frame531b6-ease);
}

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

.frame531b6-btn--ghost {
  border: 1px solid var(--frame531b6-rule);
  color: var(--frame531b6-paper);
  background: var(--frame531b6-mint-ghost);
}

.frame531b6-btn--ghost:hover {
  border-color: var(--frame531b6-mint);
  color: var(--frame531b6-mint);
}

.frame531b6-btn--solid {
  background: linear-gradient(135deg, var(--frame531b6-mint) 0%, var(--frame531b6-mint-deep) 100%);
  color: var(--frame531b6-ink-on-mint);
  box-shadow: 0 3px 12px rgba(154, 255, 154, 0.25);
}

.frame531b6-btn--solid:hover {
  filter: brightness(1.06);
}

.frame531b6-burger {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame531b6-rule);
  border-radius: var(--frame531b6-radius-sm);
  background: var(--frame531b6-mint-ghost);
}

.frame531b6-burger-box {
  position: relative;
  width: 17px;
  height: 12px;
}

.frame531b6-burger-box i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--frame531b6-mint);
  transition: transform 0.3s var(--frame531b6-ease), opacity 0.2s linear, width 0.3s var(--frame531b6-ease);
}

.frame531b6-burger-box i:nth-child(1) { top: 0; }
.frame531b6-burger-box i:nth-child(2) { top: 5px; width: 70%; }
.frame531b6-burger-box i:nth-child(3) { top: 10px; }

.frame531b6-burger[aria-expanded="true"] .frame531b6-burger-box i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.frame531b6-burger[aria-expanded="true"] .frame531b6-burger-box i:nth-child(2) {
  opacity: 0;
}

.frame531b6-burger[aria-expanded="true"] .frame531b6-burger-box i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 5. Slide-up route panel ---------- */
.frame531b6-routes {
  position: fixed;
  top: calc(var(--frame531b6-topbar-h) + env(safe-area-inset-top));
  left: 50%;
  transform: translate(-50%, -104%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  max-height: calc(100vh - var(--frame531b6-topbar-h) - 20px);
  overflow-y: auto;
  background: linear-gradient(180deg, #22303D 0%, #1B2632 100%);
  border-bottom: 1px solid var(--frame531b6-rule);
  border-radius: 0 0 var(--frame531b6-radius-lg) var(--frame531b6-radius-lg);
  box-shadow: 0 26px 46px rgba(0, 0, 0, 0.5);
  padding: 14px var(--frame531b6-pad) 20px;
  visibility: hidden;
  opacity: 0.001;
  transition: transform 0.34s var(--frame531b6-ease), opacity 0.26s linear, visibility 0s linear 0.34s;
}

.frame531b6-routes[data-open="true"] {
  transform: translate(-50%, 0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.34s var(--frame531b6-ease), opacity 0.26s linear;
}

.frame531b6-routes-group {
  margin-bottom: 12px;
}

.frame531b6-routes-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame531b6-faint);
  margin: 0 0 7px 2px;
  font-family: var(--frame531b6-font-head);
}

.frame531b6-routes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.frame531b6-routes-list--one {
  grid-template-columns: 1fr;
}

.frame531b6-routes-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--frame531b6-rule-thin);
  border-radius: var(--frame531b6-radius-sm);
  background: var(--frame531b6-mint-ghost);
  color: var(--frame531b6-paper);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color 0.24s var(--frame531b6-ease), background 0.24s var(--frame531b6-ease),
    color 0.24s var(--frame531b6-ease);
}

.frame531b6-routes-link::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-top: 1.5px solid var(--frame531b6-faint);
  border-right: 1.5px solid var(--frame531b6-faint);
  transform: rotate(45deg);
  transition: border-color 0.24s var(--frame531b6-ease);
}

.frame531b6-routes-link:hover {
  border-color: var(--frame531b6-mint);
  background: var(--frame531b6-mint-soft);
  color: var(--frame531b6-mint);
}

.frame531b6-routes-link:hover::after {
  border-color: var(--frame531b6-mint);
}

.frame531b6-routes-note {
  margin: 4px 2px 0;
  font-size: 11.5px;
  color: var(--frame531b6-faint);
}

/* ---------- 6. Page intro + H1 ---------- */
.frame531b6-intro {
  padding: 4px 2px 14px;
}

.frame531b6-intro h1 {
  font-size: 24px;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.frame531b6-intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--frame531b6-mint);
  background: var(--frame531b6-mint-soft);
  border: 1px solid var(--frame531b6-rule-thin);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 10px;
}

.frame531b6-intro-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--frame531b6-mint);
  box-shadow: 0 0 8px var(--frame531b6-mint);
}

.frame531b6-intro p {
  color: var(--frame531b6-muted);
  font-size: 14px;
  margin-bottom: 0.6em;
}

/* ---------- 7. Banner carousel ---------- */
.frame531b6-hero {
  margin: 0 0 var(--frame531b6-gap);
}

.frame531b6-hero-clip {
  position: relative;
  border-radius: var(--frame531b6-radius-md);
  overflow: hidden;
  border: 1px solid var(--frame531b6-rule-thin);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.frame531b6-hero-track {
  display: flex;
  transition: transform 0.45s var(--frame531b6-ease);
}

.frame531b6-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  aspect-ratio: 1915 / 450;
  overflow: hidden;
}

.frame531b6-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--frame531b6-ease);
}

.frame531b6-hero-slide:hover img {
  transform: scale(1.025);
}

.frame531b6-hero-cap {
  position: absolute;
  left: 10px;
  bottom: 8px;
  max-width: 78%;
  display: inline-flex;
  flex-direction: column;
  padding: 5px 11px;
  border-radius: var(--frame531b6-radius-xs);
  background: rgba(23, 34, 44, 0.78);
  border: 1px solid var(--frame531b6-rule-thin);
  backdrop-filter: blur(3px);
  text-align: left;
}

.frame531b6-hero-cap strong {
  font-family: var(--frame531b6-font-head);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--frame531b6-mint);
}

.frame531b6-hero-cap em {
  font-style: normal;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--frame531b6-paper);
}

.frame531b6-hero-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
}

.frame531b6-hero-dot {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid var(--frame531b6-rule);
  background: transparent;
  transition: background 0.28s var(--frame531b6-ease), border-color 0.28s var(--frame531b6-ease);
}

.frame531b6-hero-dot--on {
  background: var(--frame531b6-mint);
  border-color: var(--frame531b6-mint);
}

/* ---------- 8. Category shortcut chips ---------- */
.frame531b6-jumps {
  display: flex;
  gap: 8px;
  margin: 0 0 var(--frame531b6-gap);
  padding: 2px 2px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.frame531b6-jumps::-webkit-scrollbar {
  display: none;
}

.frame531b6-jump {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--frame531b6-rule);
  background: var(--frame531b6-mint-ghost);
  color: var(--frame531b6-paper);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.24s var(--frame531b6-ease), color 0.24s var(--frame531b6-ease),
    border-color 0.24s var(--frame531b6-ease);
}

.frame531b6-jump:hover {
  background: var(--frame531b6-mint-soft);
  color: var(--frame531b6-mint);
  border-color: var(--frame531b6-mint);
}

.frame531b6-jump b {
  font-size: 10.5px;
  color: var(--frame531b6-faint);
  font-weight: 600;
}

/* ---------- 9. Game catalog (compact square tiles) ---------- */
.frame531b6-zone {
  margin: 0 0 var(--frame531b6-gap);
}

.frame531b6-zone > h2 {
  font-size: 19px;
  margin-bottom: 4px;
}

.frame531b6-zone-lead {
  color: var(--frame531b6-muted);
  font-size: 13.5px;
  margin-bottom: 12px;
}

.frame531b6-cat {
  margin-bottom: 18px;
  scroll-margin-top: calc(var(--frame531b6-topbar-h) + 12px);
}

.frame531b6-cat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  margin-bottom: 9px;
  border-radius: var(--frame531b6-radius-sm);
  background: linear-gradient(90deg, var(--frame531b6-mint-soft) 0%, transparent 88%);
  border-left: 3px solid var(--frame531b6-mint);
}

.frame531b6-cat-head h3 {
  margin: 0;
  font-size: 15.5px;
  color: var(--frame531b6-paper);
  flex: 1;
  min-width: 0;
}

.frame531b6-cat-count {
  flex: none;
  font-family: var(--frame531b6-font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--frame531b6-mint);
  border: 1px solid var(--frame531b6-rule);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.frame531b6-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 8px;
}

.frame531b6-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  text-align: center;
  border-radius: var(--frame531b6-radius-sm);
  transition: transform 0.24s var(--frame531b6-ease), background 0.24s var(--frame531b6-ease);
  -webkit-tap-highlight-color: transparent;
}

.frame531b6-tile:hover,
.frame531b6-tile:focus-visible {
  transform: translateY(-3px);
}

.frame531b6-tile:active {
  transform: translateY(-1px) scale(0.97);
}

.frame531b6-tile-fig {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--frame531b6-radius-sm);
  overflow: hidden;
  border: 1px solid var(--frame531b6-rule-thin);
  background: var(--frame531b6-ink-deep);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.28);
}

.frame531b6-tile-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--frame531b6-ease);
}

.frame531b6-tile:hover .frame531b6-tile-fig img {
  transform: scale(1.06);
}

.frame531b6-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.45;
  color: var(--frame531b6-muted);
  transition: color 0.24s var(--frame531b6-ease);
  min-height: 2.9em;
}

.frame531b6-tile:hover .frame531b6-tile-name {
  color: var(--frame531b6-mint);
}

/* ---------- 10. Full-width CTA ---------- */
.frame531b6-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin: 2px 0 var(--frame531b6-gap);
  padding: 13px 16px;
  border-radius: var(--frame531b6-radius-md);
  background: linear-gradient(135deg, var(--frame531b6-mint) 0%, var(--frame531b6-mint-deep) 100%);
  color: var(--frame531b6-ink-on-mint);
  font-family: var(--frame531b6-font-head);
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(154, 255, 154, 0.28);
  transition: transform 0.2s var(--frame531b6-ease), filter 0.24s var(--frame531b6-ease);
}

.frame531b6-cta small {
  display: block;
  font-family: var(--frame531b6-font-body);
  font-weight: 500;
  font-size: 11px;
  opacity: 0.78;
  line-height: 1.3;
}

.frame531b6-cta:hover {
  filter: brightness(1.06);
}

.frame531b6-cta:active {
  transform: scale(0.985);
}

/* ---------- 11. Content modules ---------- */
.frame531b6-module {
  margin: 0 0 var(--frame531b6-gap);
  padding: 15px 14px 13px;
  border-radius: var(--frame531b6-radius-md);
  background: var(--frame531b6-ink-raise);
  border: 1px solid var(--frame531b6-rule-thin);
}

.frame531b6-module > h2 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.frame531b6-lead {
  color: var(--frame531b6-paper);
  font-size: 14px;
}

.frame531b6-module p {
  font-size: 13.8px;
  color: var(--frame531b6-muted);
}

.frame531b6-module strong {
  color: var(--frame531b6-paper);
  font-weight: 600;
}

/* winner ticker rows */
.frame531b6-ticker {
  margin: 10px 0 12px;
  border: 1px solid var(--frame531b6-rule-thin);
  border-radius: var(--frame531b6-radius-sm);
  background: var(--frame531b6-ink-deep);
  overflow: hidden;
}

.frame531b6-ticker-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-bottom: 1px dashed var(--frame531b6-rule-thin);
  font-size: 12.5px;
}

.frame531b6-ticker-row:last-child {
  border-bottom: 0;
}

.frame531b6-ticker-who {
  flex: 1;
  min-width: 0;
  color: var(--frame531b6-paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame531b6-ticker-what {
  flex: none;
  max-width: 42%;
  color: var(--frame531b6-muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame531b6-ticker-how {
  flex: none;
  font-family: var(--frame531b6-font-head);
  font-weight: 600;
  color: var(--frame531b6-mint);
  font-size: 12.5px;
}

/* security checklist */
.frame531b6-checks {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.frame531b6-checks li {
  position: relative;
  margin: 0;
  padding: 9px 11px 9px 36px;
  border: 1px solid var(--frame531b6-rule-thin);
  border-radius: var(--frame531b6-radius-sm);
  background: var(--frame531b6-mint-ghost);
  font-size: 13px;
  color: var(--frame531b6-muted);
}

.frame531b6-checks li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--frame531b6-mint);
  background: var(--frame531b6-mint-ghost);
}

.frame531b6-checks li::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 16px;
  width: 6px;
  height: 3.5px;
  border-left: 1.8px solid var(--frame531b6-mint);
  border-bottom: 1.8px solid var(--frame531b6-mint);
  transform: rotate(-45deg);
}

/* offer chips row */
.frame531b6-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 12px;
}

.frame531b6-offer {
  padding: 9px 8px;
  border: 1px solid var(--frame531b6-rule-thin);
  border-radius: var(--frame531b6-radius-sm);
  background: var(--frame531b6-ink-deep);
  text-align: center;
}

.frame531b6-offer b {
  display: block;
  font-family: var(--frame531b6-font-head);
  font-size: 12.5px;
  color: var(--frame531b6-mint);
  margin-bottom: 2px;
}

.frame531b6-offer span {
  font-size: 11px;
  color: var(--frame531b6-muted);
  line-height: 1.45;
  display: block;
}

/* numbered steps */
.frame531b6-steps {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 9px;
  counter-reset: frame531b6-step;
}

.frame531b6-steps li {
  counter-increment: frame531b6-step;
  position: relative;
  margin: 0;
  padding: 10px 12px 10px 44px;
  border: 1px solid var(--frame531b6-rule-thin);
  border-radius: var(--frame531b6-radius-sm);
  background: var(--frame531b6-mint-ghost);
  font-size: 13px;
  color: var(--frame531b6-muted);
}

.frame531b6-steps li::before {
  content: counter(frame531b6-step);
  position: absolute;
  left: 11px;
  top: 10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--frame531b6-mint);
  color: var(--frame531b6-ink-on-mint);
  font-family: var(--frame531b6-font-head);
  font-weight: 700;
  font-size: 12px;
}

/* relationship map (term rows) */
.frame531b6-relmap {
  margin: 10px 0 12px;
  border: 1px solid var(--frame531b6-rule-thin);
  border-radius: var(--frame531b6-radius-sm);
  overflow: hidden;
}

.frame531b6-rel {
  display: grid;
  grid-template-columns: 34% 1fr;
  border-bottom: 1px solid var(--frame531b6-rule-thin);
}

.frame531b6-rel:last-child {
  border-bottom: 0;
}

.frame531b6-rel dt {
  padding: 9px 10px;
  background: var(--frame531b6-ink-deep);
  font-family: var(--frame531b6-font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--frame531b6-mint);
  display: flex;
  align-items: center;
}

.frame531b6-rel dd {
  margin: 0;
  padding: 9px 11px;
  font-size: 12.8px;
  color: var(--frame531b6-muted);
}

/* ---------- 12. Extended homepage footer ---------- */
.frame531b6-xfoot {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--frame531b6-rule);
}

.frame531b6-xfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.frame531b6-xfoot-brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--frame531b6-radius-sm);
  border: 1px solid var(--frame531b6-rule);
  flex: none;
}

.frame531b6-xfoot-brand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--frame531b6-muted);
  line-height: 1.65;
}

.frame531b6-xfoot-brand strong {
  display: block;
  font-family: var(--frame531b6-font-head);
  font-size: 14.5px;
  color: var(--frame531b6-mint);
  margin-bottom: 2px;
}

.frame531b6-xfoot-kicker {
  font-family: var(--frame531b6-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame531b6-faint);
  margin: 0 0 8px;
}

.frame531b6-xfoot-dir {
  margin-bottom: 14px;
}

.frame531b6-xfoot-dir ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.frame531b6-xfoot-dir a {
  display: block;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--frame531b6-rule-thin);
  border-radius: var(--frame531b6-radius-xs);
  background: var(--frame531b6-mint-ghost);
  font-size: 12px;
  color: var(--frame531b6-paper);
  line-height: 1.4;
  transition: border-color 0.24s var(--frame531b6-ease), color 0.24s var(--frame531b6-ease),
    background 0.24s var(--frame531b6-ease);
}

.frame531b6-xfoot-dir a:hover {
  border-color: var(--frame531b6-mint);
  color: var(--frame531b6-mint);
  background: var(--frame531b6-mint-soft);
}

.frame531b6-xfoot-promos {
  margin-bottom: 14px;
}

.frame531b6-shortcuts {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--frame531b6-pad) * -1) 0;
  padding: 2px var(--frame531b6-pad) 6px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.frame531b6-shortcuts::-webkit-scrollbar {
  display: none;
}

.frame531b6-shortcut {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 86px;
  min-height: 56px;
  padding: 9px 12px;
  border-radius: var(--frame531b6-radius-md);
  border: 1px solid var(--frame531b6-rule);
  background: linear-gradient(160deg, var(--frame531b6-mint-soft) 0%, var(--frame531b6-ink-deep) 70%);
  font-family: var(--frame531b6-font-head);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--frame531b6-paper);
  transition: transform 0.2s var(--frame531b6-ease), border-color 0.24s var(--frame531b6-ease),
    color 0.24s var(--frame531b6-ease);
}

.frame531b6-shortcut em {
  font-style: normal;
  font-family: var(--frame531b6-font-body);
  font-weight: 400;
  font-size: 10px;
  color: var(--frame531b6-faint);
}

.frame531b6-shortcut:hover {
  transform: translateY(-2px);
  border-color: var(--frame531b6-mint);
  color: var(--frame531b6-mint);
}

.frame531b6-xfoot-note {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--frame531b6-faint);
  padding: 10px 12px;
  border: 1px dashed var(--frame531b6-rule-thin);
  border-radius: var(--frame531b6-radius-sm);
}

/* ---------- 13. Common footer (copyright only) ---------- */
.frame531b6-foot {
  margin-top: 16px;
  padding: 12px 4px 4px;
  text-align: center;
  font-size: 11.5px;
  color: var(--frame531b6-faint);
  border-top: 1px solid var(--frame531b6-rule-thin);
}

.frame531b6-foot b {
  color: var(--frame531b6-muted);
  font-weight: 600;
}

/* ---------- 14. Bottom dock (outlined function bar) ---------- */
.frame531b6-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 58;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(26, 37, 49, 0.97);
  border-top: 1px solid var(--frame531b6-rule);
  backdrop-filter: blur(10px);
}

.frame531b6-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 5px 2px 3px;
  border-radius: var(--frame531b6-radius-sm);
  border: 1px solid transparent;
  color: var(--frame531b6-muted);
  transition: color 0.26s var(--frame531b6-ease), background 0.26s var(--frame531b6-ease),
    border-color 0.26s var(--frame531b6-ease);
  -webkit-tap-highlight-color: transparent;
}

.frame531b6-dock-item:hover {
  color: var(--frame531b6-paper);
  border-color: var(--frame531b6-rule-thin);
}

.frame531b6-dock-item:active {
  transform: scale(0.95);
}

.frame531b6-dock-item svg {
  width: 22px;
  height: 22px;
  display: block;
}

.frame531b6-dock-item svg path,
.frame531b6-dock-item svg circle,
.frame531b6-dock-item svg rect {
  transition: fill 0.26s var(--frame531b6-ease);
}

.frame531b6-dock-label {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* active item: icon fill flips to mint + soft mint fill behind */
.frame531b6-dock-item--on {
  color: var(--frame531b6-mint);
  background: var(--frame531b6-mint-soft);
  border-color: var(--frame531b6-rule);
}

.frame531b6-dock-item--on::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--frame531b6-mint);
  box-shadow: 0 0 8px rgba(154, 255, 154, 0.6);
}

/* promo dock roles carry a mint outline pulse */
.frame531b6-dock-item--promo {
  border: 1px dashed var(--frame531b6-rule);
}

.frame531b6-dock-item--promo:hover {
  border-color: var(--frame531b6-mint);
  color: var(--frame531b6-mint);
}

/* ---------- 15. Soft reveal + motion budget ---------- */
.frame531b6-cat,
.frame531b6-module {
  opacity: 1;
  transform: none;
}

.frame531b6-riser {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--frame531b6-ease), transform 0.5s var(--frame531b6-ease);
}

.frame531b6-riser[data-shown="true"] {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .frame531b6-riser {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 16. Breakpoints inside the phone canvas ---------- */
@media (min-width: 375px) {
  .frame531b6-intro h1 {
    font-size: 25px;
  }

  .frame531b6-grid {
    gap: 10px 9px;
  }
}

/* 5 game columns on wider phones / desktop phone-canvas */
@media (min-width: 390px) {
  .frame531b6-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .frame531b6-tile-name {
    font-size: 10.5px;
  }
}

/* very narrow phones: keep 4 columns but tighten labels */
@media (max-width: 339px) {
  .frame531b6-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px 6px;
  }

  .frame531b6-brand-name {
    font-size: 15px;
  }

  .frame531b6-offers {
    grid-template-columns: 1fr;
  }
}
