/* Couples Court styles. Reuses the photobooth tokens + base classes AND the debate.css
   components (the camera stage .debate-feeds/.debate-video, score cards, result board,
   pack grid, seg). This file adds the courtroom skin, the evidence camera, and the
   shareable verdict card. Pastel base with a warm gold/navy courtroom accent. */

:root {
  --gold: #C8A85A;
  --gold-soft: #F3E9CF;
  --navy: #2E3856;
  --parchment: #FBF7EE;
}

/* ============ CASE — bring-your-own ============ */
.pack-card--byo { border-style: dashed; }
.court-byo { display: flex; flex-direction: column; align-items: center; gap: var(--s1); width: 100%; }
.court-charge-input { max-width: 420px; }

/* ============ TESTIMONY (courtroom) ============ */
.scene-court .court-charge { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.court-charge-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--gold); text-transform: uppercase;
}
.scene-court .debate-topic { max-width: 26ch; }

/* a party + their exhibits stacked */
.court-side { display: flex; flex-direction: column; gap: 8px; }

/* the role banners read plaintiff/defendant via debate.css [data-side] colors already */

.court-buttons { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; justify-content: center; }
.evidence-btn { border-color: var(--gold); }

/* the 3-2-1 countdown + capture flash, overlaid on the local feed */
.evidence-countdown {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 120px; color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5); background: rgba(46,56,86,0.28);
}
.evidence-countdown.is-on { display: flex; animation: count-pop 0.7s ease both; }
@keyframes count-pop { from { transform: scale(1.5); opacity: 0; } 40% { opacity: 1; } to { transform: scale(1); opacity: 0.9; } }
.evidence-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.evidence-flash.is-on { animation: flash 0.22s ease; }
@keyframes flash { from { opacity: 0.9; } to { opacity: 0; } }

/* exhibit thumbnails under each feed */
.exhibits { display: flex; gap: 6px; min-height: 4px; flex-wrap: wrap; }
.exhibit {
  position: relative; width: 56px; aspect-ratio: 4 / 3; flex: none;
  border: 2px solid var(--gold); border-radius: 4px; overflow: hidden; background: var(--ink);
  animation: exhibit-in 240ms cubic-bezier(.2,1.4,.4,1) both;
}
@keyframes exhibit-in { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.exhibit-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exhibit-tag {
  position: absolute; left: 2px; bottom: 2px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700; color: var(--ink);
  background: var(--gold); padding: 0 4px; border-radius: 2px;
}

/* ============ VERDICT — the shareable court document ============ */
.verdict-card {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: var(--s2);
  padding: var(--s4) var(--s3) var(--s3);
  background: var(--parchment);
  border: 1px solid var(--gold);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft), inset 0 0 0 4px rgba(200,168,90,0.18);
  position: relative;
}
.verdict-seal {
  font-size: 40px; line-height: 1;
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; border: 2px solid var(--gold);
}
.verdict-head {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.26em;
  color: var(--navy); text-transform: uppercase;
}
.verdict-card .debate-topic { color: var(--navy); max-width: 28ch; }
.verdict-card .score-cards { margin-top: 4px; }
.verdict-card .score-card { background: #fff; }
.score-meter-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--ink-soft); text-transform: uppercase; margin-top: -2px;
}
.verdict-exhibits { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.verdict-exhibit { width: 48px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 1px solid var(--gold); }

.verdict-ruling {
  font-size: 16px; line-height: 1.5; color: var(--navy); text-align: center;
  max-width: 52ch; font-style: italic;
}
.verdict-ruling::before { content: "“"; }
.verdict-ruling::after { content: "”"; }

.verdict-sentence {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 10px 16px; border: 2px dashed var(--gold); border-radius: var(--r-ctrl);
  background: rgba(200,168,90,0.08);
}
.verdict-sentence-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--gold); text-transform: uppercase;
}
.verdict-sentence-text { font-weight: 700; color: var(--navy); }

/* ============ RULING breakdown ============ */
.breakdown-winner { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ============ responsive ============ */
@media (max-width: 720px) {
  .verdict-card .score-cards { grid-template-columns: 1fr; }
  .evidence-countdown { font-size: 84px; }
}
