/* Room switcher shared by the Poster Department, Editor Room and DOP Room */
.rooms-btn{display:inline-flex;align-items:center;gap:9px;flex:none;cursor:pointer;font:600 13px/1 Archivo,Inter,system-ui,sans-serif;letter-spacing:.01em;white-space:nowrap;border-radius:999px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.rooms-btn svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.rooms-btn:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* poster department (dark glass, sits beside Filters) */
html[data-room=poster] .rooms-btn{min-height:36px;padding:6px 14px 6px 12px;color:#f4f2ee;background:#16161ce6;border:1px solid rgba(255,255,255,.14)}
html[data-room=poster] .rooms-btn:hover,html[data-room=poster] .rooms-btn[aria-expanded=true]{border-color:#ff4d57}
/* editor room (light glass, same height as the search field) */
html[data-room=editors] .rooms-btn{height:48px;padding:0 18px 0 15px;color:#16181c;background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.95);box-shadow:0 6px 24px rgba(40,50,70,.08)}
html[data-room=editors] .rooms-btn:hover,html[data-room=editors] .rooms-btn[aria-expanded=true]{background:#fff}
/* DOP room (cobalt glass) */
html[data-room=art] .rooms-btn{height:48px;padding:0 18px 0 15px;color:#f4ecd9;background:rgba(14,20,62,.6);border:1px solid rgba(150,172,255,.24);box-shadow:0 6px 24px rgba(0,0,12,.3)}
html[data-room=dop] .rooms-btn{height:48px;padding:0 18px 0 15px;color:#f4ecd9;background:rgba(14,20,62,.6);border:1px solid rgba(150,172,255,.24);box-shadow:0 6px 24px rgba(0,0,12,.3)}
html[data-room=art] .rooms-btn:hover,html[data-room=art] .rooms-btn[aria-expanded=true]{border-color:#ffb347}
html[data-room=dop] .rooms-btn:hover,html[data-room=dop] .rooms-btn[aria-expanded=true]{border-color:#ffb347}
@media(max-width:760px){html[data-room=editors] .rooms-btn,html[data-room=art] .rooms-btn{padding:0 14px 0 12px}}
@media(max-width:760px){html[data-room=editors] .rooms-btn,html[data-room=dop] .rooms-btn{padding:0 14px 0 12px}}
@media(max-width:560px){html[data-room=editors] .rooms-btn span,html[data-room=art] .rooms-btn span{display:none}html[data-room=editors] .rooms-btn,html[data-room=art] .rooms-btn{width:48px;padding:0;justify-content:center}}
@media(max-width:560px){html[data-room=editors] .rooms-btn span,html[data-room=dop] .rooms-btn span{display:none}html[data-room=editors] .rooms-btn,html[data-room=dop] .rooms-btn{width:48px;padding:0;justify-content:center}}
@media(max-width:480px){html[data-room=poster] .rooms-btn span{display:none}html[data-room=poster] .rooms-btn{padding:6px 11px}}

/* the popover */
#roomsPop{position:fixed;z-index:60;width:min(340px,calc(100vw - 24px));padding:8px;border-radius:20px;display:none;-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);font-family:Archivo,Inter,system-ui,sans-serif}
#roomsPop.on{display:block;animation:roomsin .16s ease-out}
@keyframes roomsin{from{opacity:0;transform:translateY(-4px)}}
#roomsPop h2{margin:6px 10px 8px;font:500 10px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.18em;text-transform:uppercase;opacity:.65}
#roomsPop a{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:14px;text-decoration:none;color:inherit;border:1px solid transparent}
#roomsPop a+a{margin-top:2px}
#roomsPop a i{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-style:normal}
#roomsPop a i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#roomsPop a b{display:block;font-weight:700;font-size:14px;line-height:1.2}
#roomsPop a small{display:block;margin-top:3px;font-size:12px;line-height:1.3;opacity:.7}
#roomsPop a em{margin-left:auto;flex:none;font:500 9px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;padding:5px 7px;border-radius:999px;border:1px solid currentColor;opacity:.7;font-style:normal}
#roomsPop a:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
html[data-room=poster] #roomsPop{background:rgba(20,20,26,.86);color:#f4f2ee;border:1px solid rgba(255,255,255,.14);box-shadow:0 24px 60px #000a}
html[data-room=poster] #roomsPop a:hover{background:rgba(255,255,255,.08)}
html[data-room=poster] #roomsPop a[aria-current]{background:rgba(255,77,87,.12);border-color:rgba(255,77,87,.4)}
html[data-room=editors] #roomsPop{background:rgba(255,255,255,.88);color:#16181c;border:1px solid #fff;box-shadow:0 24px 60px rgba(40,50,70,.22)}
html[data-room=editors] #roomsPop a:hover{background:rgba(22,24,28,.06)}
html[data-room=editors] #roomsPop a[aria-current]{background:rgba(232,87,90,.1);border-color:rgba(232,87,90,.4)}
html[data-room=art] #roomsPop{background:rgba(10,15,46,.9);color:#f4ecd9;border:1px solid rgba(150,172,255,.24);box-shadow:0 24px 60px #000b}
html[data-room=dop] #roomsPop{background:rgba(10,15,46,.9);color:#f4ecd9;border:1px solid rgba(150,172,255,.24);box-shadow:0 24px 60px #000b}
html[data-room=art] #roomsPop a:hover{background:rgba(255,255,255,.07)}
html[data-room=dop] #roomsPop a:hover{background:rgba(255,255,255,.07)}
html[data-room=art] #roomsPop a[aria-current]{background:rgba(255,179,71,.1);border-color:rgba(255,179,71,.42)}
html[data-room=dop] #roomsPop a[aria-current]{background:rgba(255,179,71,.1);border-color:rgba(255,179,71,.42)}
#roomsPop .sw-poster{background:linear-gradient(135deg,#ff4d57,#8134af)}
#roomsPop .sw-editors{background:linear-gradient(135deg,#f6c9c9,#cfe3f4);color:#16181c}
#roomsPop .sw-dop{background:linear-gradient(135deg,#2f5bff,#0b1030);color:#ffb347}
#roomsPop .sw-art{background:linear-gradient(135deg,#34d399,#0b1030);color:#fff}
#roomsPop .sw-poster{color:#fff}
@media(prefers-reduced-motion:reduce){#roomsPop.on{animation:none}}

/* coming-soon entries: shown, dimmed, never a link */
#roomsPop .soon{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:14px;border:1px dashed currentColor;border-color:color-mix(in srgb,currentColor 28%,transparent);margin-top:2px;cursor:default}
#roomsPop .soon i{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-style:normal;opacity:.55}
#roomsPop .soon i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#roomsPop .soon b{display:block;font-weight:700;font-size:14px;line-height:1.2;opacity:.7}
#roomsPop .soon small{display:block;margin-top:3px;font-size:12px;line-height:1.3;opacity:.55}
#roomsPop .soon em{margin-left:auto;flex:none;font:500 9px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;padding:5px 7px;border-radius:999px;border:1px solid currentColor;opacity:.75;font-style:normal;white-space:nowrap}
/* the Poster Department welcome card */
.door.door-soon,.door.door-soon:hover{cursor:default;transform:none;background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.22)}
.door-soon i{opacity:.55}.door-soon b{opacity:.75}.door-soon small{opacity:.7}
.door-soon em{margin-left:auto;flex:none;font:500 9px/1 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.14em;text-transform:uppercase;padding:5px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.4);color:#e8e4da;font-style:normal;white-space:nowrap}
