/* ============================================================
   jili gg - palette-dynamic-2fcfb5.css
   Mobile-first base stylesheet for a 320-430px phone canvas.
   Palette: coral / violet / sky / night / steel
   Direction: high-contrast display type + readable body,
   light-rounded cards, compact buttons, grouped cover cards,
   short-paragraph rhythm, light press + color transitions,
   solid primary CTA with outlined secondary CTA.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --framefcfb5-coral: #FF7F50;
  --framefcfb5-violet: #8470FF;
  --framefcfb5-sky: #87CEFA;
  --framefcfb5-night: #1A1A1A;
  --framefcfb5-steel: #4682B4;
  --framefcfb5-page: #101013;
  --framefcfb5-panel: #212127;
  --framefcfb5-panel-2: #26262e;
  --framefcfb5-text: #F2F5FA;
  --framefcfb5-muted: #A9B4C4;
  --framefcfb5-line: rgba(135, 206, 250, 0.16);
  --framefcfb5-line-strong: rgba(135, 206, 250, 0.32);
  --framefcfb5-radius: 12px;
  --framefcfb5-radius-sm: 8px;
  --framefcfb5-shell: 460px;
  --framefcfb5-topbar-h: 58px;
  --framefcfb5-tabbar-h: 66px;
  --framefcfb5-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  --framefcfb5-press: rgba(255, 127, 80, 0.22);
  --framefcfb5-glow: 0 0 0 1px rgba(135, 206, 250, 0.25), 0 6px 18px rgba(132, 112, 255, 0.28);
}

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

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

body {
  margin: 0;
  background: var(--framefcfb5-page);
  color: var(--framefcfb5-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a { color: var(--framefcfb5-sky); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin: 0 0 10px;
}

h1 { font-size: 1.62rem; text-wrap: balance; }
h2 { font-size: 1.22rem; }
h3 { font-size: 1.02rem; }

p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 20px; }

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

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

/* ---------- phone canvas shell ---------- */
.framefcfb5-shell {
  max-width: var(--framefcfb5-shell);
  margin: 0 auto;
  background: var(--framefcfb5-night);
  min-height: 100vh;
  border-left: 1px solid rgba(135, 206, 250, 0.08);
  border-right: 1px solid rgba(135, 206, 250, 0.08);
  position: relative;
}

.framefcfb5-main {
  padding: calc(var(--framefcfb5-topbar-h) + 14px) 14px calc(var(--framefcfb5-tabbar-h) + 76px);
}

/* ---------- fixed top bar (asymmetric brand header) ---------- */
.framefcfb5-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--framefcfb5-shell));
  height: var(--framefcfb5-topbar-h);
  z-index: 60;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--framefcfb5-line);
}

.framefcfb5-topbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 10px;
}

/* brand block: logo + name only */
.framefcfb5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.framefcfb5-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--framefcfb5-line-strong);
  flex: none;
}

.framefcfb5-wordmark {
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.framefcfb5-wordmark .framefcfb5-word-gg {
  color: var(--framefcfb5-coral);
}

/* compact auth actions */
.framefcfb5-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 0.12s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.framefcfb5-action:active { transform: scale(0.96); }

.framefcfb5-btn-register {
  background: var(--framefcfb5-coral);
  color: #241009;
  box-shadow: 0 4px 14px rgba(255, 127, 80, 0.35);
}
.framefcfb5-btn-register:active { box-shadow: 0 2px 8px rgba(255, 127, 80, 0.3); }

.framefcfb5-btn-login {
  border: 1.5px solid var(--framefcfb5-sky);
  color: var(--framefcfb5-sky);
}
.framefcfb5-btn-login:active { background: rgba(135, 206, 250, 0.12); }

/* menu toggle */
.framefcfb5-menu-btn {
  width: 42px; height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 9px;
  flex: none;
  transition: background-color 0.2s ease;
}
.framefcfb5-menu-btn:active { background: rgba(135, 206, 250, 0.12); }

.framefcfb5-menu-btn span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--framefcfb5-sky);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.framefcfb5-menu-btn.framefcfb5-is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.framefcfb5-menu-btn.framefcfb5-is-open span:nth-child(2) { opacity: 0; }
.framefcfb5-menu-btn.framefcfb5-is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* compact route panel (drop menu) */
.framefcfb5-routes {
  position: absolute;
  top: calc(var(--framefcfb5-topbar-h) - 6px);
  left: 8px; right: 8px;
  background: var(--framefcfb5-panel);
  border: 1px solid var(--framefcfb5-line-strong);
  border-radius: var(--framefcfb5-radius);
  box-shadow: var(--framefcfb5-shadow);
  padding: 10px;
  display: none;
  z-index: 59;
}

.framefcfb5-routes.framefcfb5-is-open { display: block; }

.framefcfb5-routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.framefcfb5-route {
  display: block;
  padding: 9px 10px;
  min-height: 42px;
  border-radius: var(--framefcfb5-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--framefcfb5-text);
  background: rgba(135, 206, 250, 0.05);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.framefcfb5-route:hover { text-decoration: none; background: rgba(135, 206, 250, 0.14); }

.framefcfb5-route.framefcfb5-route-on {
  background: rgba(255, 127, 80, 0.18);
  color: var(--framefcfb5-coral);
  box-shadow: inset 0 0 0 1px rgba(255, 127, 80, 0.4);
}

.framefcfb5-routes-note {
  margin: 8px 2px 0;
  font-size: 0.68rem;
  color: var(--framefcfb5-muted);
}

/* ---------- hero ---------- */
.framefcfb5-hero {
  padding: 14px 2px 4px;
}

.framefcfb5-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--framefcfb5-line-strong);
  background: rgba(132, 112, 255, 0.12);
  color: var(--framefcfb5-sky);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.framefcfb5-hero-tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--framefcfb5-coral);
}

.framefcfb5-lead {
  color: var(--framefcfb5-muted);
  font-size: 0.92rem;
}

.framefcfb5-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 2px;
  padding: 0;
  list-style: none;
}

.framefcfb5-hero-meta li {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--framefcfb5-sky);
  background: rgba(70, 130, 180, 0.2);
  border: 1px solid rgba(135, 206, 250, 0.2);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- promo carousel ---------- */
.framefcfb5-carousel {
  position: relative;
  margin: 14px 0 4px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--framefcfb5-line);
  box-shadow: var(--framefcfb5-shadow);
  background: var(--framefcfb5-panel);
}

.framefcfb5-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.33, 0.9, 0.3, 1);
}

.framefcfb5-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  display: block;
  text-align: left;
}

.framefcfb5-slide img {
  width: 100%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
}

.framefcfb5-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, rgba(16, 16, 19, 0.92) 78%);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--framefcfb5-text);
}

.framefcfb5-slide-cap small {
  display: block;
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--framefcfb5-sky);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.framefcfb5-dots {
  position: absolute;
  right: 10px; bottom: 10px;
  display: flex;
  gap: 6px;
}

.framefcfb5-dot {
  width: 22px; height: 8px;
  border-radius: 999px;
  background: rgba(242, 245, 250, 0.32);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.framefcfb5-dot.framefcfb5-dot-on {
  background: var(--framefcfb5-coral);
  width: 30px;
}

/* ---------- category shortcut strip ---------- */
.framefcfb5-catstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.framefcfb5-catstrip::-webkit-scrollbar { display: none; }

.framefcfb5-catlink {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--framefcfb5-text);
  background: var(--framefcfb5-panel);
  border: 1px solid var(--framefcfb5-line);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.framefcfb5-catlink:hover { text-decoration: none; border-color: var(--framefcfb5-line-strong); color: var(--framefcfb5-sky); }

.framefcfb5-catlink i {
  width: 8px; height: 8px;
  border-radius: 3px;
  display: inline-block;
}

.framefcfb5-cat-hot i { background: var(--framefcfb5-coral); }
.framefcfb5-cat-live i { background: var(--framefcfb5-violet); }
.framefcfb5-cat-slot i { background: var(--framefcfb5-sky); }
.framefcfb5-cat-fish i { background: #3fd0c9; }
.framefcfb5-cat-card i { background: #f4c95d; }

/* ---------- game sections ---------- */
.framefcfb5-section { margin: 26px 0 0; scroll-margin-top: calc(var(--framefcfb5-topbar-h) + 10px); }

.framefcfb5-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.framefcfb5-sec-head h2 { margin: 0; }

.framefcfb5-sec-count {
  flex: none;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--framefcfb5-coral);
  background: rgba(255, 127, 80, 0.12);
  border: 1px solid rgba(255, 127, 80, 0.35);
  border-radius: 999px;
  padding: 2px 9px;
}

.framefcfb5-sec-intro {
  color: var(--framefcfb5-muted);
  font-size: 0.86rem;
  margin-bottom: 12px;
}

/* per-section accent on the section shell */
.framefcfb5-sec-body {
  border-top: 2px solid var(--framefcfb5-line);
  padding-top: 12px;
}

.framefcfb5-sec-hot .framefcfb5-sec-body { border-top-color: rgba(255, 127, 80, 0.55); }
.framefcfb5-sec-live .framefcfb5-sec-body { border-top-color: rgba(132, 112, 255, 0.55); }
.framefcfb5-sec-slot .framefcfb5-sec-body { border-top-color: rgba(135, 206, 250, 0.55); }
.framefcfb5-sec-fish .framefcfb5-sec-body { border-top-color: rgba(63, 208, 201, 0.5); }
.framefcfb5-sec-card .framefcfb5-sec-body { border-top-color: rgba(244, 201, 93, 0.5); }

/* live table stat strip */
.framefcfb5-statline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.framefcfb5-statline span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--framefcfb5-sky);
  border: 1px dashed rgba(135, 206, 250, 0.4);
  border-radius: var(--framefcfb5-radius-sm);
  padding: 4px 9px;
  background: rgba(132, 112, 255, 0.08);
}

/* slot style pills */
.framefcfb5-pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.framefcfb5-pillrow li {
  list-style: none;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--framefcfb5-text);
  background: rgba(135, 206, 250, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
}

.framefcfb5-pillrow { margin: 0 0 12px; padding: 0; }

/* fishing note bar */
.framefcfb5-fishnote {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: #bfeeeb;
  background: rgba(63, 208, 201, 0.08);
  border: 1px solid rgba(63, 208, 201, 0.25);
  border-radius: var(--framefcfb5-radius-sm);
  padding: 8px 10px;
  margin-bottom: 12px;
}

/* card-room quick list */
.framefcfb5-quicklist {
  margin: 0 0 12px;
  padding: 10px 12px 10px 30px;
  background: rgba(244, 201, 93, 0.07);
  border: 1px solid rgba(244, 201, 93, 0.22);
  border-radius: var(--framefcfb5-radius-sm);
  font-size: 0.8rem;
  color: #f0e3bd;
}

.framefcfb5-quicklist li { margin: 3px 0; }

/* ---------- game grid + grouped cover cards ---------- */
.framefcfb5-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 8px;
}

.framefcfb5-gcell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.framefcfb5-gcell:active { transform: scale(0.94); }

.framefcfb5-cover {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--framefcfb5-line);
  background: var(--framefcfb5-panel-2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.framefcfb5-gcell:active .framefcfb5-cover {
  border-color: rgba(255, 127, 80, 0.6);
  box-shadow: var(--framefcfb5-glow);
}

.framefcfb5-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.framefcfb5-rank {
  position: absolute;
  top: 4px; left: 4px;
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(16, 16, 19, 0.85);
  color: var(--framefcfb5-coral);
  font-size: 0.64rem;
  font-weight: 800;
  text-align: center;
}

.framefcfb5-liveflag {
  position: absolute;
  top: 4px; left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(132, 112, 255, 0.9);
  color: #14121f;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.framefcfb5-liveflag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ffe9a8;
}

.framefcfb5-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--framefcfb5-text);
  min-height: 2.5em;
  overflow-wrap: break-word;
}

/* ---------- CTA module ---------- */
.framefcfb5-cta {
  margin: 30px 0 0;
  padding: 18px 16px;
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(255, 127, 80, 0.28) 0%, rgba(255, 127, 80, 0) 55%),
    linear-gradient(160deg, #26262e 0%, #1e1e24 100%);
  border: 1px solid rgba(255, 127, 80, 0.35);
}

.framefcfb5-cta p { color: var(--framefcfb5-muted); font-size: 0.88rem; }

.framefcfb5-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.framefcfb5-btn-solid,
.framefcfb5-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.framefcfb5-btn-solid {
  background: var(--framefcfb5-coral);
  color: #241009;
  box-shadow: 0 6px 18px rgba(255, 127, 80, 0.4);
}
.framefcfb5-btn-solid:active { transform: scale(0.97); box-shadow: 0 3px 10px rgba(255, 127, 80, 0.35); }

.framefcfb5-btn-ghost {
  border: 1.5px solid var(--framefcfb5-violet);
  color: #beb8ff;
}
.framefcfb5-btn-ghost:active { background: rgba(132, 112, 255, 0.14); transform: scale(0.97); }

/* ---------- category highlights (label + trait rows) ---------- */
.framefcfb5-hl {
  margin: 26px 0 0;
}

.framefcfb5-hl-row {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--framefcfb5-line);
}

.framefcfb5-hl-row:last-child { border-bottom: 0; }

.framefcfb5-hl-key {
  flex: none;
  width: 84px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-top: 2px;
}

.framefcfb5-hl-key.framefcfb5-k-hot { color: var(--framefcfb5-coral); }
.framefcfb5-hl-key.framefcfb5-k-live { color: #b3a8ff; }
.framefcfb5-hl-key.framefcfb5-k-slot { color: var(--framefcfb5-sky); }
.framefcfb5-hl-key.framefcfb5-k-fish { color: #3fd0c9; }
.framefcfb5-hl-key.framefcfb5-k-card { color: #f4c95d; }

.framefcfb5-hl-body { font-size: 0.84rem; color: var(--framefcfb5-muted); }
.framefcfb5-hl-body strong { color: var(--framefcfb5-text); font-weight: 700; }

/* ---------- features (scannable definition rows) ---------- */
.framefcfb5-feats {
  margin: 26px 0 0;
  display: grid;
  gap: 9px;
}

.framefcfb5-feat {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border-radius: var(--framefcfb5-radius);
  background: var(--framefcfb5-panel);
  border: 1px solid var(--framefcfb5-line);
}

.framefcfb5-feat dt {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--framefcfb5-sky);
}

.framefcfb5-feat dd {
  margin: 0;
  font-size: 0.8rem;
  color: var(--framefcfb5-muted);
}

.framefcfb5-feats { margin: 26px 0 0; }
.framefcfb5-feats dl { margin: 0; display: contents; }

/* ---------- scenario answer ---------- */
.framefcfb5-scenario {
  margin: 26px 0 0;
  padding: 16px;
  border-radius: var(--framefcfb5-radius);
  background: var(--framefcfb5-panel);
  border: 1px solid var(--framefcfb5-line-strong);
}

.framefcfb5-q {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--framefcfb5-violet);
  margin-bottom: 6px;
}

.framefcfb5-answer {
  border-left: 3px solid var(--framefcfb5-coral);
  padding-left: 10px;
  font-size: 0.9rem;
  color: var(--framefcfb5-text);
}

.framefcfb5-scenario ul { font-size: 0.84rem; color: var(--framefcfb5-muted); }
.framefcfb5-scenario li { margin: 4px 0; }

/* ---------- extended footer ---------- */
.framefcfb5-ext {
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 2px solid var(--framefcfb5-line-strong);
}

.framefcfb5-ext-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.framefcfb5-ext-brand img {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--framefcfb5-line-strong);
  flex: none;
}

.framefcfb5-ext-brand p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--framefcfb5-muted);
}

.framefcfb5-ext-group { margin-bottom: 16px; }

.framefcfb5-ext-cap {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--framefcfb5-coral);
  margin-bottom: 7px;
}

.framefcfb5-dircols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.framefcfb5-dircols a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--framefcfb5-text);
  padding: 6px 0;
  display: inline-block;
}

.framefcfb5-dircols a:hover { color: var(--framefcfb5-sky); }

/* promo action cluster */
.framefcfb5-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.framefcfb5-promo {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--framefcfb5-panel-2);
  border: 1px solid var(--framefcfb5-line);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--framefcfb5-text);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.framefcfb5-promo svg { flex: none; }
.framefcfb5-promo:active {
  transform: scale(0.96);
  border-color: rgba(255, 127, 80, 0.55);
  box-shadow: var(--framefcfb5-glow);
}

.framefcfb5-promo.framefcfb5-promo-wide { grid-column: 1 / -1; }

.framefcfb5-disclaimer {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--framefcfb5-muted);
  background: rgba(70, 130, 180, 0.1);
  border: 1px dashed rgba(135, 206, 250, 0.3);
  border-radius: var(--framefcfb5-radius-sm);
  padding: 10px 12px;
  margin-top: 16px;
}

/* ---------- common footer ---------- */
.framefcfb5-foot {
  margin-top: 26px;
  padding: 14px 4px 4px;
  border-top: 1px solid var(--framefcfb5-line);
  text-align: center;
}

.framefcfb5-copy {
  font-size: 0.72rem;
  color: var(--framefcfb5-muted);
}

/* ---------- fixed bottom tab bar ---------- */
.framefcfb5-tabbar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--framefcfb5-shell));
  height: calc(var(--framefcfb5-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 60;
  background: rgba(24, 24, 28, 0.98);
  backdrop-filter: blur(8px);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--framefcfb5-coral), var(--framefcfb5-violet), var(--framefcfb5-sky)) 1;
}

.framefcfb5-tabrow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--framefcfb5-tabbar-h);
  align-items: stretch;
}

.framefcfb5-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  color: var(--framefcfb5-muted);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 12px;
  margin: 6px 3px;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

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

.framefcfb5-tab:active { color: var(--framefcfb5-sky); box-shadow: var(--framefcfb5-glow); }

.framefcfb5-tab.framefcfb5-tab-on {
  color: var(--framefcfb5-coral);
  background: rgba(255, 127, 80, 0.14);
}

.framefcfb5-tab:hover { text-decoration: none; }

/* ---------- responsive: 375px and up ---------- */
@media (min-width: 375px) {
  .framefcfb5-gname { font-size: 0.7rem; }
  .framefcfb5-slide-cap { font-size: 1rem; }
  .framefcfb5-cta-row { flex-direction: row; }
  .framefcfb5-cta-row .framefcfb5-btn-solid,
  .framefcfb5-cta-row .framefcfb5-btn-ghost { flex: 1; }
}

/* ---------- responsive: 430px and up ---------- */
@media (min-width: 430px) {
  .framefcfb5-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 9px; }
  .framefcfb5-main { padding-left: 18px; padding-right: 18px; }
  .framefcfb5-hero-tag { font-size: 0.74rem; }
  .framefcfb5-dircols { gap: 8px 16px; }
  .framefcfb5-promogrid { gap: 10px; }
  .framefcfb5-promo { font-size: 0.8rem; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .framefcfb5-track { transition: none; }
}
