/* ==========================================================================
   Table Games - palette-mobile-14be90.css
   Mobile-first stylesheet for the 320-430px phone canvas.
   Palette: #20B2AA mint / #C0C0C0 silver / #008000 green / #0C0C0C ink
   Direction: rounded headings + compact body, small radii, outlined tiles,
   compact metric rhythm, restrained fade feedback, icon+text CTAs.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --frame14be9-ink: #0c0c0c;
  --frame14be9-ink-deep: #060607;
  --frame14be9-panel: #15161a;
  --frame14be9-panel-2: #1a1c21;
  --frame14be9-panel-3: #20232a;
  --frame14be9-line: #2b2f36;
  --frame14be9-line-soft: #23262c;
  --frame14be9-mint: #20b2aa;
  --frame14be9-mint-bright: #45d8cf;
  --frame14be9-mint-ink: #04302e;
  --frame14be9-mint-dim: rgba(32, 178, 170, 0.14);
  --frame14be9-mint-line: rgba(32, 178, 170, 0.38);
  --frame14be9-silver: #c0c0c0;
  --frame14be9-silver-soft: #9ba1a7;
  --frame14be9-silver-dim: #71767c;
  --frame14be9-green: #008000;
  --frame14be9-green-bright: #35c04a;
  --frame14be9-green-dim: rgba(0, 128, 0, 0.22);
  --frame14be9-radius-xs: 3px;
  --frame14be9-radius-sm: 5px;
  --frame14be9-radius-md: 8px;
  --frame14be9-font-round: "Trebuchet MS", "Segoe UI Rounded", "SF Pro Rounded", "Arial Rounded MT Bold", Verdana, sans-serif;
  --frame14be9-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame14be9-topbar-h: 54px;
  --frame14be9-tabbar-h: 58px;
  --frame14be9-gutter: 12px;
  --frame14be9-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--frame14be9-ink-deep);
}

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background: var(--frame14be9-ink);
  color: var(--frame14be9-silver);
  font-family: var(--frame14be9-font-body);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--frame14be9-tabbar-h) + env(safe-area-inset-bottom, 0px) + 14px);
}

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

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

a {
  color: var(--frame14be9-mint-bright);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--frame14be9-font-round);
  color: #e8eaec;
  margin: 0;
  line-height: 1.25;
}

p {
  margin: 0 0 10px;
}

ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--frame14be9-mint-bright);
  outline-offset: 2px;
  border-radius: var(--frame14be9-radius-xs);
}

.frame14be9-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;
}

/* Wide screens keep the centered phone canvas with a soft edge. */
@media (min-width: 480px) {
  body {
    box-shadow: 0 0 0 1px var(--frame14be9-line), 0 0 44px rgba(0, 0, 0, 0.65);
  }
}

/* ---------------------------------------------------------------- topbar */
.frame14be9-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  height: var(--frame14be9-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 var(--frame14be9-gutter);
  background: rgba(12, 12, 12, 0.96);
  border-bottom: 1px solid var(--frame14be9-line-soft);
  backdrop-filter: blur(8px);
}

.frame14be9-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #e8eaec;
  flex-shrink: 1;
}

.frame14be9-brand:hover {
  text-decoration: none;
}

.frame14be9-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--frame14be9-radius-sm);
  border: 1px solid var(--frame14be9-mint-line);
  flex-shrink: 0;
}

.frame14be9-brand-name {
  font-family: var(--frame14be9-font-round);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame14be9-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Compact icon+text CTAs */
.frame14be9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: var(--frame14be9-radius-sm);
  font-family: var(--frame14be9-font-round);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.12s var(--frame14be9-ease), background 0.15s var(--frame14be9-ease), border-color 0.15s var(--frame14be9-ease);
}

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

.frame14be9-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.frame14be9-btn-mint {
  background: linear-gradient(180deg, var(--frame14be9-mint-bright), var(--frame14be9-mint));
  color: var(--frame14be9-mint-ink);
}

.frame14be9-btn-ghost {
  background: transparent;
  color: var(--frame14be9-silver);
  border: 1px solid var(--frame14be9-line);
}

.frame14be9-btn-ghost:active {
  border-color: var(--frame14be9-mint);
}

.frame14be9-burger {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame14be9-line);
  border-radius: var(--frame14be9-radius-sm);
  color: var(--frame14be9-silver);
  transition: transform 0.12s var(--frame14be9-ease), border-color 0.15s var(--frame14be9-ease);
}

.frame14be9-burger:active {
  transform: scale(0.92);
  border-color: var(--frame14be9-mint);
}

.frame14be9-burger svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------- drawer */
.frame14be9-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 4, 5, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--frame14be9-ease), visibility 0.22s;
}

.frame14be9-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(84vw, 304px);
  background: var(--frame14be9-panel);
  border-left: 1px solid var(--frame14be9-line);
  transform: translateX(102%);
  transition: transform 0.26s var(--frame14be9-ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
}

.frame14be9-drawer.frame14be9-open,
.frame14be9-scrim.frame14be9-open {
  opacity: 1;
  visibility: visible;
}

.frame14be9-drawer.frame14be9-open {
  transform: translateX(0);
}

body.frame14be9-locked {
  overflow: hidden;
}

.frame14be9-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--frame14be9-line-soft);
  position: sticky;
  top: 0;
  background: var(--frame14be9-panel);
  z-index: 2;
}

.frame14be9-drawer-title {
  font-family: var(--frame14be9-font-round);
  font-size: 15px;
  font-weight: 700;
  color: #e8eaec;
}

.frame14be9-drawer-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame14be9-line);
  border-radius: var(--frame14be9-radius-sm);
  color: var(--frame14be9-silver-soft);
}

.frame14be9-drawer-close svg {
  width: 16px;
  height: 16px;
}

.frame14be9-drawer-group {
  padding: 10px 14px 4px;
}

.frame14be9-drawer-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--frame14be9-silver-dim);
  padding: 4px 2px 6px;
}

.frame14be9-drawer-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 8px;
  border-radius: var(--frame14be9-radius-sm);
  color: var(--frame14be9-silver);
  border: 1px solid transparent;
  font-size: 13.5px;
}

.frame14be9-drawer-link svg {
  width: 16px;
  height: 16px;
  color: var(--frame14be9-mint);
  flex-shrink: 0;
}

.frame14be9-drawer-link:active {
  transform: scale(0.98);
  border-color: var(--frame14be9-line);
}

.frame14be9-drawer-link.frame14be9-current {
  background: var(--frame14be9-mint-dim);
  border-color: var(--frame14be9-mint-line);
  color: #e8eaec;
  font-weight: 600;
}

.frame14be9-drawer-cta {
  margin: 12px 14px 4px;
  display: grid;
  gap: 8px;
}

.frame14be9-drawer-cta .frame14be9-btn {
  width: 100%;
  min-height: 42px;
}

/* ------------------------------------------------------------------ main */
.frame14be9-main {
  padding: calc(var(--frame14be9-topbar-h) + 10px) var(--frame14be9-gutter) 6px;
}

.frame14be9-section {
  margin: 0 0 20px;
}

/* ------------------------------------------------------------------ hero */
.frame14be9-hero {
  position: relative;
  border-radius: var(--frame14be9-radius-md);
  overflow: hidden;
  border: 1px solid var(--frame14be9-line);
  background: var(--frame14be9-panel);
  margin: 0 0 14px;
}

.frame14be9-hero-track {
  display: flex;
  transition: transform 0.4s var(--frame14be9-ease);
}

.frame14be9-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  display: block;
}

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

.frame14be9-slide:active img {
  transform: scale(0.99);
}

.frame14be9-slide-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 16px);
  padding: 4px 9px;
  border-radius: var(--frame14be9-radius-xs);
  background: rgba(6, 6, 7, 0.78);
  border: 1px solid var(--frame14be9-mint-line);
  color: #e8eaec;
  font-family: var(--frame14be9-font-round);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.frame14be9-slide-tag svg {
  width: 12px;
  height: 12px;
  color: var(--frame14be9-mint-bright);
}

.frame14be9-dots {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: flex;
  gap: 5px;
}

.frame14be9-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.4);
  border: 1px solid rgba(6, 6, 7, 0.5);
  transition: background 0.18s var(--frame14be9-ease), transform 0.18s var(--frame14be9-ease);
  padding: 0;
}

.frame14be9-dot.frame14be9-dot-on {
  background: var(--frame14be9-mint-bright);
  transform: scale(1.25);
}

/* --------------------------------------------------------------- metrics */
.frame14be9-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 16px;
}

.frame14be9-metric {
  border: 1px solid var(--frame14be9-line);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel);
  padding: 8px 6px 7px;
  text-align: center;
  min-width: 0;
}

.frame14be9-metric b {
  display: block;
  font-family: var(--frame14be9-font-round);
  font-size: 14.5px;
  color: var(--frame14be9-mint-bright);
  line-height: 1.2;
}

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

/* ----------------------------------------------------------------- intro */
.frame14be9-intro h1 {
  font-size: 21px;
  letter-spacing: 0.2px;
  margin-bottom: 9px;
}

.frame14be9-intro p {
  color: var(--frame14be9-silver);
}

/* ------------------------------------------------------------------ rails */
.frame14be9-rail {
  margin: 0 0 22px;
}

.frame14be9-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
}

.frame14be9-rail-head h2 {
  font-size: 16.5px;
  flex: 1;
  min-width: 0;
}

.frame14be9-rail-count {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--frame14be9-mint-bright);
  background: var(--frame14be9-mint-dim);
  border: 1px solid var(--frame14be9-mint-line);
  border-radius: 999px;
  padding: 2px 8px;
}

.frame14be9-rail-more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--frame14be9-mint-bright);
  min-height: 32px;
}

.frame14be9-rail-more svg {
  width: 12px;
  height: 12px;
}

.frame14be9-rail-intro {
  font-size: 12.5px;
  color: var(--frame14be9-silver-soft);
  margin: 0 0 9px;
}

/* Outlined tile cards, 4 columns on the 320px canvas */
.frame14be9-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.frame14be9-tile {
  min-width: 0;
  text-align: center;
  border: 1px solid var(--frame14be9-line);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel);
  padding: 4px 3px 6px;
  transition: border-color 0.15s var(--frame14be9-ease), transform 0.12s var(--frame14be9-ease), background 0.15s var(--frame14be9-ease);
}

.frame14be9-tile:active {
  transform: scale(0.93);
  border-color: var(--frame14be9-mint);
  background: var(--frame14be9-panel-2);
}

@media (hover: hover) {
  .frame14be9-tile:hover {
    border-color: var(--frame14be9-mint-line);
  }
}

.frame14be9-tile-thumb {
  display: block;
  border-radius: var(--frame14be9-radius-xs);
  overflow: hidden;
  border: 1px solid var(--frame14be9-line-soft);
  background: var(--frame14be9-ink);
  margin-bottom: 4px;
}

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

.frame14be9-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--frame14be9-silver);
  min-height: 26px;
  overflow-wrap: anywhere;
}

/* -------------------------------------------------------------- modules */
.frame14be9-module {
  border: 1px solid var(--frame14be9-line-soft);
  border-radius: var(--frame14be9-radius-md);
  background: var(--frame14be9-panel);
  padding: 13px 12px 6px;
  margin: 0 0 18px;
}

.frame14be9-module > h2 {
  font-size: 16.5px;
  margin-bottom: 7px;
}

.frame14be9-module-lead {
  font-size: 13px;
  color: var(--frame14be9-silver);
  margin: 0 0 11px;
}

/* Category highlights: compact metric blocks */
.frame14be9-hl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 8px;
}

.frame14be9-hl {
  border: 1px solid var(--frame14be9-line);
  border-left: 3px solid var(--frame14be9-mint);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel-2);
  padding: 8px 9px 9px;
}

.frame14be9-hl-green {
  border-left-color: var(--frame14be9-green-bright);
}

.frame14be9-hl h3 {
  font-size: 13px;
  margin-bottom: 3px;
}

.frame14be9-hl-meter {
  display: block;
  font-family: var(--frame14be9-font-round);
  font-size: 11px;
  font-weight: 700;
  color: var(--frame14be9-mint-bright);
  margin-bottom: 4px;
}

.frame14be9-hl-green .frame14be9-hl-meter {
  color: var(--frame14be9-green-bright);
}

.frame14be9-hl p {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--frame14be9-silver-soft);
  margin: 0;
}

/* Winners feed */
.frame14be9-win-list {
  display: grid;
  gap: 5px;
  margin: 0 0 9px;
}

.frame14be9-win {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid var(--frame14be9-line);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel-2);
}

.frame14be9-win-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--frame14be9-green-dim);
  border: 1px solid var(--frame14be9-green);
  color: var(--frame14be9-green-bright);
}

.frame14be9-win-icon svg {
  width: 13px;
  height: 13px;
}

.frame14be9-win-body {
  flex: 1;
  min-width: 0;
}

.frame14be9-win-game {
  display: block;
  font-family: var(--frame14be9-font-round);
  font-size: 12.5px;
  font-weight: 700;
  color: #e8eaec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame14be9-win-meta {
  display: block;
  font-size: 10.5px;
  color: var(--frame14be9-silver-dim);
}

.frame14be9-win-amount {
  flex-shrink: 0;
  font-family: var(--frame14be9-font-round);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frame14be9-green-bright);
}

.frame14be9-note {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--frame14be9-silver-dim);
  border-top: 1px dashed var(--frame14be9-line);
  padding: 8px 0 6px;
  margin: 0;
}

.frame14be9-note svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--frame14be9-silver-dim);
}

/* Decision checklist */
.frame14be9-check-list {
  display: grid;
  gap: 6px;
  margin: 0;
}

.frame14be9-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-height: 44px;
  padding: 8px 9px;
  border: 1px solid var(--frame14be9-line);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel-2);
}

.frame14be9-check-flag {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frame14be9-radius-xs);
  background: var(--frame14be9-mint-dim);
  border: 1px solid var(--frame14be9-mint-line);
  color: var(--frame14be9-mint-bright);
}

.frame14be9-check-flag svg {
  width: 12px;
  height: 12px;
}

.frame14be9-check b {
  display: block;
  font-family: var(--frame14be9-font-round);
  font-size: 12.5px;
  color: #e8eaec;
  margin-bottom: 2px;
}

.frame14be9-check p {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--frame14be9-silver-soft);
  margin: 0;
}

/* Entity relationship summary */
.frame14be9-rel-list {
  display: grid;
  gap: 7px;
  margin: 0;
}

.frame14be9-rel {
  padding: 9px 10px;
  border: 1px solid var(--frame14be9-line);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel-2);
}

.frame14be9-rel-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--frame14be9-font-round);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--frame14be9-mint-bright);
  margin-bottom: 4px;
}

.frame14be9-rel-top svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.frame14be9-rel p {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--frame14be9-silver-soft);
  margin: 0;
}

/* -------------------------------------------------------- extended footer */
.frame14be9-xf {
  margin: 22px 0 14px;
  border-top: 1px solid var(--frame14be9-line);
  padding-top: 16px;
}

.frame14be9-xf > h2 {
  font-size: 17px;
  margin-bottom: 6px;
}

.frame14be9-xf-lead {
  font-size: 12px;
  color: var(--frame14be9-silver-soft);
  margin: 0 0 12px;
}

.frame14be9-xf-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--frame14be9-silver-dim);
  margin: 14px 0 7px;
}

.frame14be9-xf-label svg {
  width: 13px;
  height: 13px;
  color: var(--frame14be9-mint);
}

.frame14be9-promo-list {
  display: grid;
  gap: 6px;
}

.frame14be9-promo-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  text-align: left;
  border: 1px solid var(--frame14be9-line);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel);
  color: var(--frame14be9-silver);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s var(--frame14be9-ease), transform 0.12s var(--frame14be9-ease);
}

.frame14be9-promo-item:active {
  transform: scale(0.97);
  border-color: var(--frame14be9-mint);
}

.frame14be9-promo-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--frame14be9-mint-bright);
}

.frame14be9-promo-item .frame14be9-chev {
  margin-left: auto;
  color: var(--frame14be9-silver-dim);
  width: 12px;
  height: 12px;
}

.frame14be9-xf-brand {
  font-size: 12px;
  line-height: 1.55;
  color: var(--frame14be9-silver-soft);
  padding: 10px 11px;
  border: 1px solid var(--frame14be9-line-soft);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel);
  margin: 0;
}

.frame14be9-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.frame14be9-dir-group {
  border: 1px solid var(--frame14be9-line-soft);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-panel);
  padding: 8px 9px;
}

.frame14be9-dir-group h3 {
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: var(--frame14be9-mint-bright);
  margin-bottom: 5px;
}

.frame14be9-dir-group a {
  display: block;
  min-height: 34px;
  padding: 6px 0 4px;
  font-size: 12px;
  color: var(--frame14be9-silver);
  border-bottom: 1px dashed var(--frame14be9-line-soft);
}

.frame14be9-dir-group li:last-child a {
  border-bottom: 0;
}

.frame14be9-dir-group a em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--frame14be9-silver-dim);
}

.frame14be9-xf-terms {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 13px;
  padding: 9px 10px;
  border: 1px solid rgba(0, 128, 0, 0.45);
  border-radius: var(--frame14be9-radius-sm);
  background: var(--frame14be9-green-dim);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--frame14be9-silver-soft);
}

.frame14be9-xf-terms svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--frame14be9-green-bright);
}

/* ---------------------------------------------------------------- footer */
.frame14be9-foot {
  text-align: center;
  padding: 4px var(--frame14be9-gutter) 10px;
  font-size: 11px;
  color: var(--frame14be9-silver-dim);
}

/* --------------------------------------------------------------- tabbar */
.frame14be9-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  height: calc(var(--frame14be9-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(10, 10, 11, 0.97);
  border-top: 1px solid var(--frame14be9-line);
  backdrop-filter: blur(8px);
}

.frame14be9-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--frame14be9-silver-dim);
  font-size: 10px;
  font-weight: 600;
  transition: color 0.15s var(--frame14be9-ease), transform 0.12s var(--frame14be9-ease);
}

.frame14be9-tab svg {
  width: 20px;
  height: 20px;
}

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

.frame14be9-tab.frame14be9-tab-on {
  color: var(--frame14be9-mint-bright);
}

.frame14be9-tab.frame14be9-tab-on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: var(--frame14be9-mint-bright);
}

.frame14be9-tab.frame14be9-tab-hot {
  color: var(--frame14be9-green-bright);
}

.frame14be9-tab.frame14be9-tab-hot.frame14be9-tab-on::before {
  background: var(--frame14be9-green-bright);
}

/* ----------------------------------------------------------- motion layer */
/* JS enables the fade only when it runs; without JS everything stays visible. */
.frame14be9-reveal {
  transition: opacity 0.45s var(--frame14be9-ease), transform 0.45s var(--frame14be9-ease);
}

body.frame14be9-anim .frame14be9-reveal {
  opacity: 0;
  transform: translateY(9px);
}

body.frame14be9-anim .frame14be9-reveal.frame14be9-in {
  opacity: 1;
  transform: none;
}

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

  body.frame14be9-anim .frame14be9-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------- breakpoints */
/* 430px canvas: widen the tile grid to five columns and loosen rhythm. */
@media (min-width: 430px) {
  :root {
    --frame14be9-gutter: 14px;
  }

  .frame14be9-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .frame14be9-tile-name {
    font-size: 11px;
  }

  .frame14be9-intro h1 {
    font-size: 23px;
  }

  .frame14be9-rail-head h2,
  .frame14be9-module > h2,
  .frame14be9-xf > h2 {
    font-size: 18px;
  }

  .frame14be9-hl p,
  .frame14be9-check p,
  .frame14be9-rel p {
    font-size: 12px;
  }
}

/* Very narrow phones keep everything readable at 4 columns. */
@media (max-width: 339px) {
  .frame14be9-brand-name {
    font-size: 14.5px;
  }

  .frame14be9-btn {
    padding: 6px 8px;
    font-size: 12px;
  }

  .frame14be9-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .frame14be9-intro h1 {
    font-size: 19px;
  }
}
