
/* Live with Marc — ARCBYMARC-compatible live interaction surface */
:root {
  --live-cyan: #7af5d3;
  --live-violet: #9c7bff;
  --live-gold: #f4d03f;
  --live-blue: #6ba8ff;
  --live-danger: #ff7a8b;
  --live-panel: rgba(255,255,255,.055);
  --live-border: rgba(255,255,255,.12);
}
html[data-theme="light"] {
  --live-panel: rgba(255,255,255,.76);
  --live-border: rgba(20,28,48,.14);
}
body.live-page { min-height:100vh; }
.live-hero {
  min-height: 76vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;
  padding:150px 24px 90px;
}
.live-hero::before,
.live-hero::after {
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(4px);
  pointer-events:none;
}
.live-hero::before {
  width:48vw; height:48vw; min-width:480px; min-height:480px;
  top:-22vw; left:-12vw;
  background:radial-gradient(circle, rgba(122,245,211,.14), transparent 68%);
}
.live-hero::after {
  width:52vw; height:52vw; min-width:520px; min-height:520px;
  right:-18vw; bottom:-28vw;
  background:radial-gradient(circle, rgba(156,123,255,.16), transparent 68%);
}
.live-hero-inner { max-width:980px; position:relative; z-index:2; }
.live-eyebrow { text-transform:uppercase; letter-spacing:.18em; font-size:.8rem; font-weight:800; color:var(--live-cyan); margin-bottom:18px; }
.live-hero h1 { font-size:clamp(3rem,8vw,6.6rem); margin:0 0 18px; line-height:.95; text-shadow:0 2px 0 rgba(0,0,0,.34),0 18px 50px rgba(0,0,0,.34); }
.live-gradient { background:linear-gradient(135deg,var(--live-cyan),#fff 42%,var(--live-violet) 72%,var(--live-gold)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.live-lead { max-width:800px; margin:0 auto 28px; font-size:clamp(1.05rem,2vw,1.35rem); line-height:1.75; opacity:.9; }
.live-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.live-status-pill { display:inline-flex; align-items:center; gap:10px; margin-bottom:24px; border:1px solid var(--live-border); background:var(--live-panel); box-shadow:0 18px 50px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08); border-radius:999px; padding:10px 16px; font-weight:800; letter-spacing:.06em; }
.live-dot { width:10px; height:10px; border-radius:50%; background:#8791a6; box-shadow:0 0 0 5px rgba(135,145,166,.10); }
.live-status-pill[data-state="live"] .live-dot { background:#4dff9a; box-shadow:0 0 18px rgba(77,255,154,.85),0 0 0 5px rgba(77,255,154,.10); animation:livePulse 1.5s ease-in-out infinite; }
.live-status-pill[data-state="scheduled"] .live-dot { background:var(--live-gold); box-shadow:0 0 18px rgba(244,208,63,.5),0 0 0 5px rgba(244,208,63,.08); }
@keyframes livePulse { 50% { transform:scale(1.3); opacity:.72; } }
.live-section { padding:90px 24px; }
.live-wrap { width:min(1180px,100%); margin:0 auto; }
.live-section-title { text-align:center; max-width:850px; margin:0 auto 44px; }
.live-section-title h2 { font-size:clamp(2rem,5vw,3.5rem); margin-bottom:14px; }
.live-section-title p { line-height:1.75; opacity:.8; }
.session-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:26px; align-items:stretch; }
.live-panel { border:1px solid var(--live-border); background:linear-gradient(145deg,var(--live-panel),rgba(255,255,255,.018)); box-shadow:0 28px 80px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.07); border-radius:26px; padding:30px; backdrop-filter:blur(16px); }
.session-label { text-transform:uppercase; letter-spacing:.16em; font-size:.74rem; font-weight:800; color:var(--live-cyan); margin-bottom:10px; }
.session-date { font-size:clamp(1.55rem,4vw,2.5rem); font-weight:800; margin-bottom:8px; }
.session-topic { font-size:1.12rem; line-height:1.6; margin:20px 0; }
.session-meta { display:grid; gap:9px; font-size:.96rem; opacity:.78; }
.countdown { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:24px; }
.countdown > div { padding:14px 8px; border:1px solid var(--live-border); border-radius:15px; text-align:center; background:rgba(0,0,0,.10); }
.countdown strong { display:block; font-size:1.55rem; }
.countdown span { font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; opacity:.66; }
.stage-shell { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(290px,.6fr); gap:22px; }
.live-stage { min-height:440px; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; padding:0; }
.stage-placeholder { max-width:560px; text-align:center; padding:44px 30px; }
.stage-placeholder .stage-icon { font-size:3rem; margin-bottom:14px; }
.stage-placeholder h3 { font-size:1.9rem; margin-bottom:12px; }
.stage-placeholder p { line-height:1.7; opacity:.8; }
.live-stage iframe { width:100%; min-height:440px; border:0; border-radius:25px; }
.chat-panel { display:flex; flex-direction:column; min-height:440px; padding:0; overflow:hidden; }
.chat-head { padding:20px 22px; border-bottom:1px solid var(--live-border); display:flex; justify-content:space-between; align-items:center; gap:12px; }
.chat-head strong { font-size:1.05rem; }
.chat-connection { font-size:.78rem; opacity:.72; }
.chat-stream { flex:1; min-height:260px; max-height:410px; overflow:auto; padding:20px; display:flex; flex-direction:column; gap:12px; }
.chat-message { border:1px solid var(--live-border); background:rgba(255,255,255,.035); border-radius:16px; padding:12px 14px; line-height:1.5; }
.chat-message.system { border-color:rgba(122,245,211,.22); background:rgba(122,245,211,.06); }
.chat-message .meta { font-size:.72rem; opacity:.62; margin-bottom:4px; }
.chat-compose { padding:16px; border-top:1px solid var(--live-border); display:grid; gap:10px; }
.chat-compose input,.chat-compose textarea,.question-form input,.question-form textarea,.question-form select {
  width:100%; border:1px solid var(--live-border); border-radius:13px; background:rgba(0,0,0,.12); color:inherit; padding:12px 14px; font:inherit; outline:none;
}
html[data-theme="light"] .chat-compose input, html[data-theme="light"] .chat-compose textarea, html[data-theme="light"] .question-form input, html[data-theme="light"] .question-form textarea, html[data-theme="light"] .question-form select { background:rgba(255,255,255,.78); }
.chat-compose textarea,.question-form textarea { resize:vertical; min-height:100px; }
.chat-submit-row { display:flex; gap:10px; align-items:center; justify-content:space-between; }
.chat-note { font-size:.76rem; opacity:.64; line-height:1.45; }
.question-grid { display:grid; grid-template-columns:.78fr 1.22fr; gap:28px; }
.question-copy h3 { font-size:2rem; margin-bottom:16px; }
.question-copy p { line-height:1.75; opacity:.82; }
.question-points { display:grid; gap:12px; margin-top:22px; }
.question-point { padding:14px 16px; border-left:3px solid var(--live-violet); background:rgba(156,123,255,.055); border-radius:0 14px 14px 0; }
.question-form { display:grid; gap:14px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-label { display:grid; gap:7px; font-size:.88rem; font-weight:700; }
.form-help { font-size:.76rem; font-weight:400; opacity:.6; }
.room-values { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.room-value { padding:24px; border:1px solid var(--live-border); border-radius:20px; background:var(--live-panel); }
.room-value strong { display:block; color:var(--live-cyan); margin-bottom:8px; }
.room-value p { margin:0; opacity:.8; line-height:1.65; }
.live-tech-note { margin-top:24px; font-size:.86rem; opacity:.65; text-align:center; line-height:1.65; }
.live-nav-link { color:var(--live-cyan)!important; }
.live-nav-link::after { background:linear-gradient(90deg,var(--live-cyan),var(--live-violet))!important; }
@media (max-width:900px){ .session-grid,.stage-shell,.question-grid { grid-template-columns:1fr; } .room-values { grid-template-columns:1fr; } }
@media (max-width:600px){ .live-hero { padding-top:125px; } .live-panel { padding:22px; border-radius:20px; } .countdown { grid-template-columns:repeat(2,1fr); } .form-row { grid-template-columns:1fr; } .live-section { padding:70px 18px; } }
@media (prefers-reduced-motion:reduce){ .live-status-pill[data-state="live"] .live-dot { animation:none; } }

/* extracted page declarations */
.live-inline-1{text-align:center}
.live-inline-2{max-width:760px;margin:0 auto 24px;line-height:1.7}
.live-inline-3{margin-top:8px}


/* Element / Matrix private gathering integration */
.secure-room-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:24px;align-items:stretch}
.secure-room-card h3,.privacy-card h3{font-size:1.65rem;margin:0 0 20px}
.access-steps{display:grid;gap:14px;margin:22px 0 26px}
.access-step{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;padding:14px;border:1px solid var(--live-border);border-radius:16px;background:rgba(255,255,255,.025)}
.access-step>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,var(--live-cyan),var(--live-violet));color:#071017;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.access-step strong{display:block;margin-bottom:4px}.access-step p{margin:0;opacity:.75;line-height:1.55}
.element-actions{display:flex;gap:10px;flex-wrap:wrap}.btn-small{padding:.65rem 1rem!important;font-size:.88rem!important}
.session-calendar-action{margin-top:10px}
.privacy-list{display:grid;gap:13px;padding-left:1.15rem;margin:20px 0 24px}.privacy-list li{line-height:1.65;opacity:.82}.privacy-list strong{color:var(--live-cyan)}
.privacy-badge{display:inline-flex;padding:10px 14px;border-radius:999px;border:1px solid rgba(122,245,211,.28);background:rgba(122,245,211,.07);font-weight:800;font-size:.82rem;color:var(--live-cyan)}
.consent-row{display:flex;gap:10px;align-items:flex-start;font-size:.82rem;line-height:1.55;opacity:.8}.consent-row input{width:auto!important;margin-top:.2rem;flex:0 0 auto}
@media(max-width:900px){.secure-room-grid{grid-template-columns:1fr}}
