:root {
  --live-accent: 160, 160, 160;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: rgb(7,7,7);
  color: rgb(205,205,205);
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  filter: blur(2px);
  transition: opacity var(--ares-motion-deliberate, 900ms) ease, filter var(--ares-motion-deliberate, 900ms) ease;
}

body.is-ready { opacity: 1; filter: blur(0); }
body.is-exiting { opacity: 0; filter: blur(1.5px); }

.live-detail-overlay {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.72), rgba(4,4,4,0.96)),
    var(--live-art) center / cover no-repeat fixed;
}

.live-detail-panel {
  --pointer-x: 50%;
  --pointer-y: 18%;
  position: relative;
  flex: 0 0 auto;
  width: min(980px, 100%);
  overflow: hidden;
  border: 1px solid rgba(var(--live-accent), 0.34);
  background: var(--ares-overlay, rgba(18,18,18,0.94));
  box-shadow: 0 30px 90px rgba(0,0,0,0.76);
  padding: 22px;
}
.live-detail-overlay > .seo-discovery {
  flex: 0 0 auto;
}

.live-detail-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(var(--live-accent),0.14), transparent 32%);
  opacity: 0.62;
  transition: opacity 240ms ease;
}

.live-detail-panel > * { position: relative; z-index: 1; }

.live-signal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgb(118,118,118);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.live-signal-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--live-accent),0.72), rgba(var(--live-accent),0));
}

.live-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: start;
}

.live-detail-visual { position: relative; }

.live-detail-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  border: 1px solid var(--ares-border-soft, rgba(255,255,255,0.10));
  background: #050505;
  filter: grayscale(100%) contrast(1.08);
  transition: filter 500ms ease, transform 500ms ease;
}

.live-detail-visual:hover .live-detail-image { filter: none; transform: scale(1.008); }

.live-detail-index {
  position: absolute;
  right: 9px;
  bottom: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 36px;
  font-weight: normal;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 2px 14px rgba(0,0,0,0.86);
}

.live-detail-kicker,
.live-story-label,
.live-facts dt {
  margin: 0;
  color: rgb(128,128,128);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.live-detail-kicker { margin-bottom: 7px; color: rgb(var(--live-accent)); }

.live-detail-title {
  margin: 0 0 12px;
  color: rgb(225,225,225);
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.live-detail-deck {
  margin: 0 0 17px;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgb(180,180,180);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.65;
  text-transform: uppercase;
}

.live-detail-copy {
  margin: 0 0 14px;
  color: rgb(164,164,164);
  font-size: 13px;
  letter-spacing: var(--ares-copy-letter-spacing, 0.035em);
  line-height: var(--ares-copy-line-height, 1.78);
  text-transform: uppercase;
}

.live-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.live-story-card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,8,8,0.68);
  padding: 12px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.live-story-card:hover {
  border-color: rgba(var(--live-accent),0.46);
  background: rgba(var(--live-accent),0.055);
  transform: translateY(-2px);
}

.live-story-value {
  margin: 5px 0 0;
  color: rgb(184,184,184);
  font-size: 11px;
  letter-spacing: 0.055em;
  line-height: 1.55;
  text-transform: uppercase;
}

.live-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.live-facts dd {
  margin: 4px 0 0;
  color: rgb(178,178,178);
  font-size: 10px;
  letter-spacing: 0.07em;
  line-height: 1.55;
  text-transform: uppercase;
}

.live-detail-actions {
  margin-top: var(--ares-space-5, 20px);
  padding-top: var(--ares-space-4, 16px);
  border-top: 1px solid var(--ares-border-soft, rgba(255,255,255,0.10));
  text-align: center;
}

.live-detail-return {
  display: inline-block;
  border: 1px solid rgba(var(--live-accent),0.42);
  background: rgb(12,12,12);
  color: rgb(180,180,180);
  padding: 11px 17px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color var(--ares-motion-brief, 240ms) ease, background var(--ares-motion-brief, 240ms) ease, color var(--ares-motion-brief, 240ms) ease;
}

.live-detail-return:hover,
.live-detail-return:focus,
.live-detail-return:focus-visible {
  border-color: rgba(var(--live-accent),0.82);
  background: rgba(var(--live-accent),0.09);
  color: rgb(230,230,230);
  outline: none;
}

@media (max-width: 760px) {
  .live-detail-overlay { align-items: flex-start; padding: 14px; background-attachment: scroll; }
  .live-detail-panel { padding: 16px; }
  .live-detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .live-detail-image { max-height: 390px; }
  .live-story-grid, .live-facts { grid-template-columns: 1fr; }
  .live-signal { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  body, .live-detail-image, .live-story-card { transition-duration: 1ms; }
  .live-story-card:hover { transform: none; }
}
