/* ==========================================================================
   Casino Jili - mobile display stylesheet
   Palette: #FFA500 tangerine | #F4A460 sand | #2C3E50 deep slate
   Tone: stroke-led restrained rounding, humanist headings, fact-first rhythm
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --framefceb7-ink: #2c3e50;
  --framefceb7-ink-deep: #223140;
  --framefceb7-ink-raise: #35485c;
  --framefceb7-ink-line: #46596e;
  --framefceb7-tangerine: #ffa500;
  --framefceb7-tangerine-soft: #ffb738;
  --framefceb7-sand: #f4a460;
  --framefceb7-paper: #f6efe2;
  --framefceb7-paper-dim: #d9cdb8;
  --framefceb7-night: #17222e;
  --framefceb7-head-font: "Trebuchet MS", "Seravek", "Segoe UI", "DejaVu Sans", sans-serif;
  --framefceb7-body-font: Verdana, "Segoe UI", "DejaVu Sans", "Helvetica Neue", sans-serif;
  --framefceb7-radius: 8px;
  --framefceb7-radius-tight: 6px;
  --framefceb7-stroke: 1px solid rgba(244, 164, 96, 0.34);
  --framefceb7-stroke-strong: 1px solid rgba(255, 165, 0, 0.62);
  --framefceb7-tap: 44px;
  --framefceb7-shift: 240ms cubic-bezier(0.33, 0.9, 0.4, 1);
}

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

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

body {
  margin: 0;
  background: var(--framefceb7-night);
  color: var(--framefceb7-paper);
  font-family: var(--framefceb7-body-font);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--framefceb7-head-font);
  line-height: 1.28;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: 0.1px;
}

p { margin: 0 0 0.85em; }

a { color: var(--framefceb7-tangerine-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

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

:focus-visible {
  outline: 2px solid var(--framefceb7-tangerine);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- phone canvas ---------- */
.framefceb7-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% -8%, rgba(255, 165, 0, 0.14), transparent 62%),
    var(--framefceb7-ink);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

@media (min-width: 431px) {
  .framefceb7-canvas {
    border-left: 1px solid rgba(244, 164, 96, 0.22);
    border-right: 1px solid rgba(244, 164, 96, 0.22);
  }
}

/* ---------- functional header (edge aligned) ---------- */
.framefceb7-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, rgba(23, 34, 46, 0.97), rgba(34, 49, 64, 0.97));
  border-bottom: var(--framefceb7-stroke-strong);
  border-top: 3px solid var(--framefceb7-tangerine);
  backdrop-filter: blur(8px);
}

.framefceb7-barrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 58px;
  padding: 7px 10px 7px 12px;
}

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

.framefceb7-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--framefceb7-radius-tight);
  border: var(--framefceb7-stroke-strong);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--framefceb7-ink-deep);
}

.framefceb7-sitename {
  font-family: var(--framefceb7-head-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--framefceb7-paper);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.framefceb7-sitename em {
  font-style: normal;
  color: var(--framefceb7-tangerine);
}

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

/* compact icon + text CTA */
.framefceb7-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: var(--framefceb7-tap);
  padding: 0 13px;
  border-radius: var(--framefceb7-radius-tight);
  font-family: var(--framefceb7-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: transform var(--framefceb7-shift), background var(--framefceb7-shift), color var(--framefceb7-shift);
}

.framefceb7-cta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.framefceb7-cta > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
}

.framefceb7-promoaction > span {
  display: inline-flex;
  width: 17px;
  min-width: 17px;
  align-items: center;
  justify-content: center;
  color: var(--framefceb7-tangerine);
  font-family: var(--framefceb7-head-font);
  font-size: 17px;
  line-height: 1;
}

.framefceb7-cta:active { transform: translateY(1px) scale(0.98); }

.framefceb7-cta--solid {
  background: var(--framefceb7-tangerine);
  color: #1e2c39;
  border-color: var(--framefceb7-tangerine);
}

.framefceb7-cta--solid:hover { background: var(--framefceb7-tangerine-soft); text-decoration: none; }

.framefceb7-cta--ghost {
  border-color: rgba(244, 164, 96, 0.6);
  color: var(--framefceb7-paper);
  background: rgba(244, 164, 96, 0.08);
}

.framefceb7-cta--ghost:hover { border-color: var(--framefceb7-sand); text-decoration: none; }

.framefceb7-menubtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: var(--framefceb7-tap);
  height: var(--framefceb7-tap);
  border-radius: var(--framefceb7-radius-tight);
  border: var(--framefceb7-stroke);
  background: rgba(34, 49, 64, 0.6);
}

.framefceb7-menubtn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--framefceb7-paper);
  border-radius: 2px;
  transition: transform var(--framefceb7-shift), opacity var(--framefceb7-shift);
}

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

/* ---------- compact route panel ---------- */
.framefceb7-routes {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: rgba(23, 34, 46, 0.985);
  border-bottom: var(--framefceb7-stroke-strong);
  padding: 10px 12px 14px;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--framefceb7-shift), opacity var(--framefceb7-shift), visibility var(--framefceb7-shift);
}

.framefceb7-routes.framefceb7-open {
  visibility: visible;
  max-height: 460px;
  opacity: 1;
}

.framefceb7-routegrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.framefceb7-routegrid a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: var(--framefceb7-tap);
  padding: 9px 10px;
  border: var(--framefceb7-stroke);
  border-radius: var(--framefceb7-radius-tight);
  color: var(--framefceb7-paper);
  font-size: 12.5px;
  background: rgba(53, 72, 92, 0.35);
}

.framefceb7-routegrid a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--framefceb7-sand);
  flex: 0 0 auto;
}

.framefceb7-routegrid a:hover { border-color: var(--framefceb7-tangerine); text-decoration: none; }

.framefceb7-routegrid a.framefceb7-on {
  background: var(--framefceb7-tangerine);
  border-color: var(--framefceb7-tangerine);
  color: #1e2c39;
  font-weight: 700;
}

.framefceb7-routegrid a.framefceb7-on::before { background: #1e2c39; }

/* ---------- layout shell ---------- */
.framefceb7-main {
  padding: 74px 0 calc(112px + env(safe-area-inset-bottom, 0px));
}

.framefceb7-wrap { padding: 0 12px; }

/* ---------- hero ---------- */
.framefceb7-hero {
  padding: 18px 12px 6px;
}

.framefceb7-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--framefceb7-sand);
  border: var(--framefceb7-stroke);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.framefceb7-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--framefceb7-tangerine);
}

.framefceb7-h1 {
  font-size: 25px;
  color: var(--framefceb7-paper);
}

@media (min-width: 375px) {
  .framefceb7-h1 { font-size: 27px; }
}

.framefceb7-lede {
  color: var(--framefceb7-paper-dim);
  font-size: 13px;
}

/* ---------- carousel ---------- */
.framefceb7-carousel {
  position: relative;
  margin: 14px 12px 4px;
  border: var(--framefceb7-stroke-strong);
  border-radius: var(--framefceb7-radius);
  overflow: hidden;
  background: var(--framefceb7-ink-deep);
}

.framefceb7-track {
  display: flex;
  transition: transform 300ms cubic-bezier(0.33, 0.9, 0.4, 1);
}

.framefceb7-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  display: block;
}

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

.framefceb7-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.framefceb7-dot {
  width: 22px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(246, 239, 226, 0.85);
  background: rgba(23, 34, 46, 0.45);
  transition: background var(--framefceb7-shift), transform var(--framefceb7-shift);
}

.framefceb7-dot.framefceb7-doton {
  background: var(--framefceb7-tangerine);
  border-color: var(--framefceb7-tangerine);
  transform: scaleY(1.25);
}

/* ---------- fact strip ---------- */
.framefceb7-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 14px 12px 4px;
}

.framefceb7-fact {
  border: var(--framefceb7-stroke);
  border-left: 3px solid var(--framefceb7-tangerine);
  border-radius: var(--framefceb7-radius-tight);
  background: rgba(34, 49, 64, 0.55);
  padding: 9px 10px;
}

.framefceb7-fact b {
  display: block;
  font-family: var(--framefceb7-head-font);
  font-size: 12.5px;
  color: var(--framefceb7-paper);
  margin-bottom: 2px;
}

.framefceb7-fact span { font-size: 11.5px; color: var(--framefceb7-paper-dim); }

/* ---------- sections ---------- */
.framefceb7-section {
  margin: 26px 0 0;
  animation: framefceb7-rise 300ms ease both;
}

@keyframes framefceb7-rise {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.framefceb7-sechead {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 12px 8px;
  border-bottom: 1px dashed rgba(244, 164, 96, 0.3);
  margin-bottom: 10px;
}

.framefceb7-sechead h2 {
  font-size: 18.5px;
  margin: 0;
  color: var(--framefceb7-paper);
  flex: 1 1 auto;
}

.framefceb7-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--framefceb7-tangerine);
  border: 1px solid rgba(255, 165, 0, 0.55);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.framefceb7-seclede {
  padding: 0 12px;
  margin-bottom: 12px;
  color: var(--framefceb7-paper-dim);
  font-size: 13px;
}

.framefceb7-seclede .framefceb7-lead {
  color: var(--framefceb7-paper);
  font-weight: 700;
}

/* ---------- game grid: pure image cards, short name under art ---------- */
.framefceb7-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
  padding: 2px 12px 4px;
  list-style: none;
  margin: 0;
}

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

.framefceb7-tile { margin: 0; }

.framefceb7-tilebtn {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: var(--framefceb7-radius);
  padding: 0;
  transition: transform var(--framefceb7-shift);
}

.framefceb7-tilebtn:active { transform: scale(0.95); }

.framefceb7-tilebtn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--framefceb7-radius);
  border: var(--framefceb7-stroke);
  background: var(--framefceb7-ink-deep);
  margin-bottom: 5px;
  transition: border-color var(--framefceb7-shift);
}

.framefceb7-tilebtn:hover img { border-color: var(--framefceb7-tangerine); }

.framefceb7-tilename {
  display: block;
  font-size: 10.8px;
  line-height: 1.3;
  color: var(--framefceb7-paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  word-break: break-word;
}

/* ---------- module panels ---------- */
.framefceb7-panel {
  margin: 0 12px;
  border: var(--framefceb7-stroke);
  border-radius: var(--framefceb7-radius);
  background: rgba(34, 49, 64, 0.5);
  padding: 13px 13px 9px;
}

.framefceb7-panel h3 {
  font-size: 14.5px;
  color: var(--framefceb7-sand);
  margin-bottom: 7px;
}

.framefceb7-note {
  border-left: 3px solid var(--framefceb7-sand);
  padding: 7px 10px;
  margin: 10px 0;
  font-size: 12px;
  color: var(--framefceb7-paper-dim);
  background: rgba(244, 164, 96, 0.07);
  border-radius: 0 var(--framefceb7-radius-tight) var(--framefceb7-radius-tight) 0;
}

/* steps */
.framefceb7-steps {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  counter-reset: framefceb7-step;
}

.framefceb7-steps li {
  counter-increment: framefceb7-step;
  position: relative;
  padding: 0 0 12px 38px;
  font-size: 13px;
}

.framefceb7-steps li::before {
  content: counter(framefceb7-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border: var(--framefceb7-stroke-strong);
  border-radius: 50%;
  color: var(--framefceb7-tangerine);
  font-family: var(--framefceb7-head-font);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.framefceb7-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: rgba(244, 164, 96, 0.28);
}

.framefceb7-steps b { color: var(--framefceb7-paper); }

/* session checklist */
.framefceb7-checklist {
  list-style: none;
  margin: 4px 0 10px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.framefceb7-checklist li {
  font-size: 12.5px;
  color: var(--framefceb7-paper-dim);
  padding: 6px 8px 6px 28px;
  position: relative;
  border: 1px solid rgba(70, 89, 110, 0.55);
  border-radius: var(--framefceb7-radius-tight);
  background: rgba(23, 34, 46, 0.35);
}

.framefceb7-checklist li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 11px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--framefceb7-tangerine);
  border-bottom: 2px solid var(--framefceb7-tangerine);
  transform: rotate(-45deg);
}

/* question lines inside modules */
.framefceb7-qa { margin: 12px 0 4px; border-top: 1px dashed rgba(244, 164, 96, 0.3); padding-top: 11px; }

.framefceb7-qa h3 { margin-bottom: 5px; }

.framefceb7-qa p { font-size: 12.5px; margin-bottom: 9px; }

/* selection guide rows */
.framefceb7-guiderows { display: grid; gap: 8px; }

.framefceb7-guiderow {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 9px;
  border: var(--framefceb7-stroke);
  border-radius: var(--framefceb7-radius-tight);
  padding: 9px 10px;
  background: rgba(23, 34, 46, 0.45);
}

.framefceb7-guiderow dt {
  font-family: var(--framefceb7-head-font);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--framefceb7-tangerine);
}

.framefceb7-guiderow dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--framefceb7-paper-dim);
}

/* winners ledger */
.framefceb7-ledger {
  border: var(--framefceb7-stroke);
  border-radius: var(--framefceb7-radius-tight);
  overflow: hidden;
  margin: 4px 0 10px;
}

.framefceb7-ledgerrow {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  font-size: 12.3px;
  background: rgba(23, 34, 46, 0.4);
}

.framefceb7-ledgerrow:nth-child(even) { background: rgba(34, 49, 64, 0.55); }

.framefceb7-ledgerrow b { color: var(--framefceb7-paper); font-weight: 700; }

.framefceb7-ledgerrow span { color: var(--framefceb7-paper-dim); }

.framefceb7-ledgerrow .framefceb7-amount {
  color: var(--framefceb7-tangerine);
  font-family: var(--framefceb7-head-font);
  font-weight: 700;
  white-space: nowrap;
}

/* pros and limits duo */
.framefceb7-duo { display: grid; gap: 9px; }

.framefceb7-duo section {
  border: var(--framefceb7-stroke);
  border-radius: var(--framefceb7-radius-tight);
  padding: 10px 11px 6px;
  background: rgba(23, 34, 46, 0.4);
}

.framefceb7-duo section:last-child { border-left: 3px solid var(--framefceb7-sand); }

.framefceb7-duo section:first-child { border-left: 3px solid var(--framefceb7-tangerine); }

.framefceb7-duo h3 { font-size: 13.5px; margin-bottom: 6px; }

.framefceb7-duo ul { margin: 0; padding-left: 17px; font-size: 12.5px; color: var(--framefceb7-paper-dim); }
.framefceb7-duo li { margin-bottom: 5px; }

/* fact sheet */
.framefceb7-sheet { display: grid; gap: 7px; }

.framefceb7-sheetrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-bottom: 1px solid rgba(70, 89, 110, 0.6);
  padding-bottom: 7px;
}

.framefceb7-sheetrow dt {
  font-family: var(--framefceb7-head-font);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--framefceb7-sand);
}

.framefceb7-sheetrow dd { margin: 0; font-size: 12.8px; color: var(--framefceb7-paper); }

/* ---------- extended footer (home only) ---------- */
.framefceb7-extfoot {
  margin: 30px 12px 8px;
  border: var(--framefceb7-stroke-strong);
  border-radius: var(--framefceb7-radius);
  background: linear-gradient(180deg, rgba(53, 72, 92, 0.5), rgba(23, 34, 46, 0.6));
  padding: 14px 13px 12px;
}

.framefceb7-extfoot h2 { font-size: 16.5px; }

.framefceb7-extbrand { font-size: 12.5px; color: var(--framefceb7-paper-dim); margin-bottom: 12px; }

.framefceb7-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 13px;
}

.framefceb7-promoaction {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--framefceb7-tap);
  padding: 9px 11px;
  border: 1px solid rgba(255, 165, 0, 0.55);
  border-radius: var(--framefceb7-radius-tight);
  background: rgba(255, 165, 0, 0.1);
  color: var(--framefceb7-paper);
  font-family: var(--framefceb7-head-font);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: background var(--framefceb7-shift), transform var(--framefceb7-shift);
}

.framefceb7-promoaction svg { width: 17px; height: 17px; color: var(--framefceb7-tangerine); flex: 0 0 auto; }

.framefceb7-promoaction:active { transform: scale(0.98); }

.framefceb7-promoaction:hover { background: rgba(255, 165, 0, 0.2); }

.framefceb7-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
  margin-bottom: 12px;
}

.framefceb7-directory a {
  font-size: 12.3px;
  color: var(--framefceb7-paper-dim);
  padding: 6px 0 6px 12px;
  position: relative;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.framefceb7-directory a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border: 1px solid var(--framefceb7-sand);
  border-radius: 1px;
}

.framefceb7-directory a:hover { color: var(--framefceb7-tangerine-soft); }

.framefceb7-disclaim {
  font-size: 11.3px;
  color: var(--framefceb7-paper-dim);
  border-top: 1px dashed rgba(244, 164, 96, 0.3);
  padding-top: 9px;
  margin: 0;
}

/* fine print lines under the directory */
.framefceb7-fineprint {
  list-style: none;
  margin: 0 0 11px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.framefceb7-fineprint li {
  font-size: 11.6px;
  line-height: 1.5;
  color: var(--framefceb7-paper-dim);
  padding-left: 14px;
  position: relative;
}

.framefceb7-fineprint li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 165, 0, 0.55);
  border-radius: 1px;
}

/* ---------- common footer ---------- */
.framefceb7-copyright {
  padding: 16px 12px 8px;
  text-align: center;
  font-size: 11.3px;
  color: rgba(217, 205, 184, 0.75);
  letter-spacing: 0.3px;
}

/* ---------- layered bottom tab bar ---------- */
.framefceb7-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: linear-gradient(180deg, rgba(23, 34, 46, 0.98), rgba(18, 27, 37, 0.99));
  border-top: var(--framefceb7-stroke-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.framefceb7-tabglide {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 3px;
  background: var(--framefceb7-tangerine);
  transition: transform var(--framefceb7-shift);
  z-index: 1;
}

.framefceb7-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 62px;
}

.framefceb7-tab {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--framefceb7-paper-dim);
  font-size: 10px;
  letter-spacing: 0.2px;
  border-radius: var(--framefceb7-radius-tight) var(--framefceb7-radius-tight) 0 0;
  transition: color var(--framefceb7-shift), background var(--framefceb7-shift);
}

.framefceb7-tab svg {
  width: 21px;
  height: 21px;
  color: currentColor;
}

/* active tab: contrast inversion */
.framefceb7-tab.framefceb7-on {
  background: var(--framefceb7-tangerine);
  color: #1e2c39;
  font-weight: 700;
}

.framefceb7-tab:active { transform: translateY(1px); }

/* ---------- shared icon strokes ---------- */
.framefceb7-ico { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- inline text links inside body copy ---------- */
.framefceb7-body a { border-bottom: 1px dotted rgba(255, 183, 56, 0.7); }

.framefceb7-body a:hover { border-bottom-style: solid; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
