/* colorgame2.sbs palette stylesheet
   Mobile-first (320-430px) canvas with a centered phone frame on wider screens.
   All custom classes and CSS variables use the frame38d18- prefix. */

:root {
  --frame38d18-bg: #1C2833;
  --frame38d18-bg-lift: #243140;
  --frame38d18-bg-lift-2: #2b3b4d;
  --frame38d18-bg-deep: #141c25;
  --frame38d18-border: #3a4b5e;
  --frame38d18-border-soft: #2f3e4f;
  --frame38d18-rose: #B03060;
  --frame38d18-rose-bright: #d44572;
  --frame38d18-rose-deep: #8a2349;
  --frame38d18-pink: #FFC0CB;
  --frame38d18-cyan: #E0FFFF;
  --frame38d18-gray: #D3D3D3;
  --frame38d18-text: #E0FFFF;
  --frame38d18-text-muted: #9fb1c3;
  --frame38d18-text-dim: #73869a;
  --frame38d18-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  --frame38d18-radius: 14px;
  --frame38d18-radius-sm: 10px;
  --frame38d18-radius-lg: 20px;
  --frame38d18-header-h: 58px;
  --frame38d18-bottom-h: 66px;
  --frame38d18-max: 430px;
  --frame38d18-gutter: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--frame38d18-bg-deep);
  color: var(--frame38d18-text);
  font-family: "Segoe UI", "Helvetica Neue", "PingFang SC", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Centered phone canvas on wider screens */
.frame38d18-canvas {
  max-width: var(--frame38d18-max);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, rgba(176, 48, 96, 0.18), transparent 42%),
    radial-gradient(circle at 100% 8%, rgba(224, 255, 255, 0.07), transparent 38%),
    linear-gradient(180deg, var(--frame38d18-bg) 0%, #18222c 60%, var(--frame38d18-bg) 100%);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  padding-bottom: calc(var(--frame38d18-bottom-h) + 14px);
}

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

a { color: var(--frame38d18-pink); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--frame38d18-cyan); outline-offset: 2px; border-radius: 4px; }

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

/* ===== Header: minimalist title + action band ===== */
.frame38d18-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px var(--frame38d18-gutter);
  height: var(--frame38d18-header-h);
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.96), rgba(28, 40, 51, 0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--frame38d18-border-soft);
}

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

.frame38d18-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--frame38d18-rose);
  box-shadow: 0 0 0 2px rgba(176, 48, 96, 0.18);
  flex-shrink: 0;
  background: var(--frame38d18-bg-lift);
}

.frame38d18-brand-text { display: flex; flex-direction: column; min-width: 0; }
.frame38d18-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--frame38d18-cyan);
  line-height: 1.1;
  white-space: nowrap;
}
.frame38d18-brand-tag {
  font-size: 10px;
  color: var(--frame38d18-pink);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.frame38d18-action-band {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.frame38d18-btn {
  border: none;
  border-radius: 999px;
  padding: 0 14px;
  height: 34px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 34px;
}
.frame38d18-btn-primary {
  background: linear-gradient(135deg, var(--frame38d18-rose-bright), var(--frame38d18-rose));
  color: #fff;
  box-shadow: 0 4px 12px rgba(176, 48, 96, 0.45);
}
.frame38d18-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(176, 48, 96, 0.55); }
.frame38d18-btn-ghost {
  background: rgba(224, 255, 255, 0.06);
  color: var(--frame38d18-cyan);
  border: 1px solid rgba(224, 255, 255, 0.25);
}
.frame38d18-btn-ghost:hover { background: rgba(224, 255, 255, 0.12); }
.frame38d18-btn-sm { padding: 0 11px; height: 30px; min-height: 30px; font-size: 12px; }

.frame38d18-menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(176, 48, 96, 0.16);
  border: 1px solid rgba(176, 48, 96, 0.4);
  color: var(--frame38d18-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.frame38d18-menu-btn:hover { background: rgba(176, 48, 96, 0.28); }

/* ===== Sectioned expandable menu ===== */
.frame38d18-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  z-index: 90;
  background: linear-gradient(180deg, #1f2c39, #16202a);
  border-left: 1px solid var(--frame38d18-border);
  transform: translateX(105%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 16px 16px calc(var(--frame38d18-bottom-h) + 24px);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.5);
}
.frame38d18-menu-open { transform: translateX(0); }
.frame38d18-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 18, 0.6);
  z-index: 85;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.frame38d18-menu-open ~ .frame38d18-menu-backdrop,
.frame38d18-body-locked .frame38d18-menu-backdrop { opacity: 1; pointer-events: auto; }

.frame38d18-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.frame38d18-menu-title { font-size: 16px; font-weight: 800; color: var(--frame38d18-cyan); }
.frame38d18-menu-close {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--frame38d18-border);
  color: var(--frame38d18-gray);
  display: inline-flex; align-items: center; justify-content: center;
}

.frame38d18-menu-section { margin-bottom: 16px; }
.frame38d18-menu-section-title {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame38d18-pink);
  margin: 0 4px 8px;
  display: flex; align-items: center; gap: 6px;
}
.frame38d18-menu-section-title::before {
  content: ""; width: 14px; height: 2px; background: var(--frame38d18-rose); border-radius: 2px;
}
.frame38d18-menu-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 6px;
}
.frame38d18-menu-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--frame38d18-border-soft);
  color: var(--frame38d18-text);
  font-size: 14px; font-weight: 600;
}
.frame38d18-menu-list a:hover { background: rgba(176, 48, 96, 0.18); border-color: var(--frame38d18-rose); }
.frame38d18-menu-list a::after { content: "›"; color: var(--frame38d18-text-dim); font-size: 18px; }

.frame38d18-menu-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }

/* ===== Hero carousel ===== */
.frame38d18-hero {
  margin: 12px var(--frame38d18-gutter) 4px;
  border-radius: var(--frame38d18-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--frame38d18-shadow);
  border: 1px solid var(--frame38d18-border-soft);
}
.frame38d18-hero-viewport { overflow: hidden; }
.frame38d18-hero-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.frame38d18-hero-slide {
  min-width: 100%;
  position: relative;
  display: block;
}
.frame38d18-hero-slide img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}
.frame38d18-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 18, 0.86));
  color: var(--frame38d18-cyan);
}
.frame38d18-hero-caption strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.frame38d18-hero-caption span { font-size: 11px; color: var(--frame38d18-pink); letter-spacing: 0.4px; }
.frame38d18-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex; gap: 6px;
  z-index: 3;
}
.frame38d18-hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(224, 255, 255, 0.35);
  border: none; padding: 0; cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.frame38d18-hero-dot-active {
  width: 20px; border-radius: 4px; background: var(--frame38d18-pink);
}

/* ===== Page shell ===== */
.frame38d18-main { padding: 4px var(--frame38d18-gutter) 8px; }

.frame38d18-intro {
  padding: 14px 4px 6px;
}
.frame38d18-h1 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--frame38d18-cyan);
  font-weight: 800;
  letter-spacing: 0.2px;
}
.frame38d18-h1 .frame38d18-accent { color: var(--frame38d18-rose-bright); }
.frame38d18-lede {
  margin: 0;
  color: var(--frame38d18-text-muted);
  font-size: 14px;
}

.frame38d18-section { margin: 22px 0 6px; }
.frame38d18-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 2px;
}
.frame38d18-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--frame38d18-cyan);
  margin: 0;
  line-height: 1.2;
  position: relative;
  padding-left: 12px;
}
.frame38d18-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, var(--frame38d18-rose-bright), var(--frame38d18-rose-deep));
}
.frame38d18-section-meta {
  font-size: 11px;
  color: var(--frame38d18-text-dim);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.frame38d18-h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--frame38d18-cyan);
  margin: 0 0 8px;
  line-height: 1.3;
}
.frame38d18-h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--frame38d18-pink);
  margin: 12px 0 4px;
  line-height: 1.35;
}

.frame38d18-p {
  margin: 0 0 10px;
  color: var(--frame38d18-text-muted);
  font-size: 14px;
}
.frame38d18-p strong { color: var(--frame38d18-cyan); }

/* ===== Game grid ===== */
.frame38d18-game-zone {
  background: linear-gradient(180deg, rgba(36, 49, 64, 0.7), rgba(28, 40, 51, 0.5));
  border: 1px solid var(--frame38d18-border-soft);
  border-radius: var(--frame38d18-radius);
  padding: 12px 10px 14px;
  margin-bottom: 12px;
}
.frame38d18-zone-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 2px 10px;
}
.frame38d18-zone-name {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 800; color: var(--frame38d18-cyan);
}
.frame38d18-zone-badge {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--frame38d18-rose-bright), var(--frame38d18-rose-deep));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 800;
}
.frame38d18-zone-count {
  font-size: 11px; color: var(--frame38d18-text-dim); letter-spacing: 0.4px;
}

.frame38d18-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
}
.frame38d18-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 4px 2px;
  border-radius: 10px;
  transition: transform 0.16s ease, background 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.frame38d18-game:hover, .frame38d18-game:active {
  background: rgba(176, 48, 96, 0.14);
  transform: translateY(-2px);
}
.frame38d18-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--frame38d18-border);
  background: #0f1620;
}
.frame38d18-game-name {
  font-size: 10.5px;
  color: var(--frame38d18-gray);
  line-height: 1.2;
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Generic card / module ===== */
.frame38d18-card {
  background: rgba(36, 49, 64, 0.66);
  border: 1px solid var(--frame38d18-border-soft);
  border-radius: var(--frame38d18-radius);
  padding: 14px;
  margin-bottom: 10px;
}
.frame38d18-card-tint {
  background: linear-gradient(135deg, rgba(176, 48, 96, 0.18), rgba(36, 49, 64, 0.6));
  border-color: rgba(176, 48, 96, 0.4);
}

.frame38d18-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.frame38d18-mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--frame38d18-border-soft);
  border-radius: 12px;
  padding: 10px;
}
.frame38d18-mini-card .frame38d18-mini-title {
  font-size: 13px; font-weight: 800; color: var(--frame38d18-cyan); margin-bottom: 4px;
}
.frame38d18-mini-card .frame38d18-mini-text { font-size: 12px; color: var(--frame38d18-text-muted); margin: 0; }

.frame38d18-list { margin: 6px 0; padding-left: 18px; }
.frame38d18-list li { margin-bottom: 6px; color: var(--frame38d18-text-muted); font-size: 14px; }
.frame38d18-list li strong { color: var(--frame38d18-cyan); }

/* Promo inline entry */
.frame38d18-promo-entry {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(176, 48, 96, 0.22), rgba(28, 40, 51, 0.6));
  border: 1px solid rgba(176, 48, 96, 0.45);
  margin: 10px 0;
}
.frame38d18-promo-entry .frame38d18-promo-text { flex: 1; min-width: 0; }
.frame38d18-promo-entry strong { color: #fff; font-size: 14px; display: block; }
.frame38d18-promo-entry span { color: var(--frame38d18-pink); font-size: 12px; }

/* ===== FAQ ===== */
.frame38d18-faq-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--frame38d18-border-soft);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.frame38d18-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--frame38d18-cyan);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 40px 13px 14px;
  position: relative;
  display: block;
  line-height: 1.35;
}
.frame38d18-faq-q::after {
  content: "+";
  position: absolute;
  right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--frame38d18-rose-bright);
  transition: transform 0.2s ease;
}
.frame38d18-faq-open .frame38d18-faq-q::after { content: "–"; transform: translateY(-50%) rotate(180deg); }
.frame38d18-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 14px;
  color: var(--frame38d18-text-muted);
  font-size: 13px;
}
.frame38d18-faq-open .frame38d18-faq-a { max-height: 360px; padding: 0 14px 13px; }

/* ===== Pros / cons two-column ===== */
.frame38d18-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.frame38d18-pros, .frame38d18-cons {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--frame38d18-border-soft);
}
.frame38d18-pros { background: rgba(72, 187, 120, 0.10); }
.frame38d18-cons { background: rgba(176, 48, 96, 0.12); }
.frame38d18-pros h4, .frame38d18-cons h4 {
  margin: 0 0 6px; font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase;
}
.frame38d18-pros h4 { color: #6ee7b7; }
.frame38d18-cons h4 { color: var(--frame38d18-pink); }
.frame38d18-pros ul, .frame38d18-cons ul { margin: 0; padding-left: 16px; }
.frame38d18-pros li, .frame38d18-cons li { font-size: 12px; color: var(--frame38d18-text-muted); margin-bottom: 4px; }

/* ===== Security checklist ===== */
.frame38d18-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.frame38d18-check-list li {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 10px; border-radius: 10px;
  background: rgba(224, 255, 255, 0.04);
  border: 1px solid var(--frame38d18-border-soft);
  font-size: 13px; color: var(--frame38d18-text-muted);
}
.frame38d18-check-list li::before {
  content: "✓"; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(72, 187, 120, 0.2); color: #6ee7b7;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.frame38d18-check-list li strong { color: var(--frame38d18-cyan); display: block; margin-bottom: 2px; font-size: 13px; }

/* ===== Extended footer (site-specific) ===== */
.frame38d18-extended {
  margin: 22px var(--frame38d18-gutter) 8px;
  padding: 16px 14px;
  border-radius: var(--frame38d18-radius);
  background: linear-gradient(180deg, rgba(20, 28, 37, 0.9), rgba(28, 40, 51, 0.6));
  border: 1px solid var(--frame38d18-border-soft);
}
.frame38d18-ext-group { margin-bottom: 16px; }
.frame38d18-ext-group:last-child { margin-bottom: 0; }
.frame38d18-ext-title {
  font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--frame38d18-pink); margin: 0 0 8px;
}
.frame38d18-promo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.frame38d18-promo-tile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 11px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(176, 48, 96, 0.22), rgba(36, 49, 64, 0.4));
  border: 1px solid rgba(176, 48, 96, 0.4);
  color: #fff;
  text-align: left;
  min-height: 44px;
}
.frame38d18-promo-tile strong { font-size: 13px; color: #fff; }
.frame38d18-promo-tile span { font-size: 11px; color: var(--frame38d18-pink); }

.frame38d18-brand-block { font-size: 13px; color: var(--frame38d18-text-muted); line-height: 1.55; }
.frame38d18-brand-block strong { color: var(--frame38d18-cyan); }

.frame38d18-directory {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
}
.frame38d18-directory a {
  font-size: 12.5px; color: var(--frame38d18-gray);
  padding: 5px 0;
  border-bottom: 1px dashed var(--frame38d18-border-soft);
  display: flex; align-items: center; gap: 6px;
}
.frame38d18-directory a::before { content: "›"; color: var(--frame38d18-rose-bright); }
.frame38d18-directory a:hover { color: var(--frame38d18-cyan); }

.frame38d18-disclaimer {
  font-size: 11px; color: var(--frame38d18-text-dim); line-height: 1.5;
  border-top: 1px solid var(--frame38d18-border-soft);
  padding-top: 10px; margin-top: 4px;
}

/* ===== Universal footer (copyright only) ===== */
.frame38d18-footer {
  padding: 14px var(--frame38d18-gutter) 8px;
  text-align: center;
  font-size: 11px;
  color: var(--frame38d18-text-dim);
  border-top: 1px solid var(--frame38d18-border-soft);
  margin: 8px var(--frame38d18-gutter) 0;
}
.frame38d18-footer strong { color: var(--frame38d18-pink); }

/* ===== Layered bottom navigation ===== */
.frame38d18-bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  width: calc(100% - 20px);
  max-width: calc(var(--frame38d18-max) - 20px);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  background: linear-gradient(180deg, rgba(31, 44, 57, 0.98), rgba(20, 28, 37, 0.98));
  border: 1px solid var(--frame38d18-border);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(176, 48, 96, 0.2) inset;
  backdrop-filter: blur(10px);
  padding: 4px 2px;
  height: var(--frame38d18-bottom-h);
}
.frame38d18-bottom-nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  color: var(--frame38d18-text-dim);
  border-radius: 12px;
  text-align: center;
  min-height: 44px;
  transition: color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.frame38d18-bottom-nav-link::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--frame38d18-rose-bright), var(--frame38d18-pink));
  transition: transform 0.25s ease;
}
.frame38d18-bottom-nav-active::before,
.frame38d18-bottom-nav-link:hover::before { transform: translateX(-50%) scaleX(1); }
.frame38d18-bottom-nav-icon {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.45));
}
.frame38d18-bottom-nav-icon svg { width: 22px; height: 22px; display: block; }
.frame38d18-bottom-nav-label {
  font-size: 10px;
  letter-spacing: 0.3px;
  color: var(--frame38d18-text-dim);
  font-weight: 600;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.frame38d18-bottom-nav-active .frame38d18-bottom-nav-icon,
.frame38d18-bottom-nav-link:hover .frame38d18-bottom-nav-icon { color: var(--frame38d18-pink); transform: translateY(-1px); }
.frame38d18-bottom-nav-active .frame38d18-bottom-nav-label,
.frame38d18-bottom-nav-link:hover .frame38d18-bottom-nav-label {
  color: var(--frame38d18-cyan); opacity: 1; transform: translateY(0); font-weight: 800;
}
.frame38d18-bottom-nav-promo .frame38d18-bottom-nav-icon { color: var(--frame38d18-rose-bright); }

/* ===== Utilities ===== */
.frame38d18-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.frame38d18-revealed { opacity: 1; transform: translateY(0); }

.frame38d18-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(176, 48, 96, 0.2);
  border: 1px solid rgba(176, 48, 96, 0.45);
  color: var(--frame38d18-pink);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3px;
}
.frame38d18-text-link { color: var(--frame38d18-pink); border-bottom: 1px dashed rgba(255, 192, 203, 0.4); }
.frame38d18-text-link:hover { color: var(--frame38d18-cyan); border-bottom-color: var(--frame38d18-cyan); }

.frame38d18-skip {
  position: absolute; left: -9999px;
}
.frame38d18-skip:focus {
  left: 10px; top: 10px; z-index: 200;
  background: var(--frame38d18-rose); color: #fff;
  padding: 8px 12px; border-radius: 8px;
}

/* Slightly denser layout from 375px+ */
@media (min-width: 375px) {
  .frame38d18-game-grid { grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
  .frame38d18-hero-slide img { height: 188px; }
  .frame38d18-h1 { font-size: 26px; }
}

@media (min-width: 414px) {
  .frame38d18-game-grid { grid-template-columns: repeat(5, 1fr); }
  .frame38d18-directory { grid-template-columns: 1fr 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== Help-page reading tools ===== */
.frame38d18-guide-shell { padding: 12px var(--frame38d18-gutter) 10px; }
.frame38d18-guide-kicker { color: var(--frame38d18-pink); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 7px; }
.frame38d18-guide-lede { color: var(--frame38d18-text-muted); font-size: 14px; margin: 0 0 12px; }
.frame38d18-answer-line { border-left: 4px solid var(--frame38d18-rose-bright); padding: 10px 12px; background: rgba(176,48,96,.13); border-radius: 0 10px 10px 0; color: var(--frame38d18-cyan); font-weight: 700; margin: 12px 0 18px; }
.frame38d18-guide-h2 { margin: 24px 0 8px; color: var(--frame38d18-cyan); font-size: 19px; line-height: 1.25; }
.frame38d18-guide-h3 { margin: 15px 0 5px; color: var(--frame38d18-pink); font-size: 15px; line-height: 1.3; }
.frame38d18-guide-copy { margin: 0 0 11px; color: var(--frame38d18-text-muted); font-size: 14px; }
.frame38d18-step-rail { display: grid; gap: 9px; margin: 12px 0 16px; }
.frame38d18-step { display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: start; padding: 10px; border: 1px solid var(--frame38d18-border-soft); background: rgba(255,255,255,.035); border-radius: 10px; }
.frame38d18-step-no { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: var(--frame38d18-rose); color: #fff; border-radius: 8px; font-weight: 800; }
.frame38d18-step strong { display: block; color: var(--frame38d18-cyan); font-size: 14px; margin-bottom: 2px; }
.frame38d18-step span { color: var(--frame38d18-text-muted); font-size: 13px; }
.frame38d18-scan-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 16px; }
.frame38d18-scan-cell { padding: 10px; border-top: 3px solid var(--frame38d18-rose); background: rgba(36,49,64,.72); border-radius: 8px; }
.frame38d18-scan-cell strong { display: block; color: var(--frame38d18-cyan); font-size: 13px; }
.frame38d18-scan-cell span { color: var(--frame38d18-text-muted); font-size: 12px; }
.frame38d18-promo-strip { display: flex; align-items: center; gap: 9px; padding: 11px; margin: 14px 0; background: linear-gradient(90deg, rgba(176,48,96,.24), rgba(36,49,64,.72)); border: 1px solid rgba(176,48,96,.48); border-radius: 8px; }
.frame38d18-promo-strip p { flex: 1; margin: 0; color: var(--frame38d18-text-muted); font-size: 12px; }
.frame38d18-promo-strip strong { display: block; color: #fff; font-size: 13px; }
.frame38d18-callout { padding: 12px; background: rgba(224,255,255,.05); border: 1px solid var(--frame38d18-border); border-radius: 12px; margin: 12px 0; }
.frame38d18-callout p:last-child { margin-bottom: 0; }
.frame38d18-definition { display: grid; gap: 7px; margin: 10px 0 16px; }
.frame38d18-definition div { padding: 9px 11px; border-bottom: 1px dashed var(--frame38d18-border); }
.frame38d18-definition dt { color: var(--frame38d18-pink); font-weight: 800; font-size: 13px; }
.frame38d18-definition dd { margin: 2px 0 0; color: var(--frame38d18-text-muted); font-size: 13px; }
.frame38d18-detail-list { margin: 8px 0 14px; padding-left: 19px; color: var(--frame38d18-text-muted); }
.frame38d18-detail-list li { margin-bottom: 7px; font-size: 13.5px; }
.frame38d18-detail-list strong { color: var(--frame38d18-cyan); }
.frame38d18-guide-footer-note { margin: 18px 0 4px; padding-top: 12px; border-top: 1px solid var(--frame38d18-border-soft); color: var(--frame38d18-text-dim); font-size: 11px; }
@media (max-width: 359px) {
  .frame38d18-scan-row { grid-template-columns: 1fr; }
  .frame38d18-promo-strip { align-items: flex-start; flex-direction: column; }
  .frame38d18-promo-strip .frame38d18-btn { align-self: stretch; }
}
