/* Media-only surface inside the existing ritual panel; no global layout tokens. */
.ritual-art:has(.pe-stream){background:var(--paper);min-height:640px;overflow:hidden}
.ritual-art:has(.pe-stream)::before,.ritual-art:has(.pe-stream)::after{display:none}
.pe-stream{position:absolute;inset:0;display:flex;flex-direction:column;padding:12px;gap:8px;color:var(--ink);background:var(--paper)}
.pe-stream-stage{position:relative;flex:1;min-height:0;background:var(--ivory);border-radius:10px;overflow:hidden}
.pe-stream-stage>button{width:100%;height:100%;border:0;padding:0;background:transparent;cursor:pointer;position:relative}
.pe-stream-stage img{width:100%;height:100%;object-fit:contain}
.pe-stream-stage button>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:56px;height:56px;border-radius:50%;color:#fff;background:#2f4a40;font-size:22px}
.pe-stream-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pe-stream>p,.pe-stream>a{font:14px/1.5 var(--sans);text-align:center}
.pe-stream>a{text-decoration:underline;text-underline-offset:3px;min-height:44px;display:grid;place-items:center}
.pe-stream-choices{display:flex;justify-content:center;gap:8px}
.pe-stream-choices button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);cursor:pointer}
.pe-stream-choices button[aria-pressed=true]{background:#2f4a40;color:#fff}
.pe-stream [hidden]{display:none!important}
@media(max-width:900px){.ritual-art:has(.pe-stream){min-height:620px}}
