/* ==========================================================================
   WP3 fallback layer for videos.html / legacy.html.
   Everything here uses :where() (specificity 0), so WP1's /css/tokens.css and
   /css/base.css always win when they are loaded. This only keeps the pages
   readable if those files are missing.
   ========================================================================== */

:where(html) {
  --bg: #08080a;
  --ink: #f4f1e8;
  --ink-dark: #08080a;
  --muted: #9a97a8;
  --line: rgba(244, 241, 232, 0.14);
  --line-strong: rgba(244, 241, 232, 0.28);
  --surface: #111114;
  --surface-2: #17171c;
  --gold: #f5b400;
  --gold-2: #ffd24a;
  --gold-tint: rgba(245, 180, 0, 0.08);
  --gold-border: rgba(245, 180, 0, 0.45);
  --gold-glow: rgba(245, 180, 0, 0.35);
  --green: #00e676;
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Arial Black', 'Helvetica Neue', Impact, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs: 9px;
  --text-sm: 10px;
  --text-base: 13px;
  --text-lg: 15px;
  --text-hero-legacy: clamp(40px, 6.6vw, 84px);
  --container-max: 1280px;
  --gutter: 28px;
  --gutter-mobile: 16px;
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.35);
  --z-base: 1;
  --z-header: 50;
  --z-overlay: 70;
  --z-ai-btn: 80;
  --z-ai-panel: 81;
  --z-progress: 100;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 0.15s;
  --dur-base: 0.25s;
}

:where(body) {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

:where(.wp3-fallback-nav) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px var(--gutter);
}

:where(.wp3-fallback-nav a) {
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 18px;
}

:where(.wp3-fallback-nav a[aria-current='page']) {
  color: var(--gold);
}

:where(.wp3-fallback-nav .wp3-brand) {
  margin-left: 0;
  font-family: var(--font-display);
  font-size: 18px;
}

:where(.eyebrow) {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

:where(.btn2) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

:where(.btn2.gold) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-dark);
}

:where(footer.bottom) {
  width: 100%;
  padding: 32px var(--gutter);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--line);
}
