/* ============================================================
   Airon Games - compact palette stylesheet
   Canvas: 320-430px mobile-first, centered phone frame on wide screens
   Prefix contract: every class and variable uses framed1c56-
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --framed1c56-ink: #1a1a1a;            /* base dark background */
  --framed1c56-ink-deep: #131110;       /* page backdrop behind canvas */
  --framed1c56-ink-panel: #211d17;      /* raised panel surface */
  --framed1c56-ink-card: #26211a;       /* card surface */
  --framed1c56-ink-soft: #2c2620;       /* hover / soft surface */
  --framed1c56-gold: #cd853f;           /* primary brand gold */
  --framed1c56-sand: #f4a460;           /* light accent for text */
  --framed1c56-butter: #ffd9a3;         /* brightest highlight */
  --framed1c56-text: #f1e7d6;           /* main readable text */
  --framed1c56-muted: #c3b096;          /* secondary text */
  --framed1c56-faint: #94826a;          /* tertiary text */
  --framed1c56-line: rgba(205, 133, 63, 0.34);
  --framed1c56-line-soft: rgba(205, 133, 63, 0.18);
  --framed1c56-line-faint: rgba(205, 133, 63, 0.1);
  --framed1c56-glow: rgba(244, 164, 96, 0.16);
  --framed1c56-radius: 10px;            /* restrained corner radius */
  --framed1c56-radius-lg: 14px;
  --framed1c56-font-head: "Baloo 2", "Trebuchet MS", "Segoe UI", sans-serif;
  --framed1c56-font-body: "IBM Plex Sans Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --framed1c56-header-h: 58px;
  --framed1c56-bnav-h: 62px;
}

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

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

body {
  margin: 0;
  background: var(--framed1c56-ink-deep);
  color: var(--framed1c56-text);
  font-family: var(--framed1c56-font-body);
  font-size: 15px;
  line-height: 1.58;
  overflow-x: hidden;
}

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

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

a { color: var(--framed1c56-sand); text-decoration: none; }
a:hover { color: var(--framed1c56-butter); }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--framed1c56-gold); color: #1a1a1a; }

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

/* ---------- phone canvas ---------- */
.framed1c56-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--framed1c56-ink);
  border-inline: 1px solid var(--framed1c56-line-faint);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

.framed1c56-main {
  padding: calc(var(--framed1c56-header-h) + 10px) 12px calc(var(--framed1c56-bnav-h) + 34px);
}

/* ============================================================
   Header: logo-led action bar
   ============================================================ */
.framed1c56-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #221d16 0%, rgba(26, 26, 26, 0.97) 100%);
  border-bottom: 1px solid var(--framed1c56-line);
  backdrop-filter: blur(8px);
}

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

.framed1c56-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: auto;
}

.framed1c56-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--framed1c56-line);
  padding: 2px;
  background: var(--framed1c56-ink-panel);
}

.framed1c56-brand-name {
  font-family: var(--framed1c56-font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--framed1c56-sand);
  letter-spacing: 0.2px;
}

.framed1c56-brand-name small {
  display: block;
  font-family: var(--framed1c56-font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--framed1c56-faint);
}

/* segmented action pair: register + login share one stroked frame */
.framed1c56-actions {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--framed1c56-gold);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.framed1c56-actions button,
.framed1c56-actions a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background 0.18s ease, color 0.18s ease;
}

.framed1c56-actions > * + * {
  border-left: 1px solid var(--framed1c56-line);
}

.framed1c56-actions a { color: var(--framed1c56-sand); }

.framed1c56-actions a:hover {
  background: rgba(244, 164, 96, 0.12);
  color: var(--framed1c56-butter);
}

/* in-page segmented CTA pair */
.framed1c56-cta-duo {
  margin: 14px 0 4px;
  width: max-content;
  max-width: 100%;
}

.framed1c56-btn-register {
  background: linear-gradient(135deg, var(--framed1c56-gold), #b06f2f);
  color: #1a1a1a;
}

.framed1c56-btn-register:hover { background: linear-gradient(135deg, var(--framed1c56-sand), var(--framed1c56-gold)); color: #1a1a1a; }

.framed1c56-btn-login { color: var(--framed1c56-sand); }
.framed1c56-btn-login:hover { background: rgba(244, 164, 96, 0.12); }

.framed1c56-menubtn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--framed1c56-line);
  border-radius: var(--framed1c56-radius);
  flex-shrink: 0;
}

.framed1c56-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2.5px 0;
  background: var(--framed1c56-sand);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.framed1c56-menubtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.framed1c56-menubtn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.framed1c56-menubtn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* ============================================================
   Route panel: compact collapsible menu
   ============================================================ */
.framed1c56-routes {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
  background: #1e1a14;
  border-bottom: 1px solid transparent;
}

.framed1c56-routes.framed1c56-routes--open {
  max-height: 520px;
  border-bottom-color: var(--framed1c56-line-soft);
}

.framed1c56-routes-inner { padding: 6px 12px 14px; }

.framed1c56-routes-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--framed1c56-faint);
  padding: 10px 2px 4px;
}

.framed1c56-routes li + li { border-top: 1px solid var(--framed1c56-line-faint); }

.framed1c56-routes a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  font-size: 14px;
  color: var(--framed1c56-text);
  border-left: 3px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.framed1c56-routes a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--framed1c56-faint);
  border-right: 2px solid var(--framed1c56-faint);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.framed1c56-routes a:hover,
.framed1c56-routes a.framed1c56-route--on {
  background: rgba(205, 133, 63, 0.1);
  border-left-color: var(--framed1c56-gold);
  color: var(--framed1c56-sand);
}

/* ============================================================
   Hero carousel
   ============================================================ */
.framed1c56-hero {
  position: relative;
  margin: 2px 0 0;
  border: 1px solid var(--framed1c56-line);
  border-radius: var(--framed1c56-radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--framed1c56-ink-panel);
}

.framed1c56-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.framed1c56-slide.framed1c56-slide--cur {
  opacity: 1;
  pointer-events: auto;
}

.framed1c56-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framed1c56-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0) 34%, rgba(26, 26, 26, 0.88) 100%);
}

.framed1c56-slide-copy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  z-index: 2;
}

.framed1c56-slide-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #1a1a1a;
  background: var(--framed1c56-sand);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 7px;
}

.framed1c56-slide-title {
  font-family: var(--framed1c56-font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.framed1c56-slide-sub {
  font-size: 13px;
  color: #eadfc9;
  margin-top: 4px;
  max-width: 34ch;
}

/* segmented CTA pill inside slides: label | arrow */
.framed1c56-slide-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  border: 1px solid var(--framed1c56-butter);
  border-radius: 999px;
  overflow: hidden;
  min-height: 38px;
  background: rgba(26, 26, 26, 0.35);
  transition: background 0.2s ease;
}

.framed1c56-slide:hover .framed1c56-slide-cta { background: rgba(205, 133, 63, 0.4); }

.framed1c56-slide-cta b {
  padding: 6px 13px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--framed1c56-butter);
}

.framed1c56-slide-cta i {
  font-style: normal;
  padding: 6px 11px;
  border-left: 1px solid var(--framed1c56-line);
  color: var(--framed1c56-sand);
  font-size: 15px;
  line-height: 1;
}

.framed1c56-hero-dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.framed1c56-hero-dots button {
  width: 22px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--framed1c56-sand);
  background: rgba(26, 26, 26, 0.4);
  transition: background 0.2s ease;
}

.framed1c56-hero-dots button.framed1c56-dot--on { background: var(--framed1c56-gold); }

/* ============================================================
   Page head + sections (lead-in rhythm)
   ============================================================ */
.framed1c56-pagehead { margin-top: 14px; }

.framed1c56-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--framed1c56-gold);
}

.framed1c56-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--framed1c56-gold);
  border-radius: 2px;
}

.framed1c56-h1 {
  font-family: var(--framed1c56-font-head);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  margin: 6px 0 4px;
  background: linear-gradient(120deg, var(--framed1c56-butter), var(--framed1c56-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.framed1c56-sub {
  color: var(--framed1c56-muted);
  font-size: 14.5px;
}

.framed1c56-sec { margin-top: 28px; }

.framed1c56-h2 {
  font-family: var(--framed1c56-font-head);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--framed1c56-sand);
  margin: 4px 0 8px;
}

.framed1c56-h3 {
  font-family: var(--framed1c56-font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--framed1c56-butter);
  margin: 12px 0 4px;
}

.framed1c56-p {
  color: var(--framed1c56-muted);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.framed1c56-p strong,
.framed1c56-quote-text strong { color: var(--framed1c56-text); font-weight: 600; }

.framed1c56-p a {
  border-bottom: 1px dashed var(--framed1c56-line);
  padding-bottom: 1px;
}

/* section head row with count chip */
.framed1c56-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--framed1c56-line-soft);
  padding-bottom: 7px;
  margin-bottom: 10px;
}

.framed1c56-count {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--framed1c56-gold);
  border: 1px solid var(--framed1c56-line);
  border-radius: 999px;
  padding: 2px 9px;
}

/* verdict block for answer-first sections */
.framed1c56-verdict {
  border: 1px solid var(--framed1c56-line);
  border-left: 4px solid var(--framed1c56-gold);
  border-radius: var(--framed1c56-radius);
  background: var(--framed1c56-ink-panel);
  padding: 10px 12px;
  margin-bottom: 12px;
}

.framed1c56-verdict p { font-size: 14.5px; color: var(--framed1c56-text); }

/* ============================================================
   Game grids: large + small card mix
   ============================================================ */
.framed1c56-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.framed1c56-gcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--framed1c56-line-soft);
  border-radius: var(--framed1c56-radius);
  background: var(--framed1c56-ink-card);
  padding: 5px 5px 6px;
  text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.framed1c56-gcard:hover,
.framed1c56-gcard:focus-visible {
  border-color: var(--framed1c56-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--framed1c56-glow);
}

.framed1c56-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: var(--framed1c56-ink-soft);
}

.framed1c56-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--framed1c56-muted);
  padding-top: 4px;
  transition: color 0.16s ease;
}

.framed1c56-gcard:hover .framed1c56-gname { color: var(--framed1c56-butter); }

/* featured large cards span two tracks */
.framed1c56-gcard--xl {
  grid-column: span 2;
  padding: 7px 7px 8px;
}

.framed1c56-gcard--xl .framed1c56-gname {
  font-size: 12.5px;
  min-height: 30px;
  color: var(--framed1c56-text);
}

.framed1c56-gtag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1a1a;
  background: linear-gradient(135deg, var(--framed1c56-butter), var(--framed1c56-gold));
  border-radius: 4px;
  padding: 2px 7px;
}

/* ============================================================
   Content modules
   ============================================================ */

/* testimonials */
.framed1c56-quote {
  border: 1px solid var(--framed1c56-line-soft);
  border-radius: var(--framed1c56-radius);
  background: var(--framed1c56-ink-panel);
  padding: 12px 13px;
  margin-bottom: 10px;
  position: relative;
}

.framed1c56-quote::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  right: 12px;
  font-family: var(--framed1c56-font-head);
  font-size: 42px;
  line-height: 1;
  color: var(--framed1c56-gold);
  opacity: 0.35;
}

.framed1c56-quote-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.framed1c56-quote-ava {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--framed1c56-line);
  background: var(--framed1c56-ink-soft);
  font-family: var(--framed1c56-font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--framed1c56-sand);
}

.framed1c56-quote-who { line-height: 1.25; }

.framed1c56-quote-who b { display: block; font-size: 13.5px; color: var(--framed1c56-text); }

.framed1c56-quote-who span { font-size: 11px; color: var(--framed1c56-faint); }

.framed1c56-quote-text {
  font-size: 13.8px;
  color: var(--framed1c56-muted);
}

.framed1c56-quote-stars {
  color: var(--framed1c56-gold);
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 5px;
}

/* achievements */
.framed1c56-mile {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--framed1c56-line-faint);
  border-radius: var(--framed1c56-radius);
  background: var(--framed1c56-ink-panel);
  padding: 10px;
  margin-bottom: 8px;
}

.framed1c56-mile-medal {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--framed1c56-gold);
  background: radial-gradient(circle at 30% 30%, rgba(244, 164, 96, 0.28), rgba(26, 26, 26, 0.2));
  font-family: var(--framed1c56-font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--framed1c56-butter);
}

.framed1c56-mile h3 { margin: 2px 0 3px; font-size: 14.5px; }

.framed1c56-mile p { font-size: 13px; color: var(--framed1c56-muted); margin: 0; }

.framed1c56-bar {
  height: 6px;
  border-radius: 999px;
  border: 1px solid var(--framed1c56-line-soft);
  background: var(--framed1c56-ink);
  margin-top: 8px;
  overflow: hidden;
}

.framed1c56-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--framed1c56-gold), var(--framed1c56-sand));
}

/* payments */
.framed1c56-cond-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.framed1c56-cond {
  border: 1px solid var(--framed1c56-line-soft);
  border-radius: var(--framed1c56-radius);
  background: var(--framed1c56-ink-panel);
  padding: 9px 10px;
}

.framed1c56-cond b {
  display: block;
  font-size: 13px;
  color: var(--framed1c56-butter);
  margin-bottom: 3px;
}

.framed1c56-cond p { font-size: 12.5px; color: var(--framed1c56-muted); margin: 0; }

.framed1c56-channels {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--framed1c56-gold) transparent;
}

.framed1c56-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--framed1c56-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--framed1c56-sand);
  background: var(--framed1c56-ink-panel);
}

.framed1c56-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--framed1c56-gold);
}

/* mobile steps */
.framed1c56-steps { counter-reset: framed1c56-step; }

.framed1c56-step {
  counter-increment: framed1c56-step;
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--framed1c56-line-faint);
}

.framed1c56-step:last-child { border-bottom: 0; }

.framed1c56-step::before {
  content: counter(framed1c56-step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--framed1c56-gold);
  border-radius: 10px;
  font-family: var(--framed1c56-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--framed1c56-sand);
}

.framed1c56-step b { display: block; font-size: 14px; color: var(--framed1c56-text); margin-bottom: 2px; }

.framed1c56-step p { font-size: 13px; color: var(--framed1c56-muted); margin: 0; }

/* takeaways */
.framed1c56-check li {
  position: relative;
  padding: 7px 0 7px 28px;
  border-bottom: 1px solid var(--framed1c56-line-faint);
  font-size: 14px;
  color: var(--framed1c56-muted);
}

.framed1c56-check li:last-child { border-bottom: 0; }

.framed1c56-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 8px;
  height: 5px;
  border-left: 2.5px solid var(--framed1c56-gold);
  border-bottom: 2.5px solid var(--framed1c56-gold);
  transform: rotate(-45deg);
}

/* requirements tiles */
.framed1c56-req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.framed1c56-req {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--framed1c56-line-soft);
  border-radius: var(--framed1c56-radius);
  background: var(--framed1c56-ink-panel);
  padding: 10px;
  font-size: 13px;
  color: var(--framed1c56-muted);
  min-height: 66px;
}

.framed1c56-req svg { flex-shrink: 0; margin-top: 1px; }

.framed1c56-req b { display: block; color: var(--framed1c56-text); font-size: 13px; margin-bottom: 2px; }

/* ============================================================
   Extended footer: brand > promos > directory > disclaimer
   ============================================================ */
.framed1c56-xfooter {
  margin-top: 34px;
  border-top: 1px solid var(--framed1c56-line);
  padding-top: 16px;
}

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

.framed1c56-xf-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--framed1c56-line);
  padding: 2px;
  background: var(--framed1c56-ink-panel);
  flex-shrink: 0;
}

.framed1c56-xf-brand p { font-size: 13px; color: var(--framed1c56-muted); }

.framed1c56-xf-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--framed1c56-gold);
  margin: 18px 0 8px;
}

/* horizontal promo shortcuts */
.framed1c56-shorts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--framed1c56-gold) transparent;
}

.framed1c56-short {
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 138px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid var(--framed1c56-line);
  border-radius: var(--framed1c56-radius);
  background: linear-gradient(160deg, var(--framed1c56-ink-card), var(--framed1c56-ink-panel));
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.framed1c56-short:hover {
  border-color: var(--framed1c56-sand);
  transform: translateY(-2px);
}

.framed1c56-short b { font-size: 13px; color: var(--framed1c56-butter); line-height: 1.2; }

.framed1c56-short span { font-size: 10.5px; color: var(--framed1c56-faint); }

/* page directory */
.framed1c56-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.framed1c56-dir a {
  display: block;
  border: 1px solid var(--framed1c56-line-faint);
  border-radius: var(--framed1c56-radius);
  background: var(--framed1c56-ink-panel);
  padding: 8px 10px;
  min-height: 52px;
  transition: border-color 0.16s ease;
}

.framed1c56-dir a:hover { border-color: var(--framed1c56-gold); }

.framed1c56-dir b { display: block; font-size: 12.5px; color: var(--framed1c56-sand); margin-bottom: 2px; line-height: 1.25; }

.framed1c56-dir span { font-size: 11px; color: var(--framed1c56-faint); line-height: 1.3; display: block; }

.framed1c56-disc {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--framed1c56-line-soft);
  font-size: 11.5px;
  color: var(--framed1c56-faint);
}

/* ============================================================
   Common footer + fixed bottom navigation
   ============================================================ */
.framed1c56-foot {
  margin-top: 20px;
  padding: 12px 0 6px;
  text-align: center;
  font-size: 11.5px;
  color: var(--framed1c56-faint);
}

.framed1c56-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--framed1c56-bnav-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: linear-gradient(0deg, #17130e 0%, #1f1a13 100%);
  border-top: 1px solid var(--framed1c56-line);
  backdrop-filter: blur(8px);
}

.framed1c56-bitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--framed1c56-bnav-h);
  color: var(--framed1c56-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.18s ease;
}

.framed1c56-bitem svg {
  width: 22px;
  height: 22px;
  transition: transform 0.22s ease;
}

.framed1c56-bico-blob {
  fill: var(--framed1c56-gold);
  fill-opacity: 0;
  stroke: none;
  transition: fill-opacity 0.25s ease;
}

.framed1c56-bitem:hover { color: var(--framed1c56-sand); }

.framed1c56-bitem:hover svg { transform: translateY(-1px); }

/* active state: icon fill morph + lift */
.framed1c56-bitem.framed1c56-on { color: var(--framed1c56-butter); }

.framed1c56-bitem.framed1c56-on .framed1c56-bico-blob { fill-opacity: 0.22; }

.framed1c56-bitem.framed1c56-on svg {
  transform: translateY(-2px) scale(1.08);
}

.framed1c56-bitem.framed1c56-on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--framed1c56-gold), var(--framed1c56-sand));
}

/* promo item marker dot */
.framed1c56-bitem--promo::before {
  content: "";
  position: absolute;
  top: 9px;
  right: calc(50% - 16px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--framed1c56-sand);
}

/* ============================================================
   Restrained reveal animation (JS-gated, no-JS safe)
   ============================================================ */
body.framed1c56-js .framed1c56-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.framed1c56-js .framed1c56-rise.framed1c56-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive refinement
   ============================================================ */
@media (min-width: 375px) {
  .framed1c56-h1 { font-size: 28px; }
  .framed1c56-h2 { font-size: 21px; }
  .framed1c56-slide-title { font-size: 24px; }
  .framed1c56-games { gap: 9px; }
  .framed1c56-main { padding-left: 14px; padding-right: 14px; }
}

@media (min-width: 431px) {
  body { background: #0e0c0a; }
  .framed1c56-canvas { margin-top: 10px; margin-bottom: 10px; }
  .framed1c56-header { top: 10px; border-radius: 0 0 12px 12px; }
  .framed1c56-bnav { bottom: 10px; border-radius: 14px 14px 0 0; }
  .framed1c56-main { padding-top: calc(var(--framed1c56-header-h) + 20px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
