/* v1.6.0 premium attendee layer: register page, prep page, waiting room, live-room polish.
   Loaded after room.css (+ money.css in the room). One accent (--accent red), graphite + warm white, Inter. */
:root { --pm-bg: #f6f6f3; --pm-card: #fff; --pm-line: #e7e6e1; --pm-ink: #0f1115; --pm-ink-2: #565b66; --pm-ink-3: #8b909a;
  --pm-shadow: 0 1px 2px rgba(16,17,20,.04), 0 10px 30px rgba(16,17,20,.06); --pm-r: 16px; --pm-accent-soft: #fdecee; }
body.pm { background: var(--pm-bg); color: var(--pm-ink); min-height: 100vh; margin: 0; display: block; padding: 0; }
.pm-muted { color: var(--pm-ink-2); font-size: 14px; line-height: 1.5; }
.pm-muted.small, .pm .small { font-size: 12.5px; }

/* Brand + nav */
.pm-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.01em; font-size: 15px; color: var(--pm-ink); }
.pm-logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--pm-ink); color: #fff; font-size: 13px; font-weight: 800; box-shadow: inset 0 -2px 0 var(--accent); }
.pm-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(18px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.pm-nav-r { display: flex; gap: 12px; align-items: center; }
.pm-nav-r .tag { background: #fff; border: 1px solid var(--pm-line); color: var(--pm-ink-2); font-size: 12px; padding: 4px 10px; border-radius: 999px; letter-spacing: 0; text-transform: none; }
.pm-nav-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--pm-ink-2); }
.pm-nav-live i, .pm-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(200,16,46,.14); display: inline-block; }

/* Shared pieces */
.pm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--accent); text-transform: none; }
.pm-card { background: var(--pm-card); border: 1px solid var(--pm-line); border-radius: var(--pm-r); padding: 22px 24px; box-shadow: var(--pm-shadow); }
.pm-card h2 { font-size: 15px; font-weight: 700; margin: 0 0 14px; letter-spacing: -.01em; }
.pm-ai { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; background: var(--pm-accent-soft); color: var(--accent); vertical-align: 2px; margin-left: 4px; }
.pm-cassie-av { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px;
  background: radial-gradient(circle at 30% 25%, #ff6b81 0%, var(--accent) 45%, #5a0716 100%); box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(200,16,46,.25); }
.pm-cassie-av.sm { width: 28px; height: 28px; font-size: 12px; box-shadow: 0 0 0 2px #fff; }
.pm-cassie-av.xs { width: 18px; height: 18px; font-size: 9.5px; box-shadow: none; }

.pm-host { display: flex; gap: 14px; align-items: center; }
.pm-host-ph { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: #e8e4de; display: grid; place-items: center; font-weight: 700; box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(0,0,0,.12); }
.pm-host-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; display: block; }
.pm-host-t { display: grid; gap: 1px; } .pm-host-t b { font-size: 15px; } .pm-host-t span { font-size: 13px; color: var(--pm-ink-2); }
.pm-host-k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pm-ink-3); }
.pm-host.big { flex-direction: column; align-items: flex-start; gap: 16px; }
.pm-host.big .pm-host-ph { width: 128px; height: 128px; box-shadow: 0 0 0 4px #fff, 0 12px 30px rgba(0,0,0,.16); }
.pm-host.big .pm-host-t b { font-size: 18px; }

.pm-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.pm-timeline::before { content: ""; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 1px; background: var(--pm-line); }
.pm-timeline li { position: relative; display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 9px 10px 9px 0; font-size: 14px; border-radius: 10px; }
.pm-timeline li::before { content: ""; position: absolute; left: 35px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff; border: 2px solid #c9c7c0; }
.pm-tl-t { font-variant-numeric: tabular-nums; color: var(--pm-ink-3); font-size: 12.5px; text-align: left; padding-left: 0; width: 30px; }
.pm-tl-n { padding-left: 4px; }
.pm-timeline li.mine { background: var(--pm-accent-soft); }
.pm-timeline li.mine::before { border-color: var(--accent); background: var(--accent); }
.pm-timeline li.mine .pm-tl-n { font-weight: 600; }
.pm-timeline li em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 999px; margin-right: 6px; }

.pm-casi { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--pm-ink-2); text-decoration: none; padding: 6px 12px 6px 6px; border: 1px solid var(--pm-line); border-radius: 999px; background: #fff; transition: border-color .15s, color .15s; }
.pm-casi:hover { border-color: var(--accent); color: var(--pm-ink); }
.pm-casi i { font-style: normal; color: var(--pm-ink-3); }
.pm-casi.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #cfd2d6; margin-left: 12px; padding: 3px 10px 3px 4px; font-size: 12px; white-space: nowrap; }
.pm-casi.dark:hover { color: #fff; border-color: rgba(255,255,255,.3); }

/* ---------- Register ---------- */
.pm-reg { max-width: 1240px; margin: 0 auto; padding: 12px clamp(18px, 4vw, 48px) 64px; display: grid; gap: 28px 56px;
  grid-template-columns: minmax(0, 1fr) 440px; grid-template-areas: "hero form" "more form"; align-items: start; }
.pm-reg-hero { grid-area: hero; padding-top: 28px; }
.pm-reg-form { grid-area: form; position: sticky; top: 20px; }
.pm-reg-more { grid-area: more; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.pm-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 14px 0 14px; }
.pm-tagline { font-size: 18px; line-height: 1.5; color: var(--pm-ink-2); max-width: 560px; margin: 0 0 26px; }
.pm-when { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 28px; }
.pm-when-chip { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--pm-line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--pm-shadow); }
.pm-when-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pm-ink-3); }
.pm-when-chip b { font-size: 15px; } .pm-when-in { font-size: 13px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.pm-form { background: #fff; border: 1px solid var(--pm-line); border-radius: 20px; padding: 28px; box-shadow: 0 1px 2px rgba(16,17,20,.04), 0 24px 60px rgba(16,17,20,.10); display: grid; gap: 14px; }
.pm-form-h { display: flex; justify-content: space-between; align-items: baseline; }
.pm-form-h h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.pm-step { font-size: 12px; color: var(--pm-ink-3); font-weight: 600; }
.pm-form-sub { margin: -6px 0 4px; }
.pm-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--pm-ink); }
.pm-field i { font-style: normal; font-weight: 400; color: var(--pm-ink-3); }
.pm-field input, .pm-field select, .pm-qbox textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--pm-ink); background: #fbfbf9; border: 1px solid var(--pm-line); border-radius: 11px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; width: 100%; }
.pm-field input:focus, .pm-field select:focus, .pm-qbox textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(200,16,46,.10); }
.pm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--pm-ink-2); } .pm-check input { margin-top: 3px; }
.pm-more { border: 1px dashed #d9d7d0; border-radius: 12px; padding: 0 14px; }
.pm-more[open] { padding-bottom: 14px; border-style: solid; background: #fcfcfa; }
.pm-more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 13px 0; font-size: 14px; font-weight: 600; }
.pm-more summary::-webkit-details-marker { display: none; }
.pm-more summary i { font-style: normal; font-weight: 500; font-size: 12px; color: var(--pm-ink-3); }
.pm-more summary::after { content: "+"; font-size: 18px; color: var(--pm-ink-3); margin-left: 8px; }
.pm-more[open] summary::after { content: "–"; }
.pm-more summary span { margin-right: auto; }
.pm-more .pm-field { margin-top: 10px; }
.pm-cta { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; border: 0; border-radius: 12px; padding: 15px 18px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px rgba(200,16,46,.28); transition: transform .12s, box-shadow .12s, background .12s; }
.pm-cta:hover { background: #b00e28; transform: translateY(-1px); } .pm-cta:disabled { opacity: .75; transform: none; }
.pm-cta.busy svg { display: none; }
.pm-trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; color: var(--pm-ink-3); }
.pm-trust li { display: inline-flex; align-items: center; gap: 5px; } .pm-trust svg { width: 13px; height: 13px; fill: currentColor; }
.pm .err { color: var(--bad); font-size: 13px; margin: 0; min-height: 0; } .pm .err:empty { display: none; }
.pm-cassie-card { display: grid; gap: 16px; align-content: start; }
.pm-as-h { display: flex; gap: 12px; align-items: center; } .pm-as-h > div { display: grid; gap: 1px; } .pm-as-h b { font-size: 15px; } .pm-as-h > div > span { font-size: 12.5px; color: var(--pm-ink-2); }
.pm-does { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pm-does li { display: grid; gap: 2px; padding-left: 26px; position: relative; font-size: 14px; }
.pm-does li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--pm-accent-soft); box-shadow: inset 0 0 0 4px var(--pm-accent-soft), inset 0 0 0 7px var(--accent); }
.pm-does li span { color: var(--pm-ink-2); font-size: 13px; }
.pm-cassie-card .pm-casi { justify-self: start; }

/* ---------- Prep page + waiting room ---------- */
.pm-root { display: block; min-height: 100vh; }
.pm-loading { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 60vh; color: var(--pm-ink-2); }
.overlay:has(> .card.pm-full) { padding: 0; place-items: stretch; background: var(--pm-bg); }
.card.pm-full { max-width: none; width: 100%; min-height: 100%; border: 0; border-radius: 0; padding: 0; background: var(--pm-bg); box-shadow: none; }
.pm-lobby { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 40px; color: var(--pm-ink); }
.pm-lbar { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.pm-lbar-t { font-weight: 600; font-size: 14px; color: var(--pm-ink-2); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 1px solid var(--pm-line); padding-left: 16px; }
.pm-state { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--pm-line); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pm-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; }
.pm-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: .5; animation: pmpulse 1.8s ease-out infinite; }
@keyframes pmpulse { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
.pm-lhero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--pm-line); border-radius: 24px; padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--pm-shadow); position: relative; overflow: hidden; }
.pm-lhero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,.08), transparent 65%); pointer-events: none; }
.pm-hey { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 10px 0 10px; }
.pm-line { font-size: 16.5px; line-height: 1.55; color: var(--pm-ink-2); max-width: 620px; margin: 0 0 22px; }
.pm-count { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 22px; }
.pm-count-n { font-size: clamp(54px, 8vw, 88px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.pm-count-l { font-size: 14px; color: var(--pm-ink-2); max-width: 240px; line-height: 1.45; }
.pm-lhero-r { position: relative; display: grid; gap: 16px; justify-items: start; padding-left: 28px; border-left: 1px solid var(--pm-line); }
.pm-tag { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--pm-ink-2); }
.pm-people { display: flex; align-items: center; gap: 14px; }
.pm-pts { display: flex; } .pm-pt { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; margin-left: -8px;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 60%), var(--c, #6b7280); box-shadow: 0 0 0 3px #fff; }
.pm-pt:first-child { margin-left: 0; } .pm-pt.me { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent); } .pm-pt.more { background: #eceae4; color: var(--pm-ink-2); }
.pm-people-t { display: grid; font-size: 13px; } .pm-people-t span { color: var(--pm-ink-2); }
.pm-note { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 14px; } .pm-note svg { width: 16px; height: 16px; fill: var(--accent); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.pm-btn { padding: 11px 16px; border-radius: 11px; font-size: 14px; } .pm-btn svg { width: 16px; height: 16px; fill: currentColor; }
.pm-lgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.pm-col { display: grid; gap: 20px; }
.pm-qbox { display: grid; gap: 10px; margin-top: 10px; } .pm-qbox .btn { justify-self: start; }
.pm-quiet { padding: 4px 6px; } .pm-quiet-h { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pm-ink-3); margin-bottom: 10px; }
.pm-quiet-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pm-ghost { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--pm-line); background: transparent; color: var(--pm-ink-2); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 500; text-decoration: none; }
.pm-ghost:hover { background: #fff; color: var(--pm-ink); } .pm-ghost svg { width: 15px; height: 15px; fill: currentColor; }
.pm-net { display: inline-flex; gap: 7px; align-items: center; font-size: 12.5px; color: var(--pm-ink-3); margin-left: auto; }
.pm-net i { width: 8px; height: 8px; border-radius: 50%; background: #c9c7c0; } .pm-net.good i { background: var(--ok); } .pm-net.slow i { background: var(--warn); }
.pm .tc-vid { width: 220px; border-radius: 12px; margin-top: 10px; background: #000; }
.pm-assistant { padding: 0; overflow: hidden; display: grid; }
.pm-assistant .pm-as-h { padding: 16px 20px; border-bottom: 1px solid var(--pm-line); }
.pm-online { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--pm-ink-2); } .pm-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pm-as-body { padding: 0; }
.pm-lfoot { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; margin-top: 26px; }
.pm .bubble { margin: 0 0 14px; }

/* Cassie thread (prep / waiting / replay) */
.pm .lc, .lc { gap: 0; }
.pm .lc-msgs { height: 360px; background: #fbfbf9; border-radius: 0; padding: 18px 18px 8px; gap: 14px; }
.lc-m { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.lc-m .lc-b { display: grid; gap: 3px; max-width: 86%; }
.lc-m .lc-b b { font-size: 11.5px; font-weight: 600; color: var(--pm-ink-3); }
.lc-m.ai .lc-b span { background: #fff; border: 1px solid var(--pm-line); border-radius: 4px 14px 14px 14px; padding: 10px 13px; color: var(--pm-ink); box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.lc-m.me { justify-content: flex-end; } .lc-m.me .lc-b { justify-items: end; }
.lc-m.me .lc-b span { background: var(--pm-ink); color: #fff; border-radius: 14px 4px 14px 14px; padding: 10px 13px; }
.lc-dots { display: inline-flex !important; gap: 4px; align-items: center; padding: 12px 14px !important; }
.lc-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--pm-ink-3); animation: pmdot 1.2s infinite ease-in-out; }
.lc-dots i:nth-child(2) { animation-delay: .15s; } .lc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pmdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.lc-sug { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 18px 0; background: #fbfbf9; }
.lc-sug button { border: 1px solid var(--pm-line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; color: var(--pm-ink); }
.lc-sug button:hover { border-color: var(--accent); color: var(--accent); }
.pm .lc-say, .lc-say { padding: 12px 14px; border-top: 1px solid var(--pm-line); background: #fff; gap: 8px; }
.lc-say input { flex: 1; font: inherit; font-size: 14px; border: 1px solid var(--pm-line); border-radius: 11px; padding: 11px 13px; outline: none; background: #fbfbf9; }
.lc-say input:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(200,16,46,.10); }
.lc-say .btn { border-radius: 11px; padding: 0 14px; }
.lc-foot { padding: 0 16px 14px; background: #fff; font-size: 12.5px; flex-wrap: wrap; }

/* ---------- Live room polish (ids and behaviour unchanged) ---------- */
body.room { background: #0d0e10; }
body.room .topbar { background: #141518; border-bottom: 1px solid rgba(255,255,255,.06); }
body.room .tb-title { font-size: 13.5px; letter-spacing: -.005em; }
body.room .live-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: rgba(229,72,77,.16); color: #ff6b6f; letter-spacing: .08em; }
body.room .live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b42; animation: blink 1.4s infinite; }
body.room .live-badge.ondemand { background: rgba(255,255,255,.08); color: #cfd2d6; } body.room .live-badge.ondemand::before { background: #8b909a; animation: none; }
body.room .clock { font-weight: 500; }
body.room .stage { padding: 12px; gap: 10px; }
body.room .speaker { border-radius: 14px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 24px 60px rgba(0,0,0,.55); }
body.room .speaker::after { content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.35)); }
body.room .name-tag { z-index: 2; display: inline-flex; gap: 8px; align-items: center; background: rgba(15,16,19,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 8px; padding: 6px 10px; font-weight: 600; font-size: 13px; }
body.room .name-tag::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--accent); }
body.room .net { z-index: 2; background: rgba(15,16,19,.55); backdrop-filter: blur(8px); border-radius: 8px; }
body.room .join-audio, body.room .cta, body.room .poll, body.room .reconnect, body.room .share-chip { z-index: 3; }
body.room .join-audio { border-radius: 12px; padding: 12px 18px; }
body.room .tile { border-radius: 12px; background: linear-gradient(160deg, #26272c, #1a1b1f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
body.room .tile .av { width: 48px; height: 48px; font-size: 16px; background-image: radial-gradient(circle at 30% 25%, rgba(255,255,255,.3), transparent 60%) !important; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
body.room .tile .tn { background: rgba(0,0,0,.45); padding: 2px 7px; border-radius: 6px; left: 6px; bottom: 6px; }
body.room .tile .tn svg { color: #ff6b6f; }
body.room .tile.me { outline: 2px solid var(--accent); }
/* Panel */
body.room .panel { background: #fff; }
body.room .tabs { padding: 6px 8px; gap: 4px; border-bottom: 1px solid var(--line); }
body.room .tabs button { border-radius: 8px; border-bottom: 0; font-weight: 600; font-size: 12.5px; }
body.room .tabs button.on { background: #f1f1ee; color: var(--pm-ink); }
body.room .threads { padding: 10px 12px; gap: 6px; }
body.room .threads button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-weight: 600; }
body.room .threads button.on { background: var(--pm-accent-soft); }
body.room .threads .pm-cassie-av.xs { width: 16px; height: 16px; font-size: 9px; }
body.room .msgs { padding: 12px 14px; gap: 12px; background: #fcfcfa; }
body.room .msg { grid-template-columns: 30px 1fr; }
body.room .msg .av { width: 30px; height: 30px; border-radius: 50%; background-image: radial-gradient(circle at 30% 25%, rgba(255,255,255,.3), transparent 60%) !important; }
body.room .msg.cassie .av { background: radial-gradient(circle at 30% 25%, #ff6b81 0%, var(--accent) 45%, #5a0716 100%) !important; font-weight: 800; font-size: 12px; }
body.room .msg.hostmsg .av { background-color: #111 !important; }
body.room .msg .meta { margin-bottom: 3px; }
body.room .msg .body { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; padding: 7px 11px; max-width: 100%; }
body.room .msg.me .body { background: #17181b; color: #fff; border-color: #17181b; }
body.room .msg.cassie .body { border-color: #f3c9d0; background: #fff8f9; }
body.room .msg.hostmsg .body { background: #f1f1ee; }
body.room .msg .body.emoji { background: none; border: 0; padding: 0; }
body.room .typing { display: flex; align-items: center; gap: 4px; padding: 4px 14px; font-size: 12px; color: var(--pm-ink-3); }
body.room .typing .lc-dots { padding: 0 4px 0 0 !important; }
body.room .say { padding: 10px 12px 12px; }
body.room .say textarea { border-radius: 12px; padding: 10px 42px 10px 12px; background: #fbfbf9; }
body.room .say textarea:focus { background: #fff; box-shadow: 0 0 0 4px rgba(200,16,46,.08); }
body.room .say .send { right: 20px; bottom: 21px; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; }
body.room .say .send svg { width: 15px; height: 15px; }
body.room .human { padding: 6px 14px; display: flex; gap: 10px; align-items: center; font-size: 12px; }
body.room .people li { padding: 8px 14px; } body.room .people .av { border-radius: 50%; }
body.room .res li { margin: 10px 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: var(--pm-shadow); border-color: var(--pm-line); }
body.room .res li::before { content: ""; flex: 0 0 34px; height: 34px; border-radius: 9px; background: var(--pm-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c8102e' d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m7 1.5V9h5.5z'/%3E%3C/svg%3E") center / 16px no-repeat; }
body.room .res li a { background: var(--pm-ink); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 12.5px; }
body.room .res .saved { color: var(--ok); font-size: 11.5px; }
/* Offer card */
body.room .offer-card, .pm .offer-card { border-radius: 16px; border-color: var(--pm-line); box-shadow: 0 1px 2px rgba(16,17,20,.04), 0 16px 40px rgba(16,17,20,.10); }
body.room .oc-b { padding: 16px 18px 18px; } body.room .oc-b h3 { font-size: 18px; letter-spacing: -.02em; }
body.room .benefits { list-style: none; padding: 0; display: grid; gap: 6px; }
body.room .benefits li { position: relative; padding-left: 22px; }
body.room .benefits li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--pm-accent-soft); color: var(--accent); font-size: 10px; font-weight: 800; display: grid; place-items: center; }
body.room .price { font-size: 28px; letter-spacing: -.03em; font-weight: 800; }
body.room .opts { gap: 8px; } body.room .opts label { border-radius: 11px; padding: 10px 12px; font-size: 13px; }
body.room .offer-card #buy { width: 100%; justify-content: center; padding: 12px 16px; font-size: 15px; border-radius: 11px; box-shadow: 0 8px 20px rgba(200,16,46,.25); }
body.room .offer-card .row { flex-wrap: wrap; }
body.room .welcome-card { border-radius: 16px; padding: 18px 20px; }
/* Bottom bar */
body.room .bottombar { background: #141518; border-top: 1px solid rgba(255,255,255,.06); }
body.room .bb { border-radius: 10px; color: #d9dbdf; font-weight: 500; }
body.room .bb:hover:not(:disabled) { background: rgba(255,255,255,.07); }
body.room .leave { border-radius: 10px; padding: 9px 20px; background: #e5484d; letter-spacing: .01em; }
body.room .leave:hover { background: #cf3237; }
/* Overlays (missed / ended / left / link not found) */
body.room .overlay { background: radial-gradient(circle at 50% 0%, #1c1d22, #0d0e10 70%); }
body.room .overlay .card:not(.pm-full) { border-radius: 20px; padding: 36px; text-align: left; box-shadow: 0 30px 80px rgba(0,0,0,.45); border: 0; }
body.room .overlay .card:not(.pm-full) h1 { font-size: 24px; letter-spacing: -.02em; }
body.room .overlay .card:not(.pm-full) .big { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; }
body.room .overlay .card:not(.pm-full) .btn.primary { padding: 12px 18px; border-radius: 11px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .pm-casi.dark .pm-casi-long { display: none; } }
@media (max-width: 980px) {
  .pm-reg { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "form" "more"; gap: 22px; }
  .pm-reg-form { position: static; } .pm-reg-more { grid-template-columns: 1fr; } .pm-reg-hero { padding-top: 6px; }
  .pm-lhero { grid-template-columns: 1fr; } .pm-lhero-r { border-left: 0; padding-left: 0; border-top: 1px solid var(--pm-line); padding-top: 20px; }
  .pm-host.big { flex-direction: row; } .pm-host.big .pm-host-ph { width: 72px; height: 72px; }
  .pm-lgrid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pm-nav { padding: 14px 16px; } .pm-nav-r .tag { display: none; }
  .pm-reg { padding: 0 16px 40px; } .pm-title { font-size: 36px; } .pm-tagline { font-size: 16px; margin-bottom: 18px; }
  .pm-form { padding: 20px; border-radius: 18px; } .pm-two { grid-template-columns: 1fr; }
  .pm-casi-long { display: none; }
  .pm-lbar-t { display: none; } .pm-lbar { justify-content: space-between; }
  .pm-lhero { border-radius: 18px; padding: 22px; } .pm-count { gap: 8px; } .pm-net { margin-left: 0; }
  .pm .lc-msgs { height: 300px; }
  body.room .pm-casi.dark { display: none; }
  body.room .stage { padding: 6px 6px 70px; }
}

/* ======================================================================================================================
   v1.7.0 intelligence layer (docs/DEMO-EXPERIENCE-V2.md): front desk, your seat, owner mirror, recap = graphite OS;
   waiting room + Live Room stay the white/graphite meeting. Classes .ix-*, components in app/cassie.js + app/frontdesk.js.
   ====================================================================================================================== */
.ix { --ix-bg: #0b0c0e; --ix-s1: #121317; --ix-s2: #181a1f; --ix-s3: #20232a; --ix-line: rgba(255,255,255,.08); --ix-line-2: rgba(255,255,255,.14);
  --ix-ink: #f3f3f1; --ix-ink-2: #a9adb5; --ix-ink-3: #6f747d; --ix-acc-soft: rgba(200,16,46,.16); color: var(--ix-ink); font-family: Inter, system-ui, sans-serif; }
body.ix-body { background: #0b0c0e; color: #f3f3f1; }
body.ix-body.pm-regpage { background: #0b0c0e; }
body.ix-locked { overflow: hidden; }
.ix-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ix-ink-3); }
.ix-sub { font-size: 12.5px; line-height: 1.5; color: var(--ix-ink-3); margin: 0; }
.ix-lead { font-size: 16px; line-height: 1.55; color: var(--ix-ink-2); margin: 0 0 18px; max-width: 560px; }
.ix-brand { color: var(--ix-ink); } .ix .pm-logo { background: #fff; color: #0b0c0e; }
.ix-top { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.ix-top-t { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; color: var(--ix-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 1px solid var(--ix-line); padding-left: 16px; }
.ix-link { background: none; border: 0; color: var(--ix-ink-2); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 2px; }
.ix-link:hover { color: var(--ix-ink); }
.ix-card { background: var(--ix-s1); border: 1px solid var(--ix-line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 12px; align-content: start; }
.ix-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ix-btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; background: var(--accent); color: #fff; border: 0; border-radius: 12px; padding: 12px 18px; font: inherit; font-size: 14.5px; font-weight: 700;
  text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px rgba(200,16,46,.28); transition: transform .15s, box-shadow .15s; }
.ix-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(200,16,46,.36); }
.ix-btn svg { width: 16px; height: 16px; fill: currentColor; }
.ix-btn.ghost { background: transparent; border: 1px solid var(--ix-line-2); box-shadow: none; color: var(--ix-ink); }
.ix-btn.light { background: #fff; color: #0b0c0e; box-shadow: none; }
.ix-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.ix-tag { font-size: 11px; font-weight: 600; color: var(--ix-ink-2); border: 1px solid var(--ix-line-2); border-radius: 999px; padding: 3px 9px; }
.ix .pm-ai { background: var(--ix-acc-soft); color: #ff8a9b; }
.ix .pm-cassie-av { box-shadow: 0 0 0 2px var(--ix-bg), 0 4px 16px rgba(200,16,46,.35); }
.ix .pm-host-t span { color: var(--ix-ink-2); } .ix .pm-host-k { color: var(--ix-ink-3); } .ix .pm-host-ph { box-shadow: 0 0 0 3px var(--ix-s1); }
.ix .pm-timeline::before { background: var(--ix-line-2); }
.ix .pm-timeline li { color: var(--ix-ink); } .ix .pm-tl-t { color: var(--ix-ink-3); }
.ix .pm-timeline li::before { background: var(--ix-s1); border-color: #4a4e57; }
.ix .pm-timeline li.mine { background: var(--ix-acc-soft); }
.ix .pm-muted { color: var(--ix-ink-2); }
@keyframes ixin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ixflash { 0% { box-shadow: 0 0 0 0 rgba(200,16,46,.55); } 100% { box-shadow: 0 0 0 14px rgba(200,16,46,0); } }
.ix-new { animation: ixflash .9s ease-out; } .ix-flash { animation: ixflash 1.1s ease-out; }

/* Front desk */
.ix-fd { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 40px; min-height: 100vh; }
.ix-fd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.ix-chat { background: var(--ix-s1); border: 1px solid var(--ix-line); border-radius: 22px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto;
  box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.ix-chat-h { display: flex; gap: 12px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--ix-line); }
.ix-chat-h > div { display: grid; gap: 2px; } .ix-chat-h b { font-size: 15px; } .ix-chat-h > div > span { font-size: 12.5px; color: var(--ix-ink-2); }
.ix-online { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ix-ink-2); } .ix-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(35,165,90,.18); }
.ix-thread { list-style: none; margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 14px; height: min(52vh, 480px); overflow-y: auto; scroll-behavior: smooth; }
.ix-m { display: flex; gap: 10px; align-items: flex-start; animation: ixin .35s ease-out; font-size: 15px; line-height: 1.55; }
.ix-m > div { display: grid; gap: 4px; max-width: 82%; } .ix-m b { font-size: 11.5px; font-weight: 600; color: var(--ix-ink-3); }
.ix-m p { margin: 0; background: var(--ix-s3); border: 1px solid var(--ix-line); padding: 11px 14px; border-radius: 4px 16px 16px 16px; }
.ix-m.me { justify-content: flex-end; } .ix-m.me p { background: #fff; color: #0b0c0e; border: 0; border-radius: 16px 4px 16px 16px; max-width: 80%; }
.ix-m .lc-dots i { background: var(--ix-ink-2); }
.ix-reply { padding: 14px 18px; border-top: 1px solid var(--ix-line); display: grid; gap: 10px; min-height: 76px; align-content: center; }
.ix-say { display: flex; gap: 8px; }
.ix-say input { flex: 1; font: inherit; font-size: 15px; color: var(--ix-ink); background: var(--ix-s2); border: 1px solid var(--ix-line-2); border-radius: 12px; padding: 13px 14px; outline: none; }
.ix-say input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,16,46,.18); }
.ix-send { width: 48px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ix-skip { justify-self: start; background: none; border: 1px solid var(--ix-line-2); color: var(--ix-ink-2); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.ix-note { margin: 0; font-size: 11.5px; color: var(--ix-ink-3); }
.ix-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-chips button { background: var(--ix-s2); border: 1px solid var(--ix-line-2); color: var(--ix-ink); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; animation: ixin .3s ease-out both; transition: border-color .15s, background .15s; }
.ix-chips button:hover { border-color: var(--accent); background: var(--ix-acc-soft); }
.ix-steps { list-style: none; margin: 0; padding: 14px 18px 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--ix-line); background: var(--ix-bg); }
.ix-steps li { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.4; color: var(--ix-ink-3); }
.ix-steps b { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--ix-s3); color: var(--ix-ink); font-size: 11px; }
.ix-steps em { display: block; font-style: normal; font-weight: 600; color: var(--ix-ink-2); }
.ix-prep { position: sticky; top: 16px; background: linear-gradient(180deg, var(--ix-s1), var(--ix-bg)); border: 1px solid var(--ix-line); border-radius: 22px; padding: 22px; display: grid; gap: 16px; }
.ix-prep-k { display: flex; gap: 8px; align-items: center; color: var(--ix-ink-2); }
.ix-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ix-line-2); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.ix-prep.ready .ix-spin { animation: none; border-color: var(--ok); background: var(--ok); }
.ix-seat { background: var(--ix-s2); border: 1px solid var(--ix-line-2); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; position: relative; overflow: hidden; }
.ix-seat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,.35), transparent 70%); }
.ix-seat b { font-size: 19px; letter-spacing: -.01em; } .ix-seat > span:last-child { font-size: 13px; color: var(--ix-ink-2); }
.ix-wait { color: var(--ix-ink-3) !important; font-weight: 500 !important; }
.ix-prep-row { display: grid; gap: 5px; padding-top: 14px; border-top: 1px solid var(--ix-line); }
.ix-prep-row > b { font-size: 15px; } .ix-prep-row > span:not(.ix-k):not(.ix-sub) { font-size: 12.5px; color: var(--ix-ink-2); }
.ix-prep .pm-timeline li { padding: 6px 8px 6px 0; font-size: 13px; grid-template-columns: 46px 1fr auto; }
.ix-prep .pm-timeline::before { left: 33px; } .ix-prep .pm-timeline li::before { left: 29px; }
.ix-rem > div { display: flex; flex-wrap: wrap; gap: 6px; }
.ix-pill { font-size: 12px; border: 1px solid var(--ix-line-2); color: var(--ix-ink-3); border-radius: 999px; padding: 4px 10px; }
.ix-pill.on { color: #7ee2a8; border-color: rgba(35,165,90,.45); background: rgba(35,165,90,.1); }
.ix-prep-host { padding-top: 14px; border-top: 1px solid var(--ix-line); }

/* Seat page */
.ix-seatpage { min-height: 100vh; }
.ix-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 40px; }
.ix-hero { background: radial-gradient(120% 140% at 100% 0%, rgba(200,16,46,.18), transparent 50%), var(--ix-s1); border: 1px solid var(--ix-line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.ix-seat-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: center; }
.ix-hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -.035em; margin: 10px 0 12px; font-weight: 800; }
.ix-count { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; } .ix-count b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .ix-count span { color: var(--ix-ink-2); }
.ix-seat-host { padding-left: 24px; border-left: 1px solid var(--ix-line); }
.ix-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.ix-col { display: grid; gap: 18px; }
.ix-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; margin-top: 24px; }
.ix .pm-casi.dark { margin-left: 0; }
.ix-facts { list-style: none; margin: 0; padding: 0; display: grid; }
.ix-facts li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ix-line); font-size: 14px; animation: ixin .3s ease-out both; }
.ix-facts li:last-child { border-bottom: 0; } .ix-facts span { color: var(--ix-ink-3); font-size: 13px; } .ix-facts b { font-weight: 600; }
.ix-facts li.pin b { color: #ff8a9b; } .ix-facts.tight li { grid-template-columns: 80px 1fr; padding: 6px 0; }
.ix-live { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; color: var(--ix-ink-2); } .ix-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s infinite; }
.ix-told p { margin: 6px 0 0; font-size: 13.5px; color: var(--ix-ink-2); font-style: italic; }
.ix .pm-assistant { background: var(--ix-s1); border-color: var(--ix-line); box-shadow: none; }
.ix .pm-assistant .pm-as-h { border-color: var(--ix-line); } .ix .pm-as-h > div > span, .ix .pm-online { color: var(--ix-ink-2); }
.ix .lc-msgs { background: var(--ix-s1); height: 420px; }
.ix .lc-m.ai .lc-b span { background: var(--ix-s3); border-color: var(--ix-line); color: var(--ix-ink); box-shadow: none; }
.ix .lc-m.me .lc-b span { background: #fff; color: #0b0c0e; } .ix .lc-m .lc-b b { color: var(--ix-ink-3); }
.ix .lc-sug { background: var(--ix-s1); } .ix .lc-sug button { background: var(--ix-s2); border-color: var(--ix-line-2); color: var(--ix-ink); }
.ix .lc-say { background: var(--ix-s1); border-color: var(--ix-line); } .ix .lc-say input { background: var(--ix-s2); border-color: var(--ix-line-2); color: var(--ix-ink); }
.ix .lc-foot { background: var(--ix-s1); color: var(--ix-ink-3); } .ix .lc-foot .linkish { color: var(--ix-ink-2); }

/* "See the other side" button + owner mirror sheet */
.ix-mirror-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #f3f3f1; border-radius: 999px; padding: 7px 14px 7px 10px;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.ix-mirror-btn:hover { background: rgba(200,16,46,.2); border-color: var(--accent); }
.ix-mirror-btn.light { background: #0f1115; border-color: #0f1115; color: #fff; }
.ix-eye { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #fff 0 3px, var(--accent) 3.5px 6px, transparent 6.5px); box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.ix-sheet { position: fixed; inset: 0; z-index: 80; background: rgba(5,6,8,0); pointer-events: none; transition: background .3s; }
.ix-sheet.open { background: rgba(5,6,8,.55); pointer-events: auto; }
.ix-sheet-in { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ix-bg); border-left: 1px solid var(--ix-line-2); display: grid; grid-template-rows: auto 1fr;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: -30px 0 80px rgba(0,0,0,.5); }
.ix-sheet.open .ix-sheet-in { transform: none; }
.ix-sheet-h { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 22px 14px; border-bottom: 1px solid var(--ix-line); }
.ix-sheet-h h2 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.02em; }
.ix-x { background: var(--ix-s2); border: 1px solid var(--ix-line); color: var(--ix-ink); width: 34px; height: 34px; border-radius: 10px; font-size: 20px; cursor: pointer; }
.ix-sheet-b { overflow-y: auto; padding: 16px 22px 28px; display: grid; gap: 14px; align-content: start; }
.ix-cap { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ix-ink-2); border-left: 2px solid var(--accent); padding-left: 12px; }
.ix-score { grid-template-columns: 120px 1fr; align-items: center; }
.ix-score-n { display: grid; gap: 2px; } .ix-score-n b { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; } .ix-score-n span { font-size: 12px; color: var(--ix-ink-3); }
.ix-band { justify-self: start; font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 6px; padding: 2px 7px; background: var(--ix-s3); color: var(--ix-ink-2); margin-top: 6px; }
.ix-band.hot { background: var(--ix-acc-soft); color: #ff8a9b; } .ix-band.warm { background: rgba(245,166,35,.15); color: #f5c065; }
.ix-bars { display: grid; gap: 10px; }
.ix-bar { display: grid; grid-template-columns: 84px 1fr 28px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ix-ink-2); }
.ix-bar i { height: 6px; background: var(--ix-s3); border-radius: 99px; overflow: hidden; } .ix-bar i b { display: block; height: 100%; background: linear-gradient(90deg, #ff5a73, var(--accent)); border-radius: 99px; transition: width .6s; }
.ix-bar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--ix-ink); }
.ix-next b { font-size: 18px; } .ix-next p { margin: 0; font-size: 13px; color: var(--ix-ink-2); }
.ix-tl { list-style: none; margin: 0; padding: 0; display: grid; }
.ix-tl li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; padding: 8px 0; font-size: 13px; position: relative; }
.ix-tl li > i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 5px; box-shadow: 0 0 0 3px var(--ix-acc-soft); }
.ix-tl li:not(:last-child)::after { content: ""; position: absolute; left: 3.5px; top: 20px; bottom: -6px; width: 1px; background: var(--ix-line-2); }
.ix-tl li div { display: grid; gap: 2px; } .ix-tl span { color: var(--ix-ink-3); font-size: 12px; } .ix-tl time { color: var(--ix-ink-3); font-size: 11.5px; white-space: nowrap; }
.ix-skel { height: 90px; border-radius: 16px; background: linear-gradient(90deg, var(--ix-s1), var(--ix-s2), var(--ix-s1)); background-size: 200% 100%; animation: ixsk 1.2s infinite; }
@keyframes ixsk { to { background-position: -200% 0; } }

/* Waiting-room checklist (white meeting world) + real-people strip */
.ix-check ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ix-check li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--pm-ink-3); transition: color .3s; }
.ix-check li i { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--pm-line); position: relative; transition: background .3s, border-color .3s; }
.ix-check li.done { color: var(--pm-ink); }
.ix-check li.done i { background: var(--ok); border-color: var(--ok); }
.ix-check li.done i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pm-pt.host { background: #e8e4de; overflow: hidden; } .pm-pt.host img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }

/* Room: "For you" rail, lower third, offer personal layer */
body.room .fy { padding: 10px 14px 12px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff7f8, #fff); display: grid; gap: 6px; }
body.room .fy header { display: flex; gap: 6px; align-items: center; font-size: 12px; } body.room .fy header b { font-size: 12.5px; } body.room .fy header span:last-child { color: var(--pm-ink-3); margin-left: auto; font-size: 11px; }
body.room .fy-prog { display: flex; gap: 3px; } body.room .fy-prog i { flex: 1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--pm-ink) var(--p, 0%), #e7e6e1 var(--p, 0%)); }
body.room .fy-prog i.pin { background: linear-gradient(90deg, var(--accent) var(--p, 0%), #f6c3cc var(--p, 0%)); }
body.room .fy-now { font-size: 12px; color: var(--pm-ink-2); } body.room .fy-now b { color: var(--pm-ink); } body.room .fy-now span { color: var(--accent); }
body.room .fy-row { font-size: 12px; color: var(--pm-ink-2); }
body.room .fy-next { font-size: 12.5px; color: var(--pm-ink); background: #fff; border: 1px solid #f3c9d0; border-radius: 10px; padding: 7px 10px; }
.lt { position: absolute; left: 18px; bottom: 56px; z-index: 4; display: flex; gap: 10px; align-items: center; max-width: min(560px, 80%); background: rgba(12,13,16,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--accent); border-radius: 12px; padding: 10px 16px 10px 12px;
  color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.lt.on { opacity: 1; transform: none; } .lt b { font-size: 11px; color: #ff8a9b; font-weight: 600; } .lt p { margin: 2px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.oc-pick { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: none; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 8px; vertical-align: 1px; }
.opts label.mine { border-color: var(--accent) !important; background: var(--pm-accent-soft); }
.oc-for { margin: 8px 0 0; font-size: 12.5px; color: var(--pm-ink-2); }
.oc-talk { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .oc-talk .btn { flex: 1; justify-content: center; font-size: 12.5px; border-radius: 10px; }
.ix-yourein { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--pm-line); display: grid; gap: 8px; font-size: 13.5px; }
.ix-yi-h { display: flex; gap: 8px; align-items: center; } .ix-yourein ol { margin: 0; padding-left: 20px; display: grid; gap: 5px; }
.ix-booked { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--pm-accent-soft); }

/* Recap (left / ended overlay, replay page) */
.overlay:has(> .card.ix-full) { background: #0b0c0e; }
.card.ix-full { background: #0b0c0e !important; color: #f3f3f1; }
.ix-recap { background: #0b0c0e; min-height: 100%; padding-bottom: 40px; text-align: left; }
.ix-who { display: flex; gap: 14px; align-items: center; } .ix-who h1 { margin: 6px 0 0; font-size: clamp(26px, 3.6vw, 42px); }
.ix-recap .ix-hero { display: grid; gap: 20px; }
.ix-recap .ix-lead { margin: 0; } .ix-recap .ix-actions { margin: 0; }
.ix-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ix-stat { background: var(--ix-s2); border: 1px solid var(--ix-line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.ix-stat b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .ix-stat span { font-size: 12.5px; color: var(--ix-ink-2); }
.ix-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; } .ix-cta .ix-k { flex-basis: 100%; }
.ix-wide { grid-column: 1 / -1; }
.ix-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--ix-ink); } .ix-list a { color: var(--ix-ink); }
.ix-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ix-msgs li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: start; background: var(--ix-s2); border: 1px solid var(--ix-line); border-radius: 12px; padding: 12px 14px; }
.ix-msgs b { font-size: 13.5px; } .ix-msgs p { margin: 3px 0 0; font-size: 13px; color: var(--ix-ink-2); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ix-msgs time { font-size: 11.5px; color: var(--ix-ink-3); white-space: nowrap; }
.ix-chan { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: center; border-radius: 6px; padding: 3px 0; background: var(--ix-s3); color: var(--ix-ink-2); }
.ix-chan.sms { background: rgba(35,165,90,.14); color: #7ee2a8; }
.ix-close { margin-top: 18px; border-radius: 24px; padding: clamp(22px, 4vw, 40px); background: linear-gradient(135deg, #1a0a0e, #120f13 60%), var(--ix-s1); border: 1px solid rgba(200,16,46,.3); }
.ix-close h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.03em; } .ix-close p { margin: 0 0 18px; color: var(--ix-ink-2); }
.ix-recap-inline { margin: 0 0 20px; } .ix-recap-inline .ix-recap { border-radius: 22px; min-height: 0; }

@media (max-width: 980px) {
  .ix-fd-grid, .ix-seat-hero, .ix-grid { grid-template-columns: 1fr; }
  .ix-prep { position: static; } .ix-seat-host { border-left: 0; padding-left: 0; border-top: 1px solid var(--ix-line); padding-top: 18px; }
  .ix-steps { grid-template-columns: 1fr 1fr; } .ix-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ix-top-t { display: none; } .ix-top { justify-content: space-between; padding: 14px 0; }
  .ix-thread { height: 46vh; padding: 16px; } .ix-m { font-size: 14.5px; } .ix-chat { border-radius: 18px; }
  .ix-steps { grid-template-columns: 1fr; gap: 8px; } .ix-mirror-btn span:last-child { font-size: 12px; }
  .ix-facts li { grid-template-columns: 96px 1fr; } .ix-msgs li { grid-template-columns: 1fr; gap: 6px; } .ix-chan { justify-self: start; padding: 3px 8px; }
  .ix-score { grid-template-columns: 1fr; } .lt { left: 10px; right: 10px; bottom: 50px; max-width: none; } .lt p { font-size: 14px; }
}
/* v1.7.0 "For you" rail placement: its own row above the tabs (normal and split panel); hidden in the phone sheet. */
@media (min-width: 641px) {
  body.room .panel:has(> .fy) { grid-template-rows: auto 44px minmax(0, 1fr); }
  body.room .panel:has(> .fy) > .fy { grid-column: 1 / -1; grid-row: 1; }
  body.room .panel:has(> .fy) > .tabs { grid-column: 1 / -1; grid-row: 2; }
  body.room .panel:has(> .fy) > .pane, body.room .panel:has(> .fy) > .pane[hidden] { grid-row: 3 !important; }
  body.room .panel.split:has(> .fy) > .pane[data-pane="res"] { grid-column: 1 !important; }
  body.room .panel.split:has(> .fy) > .pane[data-pane="chat"] { grid-column: 2 !important; }
}
@media (max-width: 640px) { body.room .fy { display: none; } }
