/*
Theme Name:  The B.I.D.
Theme URI:   https://thebreathinDepth.com
Author:      The B.I.D. Team
Author URI:  https://thebreathinDepth.com
Description: Official WordPress theme for The B.I.D. — The Breath In Depth video podcast. Features live streaming integration, episode catalog, blog/program notes with PDF download, digital & crypto wallet, and multi-platform social integration.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-bid
Tags:        podcast, video, streaming, one-page, custom-colors, custom-menu, responsive-layout
*/

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --black:       #0A0A0A;
  --panel:       #141416;
  --panel-2:     #1C1C1E;
  --white:       #FFFFFF;
  --off-white:   #EDEDED;
  --silver:      #C7CBCF;
  --silver-dim:  #54585C;
  --orange:      #FF6A1A;
  --orange-dim:  #B84E12;
  --orange-glow: rgba(255,106,26,0.35);

  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --body:    'Space Grotesk', -apple-system, sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --maxw:   1180px;
  --radius: 2px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* WordPress core classes */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}
.wp-block-image { margin: 0; }
.alignwide  { max-width: calc(var(--maxw) + 160px); margin-inline: auto; }
.alignfull  { max-width: 100%; }

::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ============================================================
   ON-AIR STRIP
============================================================ */
.onair-strip {
  background: var(--orange);
  color: var(--black);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.onair-strip__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  overflow-x: auto;
}
.onair-strip__live { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--black);
  display: inline-block;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.25;} }

/* ============================================================
   SITE HEADER / NAV
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #2A2A2C;
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-family: var(--display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand__full {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--silver-dim);
  letter-spacing: 0.12em;
}
/* WordPress menu nav */
.bid-nav { display: flex; gap: 28px; }
.bid-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.bid-nav ul li { position: relative; }
.bid-nav ul li a {
  font-size: 14px; font-weight: 500; color: var(--silver);
  position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.bid-nav ul li a:hover { color: var(--white); }
.bid-nav ul li a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--orange); transition: width 0.25s;
}
.bid-nav ul li a:hover::after { width: 100%; }
/* Fallback nav (no WP menu assigned) */
.bid-nav-fallback { display: flex; gap: 28px; }
.bid-nav-fallback a {
  font-size: 14px; font-weight: 500; color: var(--silver);
  position: relative; padding: 4px 0; transition: color 0.2s;
}
.bid-nav-fallback a:hover { color: var(--white); }
.bid-nav-fallback a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--orange); transition: width 0.25s;
}
.bid-nav-fallback a:hover::after { width: 100%; }

.wallet-pill {
  display: flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid var(--silver-dim);
  color: var(--white);
  font-size: 13px; font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.wallet-pill:hover { border-color: var(--orange); background: rgba(255,106,26,0.08); }
.wallet-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--silver-dim); }
.wallet-pill.is-connected .wallet-pill__dot { background: var(--orange); box-shadow: 0 0 6px var(--orange-glow); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); display: block; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; padding: 14px 28px;
  border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--orange); color: var(--black); }
.btn--primary:hover { background: #FF7C36; }
.btn--ghost { border-color: var(--silver-dim); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  padding: 96px 28px 64px;
  overflow: hidden;
  border-bottom: 1px solid #2A2A2C;
}
.hero__pulse {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 120px;
  opacity: 0.5; pointer-events: none;
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2;
}
.hero__eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--orange); margin: 0 0 24px; font-weight: 600;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  margin: 0 0 28px;
  color: var(--white);
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.hero__title--accent { color: var(--orange); }
.hero__sub { font-size: 18px; color: var(--silver); max-width: 560px; margin: 0 0 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 48px; border-top: 1px solid #2A2A2C; padding-top: 32px;
  max-width: 640px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-family: var(--mono); font-size: 28px; font-weight: 600; color: var(--white); }
.stat__label { font-size: 12px; color: var(--silver-dim); letter-spacing: 0.02em; }

/* ============================================================
   DIVIDER PULSE
============================================================ */
.divider-pulse {
  width: 100%; height: 40px; background: var(--black);
  border-bottom: 1px solid #2A2A2C;
}
.divider-pulse svg { width: 100%; height: 100%; }
.divider-pulse polyline {
  fill: none; stroke: var(--orange); stroke-width: 1.5;
  stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.divider-pulse--light { background: var(--white); border-bottom-color: #E2E4E5; }

/* ============================================================
   PANEL SHELL
============================================================ */
.panel { padding: 88px 28px; max-width: var(--maxw); margin: 0 auto; }
.panel--alt { background: var(--panel); max-width: none; padding-left: 0; padding-right: 0; }
.panel--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; }
.panel--alt .panel__head,
.panel--alt .watch-grid,
.panel--alt .wallet-grid { box-sizing: border-box; }

.panel__head { max-width: 680px; margin-bottom: 48px; }
.panel__index {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--orange); border: 1px solid var(--orange-dim); padding: 4px 10px;
  border-radius: 3px; margin-bottom: 18px;
}
.panel__title {
  font-family: var(--display); font-size: clamp(28px,4vw,42px);
  color: var(--white); margin: 0 0 16px; letter-spacing: -0.01em;
}
.panel__desc { font-size: 16px; color: var(--silver); margin: 0; }

/* ============================================================
   LIGHT PANEL THEME
============================================================ */
.panel--light { background: var(--white); color: #1A1A1A; max-width: none; padding-left: 0; padding-right: 0; }
.panel--light > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; box-sizing: border-box; }
.panel--light.panel--alt { background: var(--off-white); }
.panel--light .panel__index { border-color: var(--orange); }
.panel--light .panel__title { color: #111111; }
.panel--light .panel__desc { color: #4A4D50; }

/* Catalog (light) */
.panel--light .catalog-search { border-color: #C9CCCF; color: #8A8D90; }
.panel--light .catalog-search input { color: #111111; }
.panel--light .catalog-search input::placeholder { color: #9A9D9F; }
.panel--light .filter-chip { border-color: #C9CCCF; color: #4A4D50; }
.panel--light .filter-chip:hover { color: #111111; border-color: #111111; }
.panel--light .filter-chip.is-active { background: #111111; color: var(--white); border-color: #111111; }
.panel--light .ep-card { background: var(--white); border-color: #D8DADC; }
.panel--light .ep-card:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.panel--light .ep-card__thumb { background: linear-gradient(135deg,#ECEDEE,#F7F7F8); border-bottom-color: #E2E4E5; }
.panel--light .ep-card__thumb svg { color: #B6B9BB; }
.panel--light .ep-card:hover .ep-card__thumb svg { color: var(--orange); }
.panel--light .ep-card__num { color: #8A8D90; }
.panel--light .ep-card__len { color: var(--white); background: rgba(0,0,0,0.65); }
.panel--light .ep-card__title { color: #111111; }
.panel--light .ep-card__desc { color: #6B6E70; }
.panel--light .ep-card__footer { color: #9A9D9F; }
.panel--light .catalog-grid p { color: #8A8D90 !important; }

/* Dispatch (light) */
.panel--light .dispatch-card { border-color: #D8DADC; }
.panel--light .dispatch-card:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.panel--light .dispatch-card__date { color: #9A9D9F; }
.panel--light .dispatch-card__title { color: #111111; }
.panel--light .dispatch-card__excerpt { color: #5C5F61; }
.panel--light .read-link { color: #6B6E70; }
.panel--light .read-link:hover { color: #111111; }
.panel--light .pdf-link { color: var(--orange-dim); border-color: var(--orange); }
.panel--light .pdf-link:hover { background: rgba(255,106,26,0.08); }

/* Wallet (light) */
.panel--light .wallet-card,
.panel--light .tip-card { background: var(--white); border-color: #D8DADC; }
.panel--light .wallet-card__row { border-bottom-color: #E8E9EA; }
.panel--light .wallet-card__label { color: #8A8D90; }
.panel--light .wallet-card__value { color: #111111; }
.panel--light .balance-tile { border-color: #E2E4E5; }
.panel--light .balance-tile__cur { color: #8A8D90; }
.panel--light .wallet-card__fine { color: #9A9D9F; }
.panel--light .tip-card h3 { color: #111111; }
.panel--light .tip-card__desc { color: #5C5F61; }
.panel--light .tip-amount { border-color: #C9CCCF; color: #111111; }
.panel--light .tip-amount:hover,
.panel--light .tip-amount.is-active { border-color: var(--orange); color: var(--orange-dim); }
.panel--light .tip-custom { border-color: #C9CCCF; }
.panel--light .tip-custom span { color: #9A9D9F; }
.panel--light .tip-custom input { color: #111111; }
.panel--light .currency-pill { border-color: #C9CCCF; color: #5C5F61; }
.panel--light .currency-pill.is-active { background: #111111; color: var(--white); border-color: #111111; }
.panel--light .tip-ledger li { color: #8A8D90; border-top-color: #E8E9EA; }
.panel--light .tip-ledger li span:last-child { color: var(--orange-dim); }

/* Community (light) */
.panel--light .social-card { border-color: #D8DADC; }
.panel--light .social-card:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.panel--light .social-card__name { color: #111111; }
.panel--light .social-card__stat { color: #8A8D90; }
.panel--light .newsletter { border-top-color: #E2E4E5; }
.panel--light .newsletter__copy h3 { color: #111111; }
.panel--light .newsletter__copy p { color: #5C5F61; }
.panel--light .newsletter__form input { border-color: #C9CCCF; color: #111111; }
.panel--light .newsletter__form input::placeholder { color: #9A9D9F; }

/* ============================================================
   WATCH LIVE
============================================================ */
.watch-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.watch-stage__frame {
  position: relative; background: #000; border: 1px solid var(--silver-dim);
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); overflow: hidden;
}
.watch-stage__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange); color: var(--black);
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 3px; display: flex; align-items: center; gap: 6px;
}
.watch-stage__badge .dot { background: var(--black); }
.watch-stage__placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--silver-dim);
}
.watch-stage__placeholder p { margin: 0; font-size: 14px; font-family: var(--mono); }
.watch-stage__meta {
  position: absolute; bottom: 14px; right: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--silver);
  background: rgba(0,0,0,0.6); padding: 5px 10px; border-radius: 3px;
}
.watch-stage__sep { color: var(--silver-dim); margin: 0 6px; }
.platform-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.platform-chip {
  background: transparent; border: 1px solid var(--silver-dim); color: var(--silver);
  font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  transition: all 0.18s;
}
.platform-chip:hover { border-color: var(--orange); color: var(--white); }
.platform-chip.is-active { background: var(--orange); border-color: var(--orange); color: var(--black); }

.live-chat {
  border: 1px solid var(--silver-dim); border-radius: var(--radius);
  display: flex; flex-direction: column; height: 480px; background: var(--black);
}
.live-chat__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid #2A2A2C;
  font-size: 13px; font-weight: 600; color: var(--white);
}
.live-chat__sources { font-family: var(--mono); font-size: 10px; color: var(--silver-dim); letter-spacing: 0.06em; }
.live-chat__feed {
  flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px;
}
.live-chat__feed li { font-size: 13px; color: var(--silver); line-height: 1.4; }
.live-chat__feed b { color: var(--orange); font-weight: 600; }
.live-chat__feed .src {
  font-family: var(--mono); font-size: 9px; color: var(--silver-dim);
  border: 1px solid #2A2A2C; padding: 1px 5px; border-radius: 3px; margin-right: 6px;
}
.live-chat__form { display: flex; border-top: 1px solid #2A2A2C; }
.live-chat__form input {
  flex: 1; background: none; border: none; padding: 14px 16px; color: var(--white); font-size: 13px;
}
.live-chat__form input::placeholder { color: var(--silver-dim); }
.live-chat__form button {
  background: none; border: none; color: var(--orange); font-weight: 600; padding: 0 16px; font-size: 13px;
}

/* ============================================================
   CATALOG
============================================================ */
.catalog-controls { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 32px; }
.catalog-search {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--silver-dim);
  padding: 10px 16px; border-radius: 999px; flex: 1; max-width: 360px; color: var(--silver-dim);
}
.catalog-search input {
  background: none; border: none; color: var(--white); font-size: 14px; flex: 1; outline: none;
}
.catalog-search input::placeholder { color: var(--silver-dim); }
.catalog-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  background: none; border: 1px solid var(--silver-dim); color: var(--silver);
  font-size: 13px; padding: 8px 16px; border-radius: 999px; transition: all 0.18s;
}
.filter-chip:hover { color: var(--white); border-color: var(--white); }
.filter-chip.is-active { background: var(--white); color: var(--black); border-color: var(--white); }

.catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 32px; }
.ep-card {
  border: 1px solid var(--silver-dim); border-radius: var(--radius); overflow: hidden;
  background: var(--panel); transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column; cursor: pointer;
}
.ep-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.ep-card__thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg,#1C1C1E,#0A0A0A);
  display: flex; align-items: center; justify-content: center; position: relative;
  border-bottom: 1px solid #2A2A2C;
}
.ep-card__thumb svg { color: var(--silver-dim); transition: color 0.2s; }
.ep-card:hover .ep-card__thumb svg { color: var(--orange); }
.ep-card__num {
  position: absolute; top: 10px; left: 10px; font-family: var(--mono); font-size: 11px;
  color: var(--silver-dim); letter-spacing: 0.06em;
}
.ep-card__len {
  position: absolute; bottom: 10px; right: 10px; font-family: var(--mono); font-size: 11px;
  color: var(--silver); background: rgba(0,0,0,0.7); padding: 2px 7px; border-radius: 3px;
}
.ep-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ep-card__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--orange); text-transform: uppercase; }
.ep-card__title { font-size: 15px; font-weight: 600; color: var(--white); margin: 0; line-height: 1.3; }
.ep-card__desc { font-size: 13px; color: var(--silver-dim); margin: 0; line-height: 1.4; }
.ep-card__footer { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--silver-dim); margin-top: auto; padding-top: 8px; }
.catalog-more { display: block; margin: 0 auto; }

/* ============================================================
   DISPATCH
============================================================ */
.dispatch-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.dispatch-card {
  border: 1px solid var(--silver-dim); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s;
}
.dispatch-card:hover { border-color: var(--orange); }
.dispatch-card__date { font-family: var(--mono); font-size: 12px; color: var(--silver-dim); }
.dispatch-card__title { font-size: 19px; font-weight: 600; color: var(--white); margin: 0; }
.dispatch-card__excerpt { font-size: 14px; color: var(--silver); margin: 0; line-height: 1.55; }
.dispatch-card__footer { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.pdf-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: var(--orange); border: 1px solid var(--orange-dim); padding: 7px 14px; border-radius: 999px;
  transition: background 0.2s; background: none; cursor: pointer;
}
.pdf-link:hover { background: rgba(255,106,26,0.1); }
.read-link { font-size: 13px; font-weight: 600; color: var(--silver); transition: color 0.2s; }
.read-link:hover { color: var(--white); }

/* ============================================================
   WALLET
============================================================ */
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.wallet-card, .tip-card {
  border: 1px solid var(--silver-dim); border-radius: var(--radius); padding: 28px;
  background: var(--black);
}
.wallet-card__row {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid #2A2A2C; font-size: 14px;
}
.wallet-card__label { color: var(--silver-dim); }
.wallet-card__value { color: var(--white); font-weight: 600; }
.wallet-card__mono { font-family: var(--mono); font-size: 13px; word-break: break-all; }
.wallet-card__balances { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 20px 0; }
.balance-tile { border: 1px solid #2A2A2C; border-radius: var(--radius); padding: 14px; text-align: center; }
.balance-tile__amt { display: block; font-family: var(--mono); font-size: 18px; color: var(--orange); font-weight: 600; }
.balance-tile__cur { display: block; font-size: 11px; color: var(--silver-dim); margin-top: 4px; letter-spacing: 0.04em; }
.wallet-connect-btn { width: 100%; margin-top: 8px; }
.wallet-card__fine { font-size: 11.5px; color: var(--silver-dim); margin: 16px 0 0; line-height: 1.5; }

.tip-card h3 { font-family: var(--display); font-size: 20px; color: var(--white); margin: 0 0 8px; }
.tip-card__desc { font-size: 14px; color: var(--silver); margin: 0 0 20px; }
.tip-amounts { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.tip-amount {
  border: 1px solid var(--silver-dim); background: none; color: var(--white);
  padding: 12px 0; border-radius: var(--radius); font-weight: 600; font-size: 14px;
  transition: all 0.18s;
}
.tip-amount:hover, .tip-amount.is-active { border-color: var(--orange); color: var(--orange); }
.tip-custom {
  display: flex; align-items: center; border: 1px solid var(--silver-dim);
  border-radius: var(--radius); padding: 0 14px; margin-bottom: 14px;
}
.tip-custom span { color: var(--silver-dim); font-family: var(--mono); }
.tip-custom input { background: none; border: none; color: var(--white); padding: 12px 8px; flex: 1; outline: none; font-size: 14px; }
.tip-currency { display: flex; gap: 8px; margin-bottom: 18px; }
.currency-pill {
  flex: 1; border: 1px solid var(--silver-dim); background: none; color: var(--silver);
  padding: 8px 0; border-radius: 999px; font-size: 12px; font-family: var(--mono); transition: all 0.18s;
}
.currency-pill.is-active { background: var(--silver); color: var(--black); border-color: var(--silver); }
.tip-send { width: 100%; }
.tip-ledger { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; max-height: 120px; overflow-y: auto; }
.tip-ledger li {
  font-family: var(--mono); font-size: 12px; color: var(--silver-dim);
  display: flex; justify-content: space-between; border-top: 1px solid #2A2A2C; padding-top: 8px;
}
.tip-ledger li span:last-child { color: var(--orange); }

/* ============================================================
   SOCIAL / COMMUNITY
============================================================ */
.social-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 56px; }
.social-card {
  border: 1px solid var(--silver-dim); border-radius: var(--radius); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 6px; transition: all 0.2s;
}
.social-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.social-card__name { font-weight: 700; color: var(--white); font-size: 15px; }
.social-card__stat { font-family: var(--mono); font-size: 12px; color: var(--silver-dim); }

.newsletter {
  border-top: 1px solid #2A2A2C; padding-top: 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.newsletter__copy h3 { font-family: var(--display); font-size: 24px; color: var(--white); margin: 0 0 8px; }
.newsletter__copy p { font-size: 14px; color: var(--silver); margin: 0; max-width: 420px; }
.newsletter__form { display: flex; gap: 10px; flex: 1; max-width: 420px; min-width: 280px; }
.newsletter__form input {
  flex: 1; background: none; border: 1px solid var(--silver-dim); border-radius: 999px;
  padding: 12px 18px; color: var(--white); outline: none; font-size: 14px;
}
.newsletter__form button {
  background: var(--orange); color: var(--black); border: none; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; font-size: 14px; cursor: pointer;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer { border-top: 1px solid #2A2A2C; padding: 64px 28px 24px; background: var(--black); }
.site-footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px;
}
.site-footer__brand p { font-size: 13px; color: var(--silver-dim); max-width: 240px; margin: 10px 0 0; }
.site-footer__cols { display: flex; gap: 48px; flex-wrap: wrap; }
.site-footer__cols h4 { font-size: 12px; letter-spacing: 0.08em; color: var(--silver-dim); margin: 0 0 14px; text-transform: uppercase; }
.site-footer__cols a { display: block; font-size: 14px; color: var(--silver); margin-bottom: 10px; transition: color 0.2s; }
.site-footer__cols a:hover { color: var(--orange); }
.site-footer__bottom {
  max-width: var(--maxw); margin: 0 auto; border-top: 1px solid #2A2A2C; padding-top: 20px;
  font-family: var(--mono); font-size: 11px; color: var(--silver-dim);
}

/* ============================================================
   SINGLE EPISODE / SINGLE DISPATCH PAGE STYLES
============================================================ */
.single-content {
  max-width: var(--maxw); margin: 0 auto; padding: 64px 28px;
  background: var(--white); color: #1A1A1A; min-height: 60vh;
}
.single-content .entry-title { font-family: var(--display); font-size: clamp(28px,4vw,52px); color: #111; margin: 0 0 16px; }
.single-content .entry-meta { font-family: var(--mono); font-size: 12px; color: #8A8D90; margin-bottom: 40px; letter-spacing: 0.04em; }
.single-content .entry-content { font-size: 17px; line-height: 1.7; color: #2A2A2C; max-width: 720px; }
.single-content .entry-content h2, .single-content .entry-content h3 { color: #111; font-family: var(--display); }
.single-content .entry-content a { color: var(--orange-dim); text-decoration: underline; }
.single-content .back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dim); font-weight: 600; font-size: 14px; margin-bottom: 32px; }
.single-content .back-link:hover { color: var(--orange); }

/* ============================================================
   TOAST
============================================================ */
.bid-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--white); color: var(--black); font-size: 14px; font-weight: 600;
  padding: 14px 24px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s; z-index: 9999; white-space: nowrap;
  font-family: var(--body);
}
.bid-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   404 PAGE
============================================================ */
.error-404-page {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px; text-align: center; padding: 64px 28px;
}
.error-404-page h1 { font-family: var(--display); font-size: clamp(48px,8vw,96px); color: var(--orange); margin: 0; }
.error-404-page p { color: var(--silver); font-size: 18px; max-width: 480px; margin: 0; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 920px) {
  .bid-nav, .bid-nav-fallback { display: none; }
  .nav-toggle { display: flex; }
  .watch-grid { grid-template-columns: 1fr; }
  .wallet-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2,1fr); }
  .dispatch-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2,1fr); }
  .hero__stats { grid-template-columns: repeat(3,auto); gap: 24px; }
  .bid-nav.is-open, .bid-nav-fallback.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); border-bottom: 1px solid #2A2A2C;
    padding: 16px 28px; gap: 16px; z-index: 100;
  }
  .bid-nav.is-open ul { flex-direction: column; gap: 16px; }
}
@media (max-width: 600px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .brand__full { display: none; }
  .hero__stats { grid-template-columns: repeat(2,auto); }
  .tip-amounts { grid-template-columns: repeat(2,1fr); }
  .wallet-card__balances { grid-template-columns: 1fr; }
}
