/*
 * The simulated meeting of the Go Live demo (2 December 2026). The room itself is meetings.css (the same classes the real room uses); this adds what only the demo has: the ribbon,
 * the lobby buttons, the slide Aria presents, the box where the host talks to her, the people who join, and the recap. Only the palette's own violets are used, and only inside the slide.
 */
body.dr { grid-template-rows: auto auto minmax(0, 1fr) auto; height: 100dvh; overflow: hidden; }
.dr__ribbon { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 6px 14px; background: #1A1714; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--tx-2, #B9BDC4); text-align: center; }
.dr__ribbon .mt__btn { margin: 0; }
.dr .mtroom__body { min-height: 0; }
.dr .mtroom__main { min-height: 0; }
.dr .mtroom__stage { grid-template-rows: minmax(0, 1fr) auto; }
.dr .mtroom__wait { max-width: 520px; }
.dr__lobbyacts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.dr .mtroom__end[hidden], .dr .mtroom__sidebtn[hidden] { display: none; }

/* the tiles */
.dr .mtroom__tile { opacity: 1; transition: opacity .4s ease, box-shadow .2s, border-color .2s; }
/* seven small boxes fit in one row under the slide, which keeps the middle of the slide clear */
.dr .mtroom__tiles.has-main .mtroom__tile:not(.is-main) { width: calc((100% - 6 * 8px) / 7); min-width: 64px; }
.dr .mtroom__tiles.has-main .mtroom__tile:not(.is-main) .mtroom__av { width: 44%; font-size: clamp(14px, 1.8vw, 26px); }
.dr .mtroom__tiles.has-main .mtroom__tile:not(.is-main) .mtroom__label { font-size: 11px; padding: 1px 6px; }
.dr .mtroom__tiles.has-main .mtroom__tile:not(.is-main) .mtroom__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr__lobbyacts .mt__btn { font-size: 16px; padding: 12px 20px; }
.dr .mtroom__tile.is-new { opacity: 0; }
.dr .mtroom__tile img.dr__face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dr .mtroom__tile.is-ai .mtroom__av { background: #FD5E00; color: #231000; box-shadow: 0 0 0 7px rgba(253,94,0,.22); }
.dr .mtroom__tile.is-ai.is-speaking .mtroom__av { animation: dr-pulse 1.1s ease-out infinite; }
.dr .mtroom__ai { background: rgba(253,94,0,.92); color: #231000; }
.dr .mtroom__tile.is-muted .mtroom__label::after { content: ' \00B7  ' attr(data-muted); color: var(--tx-3, #8B8F98); font-weight: 500; }
.dr .mtroom__tile.has-hand::before { content: attr(data-hand); position: absolute; right: 8px; top: 8px; z-index: 3; padding: 2px 8px; border-radius: 8px; background: var(--accent, #FD5E00); color: #231000; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@keyframes dr-pulse { 0% { box-shadow: 0 0 0 0 rgba(253,94,0,.5), 0 0 0 7px rgba(253,94,0,.22); } 100% { box-shadow: 0 0 0 22px rgba(253,94,0,0), 0 0 0 7px rgba(253,94,0,.22); } }

/* the slide Aria presents: the room's own violets, from nowhere else */
.dr .mtroom__tiles.has-main .mtroom__tile.is-main.dr__slide { background: radial-gradient(90% 100% at 50% 30%, #3D2E86 0%, #1A1440 85%); display: grid; place-items: center; padding: 4%; }
.dr__slidebox { width: min(760px, 92%); text-align: center; }
.dr__slidebox h2 { font-family: var(--disp, 'Unbounded', sans-serif); font-weight: 700; font-size: clamp(20px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.dr__slidebox p.dr__sub { margin: 14px 0 0; font-size: clamp(14px, 1.7vw, 22px); color: rgba(255,255,255,.75); }
.dr__pts { list-style: none; margin: clamp(14px, 2.4vw, 30px) auto 0; padding: 0; width: min(560px, 100%); text-align: left; }
.dr__pts li { padding: clamp(7px, 1.2vw, 14px) 4px; border-top: 1px solid rgba(255,255,255,.22); font-size: clamp(14px, 1.9vw, 24px); font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.dr__pts li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.dr__pts li.is-in { opacity: 1; transform: none; }
.dr__count { position: absolute; right: 12px; top: 10px; font-family: var(--mono, 'Spline Sans Mono', monospace); font-size: 12px; color: rgba(255,255,255,.6); }
.dr .mtroom__tiles.has-main .mtroom__tile.is-main.dr__slide .mtroom__label { left: 12px; bottom: 10px; }

/* the box where the host talks to Aria, and what to try */
.dr__dock { display: grid; gap: 6px; padding: 2px 4px 4px; }
.dr__cmd { display: flex; gap: 8px; align-items: center; }
.dr__cmd input { flex: 1; min-width: 0; padding: 11px 14px; font: inherit; font-size: 15px; color: inherit; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; }
.dr__cmd input:focus-visible { outline: 2px solid var(--accent, #FD5E00); outline-offset: 2px; }
.dr__cmd .mt__btn { margin: 0; white-space: nowrap; }
.dr__cmd .mt__btn.is-on { border-color: var(--accent, #FD5E00); color: #ffc29c; }
.dr__try { margin: 0; display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: baseline; font-size: 13px; color: var(--tx-3, #8B8F98); min-height: 1.4em; }
.dr__try button { background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--tx, #F2F3EE); text-decoration: underline; text-decoration-color: rgba(253,94,0,.8); text-underline-offset: 4px; cursor: pointer; }
.dr__try button:hover { color: #ffc29c; }
.dr__auto { margin: 0; font-size: 13.5px; color: #ffc29c; display: flex; gap: 12px; align-items: baseline; }
.dr__auto[hidden] { display: none; }
.dr__link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--tx, #F2F3EE); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.dr .mtroom__caps { top: 40px; }
.dr .mtroom__tiles.has-main .mtroom__tile.is-main.dr__slide { padding-bottom: 14%; }
.dr .mtroom__feed .is-sys { color: var(--tx-3, #8B8F98); font-size: 12.5px; }
.dr .mtroom__feed .is-aria b { color: #ffc29c; }
.dr .mtroom__feed .is-you b { color: #ffc29c; }
.dr .mtroom__hands li { align-items: flex-start; }
.dr .mtroom__hands .dr__hbtns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* talking to Aria live */
.dr__live { display: grid; gap: 4px; }
.dr__live[hidden] { display: none; }
.dr__liverow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dr__liverow .mt__btn { margin: 0; white-space: nowrap; }
.dr__liverow .mt__btn[hidden] { display: none; }
.dr__livestate { font-size: 13.5px; color: #ffc29c; font-variant-numeric: tabular-nums; }
.dr__live .dr__try { min-height: 0; }

/* the recap */
.dr__recap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; overflow: auto; padding: 24px 16px; background: rgba(7,8,12,.94); }
.dr__recap[hidden] { display: none; }
.dr__recapcard { width: min(640px, 100%); background: #12141A; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: clamp(20px, 4vw, 34px); display: grid; gap: 6px; }
.dr__recapcard h2 { font-family: var(--disp, 'Unbounded', sans-serif); font-weight: 700; font-size: clamp(20px, 3.4vw, 28px); letter-spacing: -.02em; margin: 0; }
.dr__recaplead { margin: 4px 0 10px; color: var(--tx-2, #B9BDC4); }
.dr__recapcard h3 { font-size: 14px; font-weight: 800; margin: 16px 0 4px; color: #ffc29c; }
.dr__recapcard ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.5; }
.dr__recapacts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.dr__recapacts .mt__btn { margin: 0; }

@media (max-width: 860px) {
    .dr__ribbon span { flex-basis: 100%; }
    .dr__cmd { flex-wrap: wrap; }
    .dr__cmd input { flex-basis: 100%; }
}
/* A phone held upright: the slide on top at its own shape, the people in a grid under it, and the whole stage scrolls. */
@media (max-width: 860px) and (orientation: portrait) {
    body.dr { height: auto; min-height: 100dvh; overflow: auto; }
    .dr .mtroom__stage { grid-template-rows: auto auto; }
    .dr .mtroom__tiles.has-main { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; padding: 0; position: static; }
    .dr .mtroom__tiles.has-main .mtroom__tile.is-main { position: relative; inset: auto; flex: 0 0 100%; height: auto; aspect-ratio: 16 / 10; order: -1; }
    .dr .mtroom__tiles.has-main .mtroom__tile:not(.is-main) { width: calc((100% - 3 * 8px) / 4); min-width: 0; height: auto; aspect-ratio: 16 / 9; }
    .dr .mtroom__tiles.has-main .mtroom__tile:not(.is-main) .mtroom__label { font-size: 10px; padding: 0 5px; left: 3px; bottom: 3px; max-width: calc(100% - 6px); }
    .dr .mtroom__caps { position: fixed; left: 12px; right: 12px; top: auto; bottom: 14px; transform: none; max-width: none; z-index: 70; }
    .dr .mtroom__side { max-height: 62dvh; }
}
@media (prefers-reduced-motion: reduce) {
    .dr .mtroom__tile, .dr__pts li { transition: none; }
    .dr .mtroom__tile.is-ai.is-speaking .mtroom__av { animation: none; }
}
