/* ============================================================
   Jili GG - native-0d8c9e-layers.css
   Mobile-first (320-430px) layered styles for jiligg.click
   Palette: navy #1B263B / sand #F4A460 / gold #FFCC33 /
            sienna #A0522D / rose #E91E63
   Direction: bold-lite type pairing, stroke-led corners,
   pure-image game cards, compact metric rhythm,
   slide-in menu + subtle card lift, icon-text CTAs.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --framec9e00-abyss: #101827;
  --framec9e00-navy: #1B263B;
  --framec9e00-raise: #233252;
  --framec9e00-edge: #33436B;
  --framec9e00-sand: #F4A460;
  --framec9e00-gold: #FFCC33;
  --framec9e00-sienna: #A0522D;
  --framec9e00-rose: #E91E63;
  --framec9e00-mist: #EDF2FB;
  --framec9e00-dim: #A9B8D6;
  --framec9e00-faint: #7C8CAD;
  --framec9e00-r-soft: 8px;
  --framec9e00-r-pill: 999px;
  --framec9e00-topbar-h: 56px;
  --framec9e00-dock-h: 62px;
  --framec9e00-pad: 14px;
  --framec9e00-touch: 44px;
  --framec9e00-font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- base ---------- */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--framec9e00-abyss);
  color: var(--framec9e00-mist);
  font-family: var(--framec9e00-font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  min-width: 320px;
  overflow-x: hidden;
}

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

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

a {
  color: var(--framec9e00-sand);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--framec9e00-gold);
  text-decoration: underline;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin: 0 0 8px;
  color: var(--framec9e00-mist);
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }

p { margin: 0 0 10px; }

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

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

/* ---------- centered phone canvas ---------- */
.framec9e00-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background:
    radial-gradient(120% 44% at 50% 0%, #22325A 0%, var(--framec9e00-navy) 46%, #16203A 100%);
  min-height: 100vh;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

@media (min-width: 431px) {
  .framec9e00-canvas {
    border-left: 1px solid var(--framec9e00-edge);
    border-right: 1px solid var(--framec9e00-edge);
  }
}

/* ---------- tab-style top bar ---------- */
.framec9e00-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--framec9e00-topbar-h);
  padding: 0 10px;
  background: linear-gradient(180deg, #1D2A45 0%, #172238 100%);
  border-bottom: 1px solid var(--framec9e00-sienna);
}

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

.framec9e00-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--framec9e00-gold);
  flex: 0 0 auto;
}

.framec9e00-sitename {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--framec9e00-gold);
  white-space: nowrap;
}

.framec9e00-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.framec9e00-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: var(--framec9e00-touch);
  padding: 8px 12px;
  border-radius: var(--framec9e00-r-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.framec9e00-btn:active {
  transform: scale(0.95);
}

.framec9e00-btn--reg {
  background: linear-gradient(135deg, var(--framec9e00-gold), var(--framec9e00-sand));
  color: #29190A;
  border-color: #B8741D;
}

.framec9e00-btn--log {
  background: rgba(27, 38, 59, 0.4);
  color: var(--framec9e00-mist);
  border-color: var(--framec9e00-sand);
}

.framec9e00-burger {
  width: var(--framec9e00-touch);
  height: var(--framec9e00-topbar-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-left: 1px solid var(--framec9e00-edge);
  color: var(--framec9e00-sand);
  transition: color 0.12s ease;
}

.framec9e00-burger svg {
  width: 21px;
  height: 21px;
}

/* ---------- compact route panel (menu) ---------- */
.framec9e00-panel {
  position: fixed;
  top: var(--framec9e00-topbar-h);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: #1A2540;
  border-bottom: 2px solid var(--framec9e00-gold);
  box-shadow: 0 18px 30px rgba(5, 9, 18, 0.6);
  padding: 12px 14px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
  max-height: calc(100vh - var(--framec9e00-topbar-h));
  overflow-y: auto;
}

.framec9e00-panel--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.framec9e00-panel-group {
  margin-bottom: 12px;
}

.framec9e00-panel-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--framec9e00-sand);
  margin: 0 0 6px 2px;
}

.framec9e00-panel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.framec9e00-panel-link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(35, 50, 82, 0.55);
  color: var(--framec9e00-mist);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.framec9e00-panel-link:active {
  transform: scale(0.97);
}

.framec9e00-panel-link:hover,
.framec9e00-panel-link:focus-visible {
  text-decoration: none;
  border-color: var(--framec9e00-gold);
  background: rgba(51, 67, 107, 0.7);
  color: var(--framec9e00-gold);
}

.framec9e00-panel-link--now {
  grid-column: 1 / -1;
  border-color: var(--framec9e00-rose);
  color: var(--framec9e00-gold);
}

.framec9e00-panel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--framec9e00-sand);
  flex: 0 0 auto;
}

.framec9e00-panel-link--now .framec9e00-panel-dot {
  background: var(--framec9e00-rose);
}

/* ---------- main column ---------- */
.framec9e00-main {
  padding: calc(var(--framec9e00-topbar-h) + 12px) var(--framec9e00-pad)
           calc(var(--framec9e00-dock-h) + 30px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */
.framec9e00-hero {
  margin: 0 0 16px;
}

.framec9e00-hero h1 {
  margin-bottom: 6px;
}

.framec9e00-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--framec9e00-gold);
  border: 1px solid var(--framec9e00-sienna);
  border-radius: var(--framec9e00-r-pill);
  padding: 3px 10px;
  margin-bottom: 8px;
}

.framec9e00-lead {
  color: var(--framec9e00-dim);
  font-size: 13.5px;
  margin-bottom: 12px;
}

/* ---------- promo reel ---------- */
.framec9e00-reel {
  position: relative;
  overflow: hidden;
  border-radius: var(--framec9e00-r-soft);
  border: 1px solid var(--framec9e00-sienna);
  background: #0E1626;
}

.framec9e00-track {
  display: flex;
  transition: transform 0.35s ease;
}

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

.framec9e00-slide-img {
  width: 100%;
  height: clamp(148px, 40vw, 172px);
  object-fit: cover;
  object-position: center;
}

.framec9e00-slide-copy {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.framec9e00-slide-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1C1408;
  background: var(--framec9e00-gold);
  border-radius: 5px;
  padding: 3px 8px;
}

.framec9e00-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #FFF4DD;
  background: rgba(164, 42, 84, 0.92);
  border: 1px solid var(--framec9e00-gold);
  border-radius: var(--framec9e00-r-pill);
}

.framec9e00-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
}

.framec9e00-dot {
  width: 34px;
  height: 24px;
  border-radius: var(--framec9e00-r-pill);
  border: 1px solid var(--framec9e00-edge);
  background: rgba(27, 38, 59, 0.65);
  padding: 4px;
}

.framec9e00-dot::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--framec9e00-faint);
  transition: background 0.2s ease;
}

.framec9e00-dot--on::before {
  background: var(--framec9e00-gold);
}

.framec9e00-dot--on {
  border-color: var(--framec9e00-gold);
}

/* ---------- metric strip ---------- */
.framec9e00-metrics {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin: 0 0 18px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.framec9e00-metric {
  flex: 0 0 128px;
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(35, 50, 82, 0.5);
  padding: 9px 10px;
}

.framec9e00-metric-num {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--framec9e00-gold);
  line-height: 1.1;
}

.framec9e00-metric-cap {
  display: block;
  font-size: 11px;
  color: var(--framec9e00-dim);
  margin-top: 3px;
  line-height: 1.35;
}

/* ---------- prose sections ---------- */
.framec9e00-prose {
  border: 1px solid var(--framec9e00-edge);
  border-left: 3px solid var(--framec9e00-sand);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(27, 38, 59, 0.45);
  padding: 13px 13px 6px;
  margin: 0 0 16px;
}

.framec9e00-prose p {
  font-size: 13.5px;
  color: var(--framec9e00-dim);
}

.framec9e00-prose strong {
  color: var(--framec9e00-mist);
}

/* ---------- game shelves ---------- */
.framec9e00-shelf {
  margin: 0 0 22px;
  scroll-margin-top: calc(var(--framec9e00-topbar-h) + 10px);
}

.framec9e00-shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--framec9e00-sienna);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.framec9e00-shelf-title {
  margin: 0;
  font-size: 16.5px;
}

.framec9e00-shelf-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--framec9e00-sand);
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-pill);
  padding: 2px 9px;
  white-space: nowrap;
}

.framec9e00-shelf-note {
  font-size: 12.5px;
  color: var(--framec9e00-dim);
  margin: 0 0 10px;
}

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

@media (min-width: 375px) {
  .framec9e00-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 8px;
  }
}

.framec9e00-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: none;
  text-align: center;
  transition: transform 0.14s ease;
  min-width: 0;
}

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

.framec9e00-game:active {
  transform: scale(0.94);
}

.framec9e00-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--framec9e00-r-soft);
  border: 1px solid var(--framec9e00-edge);
  background: #0E1626;
}

.framec9e00-game-name {
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--framec9e00-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.framec9e00-game:hover .framec9e00-game-name,
.framec9e00-game:focus-visible .framec9e00-game-name {
  color: var(--framec9e00-gold);
}

.framec9e00-shelf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.framec9e00-chiplink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px dashed var(--framec9e00-sand);
  border-radius: var(--framec9e00-r-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--framec9e00-sand);
  background: rgba(164, 82, 45, 0.16);
  transition: transform 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.framec9e00-chiplink:active {
  transform: scale(0.96);
}

.framec9e00-chiplink::before {
  content: "\2192";
  font-family: Arial, sans-serif;
}

/* ---------- module: milestone tiles ---------- */
.framec9e00-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 12px;
}

.framec9e00-tile {
  border: 1px solid var(--framec9e00-edge);
  border-top: 2px solid var(--framec9e00-gold);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(35, 50, 82, 0.45);
  padding: 10px;
}

.framec9e00-tile-num {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--framec9e00-gold);
}

.framec9e00-tile-txt {
  display: block;
  font-size: 11.5px;
  color: var(--framec9e00-dim);
  margin-top: 3px;
  line-height: 1.4;
}

/* ---------- module: step rows ---------- */
.framec9e00-steps {
  margin: 4px 0 12px;
  padding: 0;
  list-style: none;
}

.framec9e00-steps li {
  position: relative;
  padding: 8px 10px 8px 34px;
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(27, 38, 59, 0.4);
  margin-bottom: 7px;
  font-size: 12.8px;
  color: var(--framec9e00-dim);
}

.framec9e00-steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--framec9e00-sand);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  color: var(--framec9e00-gold);
}

.framec9e00-steps strong {
  color: var(--framec9e00-mist);
}

/* ---------- module: payment rows ---------- */
.framec9e00-paylist {
  margin: 4px 0 12px;
}

.framec9e00-pay-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(27, 38, 59, 0.4);
  padding: 10px;
  margin-bottom: 8px;
}

.framec9e00-pay-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid var(--framec9e00-sienna);
  border-radius: 6px;
  background: rgba(160, 82, 45, 0.2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--framec9e00-gold);
  text-transform: uppercase;
  text-align: center;
  padding: 2px;
}

.framec9e00-pay-name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--framec9e00-mist);
}

.framec9e00-pay-desc {
  display: block;
  font-size: 12px;
  color: var(--framec9e00-dim);
  margin-top: 2px;
  line-height: 1.45;
}

/* ---------- module: scenario Q&A ---------- */
.framec9e00-qa {
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  overflow: hidden;
  margin: 4px 0 12px;
}

.framec9e00-qa summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--framec9e00-sand);
  background: rgba(35, 50, 82, 0.55);
  border-bottom: 1px solid transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.framec9e00-qa[open] summary {
  border-bottom-color: var(--framec9e00-edge);
  color: var(--framec9e00-gold);
}

.framec9e00-qa summary::after {
  content: "+";
  margin-left: auto;
  font-size: 16px;
  font-weight: 800;
  color: var(--framec9e00-gold);
}

.framec9e00-qa[open] summary::after {
  content: "\2013";
}

.framec9e00-qa-body {
  padding: 10px 12px;
  font-size: 12.8px;
  color: var(--framec9e00-dim);
  line-height: 1.55;
}

/* ---------- CTA band ---------- */
.framec9e00-cta-band {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--framec9e00-gold);
  border-radius: var(--framec9e00-r-soft);
  background:
    linear-gradient(120deg, rgba(233, 30, 99, 0.32) 0%, rgba(27, 38, 59, 0.85) 58%),
    #1B263B;
  padding: 13px;
  margin: 16px 0;
}

.framec9e00-cta-copy {
  flex: 1;
  min-width: 0;
  font-size: 12.8px;
  color: var(--framec9e00-mist);
  line-height: 1.5;
}

.framec9e00-cta-copy strong {
  color: var(--framec9e00-gold);
}

.framec9e00-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--framec9e00-touch);
  padding: 10px 15px;
  border-radius: var(--framec9e00-r-pill);
  border: 1px solid #B8741D;
  background: linear-gradient(135deg, var(--framec9e00-gold), var(--framec9e00-sand));
  color: #29190A;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.12s ease;
}

.framec9e00-cta-btn:active {
  transform: scale(0.94);
}

.framec9e00-cta-btn svg {
  width: 15px;
  height: 15px;
}

/* ---------- extended footer ---------- */
.framec9e00-xfooter {
  margin-top: 24px;
  border-top: 2px solid var(--framec9e00-sienna);
  padding-top: 14px;
}

.framec9e00-xf-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--framec9e00-sand);
  margin: 0 0 8px;
}

.framec9e00-xf-brand {
  margin-bottom: 16px;
}

.framec9e00-xf-brand p {
  font-size: 12.6px;
  color: var(--framec9e00-dim);
}

.framec9e00-xf-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 16px;
}

.framec9e00-xf-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(35, 50, 82, 0.5);
  color: var(--framec9e00-mist);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  line-height: 1.3;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

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

.framec9e00-xf-tile:hover,
.framec9e00-xf-tile:focus-visible {
  border-color: var(--framec9e00-gold);
}

.framec9e00-xf-tile--wide {
  grid-column: 1 / -1;
  border-color: var(--framec9e00-sienna);
  background: rgba(160, 82, 45, 0.24);
  color: var(--framec9e00-gold);
}

.framec9e00-xf-tile svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--framec9e00-sand);
}

.framec9e00-xf-dir {
  margin-bottom: 16px;
}

.framec9e00-xf-col {
  margin-bottom: 10px;
}

.framec9e00-xf-link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 2px;
  border-bottom: 1px dotted var(--framec9e00-edge);
  font-size: 12.6px;
  font-weight: 600;
  color: var(--framec9e00-dim);
}

.framec9e00-xf-link:hover,
.framec9e00-xf-link:focus-visible {
  color: var(--framec9e00-gold);
}

.framec9e00-xf-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--framec9e00-faint);
  border: 1px dashed var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  padding: 9px 11px;
}

.framec9e00-xf-note strong {
  color: var(--framec9e00-dim);
}

/* ---------- common end bar ---------- */
.framec9e00-endbar {
  text-align: center;
  padding: 14px 0 4px;
  border-top: 1px solid var(--framec9e00-edge);
  margin-top: 18px;
}

.framec9e00-endbar p {
  margin: 0;
  font-size: 11.5px;
  color: var(--framec9e00-faint);
}

/* ---------- fixed bottom dock (5 roles) ---------- */
.framec9e00-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, minmax(0, 1fr));
  height: calc(var(--framec9e00-dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(16, 24, 39, 0.96);
  border-top: 1px solid var(--framec9e00-sienna);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.framec9e00-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--framec9e00-dock-h);
  background: none;
  border: none;
  border-radius: 0;
  color: var(--framec9e00-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 4px 2px;
  transition: transform 0.14s ease, color 0.14s ease;
}

.framec9e00-tab svg {
  width: 21px;
  height: 21px;
}

.framec9e00-tab:active {
  transform: scale(0.92);
}

.framec9e00-tab--promo {
  color: var(--framec9e00-sand);
}

.framec9e00-tab--hot {
  color: var(--framec9e00-rose);
}

.framec9e00-tab--on {
  color: var(--framec9e00-gold);
  transform: translateY(-3px);
}

.framec9e00-tab--on svg {
  fill: var(--framec9e00-gold);
}

/* ---------- motion & readability guards ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .framec9e00-track { transition: none; }
  .framec9e00-game,
  .framec9e00-game:hover,
  .framec9e00-tab,
  .framec9e00-btn,
  .framec9e00-xf-tile,
  .framec9e00-chiplink {
    transition: none;
    transform: none;
  }
  .framec9e00-panel { transition: none; }
}

@media (max-width: 339px) {
  .framec9e00-btn { padding: 8px 9px; font-size: 12px; }
  .framec9e00-cta-band { flex-direction: column; align-items: stretch; text-align: left; }
  .framec9e00-cta-btn { justify-content: center; }
}

/* ---------- how-to: ordered rail, ticks, spec ---------- */
.framec9e00-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--framec9e00-faint);
  margin: 0 0 10px;
}

.framec9e00-crumb a {
  color: var(--framec9e00-sand);
}

.framec9e00-rail {
  list-style: none;
  margin: 6px 0 12px;
  padding: 0 0 0 4px;
}

.framec9e00-rail li {
  position: relative;
  margin: 0 0 8px;
  padding: 10px 10px 10px 42px;
  border: 1px solid var(--framec9e00-edge);
  border-left: 2px solid var(--framec9e00-sand);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(16, 24, 39, 0.35);
  font-size: 13px;
  color: var(--framec9e00-dim);
}

.framec9e00-rail li strong {
  color: var(--framec9e00-mist);
}

.framec9e00-rail-idx {
  position: absolute;
  left: 8px;
  top: 12px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--framec9e00-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--framec9e00-gold);
}

.framec9e00-ticks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 6px 0 12px;
}

.framec9e00-tick {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  font-size: 12.6px;
  color: var(--framec9e00-dim);
}

.framec9e00-tick i {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid var(--framec9e00-gold);
  border-radius: 3px;
  position: relative;
}

.framec9e00-tick i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 5px;
  height: 9px;
  border: solid var(--framec9e00-gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.framec9e00-spec {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 12px;
  font-size: 12.4px;
}

.framec9e00-spec th,
.framec9e00-spec td {
  text-align: left;
  vertical-align: top;
  padding: 8px 6px;
  border-bottom: 1px solid var(--framec9e00-edge);
  color: var(--framec9e00-dim);
}

.framec9e00-spec th {
  color: var(--framec9e00-sand);
  font-weight: 800;
  width: 34%;
}

.framec9e00-jump {
  display: block;
  margin: 0 0 8px;
  padding: 11px 12px;
  min-height: 44px;
  border: 1px solid var(--framec9e00-sienna);
  border-radius: var(--framec9e00-r-soft);
  background: rgba(160, 82, 45, 0.16);
  color: var(--framec9e00-mist);
  font-size: 13px;
  font-weight: 700;
}

.framec9e00-jump span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--framec9e00-dim);
}

.framec9e00-limit {
  border: 1px dashed var(--framec9e00-rose);
  border-radius: var(--framec9e00-r-soft);
  padding: 11px 12px;
  margin: 6px 0 12px;
  font-size: 13px;
  color: var(--framec9e00-dim);
}

.framec9e00-textlink {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 10px 2px;
  color: var(--framec9e00-gold);
  font-weight: 800;
  font-size: inherit;
  text-decoration: underline;
  min-height: var(--framec9e00-touch);
}

/* ---------- review: score, split, open questions ---------- */
.framec9e00-score {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 14px;
}

.framec9e00-score-cell {
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  padding: 8px 4px;
  text-align: center;
  background: rgba(35, 50, 82, 0.45);
}

.framec9e00-score-cell b {
  display: block;
  font-size: 15px;
  color: var(--framec9e00-gold);
}

.framec9e00-score-cell span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.3;
  color: var(--framec9e00-dim);
}

.framec9e00-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 6px 0 12px;
}

.framec9e00-duo article {
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
  padding: 10px;
  background: rgba(16, 24, 39, 0.28);
}

.framec9e00-duo h3 {
  font-size: 13px;
  margin-bottom: 6px;
}

.framec9e00-duo p {
  font-size: 12.2px;
  color: var(--framec9e00-dim);
  margin: 0;
}

.framec9e00-duo article:first-child {
  border-top: 2px solid var(--framec9e00-gold);
}

.framec9e00-duo article:last-child {
  border-top: 2px solid var(--framec9e00-rose);
}

.framec9e00-qblock {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--framec9e00-rose);
  background: rgba(233, 30, 99, 0.08);
}

.framec9e00-qblock h3 {
  font-size: 13.5px;
  color: var(--framec9e00-sand);
  margin-bottom: 4px;
}

.framec9e00-qblock p {
  margin: 0;
  font-size: 12.8px;
  color: var(--framec9e00-dim);
}

.framec9e00-branch {
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid var(--framec9e00-edge);
  border-radius: var(--framec9e00-r-soft);
}

.framec9e00-branch b {
  display: block;
  color: var(--framec9e00-gold);
  font-size: 12.5px;
  margin-bottom: 4px;
}

.framec9e00-branch p {
  margin: 0;
  font-size: 12.6px;
  color: var(--framec9e00-dim);
}

.framec9e00-decide {
  list-style: none;
  margin: 6px 0 12px;
  padding: 0;
  counter-reset: framec9e00decide;
}

.framec9e00-decide li {
  counter-increment: framec9e00decide;
  position: relative;
  margin: 0 0 7px;
  padding: 9px 10px 9px 36px;
  border-bottom: 1px solid var(--framec9e00-edge);
  font-size: 12.8px;
  color: var(--framec9e00-dim);
}

.framec9e00-decide li::before {
  content: counter(framec9e00decide);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--framec9e00-sand);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--framec9e00-sand);
}

@media (max-width: 360px) {
  .framec9e00-score { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .framec9e00-duo { grid-template-columns: 1fr; }
}
