/* ==========================================================================
   123jili - chrome-adaptive-73f3e8.css
   Mobile-first canvas for 320-430px. All classes use the frame3e850- prefix.
   Palette: #DA70D6 | #1C2833 | #9966CC | #F8F8FF
   Direction: tech-feel titles + open body, near-right-angle tool feel,
   image + bottom name bar cards, short paragraph rhythm, slide-in menu,
   light card lift, layered bottom bar with underline active state.
   ========================================================================== */

:root {
  --frame3e850-bg: #1C2833;
  --frame3e850-bg-2: #22323f;
  --frame3e850-bg-3: #2b3d4d;
  --frame3e850-bg-4: #14202b;
  --frame3e850-surface: rgba(218, 118, 214, 0.06);
  --frame3e850-line: rgba(248, 248, 255, 0.10);
  --frame3e850-line-strong: rgba(248, 248, 255, 0.22);
  --frame3e850-text: #F8F8FF;
  --frame3e850-text-muted: rgba(248, 248, 255, 0.66);
  --frame3e850-text-dim: rgba(248, 248, 255, 0.42);
  --frame3e850-accent: #DA70D6;
  --frame3e850-accent-2: #9966CC;
  --frame3e850-accent-soft: rgba(218, 118, 214, 0.16);
  --frame3e850-warn: #ffcf6b;
  --frame3e850-radius: 5px;
  --frame3e850-radius-lg: 10px;
  --frame3e850-radius-pill: 999px;
  --frame3e850-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
  --frame3e850-font-tech: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --frame3e850-font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --frame3e850-header-h: 60px;
  --frame3e850-bottomnav-h: 64px;
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--frame3e850-bg-4);
  color: var(--frame3e850-text);
  font-family: var(--frame3e850-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(153, 102, 204, 0.18), transparent 60%),
    radial-gradient(900px 460px at 100% 0%, rgba(218, 118, 214, 0.10), transparent 62%),
    var(--frame3e850-bg);
  min-height: 100vh;
}

body.frame3e850-no-scroll { overflow: hidden; }

a { color: var(--frame3e850-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--frame3e850-font-tech); letter-spacing: 0.2px; margin: 0 0 0.5em; line-height: 1.22; }
h1 { font-size: clamp(1.55rem, 6vw, 2.1rem); font-weight: 700; }
h2 { font-size: clamp(1.18rem, 4.4vw, 1.5rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 3.6vw, 1.18rem); font-weight: 600; }
p { margin: 0 0 0.85em; }
ul, ol { margin: 0 0 0.9em; padding-left: 1.2em; }
li { margin: 0 0 0.35em; }
:focus-visible { outline: 2px solid var(--frame3e850-accent); outline-offset: 2px; border-radius: 3px; }

/* Centered phone canvas on wide screens. */
.frame3e850-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  background: var(--frame3e850-bg);
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.frame3e850-main {
  padding-top: var(--frame3e850-header-h);
  /* Bottom padding keeps content clear of the fixed bottom nav. */
  padding-bottom: calc(var(--frame3e850-bottomnav-h) + 24px);
}

/* ============================ Header ============================ */
.frame3e850-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame3e850-header-h);
  background: rgba(20, 32, 43, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--frame3e850-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 60;
}

/* Edge-aligned brand block: logo flush left, no extra taglines. */
.frame3e850-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.frame3e850-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--frame3e850-radius);
  object-fit: contain;
  background: var(--frame3e850-bg-3);
  border: 1px solid var(--frame3e850-line-strong);
  flex-shrink: 0;
}
.frame3e850-brand-name {
  font-family: var(--frame3e850-font-tech);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.6px;
  color: var(--frame3e850-text);
  white-space: nowrap;
}
.frame3e850-brand-name span { color: var(--frame3e850-accent); }

/* Actions live outside the brand area, edge-aligned right. */
.frame3e850-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.frame3e850-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--frame3e850-radius);
  font-family: var(--frame3e850-font-tech);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.frame3e850-btn:hover { text-decoration: none; transform: translateY(-1px); }
.frame3e850-btn:active { transform: translateY(0); }

.frame3e850-btn--primary {
  background: linear-gradient(135deg, var(--frame3e850-accent), var(--frame3e850-accent-2));
  color: #1a0f1f;
  box-shadow: 0 6px 16px rgba(218, 118, 214, 0.32);
}
.frame3e850-btn--ghost {
  background: transparent;
  color: var(--frame3e850-text);
  border-color: var(--frame3e850-line-strong);
}
.frame3e850-btn--ghost:hover { border-color: var(--frame3e850-accent); color: var(--frame3e850-accent); }

.frame3e850-btn--sm { min-height: 32px; padding: 0 10px; font-size: 0.8rem; }
.frame3e850-btn--lg { min-height: 46px; padding: 0 22px; font-size: 0.98rem; }
.frame3e850-btn--block { width: 100%; }

.frame3e850-iconbtn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--frame3e850-radius);
  border: 1px solid var(--frame3e850-line-strong);
  background: transparent;
  color: var(--frame3e850-text);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.frame3e850-iconbtn:hover { border-color: var(--frame3e850-accent); color: var(--frame3e850-accent); }
.frame3e850-iconbtn svg { width: 20px; height: 20px; }

/* ============================ Side drawer ============================ */
.frame3e850-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 20, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s ease;
  z-index: 70;
  max-width: 430px;
  margin: 0 auto;
}
.frame3e850-menu-overlay.frame3e850-is-visible { opacity: 1; visibility: visible; }

.frame3e850-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(82vw, 340px);
  max-width: 340px;
  background: var(--frame3e850-bg-2);
  border-left: 1px solid var(--frame3e850-line-strong);
  box-shadow: var(--frame3e850-shadow);
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 16px 0 24px;
  overflow-y: auto;
}
.frame3e850-menu-panel.frame3e850-is-open { transform: translateX(0); }

.frame3e850-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 14px;
  border-bottom: 1px solid var(--frame3e850-line);
}
.frame3e850-menu-head .frame3e850-brand-name { font-size: 1.1rem; }

.frame3e850-menu-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
}
.frame3e850-menu-list li { margin: 0; }
.frame3e850-menu-list a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  color: var(--frame3e850-text);
  font-family: var(--frame3e850-font-tech);
  font-weight: 500;
  font-size: 0.94rem;
  border-left: 3px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.frame3e850-menu-list a:hover { background: var(--frame3e850-surface); border-left-color: var(--frame3e850-accent); color: var(--frame3e850-accent); text-decoration: none; }
.frame3e850-menu-list a.frame3e850-is-current { background: var(--frame3e850-accent-soft); border-left-color: var(--frame3e850-accent); color: var(--frame3e850-accent); }
.frame3e850-menu-list a svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--frame3e850-text-muted); }
.frame3e850-menu-list a:hover svg, .frame3e850-menu-list a.frame3e850-is-current svg { color: var(--frame3e850-accent); }

.frame3e850-menu-foot {
  padding: 16px 18px 4px;
  border-top: 1px solid var(--frame3e850-line);
}
.frame3e850-menu-foot .frame3e850-btn { width: 100%; margin-bottom: 8px; }

/* ============================ Sections ============================ */
.frame3e850-section {
  padding: 22px 14px 6px;
}
.frame3e850-section--tight { padding: 14px 14px 2px; }

.frame3e850-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.frame3e850-section-eyebrow {
  font-family: var(--frame3e850-font-tech);
  font-size: 0.7rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame3e850-accent);
  display: block;
  margin-bottom: 4px;
}
.frame3e850-section-title { margin: 0; }
.frame3e850-section-title em { color: var(--frame3e850-accent); font-style: normal; }
.frame3e850-section-link {
  font-family: var(--frame3e850-font-tech);
  font-size: 0.78rem;
  color: var(--frame3e850-text-muted);
  white-space: nowrap;
}

/* ============================ Hero ============================ */
.frame3e850-hero {
  padding: 18px 14px 8px;
}
.frame3e850-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--frame3e850-font-tech);
  font-size: 0.7rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--frame3e850-accent);
  background: var(--frame3e850-accent-soft);
  border: 1px solid rgba(218, 118, 214, 0.32);
  padding: 5px 10px;
  border-radius: var(--frame3e850-radius-pill);
  margin-bottom: 10px;
}
.frame3e850-hero-eyebrow .frame3e850-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--frame3e850-accent);
  box-shadow: 0 0 0 3px rgba(218, 118, 214, 0.25);
}
.frame3e850-hero h1 { margin-bottom: 0.45em; }
.frame3e850-hero h1 em { color: var(--frame3e850-accent); font-style: normal; }
.frame3e850-hero-lede {
  color: var(--frame3e850-text-muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
}
.frame3e850-hero-answer {
  background: var(--frame3e850-bg-2);
  border: 1px solid var(--frame3e850-line);
  border-left: 3px solid var(--frame3e850-accent);
  border-radius: var(--frame3e850-radius);
  padding: 12px 14px;
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--frame3e850-text);
}
.frame3e850-hero-answer b { color: var(--frame3e850-accent); font-weight: 600; }
.frame3e850-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 4px 0 8px;
}

/* ============================ Carousel ============================ */
.frame3e850-carousel {
  position: relative;
  margin: 6px 14px 4px;
  border-radius: var(--frame3e850-radius-lg);
  overflow: hidden;
  border: 1px solid var(--frame3e850-line);
  background: var(--frame3e850-bg-2);
}
.frame3e850-carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
}
.frame3e850-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}
.frame3e850-slide.frame3e850-slide--active { opacity: 1; }
.frame3e850-slide img { width: 100%; height: 100%; object-fit: cover; }
.frame3e850-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 43, 0) 40%, rgba(20, 32, 43, 0.86) 100%);
}
.frame3e850-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.frame3e850-slide-caption strong {
  font-family: var(--frame3e850-font-tech);
  font-size: 0.98rem;
  color: var(--frame3e850-text);
}
.frame3e850-slide-caption span { font-size: 0.78rem; color: var(--frame3e850-text-muted); }

.frame3e850-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 4;
}
.frame3e850-carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(248, 248, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}
.frame3e850-carousel-dot.frame3e850-carousel-dot--active {
  background: var(--frame3e850-accent);
  width: 18px;
  border-radius: var(--frame3e850-radius-pill);
}

/* ============================ Category strip ============================ */
.frame3e850-catbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 10px 14px 2px;
}
.frame3e850-catpill {
  text-align: center;
  font-family: var(--frame3e850-font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  color: var(--frame3e850-text-muted);
  background: var(--frame3e850-bg-2);
  border: 1px solid var(--frame3e850-line);
  border-radius: var(--frame3e850-radius);
  padding: 8px 4px;
  text-decoration: none;
}
.frame3e850-catpill em { font-style: normal; display: block; color: var(--frame3e850-accent); font-family: var(--frame3e850-font-tech); font-weight: 600; font-size: 0.78rem; margin-bottom: 2px; }
.frame3e850-catpill:hover { border-color: var(--frame3e850-accent); color: var(--frame3e850-text); text-decoration: none; }

/* ============================ Game grid ============================ */
.frame3e850-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .frame3e850-gamegrid { gap: 9px; }
}
@media (min-width: 396px) {
  .frame3e850-gamegrid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}

.frame3e850-gamecard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--frame3e850-bg-2);
  border: 1px solid var(--frame3e850-line);
  border-radius: var(--frame3e850-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--frame3e850-text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}
.frame3e850-gamecard:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(218, 118, 214, 0.55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}
.frame3e850-gamecard-imgwrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--frame3e850-bg-3);
}
.frame3e850-gamecard-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame3e850-gamecard-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  font-family: var(--frame3e850-font-tech);
  font-size: 0.58rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(20, 32, 43, 0.82);
  color: var(--frame3e850-accent);
  border: 1px solid rgba(218, 118, 214, 0.45);
  padding: 2px 5px;
  border-radius: 3px;
}
.frame3e850-gamecard-name {
  font-family: var(--frame3e850-font-tech);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--frame3e850-text);
  background: linear-gradient(180deg, rgba(20, 32, 43, 0.4), rgba(20, 32, 43, 0.92));
  padding: 6px 7px 7px;
  text-align: center;
  border-top: 1px solid var(--frame3e850-line);
  /* Keep long titles to at most two centered lines. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}

/* ============================ Info / prose blocks ============================ */
.frame3e850-prose {
  font-size: 0.93rem;
  color: var(--frame3e850-text);
}
.frame3e850-prose p { color: var(--frame3e850-text-muted); }
.frame3e850-prose p b, .frame3e850-prose strong { color: var(--frame3e850-text); font-weight: 600; }
.frame3e850-prose a { font-weight: 600; }

.frame3e850-card {
  background: var(--frame3e850-bg-2);
  border: 1px solid var(--frame3e850-line);
  border-radius: var(--frame3e850-radius-lg);
  padding: 16px;
}
.frame3e850-card--accent { border-left: 3px solid var(--frame3e850-accent); }

.frame3e850-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.frame3e850-checklist li {
  position: relative;
  padding: 8px 8px 8px 28px;
  font-size: 0.9rem;
  color: var(--frame3e850-text-muted);
  border-bottom: 1px dashed var(--frame3e850-line);
}
.frame3e850-checklist li:last-child { border-bottom: none; }
.frame3e850-checklist li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1.5px solid var(--frame3e850-accent);
  background: var(--frame3e850-accent-soft);
}
.frame3e850-checklist li::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 14px;
  width: 4px;
  height: 8px;
  border: solid var(--frame3e850-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Compact metric row used in achievements and facts blocks. */
.frame3e850-metricrow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 380px) { .frame3e850-metricrow { grid-template-columns: repeat(3, 1fr); } }
.frame3e850-metric {
  background: var(--frame3e850-bg-3);
  border: 1px solid var(--frame3e850-line);
  border-radius: var(--frame3e850-radius);
  padding: 10px 8px;
  text-align: center;
}
.frame3e850-metric strong {
  display: block;
  font-family: var(--frame3e850-font-tech);
  font-size: 1.1rem;
  color: var(--frame3e850-accent);
  margin-bottom: 2px;
}
.frame3e850-metric span { font-size: 0.72rem; color: var(--frame3e850-text-muted); display: block; line-height: 1.25; }

/* Inline entity relationship map. */
.frame3e850-relmap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.frame3e850-relmap-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--frame3e850-bg-2);
  border: 1px solid var(--frame3e850-line);
  border-left: 3px solid var(--frame3e850-accent-2);
  border-radius: var(--frame3e850-radius);
}
.frame3e850-relmap-item strong {
  font-family: var(--frame3e850-font-tech);
  font-size: 0.86rem;
  color: var(--frame3e850-text);
  display: block;
  margin-bottom: 2px;
}
.frame3e850-relmap-item span { font-size: 0.82rem; color: var(--frame3e850-text-muted); }
.frame3e850-relmap-item .frame3e850-relmap-tag {
  flex-shrink: 0;
  font-family: var(--frame3e850-font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--frame3e850-accent);
  border: 1px solid rgba(218, 118, 214, 0.4);
  border-radius: 3px;
  padding: 2px 6px;
  margin-top: 1px;
}

/* CTA band. */
.frame3e850-ctaband {
  background: linear-gradient(135deg, rgba(218, 118, 214, 0.16), rgba(153, 102, 204, 0.10));
  border: 1px solid rgba(218, 118, 214, 0.34);
  border-radius: var(--frame3e850-radius-lg);
  padding: 18px 16px;
  text-align: center;
}
.frame3e850-ctaband h3 { color: var(--frame3e850-text); margin-bottom: 6px; }
.frame3e850-ctaband p { color: var(--frame3e850-text-muted); font-size: 0.88rem; margin-bottom: 14px; }
.frame3e850-ctaband-row { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }

/* ============================ Extended footer ============================ */
.frame3e850-extfoot {
  margin: 18px 14px 4px;
  border: 1px solid var(--frame3e850-line);
  border-radius: var(--frame3e850-radius-lg);
  background: var(--frame3e850-bg-2);
  overflow: hidden;
}
.frame3e850-extfoot-block { padding: 14px 14px; border-bottom: 1px solid var(--frame3e850-line); }
.frame3e850-extfoot-block:last-child { border-bottom: none; }
.frame3e850-extfoot-title {
  font-family: var(--frame3e850-font-tech);
  font-size: 0.74rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--frame3e850-accent);
  margin: 0 0 9px;
}
.frame3e850-extfoot-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.frame3e850-extfoot-brand img { width: 42px; height: 42px; border-radius: var(--frame3e850-radius); background: var(--frame3e850-bg-3); border: 1px solid var(--frame3e850-line-strong); }
.frame3e850-extfoot-brand p { margin: 0; font-size: 0.85rem; color: var(--frame3e850-text-muted); }

.frame3e850-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}
@media (min-width: 380px) { .frame3e850-shortcuts { grid-template-columns: repeat(3, 1fr); } }
.frame3e850-shortcut {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid var(--frame3e850-line);
  border-radius: var(--frame3e850-radius);
  background: var(--frame3e850-bg-3);
  font-family: var(--frame3e850-font-tech);
  font-size: 0.76rem;
  color: var(--frame3e850-text);
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.frame3e850-shortcut:hover { border-color: var(--frame3e850-accent); color: var(--frame3e850-accent); text-decoration: none; }
.frame3e850-shortcut small { font-family: var(--frame3e850-font-body); font-size: 0.68rem; color: var(--frame3e850-text-dim); }

.frame3e850-promorow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}
.frame3e850-promoentry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: var(--frame3e850-radius);
  background: var(--frame3e850-bg-3);
  border: 1px solid rgba(218, 118, 214, 0.34);
  color: var(--frame3e850-text);
  font-family: var(--frame3e850-font-tech);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.frame3e850-promoentry:hover { background: var(--frame3e850-accent-soft); border-color: var(--frame3e850-accent); color: var(--frame3e850-accent); text-decoration: none; transform: translateY(-1px); }
.frame3e850-promoentry svg { width: 14px; height: 14px; color: var(--frame3e850-accent); }

.frame3e850-disclaimer {
  font-size: 0.78rem;
  color: var(--frame3e850-text-dim);
  line-height: 1.5;
}

/* ============================ Common footer ============================ */
.frame3e850-footer {
  padding: 18px 14px 12px;
  border-top: 1px solid var(--frame3e850-line);
  background: var(--frame3e850-bg-4);
}
.frame3e850-footer-copy {
  font-size: 0.74rem;
  color: var(--frame3e850-text-dim);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.frame3e850-footer-copy strong { color: var(--frame3e850-accent); font-weight: 600; }

/* ============================ Bottom nav ============================ */
.frame3e850-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame3e850-bottomnav-h);
  background: rgba(18, 28, 38, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--frame3e850-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.frame3e850-bottomnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--frame3e850-text-muted);
  text-decoration: none;
  font-family: var(--frame3e850-font-tech);
  font-size: 0.62rem;
  letter-spacing: 0.3px;
  padding: 6px 2px 4px;
  cursor: pointer;
  background: none;
  border: none;
  min-height: 44px;
  transition: color 0.18s ease;
}
.frame3e850-bottomnav-item:hover { text-decoration: none; }
.frame3e850-bottomnav-item svg { width: 22px; height: 22px; transition: transform 0.2s ease; }
.frame3e850-bottomnav-item:hover svg { transform: translateY(-2px); }

/* Underline active marker + filled icon state. */
.frame3e850-bottomnav-item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--frame3e850-accent);
  transition: width 0.2s ease;
}
.frame3e850-bottomnav-item.frame3e850-is-active { color: var(--frame3e850-accent); }
.frame3e850-bottomnav-item.frame3e850-is-active::after { width: 22px; }
.frame3e850-bottomnav-item.frame3e850-is-active svg { color: var(--frame3e850-accent); }

/* Promo pill emphasis in the bottom bar. */
.frame3e850-bottomnav-item--promo {
  color: var(--frame3e850-text);
}
.frame3e850-bottomnav-item--promo svg {
  color: var(--frame3e850-accent);
}
.frame3e850-bottomnav-promobadge {
  position: absolute;
  top: 4px;
  right: 50%;
  transform: translateX(13px);
  background: var(--frame3e850-accent);
  color: #1a0f1f;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 1px 5px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ============================ Utility ============================ */
.frame3e850-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.frame3e850-divider {
  height: 1px;
  background: var(--frame3e850-line);
  margin: 14px 0;
  border: none;
}

/* Fade-in lift for cards after first paint. */
@keyframes frame3e850-lift {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.frame3e850-gamecard, .frame3e850-card, .frame3e850-metric, .frame3e850-relmap-item {
  animation: frame3e850-lift 0.4s ease both;
}

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