/* ==========================================================================
   jljl6.cyou - mobile-first base stylesheet
   Palette: deep slate #2E4057 (canvas) / rose #FFB6C1 (text and accents)
   Voice: monospace accents over a regular body face, small-medium radii,
   grouped cover cards, fact-first rhythm, motion reserved for key CTAs.
   All classes and variables use the frame561bb- prefix.
   ========================================================================== */

:root {
  --frame561bb-ink: #2E4057;
  --frame561bb-ink-deep: #24344a;
  --frame561bb-ink-soft: #354b66;
  --frame561bb-ink-line: #43587a;
  --frame561bb-rose: #FFB6C1;
  --frame561bb-rose-bright: #ffd3da;
  --frame561bb-rose-soft: rgba(255, 182, 193, 0.62);
  --frame561bb-rose-faint: rgba(255, 182, 193, 0.14);
  --frame561bb-rose-line: rgba(255, 182, 193, 0.30);
  --frame561bb-rose-dim: rgba(255, 182, 193, 0.09);
  --frame561bb-canvas-max: 430px;
  --frame561bb-radius-lg: 16px;
  --frame561bb-radius-md: 12px;
  --frame561bb-radius-sm: 8px;
  --frame561bb-gap: 14px;
  --frame561bb-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --frame561bb-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  --frame561bb-dock-height: 66px;
}

/* ---------- page scaffold ---------- */

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

body.frame561bb-page {
  margin: 0;
  padding: 0;
  background: #1b2738;
  color: var(--frame561bb-rose);
  font-family: var(--frame561bb-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
}

/* The phone canvas stays centered when the viewport grows past 430px. */
.frame561bb-canvas {
  position: relative;
  width: 100%;
  max-width: var(--frame561bb-canvas-max);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% 0%, rgba(255, 182, 193, 0.10) 0%, rgba(255, 182, 193, 0) 58%),
    linear-gradient(180deg, var(--frame561bb-ink) 0%, var(--frame561bb-ink-deep) 100%);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.45);
  overflow-x: hidden;
}

.frame561bb-main {
  padding: 0 14px calc(var(--frame561bb-dock-height) + 46px);
}

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

a {
  color: var(--frame561bb-rose-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* ---------- fixed tab-style top bar ---------- */

.frame561bb-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame561bb-canvas-max);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 9px 12px 8px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(36, 52, 74, 0.98) 0%, rgba(36, 52, 74, 0.92) 78%, rgba(36, 52, 74, 0) 100%);
  backdrop-filter: blur(6px);
}

.frame561bb-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-right: auto;
}

.frame561bb-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--frame561bb-rose-line);
  background: var(--frame561bb-rose-faint);
  object-fit: cover;
  flex: none;
}

.frame561bb-brand-name {
  font-family: var(--frame561bb-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--frame561bb-rose-bright);
  white-space: nowrap;
}

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

/* compact dual-button group */
.frame561bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--frame561bb-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.frame561bb-btn-primary {
  background: var(--frame561bb-rose);
  color: #26364d;
}

.frame561bb-btn-primary:hover {
  background: var(--frame561bb-rose-bright);
  text-decoration: none;
}

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

.frame561bb-btn-ghost {
  background: transparent;
  color: var(--frame561bb-rose);
  border-color: var(--frame561bb-rose-line);
}

.frame561bb-btn-ghost:hover {
  background: var(--frame561bb-rose-faint);
  text-decoration: none;
}

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

.frame561bb-menubtn {
  width: 40px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--frame561bb-rose-line);
  background: var(--frame561bb-rose-dim);
  color: var(--frame561bb-rose);
}

.frame561bb-menubtn:active {
  transform: scale(0.94);
}

.frame561bb-menubtn svg {
  display: block;
}

/* ---------- side drawer menu ---------- */

.frame561bb-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(17, 26, 40, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.frame561bb-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 80;
  width: min(84%, 340px);
  transform: translateX(calc(-50% - 120%));
  transition: transform 0.24s ease;
  background: linear-gradient(180deg, #2b3d55 0%, #22334b 100%);
  border-right: 1px solid var(--frame561bb-rose-line);
  display: flex;
  flex-direction: column;
  padding: 16px 16px 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

body.frame561bb-drawer-open .frame561bb-drawer {
  transform: translateX(-50%);
}

body.frame561bb-drawer-open .frame561bb-scrim {
  opacity: 1;
  visibility: visible;
}

.frame561bb-drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--frame561bb-rose-line);
}

.frame561bb-drawer-title {
  font-family: var(--frame561bb-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--frame561bb-rose-bright);
  margin: 0;
}

.frame561bb-drawer-close {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--frame561bb-rose-line);
  background: var(--frame561bb-rose-dim);
  color: var(--frame561bb-rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.frame561bb-drawer-group {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.frame561bb-drawer-group-label {
  font-family: var(--frame561bb-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frame561bb-rose-soft);
  margin: 0 0 6px 2px;
}

.frame561bb-drawer-group a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 10px;
  border-radius: var(--frame561bb-radius-sm);
  color: var(--frame561bb-rose);
  font-size: 14.5px;
  font-weight: 500;
}

.frame561bb-drawer-group a:hover {
  background: var(--frame561bb-rose-faint);
  text-decoration: none;
}

.frame561bb-drawer-group a:active {
  background: var(--frame561bb-rose-dim);
}

.frame561bb-drawer-index {
  font-family: var(--frame561bb-mono);
  font-size: 11px;
  color: var(--frame561bb-rose-soft);
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: 6px;
  padding: 2px 6px;
  flex: none;
}

.frame561bb-drawer-cta {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ---------- hero ---------- */

.frame561bb-hero {
  padding: 78px 2px 6px;
}

.frame561bb-hero-kicker {
  font-family: var(--frame561bb-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--frame561bb-rose-soft);
  margin: 0 0 8px;
}

.frame561bb-hero-title {
  font-family: var(--frame561bb-mono);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--frame561bb-rose-bright);
  margin: 0 0 10px;
}

.frame561bb-hero-lede {
  margin: 0 0 14px;
  color: var(--frame561bb-rose);
  font-size: 14.5px;
}

.frame561bb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.frame561bb-hero-cta .frame561bb-btn {
  flex: 1 1 auto;
  min-width: 128px;
}

/* ---------- carousel ---------- */

.frame561bb-carousel {
  position: relative;
  margin: 14px 0 4px;
  border-radius: var(--frame561bb-radius-lg);
  border: 1px solid var(--frame561bb-rose-line);
  background: var(--frame561bb-ink-deep);
  overflow: hidden;
}

.frame561bb-track {
  display: flex;
  transition: transform 0.32s ease;
}

.frame561bb-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  width: 100%;
}

.frame561bb-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.frame561bb-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 40px;
  z-index: 2;
  text-align: left;
  pointer-events: none;
}

.frame561bb-slide-caption span {
  display: inline-block;
  background: rgba(36, 52, 74, 0.86);
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--frame561bb-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--frame561bb-rose-bright);
}

.frame561bb-dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.frame561bb-dot {
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.frame561bb-dot::before {
  content: "";
  width: 16px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 182, 193, 0.35);
  transition: background-color 0.18s ease, width 0.18s ease;
}

.frame561bb-dot.frame561bb-dot-on::before {
  background: var(--frame561bb-rose);
  width: 24px;
}

/* ---------- fact strip ---------- */

.frame561bb-facts {
  margin: 14px 0 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.frame561bb-fact {
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-md);
  background: var(--frame561bb-rose-dim);
  padding: 10px 12px;
}

.frame561bb-fact b {
  display: block;
  font-family: var(--frame561bb-mono);
  font-size: 18px;
  color: var(--frame561bb-rose-bright);
  line-height: 1.2;
}

.frame561bb-fact span {
  display: block;
  font-family: var(--frame561bb-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frame561bb-rose-soft);
  margin-top: 3px;
}

/* ---------- game area ---------- */

.frame561bb-games {
  margin-top: 22px;
}

.frame561bb-cat {
  margin: 0 0 22px;
}

.frame561bb-cat-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px dashed var(--frame561bb-rose-line);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.frame561bb-cat-title {
  font-family: var(--frame561bb-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--frame561bb-rose-bright);
  margin: 0;
  line-height: 1.3;
}

.frame561bb-cat-count {
  margin-left: auto;
  font-family: var(--frame561bb-mono);
  font-size: 11px;
  color: var(--frame561bb-rose-soft);
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
  flex: none;
}

.frame561bb-cat-note {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--frame561bb-rose);
}

.frame561bb-cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 12px;
  font-size: 13px;
}

.frame561bb-cat-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.frame561bb-cat-links a::before {
  content: "\25B8";
  color: var(--frame561bb-rose-soft);
  font-size: 11px;
}

/* grouped cover card grid: 4 columns at 320px, 5 columns from 400px up */
.frame561bb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.frame561bb-gcard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-md);
  background: linear-gradient(180deg, rgba(255, 182, 193, 0.08) 0%, rgba(255, 182, 193, 0.02) 100%);
  color: var(--frame561bb-rose);
  text-align: center;
  min-width: 0;
}

.frame561bb-gcard:active {
  background: var(--frame561bb-rose-faint);
  transform: scale(0.97);
}

.frame561bb-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--frame561bb-radius-sm);
  border: 1px solid rgba(255, 182, 193, 0.18);
  background: var(--frame561bb-ink-deep);
}

.frame561bb-gcard span {
  font-size: 11.5px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--frame561bb-rose-bright);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  overflow-wrap: anywhere;
}

/* ---------- shared section blocks ---------- */

.frame561bb-section {
  margin: 26px 0 0;
}

.frame561bb-h2 {
  font-family: var(--frame561bb-mono);
  font-size: 18.5px;
  line-height: 1.34;
  font-weight: 700;
  color: var(--frame561bb-rose-bright);
  margin: 0 0 10px;
}

.frame561bb-h3 {
  font-family: var(--frame561bb-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--frame561bb-rose-bright);
  margin: 18px 0 6px;
}

.frame561bb-p {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--frame561bb-rose);
}

.frame561bb-panel {
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-lg);
  background: var(--frame561bb-rose-dim);
  padding: 14px;
}

/* decision CTA block */
.frame561bb-cta {
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 182, 193, 0.16) 0%, rgba(255, 182, 193, 0.04) 60%),
    var(--frame561bb-ink-deep);
  padding: 16px 14px;
  text-align: center;
}

.frame561bb-cta .frame561bb-p {
  text-align: left;
}

.frame561bb-cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.frame561bb-cta-buttons .frame561bb-btn {
  width: 100%;
  min-height: 44px;
}

/* numbered steps */
.frame561bb-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: frame561bb-step;
}

.frame561bb-steps li {
  counter-increment: frame561bb-step;
  position: relative;
  padding: 0 0 14px 44px;
}

.frame561bb-steps li::before {
  content: counter(frame561bb-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: 10px;
  background: var(--frame561bb-rose-dim);
  font-family: var(--frame561bb-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--frame561bb-rose-bright);
}

.frame561bb-steps b {
  color: var(--frame561bb-rose-bright);
}

.frame561bb-steps p {
  margin: 2px 0 0;
  font-size: 13.8px;
}

/* winners strip */
.frame561bb-winners {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  margin: 0 -2px;
  -webkit-overflow-scrolling: touch;
}

.frame561bb-winners::-webkit-scrollbar {
  height: 4px;
}

.frame561bb-winners::-webkit-scrollbar-thumb {
  background: var(--frame561bb-rose-line);
  border-radius: 999px;
}

.frame561bb-wcard {
  scroll-snap-align: start;
  flex: 0 0 78%;
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-md);
  background: var(--frame561bb-rose-dim);
  padding: 10px 12px;
  font-size: 12.8px;
}

.frame561bb-wcard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.frame561bb-wcard-top b {
  font-family: var(--frame561bb-mono);
  font-size: 12.5px;
  color: var(--frame561bb-rose-bright);
}

.frame561bb-wcard-top span {
  margin-left: auto;
  font-family: var(--frame561bb-mono);
  font-size: 10.5px;
  color: var(--frame561bb-rose-soft);
  white-space: nowrap;
}

.frame561bb-wcard p {
  margin: 0;
  color: var(--frame561bb-rose);
  line-height: 1.5;
}

.frame561bb-wcard .frame561bb-wcard-amt {
  font-family: var(--frame561bb-mono);
  font-weight: 700;
  color: var(--frame561bb-rose-bright);
}

/* testimonials */
.frame561bb-quotes {
  display: grid;
  gap: 10px;
}

.frame561bb-quote {
  border: 1px solid var(--frame561bb-rose-line);
  border-left: 4px solid var(--frame561bb-rose);
  border-radius: var(--frame561bb-radius-md);
  background: var(--frame561bb-rose-dim);
  padding: 12px 13px;
}

.frame561bb-quote p {
  margin: 0 0 8px;
  font-size: 13.8px;
  color: var(--frame561bb-rose);
}

.frame561bb-quote footer {
  font-family: var(--frame561bb-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--frame561bb-rose-soft);
}

/* fact-first expandable answer blocks */
.frame561bb-answer-lede {
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-md);
  background: var(--frame561bb-rose-faint);
  padding: 12px 13px;
  font-size: 14.5px;
  margin: 0 0 12px;
}

.frame561bb-answer-lede b {
  color: var(--frame561bb-rose-bright);
}

.frame561bb-faq {
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-md);
  background: var(--frame561bb-rose-dim);
  margin: 0 0 10px;
}

.frame561bb-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 38px 12px 13px;
  position: relative;
  font-family: var(--frame561bb-mono);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--frame561bb-rose-bright);
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

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

.frame561bb-faq summary::after {
  content: "+";
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--frame561bb-mono);
  font-size: 17px;
  color: var(--frame561bb-rose-soft);
}

.frame561bb-faq[open] summary::after {
  content: "\2013";
}

.frame561bb-faq div {
  padding: 0 13px 13px;
  font-size: 13.8px;
  color: var(--frame561bb-rose);
}

/* inline promo text link */
.frame561bb-plink {
  font-family: var(--frame561bb-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--frame561bb-rose-bright);
  border-bottom: 1px dashed var(--frame561bb-rose-line);
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  padding: 0 1px 1px;
}

.frame561bb-plink:active {
  color: #ffffff;
}

/* ---------- extended footer ---------- */

.frame561bb-xfooter {
  margin-top: 30px;
  border-top: 1px solid var(--frame561bb-rose-line);
  padding-top: 18px;
}

.frame561bb-xfooter-title {
  font-family: var(--frame561bb-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frame561bb-rose-soft);
  margin: 0 0 10px;
}

.frame561bb-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  margin: 0 0 20px;
}

.frame561bb-dir a {
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: var(--frame561bb-rose);
}

.frame561bb-dir a::before {
  content: "\2022";
  color: var(--frame561bb-rose-soft);
  flex: none;
}

.frame561bb-xbrand {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: var(--frame561bb-rose);
}

.frame561bb-xpromo {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
}

.frame561bb-xpromo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-md);
  background: var(--frame561bb-rose-dim);
  color: var(--frame561bb-rose);
}

.frame561bb-xpromo-item:active {
  background: var(--frame561bb-rose-faint);
  transform: scale(0.985);
}

.frame561bb-xpromo-item b {
  font-size: 13.5px;
  color: var(--frame561bb-rose-bright);
  display: block;
}

.frame561bb-xpromo-item small {
  display: block;
  font-size: 11.5px;
  color: var(--frame561bb-rose-soft);
  line-height: 1.4;
}

.frame561bb-xpromo-item .frame561bb-xpromo-arrow {
  margin-left: auto;
  flex: none;
  font-family: var(--frame561bb-mono);
  color: var(--frame561bb-rose);
  font-size: 15px;
}

.frame561bb-xnote {
  border: 1px dashed var(--frame561bb-rose-line);
  border-radius: var(--frame561bb-radius-md);
  padding: 11px 12px;
  font-size: 12.3px;
  line-height: 1.55;
  color: var(--frame561bb-rose-soft);
}

/* ---------- common footer ---------- */

.frame561bb-footer {
  margin-top: 22px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--frame561bb-rose-line);
  text-align: center;
}

.frame561bb-footer p {
  margin: 0;
  font-family: var(--frame561bb-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--frame561bb-rose-soft);
}

/* ---------- floating dock bottom nav ---------- */

.frame561bb-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: calc(var(--frame561bb-canvas-max) - 16px);
  z-index: 60;
  margin-bottom: 9px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  border: 1px solid var(--frame561bb-rose-line);
  border-radius: 18px;
  background: rgba(34, 50, 72, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(10, 16, 26, 0.5);
  padding: 6px 4px;
  box-sizing: border-box;
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}

.frame561bb-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 5px 2px;
  border: 0;
  background: none;
  color: var(--frame561bb-rose-soft);
  border-radius: 12px;
  text-decoration: none;
}

.frame561bb-dock-item svg {
  display: block;
  width: 23px;
  height: 23px;
}

.frame561bb-dock-item span {
  font-family: var(--frame561bb-mono);
  font-size: 9.8px;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.1;
  opacity: 0.88;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.frame561bb-dock-item:active span {
  opacity: 1;
}

/* active role: label emphasis */
.frame561bb-dock-item.frame561bb-dock-on {
  color: var(--frame561bb-rose);
}

.frame561bb-dock-item.frame561bb-dock-on span {
  color: var(--frame561bb-rose-bright);
  font-weight: 700;
  opacity: 1;
}

.frame561bb-dock-item.frame561bb-dock-on::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--frame561bb-rose);
}

/* two-tone dock icon parts */
.frame561bb-tone-a {
  fill: currentColor;
}

.frame561bb-tone-b {
  fill: rgba(255, 182, 193, 0.38);
}

.frame561bb-dock-item.frame561bb-dock-on .frame561bb-tone-b {
  fill: rgba(255, 182, 193, 0.6);
}

/* ---------- breakpoints ---------- */

/* Slightly roomier phone canvas: 375px and up */
@media (min-width: 375px) {
  .frame561bb-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .frame561bb-hero-title {
    font-size: 25px;
  }

  .frame561bb-wcard {
    flex: 0 0 62%;
  }
}

/* 430px canvas keeps the same dock and grid rhythm, fifth column from 400px */
@media (min-width: 400px) and (max-width: 430px) {
  .frame561bb-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 430px) {
  .frame561bb-hero-title {
    font-size: 26px;
  }

  .frame561bb-cat-title,
  .frame561bb-h2 {
    font-size: 19px;
  }
}

/* Wider screens: keep the centered 430px phone canvas, no desktop redesign */
@media (min-width: 431px) {
  .frame561bb-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- motion and preference guards ---------- */

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

  .frame561bb-track,
  .frame561bb-drawer,
  .frame561bb-scrim,
  .frame561bb-btn,
  .frame561bb-gcard,
  .frame561bb-dock-item span {
    transition: none;
  }
}
