/* live.css — /live public build-in-public stream page
   Moved out of the template's inline <style> (2026-11-13): inline CSS is outlawed on every
   CLAJAMA page (U10) and colour literals belong in the token layer (U4). Tokens first,
   hex only as a fallback for pages rendered outside the EOS token sheet. */

.live-page { max-width: 1040px; margin: 0 auto; padding: 32px 20px 96px; }

.live-hero { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }

.live-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--color-border, #2a2a38);
  background: var(--color-surface, #101018);
  color: var(--color-text-muted, #8b8b9c);
}
.live-badge.on {
  border-color: var(--color-status-green, #3ddc97);
  background: color-mix(in srgb, var(--color-status-green, #3ddc97) 12%, var(--color-surface, #101018));
  color: var(--color-status-green, #3ddc97);
}

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-text-muted, #555); }
.live-badge.on .live-dot { background: var(--color-status-green, #3ddc97); animation: live-pulse 1.8s infinite; }

@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-status-green, #3ddc97) 47%, transparent); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.live-h1 {
  font-size: clamp(26px, 4.2vw, 40px); line-height: 1.15; letter-spacing: -.02em;
  margin: 6px 0 10px; color: var(--color-text-primary, #e9e9f0); font-weight: 300;
}
.live-sub { color: var(--color-text-secondary, #a9a9ba); font-size: 17px; max-width: 64ch; margin: 0 0 22px; }

.stage {
  position: relative; border: 1px solid var(--color-border, #232334); border-radius: 16px;
  overflow: hidden; background: var(--color-base-raised, #0a0a12); aspect-ratio: 16 / 9;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.stage iframe, .stage video, .stage img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.stage-off {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px;
}
.stage-off h2 { margin: 0; font-size: clamp(18px, 2.6vw, 24px); color: var(--color-text-primary, #e9e9f0); font-weight: 400; }
.stage-off p { margin: 0; color: var(--color-text-muted, #8b8b9c); max-width: 46ch; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
  background: var(--color-accent, #7c9cff); color: var(--color-base, #08080f);
}
.btn.ghost {
  background: transparent; color: var(--color-text-primary, #e9e9f0);
  border: 1px solid var(--color-border, #26263a); font-weight: 600;
}

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 26px 0 0; }
.card {
  border: 1px solid var(--color-border, #20202e); border-radius: 14px; padding: 20px 22px;
  background: var(--color-surface, #0e0e16);
}
.card h3 { margin: 0 0 8px; font-size: 15px; letter-spacing: .02em; color: var(--color-text-primary, #e9e9f0); }
.card p { margin: 0; color: var(--color-text-secondary, #a2a2b3); font-size: 14.5px; line-height: 1.65; }

.prose { margin-top: 34px; color: var(--color-text-secondary, #c3c3d2); font-size: 16px; line-height: 1.75; max-width: 74ch; }
.prose h2 { font-size: 20px; margin: 30px 0 10px; letter-spacing: -.01em; color: var(--color-text-primary, #e9e9f0); font-weight: 400; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 7px 0; }

.disclaimer {
  border-left: 3px solid var(--color-status-warn, #ffb86b);
  padding: 4px 0 4px 16px; margin: 22px 0;
}

.support { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 0; }
.fineprint { color: var(--color-text-muted, #77778a); font-size: 13px; margin-top: 10px; }

.devscreen { margin-top: 22px; }
.devscreen a { color: var(--color-accent, #7c9cff); text-decoration: none; font-size: 14px; }
