/* ============================================================================
   PREVIOUSLY · Evidence Board page styles (2026-10-06)
   Desert Golden Hour theme. Desktop: player + board side-by-side.
   Mobile (<900px): tabbed Player | Evidence.
   ============================================================================ */

.eb-wrap{ max-width: 1180px; margin: 0 auto; padding: 20px 16px 90px; }.eb-topbar{ display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px; }.eb-brand{ display: flex; align-items: center; gap: 10px; text-decoration: none; }.eb-brand-mark{ width: 34px; height: 34px; border-radius: 9px;
  background: var(--desert-accent); color: var(--desert-card); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  font-family: Georgia, serif; }.eb-brand-name{ font-weight: 800; letter-spacing: .06em; font-size: 15px;
  color: var(--desert-ink); }.eb-brand-name em{ color: var(--desert-accent); font-style: normal; }.eb-share{ border: 1px solid var(--desert-rule); background: transparent;
  color: var(--desert-ink); border-radius: 999px; padding: 9px 16px;
  font-size: 13px; font-weight: 700; cursor: pointer; }.eb-share:active{ transform: scale(.97); }.eb-top-actions{ display: flex; gap: 8px; align-items: center; }/* Story Board toggle (James 2026-10-06): small switch for the enhanced view */
.eb-toggle{ border: 1px solid var(--desert-rule); background: transparent;
  color: var(--desert-ink-dim); border-radius: 999px; padding: 9px 14px;
  font-size: 12px; font-weight: 700; cursor: pointer; }.eb-toggle[aria-pressed="false"]{ opacity: .65; }body.board-off .eb-board-col{ display: none; }body.board-off .eb-grid{ grid-template-columns: minmax(340px, 560px);
  justify-content: center; }@media (max-width: 899px){body.board-off .eb-tabs{ display: none; }body.board-off .eb-grid.tab-player .eb-board-col{ display: none; }
}.eb-more{ margin-top: 22px; font-size: 13px; color: var(--desert-ink-dim); }.eb-more a{ color: var(--desert-accent); font-weight: 600; }.eb-hero{ background: transparent; border: 1px solid var(--desert-rule);
  border-radius: 18px; padding: 22px; margin-bottom: 18px; }.eb-kicker{ font-size: 11px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--desert-accent); margin: 0 0 8px; }.eb-title{ font-family: Georgia, serif; font-size: clamp(22px, 4vw, 32px);
  margin: 0 0 8px; color: var(--desert-ink); line-height: 1.2; }.eb-meta{ display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px; color: var(--desert-ink-dim); }.eb-meta .dot{ width: 3px; height: 3px; border-radius: 50%;
  background: var(--desert-ink-faint); }.eb-back{ display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  font-weight: 600; color: var(--desert-accent); text-decoration: none;
  margin-bottom: 14px; }/* ---- layout: side-by-side on desktop ---- */
.eb-grid{ display: grid; grid-template-columns: minmax(0, 1fr) 400px;
  gap: 18px; align-items: start; }@media (min-width: 900px) and (max-width: 1199px){.eb-grid{ grid-template-columns: minmax(0, 1fr) 340px; } }@media (max-width: 899px){.eb-grid{ grid-template-columns: 1fr; } }.eb-player-col{ position: sticky; top: 12px; }@media (max-width: 899px){.eb-player-col{ position: static; } }.eb-play-card{ background: transparent; border: 1px solid var(--desert-rule);
  border-radius: 18px; padding: 20px; text-align: center; }.eb-play-hint{ font-size: 12px; color: var(--desert-ink-faint); margin-top: 10px; }.eb-now{ font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--desert-accent); margin-bottom: 10px;
  height: 18px; line-height: 18px; visibility: hidden; }.eb-now.on{ visibility: visible; }.eb-now .pulse{ display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--desert-accent); margin-right: 6px;
  animation: eb-pulse 1.6s infinite; }@keyframes eb-pulse{0%,100%{ opacity: 1; }50%{ opacity: .35; } }/* ---- evidence board ---- */
.eb-board{ background: transparent;
  border: 1px solid var(--desert-rule); border-radius: 18px; padding: 22px; }.eb-board-head{ display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 4px; }.eb-board-title{ font-size: 12px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--desert-accent-deep); margin: 0; }.eb-board-count{ font-size: 12px; color: var(--desert-ink-faint); }.eb-board-sub{ font-family: Georgia, serif; font-size: 19px; color: var(--desert-ink);
  margin: 0 0 16px; }.eb-chapters{ display: grid; gap: 14px; }@media (min-width: 700px){.eb-chapters{ grid-template-columns: 1fr 1fr; } }@media (min-width: 1100px){.eb-grid .eb-chapters{ grid-template-columns: 1fr; } }.eb-card{ position: relative; background: transparent;
  border: 1px solid var(--desert-rule); border-radius: 12px; padding: 18px;
  display: flex; gap: 12px; cursor: pointer; text-align: left; width: 100%;
  transition: transform .15s ease;
  font-family: inherit; }.eb-card:hover{ transform: translateY(-1px); }.eb-card::before{ content: ""; position: absolute; top: -7px; left: 24px; width: 14px;
  height: 14px; border-radius: 50%; background: var(--desert-accent);
  box-shadow: 0 2px 4px rgba(var(--desert-shadow-rgb), .25); }.eb-card .eb-pin-time{ font-size: 11px; font-weight: 800; color: var(--desert-accent);
  letter-spacing: .06em; margin-bottom: 2px; }.eb-card .eb-pin-label{ font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--desert-ink-faint); margin-bottom: 5px; }.eb-card h4{ font-size: 15px; margin: 0 0 5px; color: var(--desert-ink); }.eb-card p{ font-size: 12.5px; color: var(--desert-ink-dim); margin: 0; line-height: 1.5; }.eb-card .eb-photo{ width: 84px; height: 84px; flex-shrink: 0; border-radius: 8px;
  overflow: hidden; background: var(--desert-pressed); }.eb-card .eb-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }.eb-card.active{ border-color: var(--desert-accent);
  box-shadow: 0 0 0 2px var(--desert-accent-glow), 0 4px 14px var(--desert-shadow); }.eb-card.active .eb-pin-time::after{ content: " — NOW PLAYING"; }.eb-card.past{ opacity: .72; }.eb-card.past::after{ content: "REVIEWED"; position: absolute; bottom: 8px; right: 10px;
  font-size: 9px; font-weight: 800; letter-spacing: .12em; color: var(--color-win); }.eb-empty, .eb-notice{ background: transparent; border: 1px solid var(--desert-rule);
  border-radius: 14px; padding: 28px 20px; text-align: center;
  color: var(--desert-ink-dim); font-size: 14px; }/* ---- board hub (/podcasts/board/) ---- */
.eb-grid.hub-mode{ grid-template-columns: 1fr; }.eb-grid.hub-mode .eb-player-col{ display: none; }
.eb-hub-show{ font-family: Georgia, serif; font-size: 20px; color: var(--desert-ink);
  margin: 26px 0 12px; }.eb-hub-show:first-child{ margin-top: 4px; }
.eb-hub-show span{ font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--desert-accent); margin-left: 8px; }
.eb-hub-grid{ display: grid; gap: 12px; }@media (min-width: 700px){.eb-hub-grid{ grid-template-columns: 1fr 1fr; } }
.eb-hub-card{ display: flex; gap: 12px; align-items: center; text-decoration: none;
  background: transparent; border: 1px solid var(--desert-rule); border-radius: 12px;
  padding: 12px; transition: transform .15s ease, border-color .15s ease; }
.eb-hub-card:hover{ transform: translateY(-1px); border-color: var(--desert-accent); }
.eb-hub-thumb{ width: 112px; aspect-ratio: 16/9; flex-shrink: 0; border-radius: 8px;
  overflow: hidden; background: var(--desert-pressed); }
.eb-hub-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.eb-hub-body{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eb-hub-title{ font-size: 14.5px; font-weight: 700; color: var(--desert-ink); line-height: 1.35; }
.eb-hub-meta{ font-size: 12px; color: var(--desert-ink-dim); }/* ---- case coverage (supporting videos) ---- */
.eb-support{ margin-top: 26px; }.eb-support-head h2{ font-family: Georgia, serif;
  font-size: 24px; color: var(--desert-ink); margin: 0 0 4px; }
.eb-support-head p{ font-size: 13.5px; color: var(--desert-ink-dim); margin: 0 0 16px; }
.eb-support-grid{ display: grid; gap: 14px; }@media (min-width: 700px){.eb-support-grid{ grid-template-columns: repeat(3, 1fr); } }
.eb-sup-card{ border: 1px solid var(--desert-rule); border-radius: 12px; overflow: hidden;
  background: transparent; display: flex; flex-direction: column; }
.eb-sup-media{ position: relative; display: block; width: 100%; aspect-ratio: 16/9;
  border: 0; padding: 0; cursor: pointer; background: var(--desert-pressed); }
.eb-sup-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.eb-sup-media iframe{ width: 100%; height: 100%; border: 0; display: block; }
.eb-sup-play{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.eb-sup-play svg{ width: 46px; height: 46px; fill: var(--desert-card);
  background: var(--desert-accent); border-radius: 50%; padding: 11px;
  box-shadow: 0 4px 16px rgba(var(--desert-shadow-rgb), .35); }
.eb-sup-body{ padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; }
.eb-sup-kind{ align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--desert-accent-deep);
  border: 1px solid var(--desert-accent); border-radius: 4px; padding: 3px 7px; }
.eb-sup-body h3{ font-size: 14px; line-height: 1.4; color: var(--desert-ink); margin: 0; }
.eb-sup-chan{ font-size: 12px; color: var(--desert-ink-faint); }/* ---- redesign v3: video hero + evidence side panel (2026-10-12) ---- */
.eb-explainer{ font-family: Georgia, serif; font-style: italic; font-size: 15.5px;
  line-height: 1.5; color: var(--desert-ink-dim); margin: -6px 0 16px; max-width: 760px; }
@media (min-width: 900px){.eb-board{ position: sticky; top: 12px;
  max-height: calc(100vh - 24px); overflow-y: auto; overscroll-behavior: contain;
  background-image: radial-gradient(rgba(var(--desert-shadow-rgb), .14) 1px, transparent 1.4px);
  background-size: 22px 22px; }.eb-board-col{ min-width: 0; } }
.eb-board .eb-chapters{ grid-template-columns: 1fr !important; }
.eb-grid.hub-mode .eb-board{ position: static; max-height: none; overflow: visible; }
.eb-panel-label{ font-size: 11px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--desert-accent-deep); margin: 4px 0 10px; }
.eb-panel-label--ch{ margin-top: 20px; color: var(--desert-ink-faint); }
.eb-exhibits{ display: grid; gap: 12px; }
.eb-kind{ font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--desert-accent-deep); border: 1px solid var(--desert-accent);
  border-radius: 4px; padding: 2px 6px; margin-left: 8px; vertical-align: 2px; }
.eb-photo-clip{ width: 112px !important; height: 63px !important; align-self: center; }
.eb-exhibit.clip-active{ border-color: var(--desert-accent);
  box-shadow: 0 0 0 2px var(--desert-accent-glow); }
.eb-chrows{ display: grid; gap: 6px; }
.eb-chrow{ display: flex; gap: 10px; align-items: baseline; width: 100%; text-align: left;
  background: transparent; border: 1px solid var(--desert-rule); border-radius: 8px;
  padding: 9px 12px; cursor: pointer; font-family: inherit; }
.eb-chrow:hover{ border-color: var(--desert-accent); }
.eb-chrow-time{ font-size: 11px; font-weight: 800; color: var(--desert-accent);
  letter-spacing: .04em; white-space: nowrap; }
.eb-chrow-label{ font-size: 13px; color: var(--desert-ink); }
.eb-chrow.active{ border-color: var(--desert-accent);
  box-shadow: inset 3px 0 0 var(--desert-accent); }
.eb-chrow.past{ opacity: .65; }
.eb-clipbar{ display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: var(--desert-ink); color: var(--desert-bg); border-radius: 10px;
  padding: 10px 14px; margin-bottom: 12px; font-size: 13px; }
.eb-clipbar-tag{ font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--desert-accent); }
.eb-clipbar-title{ font-weight: 700; flex: 1; min-width: 140px; }
.eb-clipbar-back{ border: 1px solid var(--desert-bg); background: transparent;
  color: var(--desert-bg); border-radius: 6px; padding: 7px 12px; font-size: 12px;
  font-weight: 700; cursor: pointer; }/* ---- hub featured board ---- */
.eb-feat{ display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0; text-decoration: none; border: 1px solid var(--desert-rule);
  border-radius: 16px; overflow: hidden; margin-bottom: 28px;
  transition: transform .15s ease, border-color .15s ease; }
.eb-feat:hover{ transform: translateY(-1px); border-color: var(--desert-accent); }
@media (max-width: 699px){.eb-feat{ grid-template-columns: 1fr; } }
.eb-feat-media{ position: relative; display: block; aspect-ratio: 16/9;
  background: var(--desert-pressed); }
.eb-feat-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.eb-feat-tag{ position: absolute; top: 12px; left: 12px; background: var(--desert-accent);
  color: var(--desert-card); font-size: 10.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; border-radius: 4px; padding: 5px 9px; }
.eb-feat-body{ display: flex; flex-direction: column; gap: 7px; padding: 20px;
  justify-content: center; }
.eb-feat-kicker{ font-size: 11px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--desert-accent); }
.eb-feat-title{ font-family: Georgia, serif; font-size: clamp(21px, 3vw, 29px);
  line-height: 1.2; color: var(--desert-ink); }
.eb-feat-sub{ font-size: 13.5px; color: var(--desert-ink-dim); }
.eb-feat-meta{ font-size: 12.5px; color: var(--desert-ink-faint); }
.eb-feat-cta{ margin-top: 6px; font-size: 13px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--desert-accent-deep);
  text-decoration: underline; text-underline-offset: 3px; }
.eb-hub-sub{ font-size: 12px; color: var(--desert-ink-dim); line-height: 1.35; }/* ---- mobile tabs ---- */
.eb-tabs{ display: none; position: sticky; top: 0; z-index: 20;
  background: var(--desert-bg); padding: 8px 0; margin-bottom: 12px; }@media (max-width: 899px){.eb-tabs{ display: flex; gap: 8px; } }.eb-tabs button{ flex: 1; border: 1px solid var(--desert-rule);
  background: transparent; border-radius: 999px; padding: 11px;
  font-size: 14px; font-weight: 700; color: var(--desert-ink-dim); cursor: pointer; }.eb-tabs button.active{ background: var(--desert-ink); color: var(--desert-bg);
  border-color: var(--desert-ink); }@media (max-width: 899px){.eb-grid.tab-evidence .eb-player-col{ display: none; }.eb-grid.tab-player .eb-board-col{ display: none; }
}

/* ---- v4 stage: the thumbnail facade becomes the player, in place ------
   The stage is a fixed 16:9 box. The facade (thumbnail + centered play)
   and the player slot are absolutely positioned inside it, so nothing in
   the stage can ever resize the column around it (the old in-flow docked
   player blew the phone grid track out to ~650px via its min-content).
   The shared PVPlayer is confined to media-only inside the frame. */
.eb-grid, .eb-player-col, .eb-board-col, .eb-play-card, .eb-board{ min-width: 0; }
.eb-stage{ position: relative; width: 100%; max-width: 100%; aspect-ratio: 16/9;
  border-radius: 12px; overflow: hidden; background: var(--desert-pressed);
  margin-bottom: 14px; }
.eb-facade{ position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  padding: 0; border: 0; background: transparent; cursor: pointer; }
.eb-facade .eb-art{ position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; border-radius: 0; margin: 0; }
.eb-facade-play{ position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%;
  background: var(--desert-accent); display: flex; align-items: center;
  justify-content: center; pointer-events: none;
  box-shadow: 0 8px 28px rgba(var(--desert-shadow-rgb), .45); }
.eb-facade-play svg{ width: 30px; height: 30px; fill: var(--desert-card); margin-left: 3px; }
.eb-facade:active .eb-facade-play{ transform: translate(-50%, -50%) scale(.96); }
.eb-stage-slot{ position: absolute; inset: 0; }
.eb-stage-slot:empty{ display: none; }
body.is-board .eb-stage-slot .pvfp{ position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important; max-width: 100% !important;
  max-height: none !important; transform: none !important; margin: 0 !important;
  z-index: 4; }
body.is-board .eb-stage-slot .pvfp-card{ height: 100%; border: 0; border-radius: 0;
  background: #000; box-shadow: none; overflow: hidden; }
body.is-board .eb-stage-slot .pvfp-top,
body.is-board .eb-stage-slot .pvfp-body,
body.is-board .eb-stage-slot .pvfp-seekwrap,
body.is-board .eb-stage-slot .pvfp-resumed{ display: none !important; }
body.is-board .eb-stage-slot .pvfp-media{ position: absolute !important; inset: 0;
  width: 100% !important; height: 100% !important; margin: 0 !important;
  background: #000; }
body.is-board .eb-stage-slot .pvfp-media iframe,
body.is-board .eb-stage-slot .pvfp-bigart{ position: absolute; inset: 0;
  width: 100% !important; height: 100% !important; border: 0; object-fit: cover; }
body.is-board .eb-stage-slot .pvfp-bar{ display: none; }
/* audio-only episodes: native controls ride the bottom of the same frame */
body.is-board .eb-stage--audio .pvfp-bar{ display: block !important;
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 30px 12px 10px;
  background: linear-gradient(transparent, rgba(20, 12, 4, .72)); }
body.is-board .eb-stage--audio .pvfp-bar b,
body.is-board .eb-stage--audio .pvfp-bar small{ display: none; }
body.is-board .eb-stage--audio .pvfp-audio{ display: block !important;
  width: 100%; margin: 0; }
/* case-coverage bar overlays the top of the stage while a clip plays */
.eb-stage .eb-clipbar{ position: absolute; top: 10px; left: 10px; right: 10px;
  z-index: 6; margin: 0; }

/* ============================================================================
   WALL SKIN — Evidence Board Phase 2 (2026-10-14)
   James's investigation wall, designed in Canva — masters DAHYCoXBTSQ (hub),
   DAHYCltuIY0 (episode), DAHYCkNq9TA (hub 390), DAHYCnC50gY (episode 390).
   Append-only over the Phase 0 / v4 styles above: the page ground becomes
   the cork wall, modules become pinned/taped paper pieces. Tokens and the
   tilt system are DESIGN.md §3. String layer: board-string.js + board-v2.css.
   ============================================================================ */
:root{
  --eb-wall:#C7A26B; --eb-wall-deep:#B28D55; --eb-paper:#FAF6EE;
  --eb-manila:#EAD9AC; --eb-ink:#1B1712; --eb-red:#C0391B;
  --eb-bone:#F5EFE3; --eb-tape:rgba(238,222,178,.82); --eb-pin:#B08A3E;
  --eb-faint:#6E5F4B; --eb-veil:rgba(27,23,18,.55);
  --eb-shadow:0 10px 24px rgba(27,23,18,.28);
  --eb-display:'Fraunces','Playfair Display',Georgia,serif;
}
html{ background:var(--eb-wall-deep); }
body.is-board{
  background-color:var(--eb-wall);
  background-image:
    radial-gradient(rgba(27,23,18,.10) 1px, transparent 1.5px),
    radial-gradient(rgba(250,246,238,.13) 1px, transparent 1.5px),
    linear-gradient(180deg, rgba(146,108,58,.38), rgba(146,108,58,0) 360px);
  background-size:26px 26px, 34px 34px, 100% 100%;
  background-position:0 0, 9px 13px, 0 0;
}
/* ---- pinned paper: the shared piece treatment ---- */
body.is-board .eb-hero,
body.is-board .eb-play-card,
body.is-board .eb-empty,
body.is-board .eb-notice{
  background:var(--eb-paper);
  border:1px solid rgba(27,23,18,.18);
  border-radius:6px;
  box-shadow:var(--eb-shadow);
}
body.is-board .eb-board{
  background-color:var(--eb-paper);
  border:1px solid rgba(27,23,18,.18);
  border-radius:6px;
  box-shadow:var(--eb-shadow);
}
/* tape strip (hero + play card) */
body.is-board .eb-hero::before,
body.is-board .eb-play-card::before{
  content:""; position:absolute; top:-13px; left:50%; width:118px; height:26px;
  transform:translateX(-50%) rotate(-2deg);
  background:linear-gradient(105deg, rgba(238,222,178,.6), var(--eb-tape) 42%, rgba(238,222,178,.58));
  border-left:1px dashed rgba(27,23,18,.14); border-right:1px dashed rgba(27,23,18,.14);
  box-shadow:0 2px 5px rgba(27,23,18,.16); pointer-events:none; z-index:3;
}
body.is-board .eb-play-card{ position:relative; }
/* brass pin (board panel) */
body.is-board .eb-board::before{
  content:""; position:absolute; top:-9px; left:50%; width:18px; height:18px;
  transform:translateX(-50%); border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #E8CD8A, var(--eb-pin) 58%, #7A5E26);
  box-shadow:0 3px 6px rgba(27,23,18,.4), inset 0 -2px 3px rgba(27,23,18,.35);
  pointer-events:none; z-index:3;
}
/* ---- case header ---- */
body.is-board .eb-hero{ transform:rotate(-.4deg); padding-top:30px; }
body.is-board .eb-kicker{
  display:inline-block; background:var(--eb-red); color:var(--eb-bone);
  padding:5px 11px; border-radius:3px; letter-spacing:.18em;
  box-shadow:0 3px 8px rgba(27,23,18,.25); transform:rotate(-1deg);
}
body.is-board .eb-title{ font-family:var(--eb-display); font-weight:900; color:var(--eb-ink); letter-spacing:.01em; }
body.is-board .eb-board-title{ color:var(--eb-red); }
body.is-board .eb-board-sub{ font-family:var(--eb-display); font-weight:700; color:var(--eb-ink); }
body.is-board .eb-back{
  background:var(--eb-paper); border:1px solid rgba(27,23,18,.18); border-radius:4px;
  padding:6px 12px; box-shadow:0 4px 10px rgba(27,23,18,.22); transform:rotate(-.5deg);
}
/* top bar pieces sit on the wall */
body.is-board .eb-brand-name{ color:var(--eb-ink); }
body.is-board .eb-share, body.is-board .eb-toggle{
  background:var(--eb-paper); border-color:rgba(27,23,18,.25); color:var(--eb-ink);
  box-shadow:0 3px 8px rgba(27,23,18,.2);
}
/* ---- the stage: centerpiece exhibit, taped on all corners ---- */
body.is-board .eb-stage{
  border-radius:4px; background:#141210;
  box-shadow:0 14px 30px rgba(27,23,18,.42);
  outline:6px solid var(--eb-paper); outline-offset:0;
}
body.is-board .eb-now{ color:var(--eb-red); font-weight:800; }
body.is-board .eb-play-hint{ color:var(--eb-faint); }
/* ---- exhibit cards: pinned evidence ---- */
body.is-board .eb-card{
  background:var(--eb-paper); border:1px solid rgba(27,23,18,.16); border-radius:5px;
  box-shadow:0 6px 16px rgba(27,23,18,.22);
}
body.is-board .eb-exhibits .eb-card:nth-child(4n+1){ transform:rotate(-.75deg); }
body.is-board .eb-exhibits .eb-card:nth-child(4n+2){ transform:rotate(.5deg); }
body.is-board .eb-exhibits .eb-card:nth-child(4n+3){ transform:rotate(-.4deg); }
body.is-board .eb-exhibits .eb-card:nth-child(4n){ transform:rotate(.75deg); }
body.is-board .eb-exhibits .eb-card:hover{ transform:rotate(0deg) translateY(-2px); }
body.is-board .eb-card::before{
  background:radial-gradient(circle at 35% 30%, #E8CD8A, var(--eb-pin) 58%, #7A5E26);
  box-shadow:0 2px 4px rgba(27,23,18,.4), inset 0 -1px 2px rgba(27,23,18,.35);
}
body.is-board .eb-card.active{
  border-color:var(--eb-red);
  box-shadow:0 0 0 2px rgba(192,57,27,.55), 0 12px 26px rgba(27,23,18,.34);
}
body.is-board .eb-card h4{ font-family:var(--eb-display); font-weight:700; color:var(--eb-ink); }
/* ---- chapters: typed index card ---- */
body.is-board .eb-chrows{
  background:repeating-linear-gradient(180deg, transparent, transparent 35px, rgba(27,23,18,.09) 36px);
  border-top:2px solid rgba(192,57,27,.35);
  padding-top:2px;
}
body.is-board .eb-chrow{ background:transparent; border-color:rgba(27,23,18,.14); border-radius:4px; }
body.is-board .eb-chrow.active{
  border-color:var(--eb-red); box-shadow:inset 4px 0 0 var(--eb-red);
  background:rgba(192,57,27,.06);
}
/* ---- hub: pinned case-file cards ---- */
body.is-board .eb-hub-card{
  background:var(--eb-paper); border:1px solid rgba(27,23,18,.16); border-radius:5px;
  box-shadow:0 6px 16px rgba(27,23,18,.22); position:relative;
}
body.is-board .eb-hub-grid .eb-hub-card:nth-child(4n+1){ transform:rotate(-.5deg); }
body.is-board .eb-hub-grid .eb-hub-card:nth-child(4n+2){ transform:rotate(.4deg); }
body.is-board .eb-hub-grid .eb-hub-card:nth-child(4n+3){ transform:rotate(-.3deg); }
body.is-board .eb-hub-grid .eb-hub-card:nth-child(4n){ transform:rotate(.5deg); }
body.is-board .eb-hub-grid .eb-hub-card:hover{ transform:rotate(0deg) translateY(-2px); border-color:var(--eb-red); }
body.is-board .eb-hub-card::after{
  content:""; position:absolute; top:-8px; right:22px; width:15px; height:15px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #E8CD8A, var(--eb-pin) 58%, #7A5E26);
  box-shadow:0 2px 4px rgba(27,23,18,.4), inset 0 -1px 2px rgba(27,23,18,.35);
}
body.is-board .eb-hub-show{ font-family:var(--eb-display); font-weight:900; color:var(--eb-ink); }
body.is-board .eb-hub-title{ color:var(--eb-ink); }
body.is-board .eb-feat{
  background:var(--eb-paper); border:1px solid rgba(27,23,18,.18); border-radius:6px;
  box-shadow:var(--eb-shadow); transform:rotate(-.4deg);
}
body.is-board .eb-feat:hover{ transform:rotate(0deg) translateY(-2px); border-color:var(--eb-red); }
body.is-board .eb-feat-tag{ background:var(--eb-red); color:var(--eb-bone); border-radius:3px; }
body.is-board .eb-feat-title{ font-family:var(--eb-display); font-weight:900; }
/* ---- support clips: small pinned mini-cards ---- */
body.is-board .eb-sup-card{
  background:var(--eb-paper); border:1px solid rgba(27,23,18,.16); border-radius:5px;
  box-shadow:0 6px 16px rgba(27,23,18,.22);
}
body.is-board .eb-support-grid .eb-sup-card:nth-child(3n+1){ transform:rotate(-.5deg); }
body.is-board .eb-support-grid .eb-sup-card:nth-child(3n+2){ transform:rotate(.4deg); }
body.is-board .eb-support-grid .eb-sup-card:nth-child(3n){ transform:rotate(-.3deg); }
body.is-board .eb-support-head h2{ font-family:var(--eb-display); font-weight:900; color:var(--eb-ink); }
/* ---- PWA pieces (classes owned by board-pwa.js) ---- */
body.is-board .eb-install{
  font:inherit; font-size:12.5px; font-weight:800; letter-spacing:.02em;
  background:var(--eb-red); color:var(--eb-bone); border:1px solid rgba(27,23,18,.3);
  border-radius:4px; padding:9px 14px; cursor:pointer;
  box-shadow:0 4px 10px rgba(27,23,18,.28); transform:rotate(-.5deg);
}
body.is-board .eb-install.is-installed{ background:var(--eb-ink); cursor:default; }
body.is-board .eb-install-note{
  background:var(--eb-manila); color:var(--eb-ink); border:1px solid rgba(27,23,18,.2);
  border-radius:5px; box-shadow:var(--eb-shadow); padding:12px 14px;
  font-size:13px; line-height:1.5; transform:rotate(-.3deg);
}
body.is-board .eb-offline{
  margin-top:14px; background:var(--eb-manila); border:1px solid rgba(27,23,18,.2);
  border-radius:5px; box-shadow:var(--eb-shadow); padding:12px 14px; transform:rotate(.3deg);
}
body.is-board .eb-offline-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
body.is-board .eb-offline-label{ font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--eb-ink); }
body.is-board .eb-offline-btn{
  font:inherit; font-size:12.5px; font-weight:800; background:var(--eb-ink); color:var(--eb-bone);
  border:0; border-radius:4px; padding:8px 13px; cursor:pointer;
}
body.is-board .eb-offline-btn:disabled{ opacity:.5; cursor:not-allowed; }
body.is-board .eb-offline-note{ margin:8px 0 0; font-size:12.5px; line-height:1.5; color:var(--eb-ink); }
/* follow toggles read as evidence tags */
body.is-board .eb-follow, body.is-board .eb-hub-follow{
  border-color:var(--eb-red); color:var(--eb-red); border-radius:4px;
}
body.is-board .eb-follow.on, body.is-board .eb-hub-follow.on{ background:var(--eb-ink); border-color:var(--eb-ink); color:var(--eb-bone); }
/* mobile tabs ride the wall */
@media (max-width:899px){
  .eb-tabs{ background:transparent; }
  body.is-board .eb-tabs button{ background:var(--eb-paper); box-shadow:0 3px 8px rgba(27,23,18,.2); }
  body.is-board .eb-tabs button.active{ background:var(--eb-ink); color:var(--eb-bone); }
}
@media (prefers-reduced-motion: reduce){
  body.is-board .eb-hero, body.is-board .eb-feat,
  body.is-board .eb-exhibits .eb-card, body.is-board .eb-hub-grid .eb-hub-card,
  body.is-board .eb-support-grid .eb-sup-card{ transform:none; }
}

/* ============================================================================
   PHASE 3 — MOBILE SINGLE SCROLL (2026-10-14, James's direction)
   The Player | Evidence tab split is retired on phones. One scroll:
   video / now-playing card -> listening strip (speed, sleep, skip, queue)
   -> the evidence wall under it (now-showing stage, board panel with the
   pinned exhibits + chapter index, support) — the mockup's shape
   (DAHYCnC50gY). Desktop (>=900px) is untouched: the tab rules never
   applied there. The tab classes board.js still toggles become inert
   below 900px; the Board-off toggle and the hub keep their behavior.
   ============================================================================ */
@media (max-width:899px){
  /* no tab switch: nothing waits behind a tap */
  body.is-board .eb-tabs{ display:none; }
  /* both columns in the flow, board directly under the player column.
     Guards: hub-mode keeps its hidden player column; board-off keeps the
     board hidden (its own display rule outranks nothing here — these
     selectors simply never match while body.board-off is set). */
  body.is-board:not(.board-off) .eb-grid:not(.hub-mode).tab-player .eb-board-col,
  body.is-board:not(.board-off) .eb-grid:not(.hub-mode).tab-evidence .eb-player-col{
    display:block;
  }
  /* the wall reads as one case file, not two stacked pages: a little air
     between the listening dock and the now-showing card that follows it */
  body.is-board .eb-board-col{ margin-top:6px; }
}
