
.room-mode{--room-nav-height:48px;--room-ui:'DotGothic16',monospace;height:100svh;overflow:hidden;padding-bottom:0!important;background:#67716c}
.room-mode>header:not(.room-hud),.room-mode>main+.wrap{display:none}.room-stage{position:fixed;inset:0 0 var(--dock-height,74px);overflow:hidden;background:#727c77;isolation:isolate;touch-action:none}.room-plane{position:absolute;left:50%;top:50%;width:max(100vw,calc((100svh - var(--dock-height,74px))*1.777));height:max(56.275vw,calc(100svh - var(--dock-height,74px)));transform:translate(calc(-50% + var(--room-pan-x,0px)),calc(-50% + var(--room-pan-y,0px))) scale(var(--room-zoom,1));transform-origin:center;transition:transform 1.15s cubic-bezier(.22,.7,.2,1);will-change:transform}
.room-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.75);user-select:none;pointer-events:none}.room-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#263b36a6,transparent 28%,transparent 70%,#263b3655),linear-gradient(90deg,#263b3622,transparent 35%);z-index:2}.room-dust{position:absolute;inset:0;pointer-events:none;z-index:2;opacity:.32;background-image:radial-gradient(#f2eee099 1px,transparent 1.5px),radial-gradient(#f2eee066 .6px,transparent 1px);background-size:173px 137px,257px 191px;animation:room-dust 45s linear infinite;mask-image:linear-gradient(90deg,transparent,#000 60%)}@keyframes room-dust{to{background-position:50px 80px,-40px 55px}}
.room-hotspot{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 13px;border:1px dotted #e9ecea99;background:#374d46b8;color:#f1f0e7;font:12px/1.5 var(--room-ui);cursor:pointer;box-shadow:3px 3px 0 #2c3f3726;backdrop-filter:blur(4px);white-space:nowrap;transition:background .2s,border-color .2s;z-index:3}.room-hotspot i{width:6px;height:6px;background:#d9bfc8;box-shadow:2px -2px 0 #d9bfc844;flex:none}.room-hotspot small{display:block;font:8px/1.8 var(--room-ui);letter-spacing:.12em;opacity:.65}.room-hotspot:hover,.room-hotspot[aria-pressed=true]{background:#e9eceae6;color:#40574d;border-color:#e9ecea}.room-hotspot:focus-visible{outline:2px dotted #f3e9cd;outline-offset:5px}
.room-hud{position:fixed;inset:24px 34px auto;margin:0!important;height:auto!important;padding:0!important;border:0!important;display:flex;justify-content:space-between;align-items:start;color:#f2eee7;z-index:15;pointer-events:none}.room-hud a,.room-hud button{pointer-events:auto}.room-home{font:900 44px/.85 var(--display);text-decoration:none;letter-spacing:-.02em;text-shadow:0 2px 12px #273d3655}.room-home small{display:block;font:9px/1.7 var(--room-ui);letter-spacing:.08em;margin-top:12px}.room-tools{display:flex;gap:8px}.room-tools button{font:9px var(--room-ui);min-height:38px;padding:9px 12px;color:#f2eee7;border:1px dotted #e9ecea88;background:#33483f80;backdrop-filter:blur(8px);cursor:pointer}.room-tools button[aria-pressed=true]{background:#e9eceade;color:#40574d}
.room-caption{position:fixed;left:34px;bottom:calc(var(--dock-height,74px) + 78px);color:#f1eee4;z-index:12;max-width:290px;text-shadow:0 2px 12px #22362b77}.room-scene-no{font:9px/1.5 var(--room-ui);letter-spacing:.12em}.room-caption p{font:400 25px/1.5 var(--body);margin:6px 0 12px}.room-open-record{padding:9px 0;min-height:42px;border:0;border-bottom:1px dotted #e9ecea99;background:none;color:inherit;font:11px/1.6 var(--room-ui);cursor:pointer}.room-nav{position:fixed;left:34px;bottom:calc(var(--dock-height,74px) + 21px);display:flex;gap:3px;z-index:15}.room-nav :is(button,a){font:11px/1.5 var(--room-ui);padding:10px 14px;min-height:42px;cursor:pointer;background:#354a42bd;border:1px dotted #d9e3e077;color:#f2eee7;backdrop-filter:blur(10px);white-space:nowrap}.room-nav :is(button,a) span{font-size:8px;opacity:.6;margin-right:7px}.room-nav :is(button,a)[aria-pressed=true]{background:#d9e3e0eb;color:#40574d}.room-hint{position:fixed;right:34px;bottom:calc(var(--dock-height,74px) + 26px);font:8px/1.7 var(--room-ui);letter-spacing:.06em;color:#e9eceabb;z-index:12;text-align:right;max-width:160px;margin:0}
.room-mode .room-drawer{position:fixed;z-index:35;inset:100px 28px calc(var(--dock-height,74px) + 78px) auto;width:min(560px,calc(100vw - 56px));margin:0;background:#e9eceaf5;border:1px solid #abbdb7;box-shadow:12px 12px 0 #263b362b,0 10px 45px #263b3644;display:grid;grid-template-rows:46px minmax(0,1fr);overflow:hidden;backdrop-filter:blur(18px);color:#495856;isolation:isolate}.room-mode .room-drawer[hidden]{display:none}.room-drawer-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 20px;background:#d9e3e0e6;border-bottom:1px dotted var(--line);font:9px var(--room-ui)}.room-drawer-bar button{border:0;background:none;font:11px var(--room-ui);padding:10px 0 10px 10px;cursor:pointer;min-height:44px;white-space:nowrap}.room-mode .room-drawer>.panel{position:relative;display:block;min-height:0!important;height:auto!important;padding:0!important;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;max-width:100%;isolation:isolate;align-content:start}.room-mode .room-drawer>.panel[hidden]{display:none!important}.room-mode .room-drawer .panel:before,.room-mode .room-drawer>.panel:before,.room-mode .room-drawer>.panel:after{display:none}.room-mode .room-drawer .wrap{padding:26px!important;max-width:100%;width:100%;margin:0!important}.room-mode .room-drawer .section-head{margin-bottom:23px}.room-mode .room-drawer h2{font-size:40px}.room-mode .room-drawer .hero{display:block;height:auto!important;min-height:0!important;padding:0!important}.room-mode .room-drawer .hero-copy{padding:0!important;position:static}.room-mode .room-drawer .hero h1{position:static;font:800 75px/.9 var(--display);margin:20px 0 30px;white-space:normal}.room-mode .room-drawer .hero h1 span{margin:12px 0;font-size:9px}.room-mode .room-drawer .eyebrow{position:static;font-size:9px}.room-mode .room-drawer .lead{font-size:13px;margin:0 0 20px}.room-mode .room-drawer .notice{font-size:11px;max-width:100%;margin-bottom:25px}.room-mode .room-drawer .hero-links{font-size:12px;max-width:100%;gap:13px 20px}.room-mode .room-drawer .hero .art,.room-mode .room-drawer .hero-foot,.room-mode .room-drawer .cover-stamp,.room-mode .room-drawer .next-section{display:none}.room-mode .room-drawer .channel-layout,.room-mode .room-drawer .about-grid{display:block}.room-mode .room-drawer .receiver{min-height:160px;padding:20px;margin-bottom:20px}.room-mode .room-drawer .receiver strong{font-size:42px;margin:14px 0}.room-mode .room-drawer .receiver-bars{height:25px;margin-top:10px}.room-mode .room-drawer .receiver-foot{bottom:12px}.room-mode .room-drawer .place{padding-block:14px}.room-mode .room-drawer .place-name{font-size:29px}.room-mode .room-drawer .note{font-size:11px}.room-mode .room-drawer .caption{margin:12px 0}.room-mode .room-drawer .old{margin-bottom:24px}.room-mode .room-drawer .rules{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}.room-mode .room-drawer .rules li{font-size:12px;line-height:1.9}.room-mode .room-drawer .rules-block{padding:17px 0}.room-mode .room-drawer .rules-block summary{font-size:15px}.room-mode .room-drawer .world-cover-link{height:310px;min-height:260px;padding:25px}.room-mode .room-drawer .world-cover-link strong{font-size:85px;letter-spacing:-.04em;margin-top:45px}.room-mode .room-drawer .world-cover-caption{font-size:9px}.room-mode .room-drawer .world-cover-tags{font-size:10px}.room-mode .room-drawer .world-cover-name{font-size:16px}.room-mode .room-drawer .world-cover-arrow{font-size:11px}.room-mode .room-drawer .music-player{grid-template-columns:90px 1fr;gap:20px;padding-block:20px}.room-mode .room-drawer .record{width:90px}.room-mode .room-drawer .record-label{width:42px;height:42px;font-size:9px}.room-mode .room-drawer .track-info h3{font-size:17px}.room-mode .room-drawer .track-kicker{font-size:9px}.room-mode .room-drawer .playback-row{flex-wrap:wrap;gap:15px}.room-mode .room-drawer .volume-control{margin:0}.room-mode .room-drawer .likes details{padding-block:18px}.room-mode .room-drawer .tags{margin-block:20px}.room-mode .room-drawer .plan{font-size:11px}.room-mode.drawer-open .room-caption{opacity:.25;pointer-events:none}.room-mode .mini-player{z-index:70;background:#e9eceaf2;backdrop-filter:blur(20px);border-top:1px dotted var(--line)}
/* Window glass mask follows the original artwork, excluding frames, curtains and lamp. */
.room-rain{position:absolute;inset:0;pointer-events:none;overflow:hidden;opacity:1;mask:url("images/window-rain-mask.svg") center/100% 100% no-repeat;-webkit-mask:url("images/window-rain-mask.svg") center/100% 100% no-repeat}
.room-rain::before,.room-rain::after{content:"";position:absolute;inset:0;background-repeat:repeat;animation:window-rain-fall .85s linear infinite;background-size:180px 180px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg stroke='%23edf2f0' stroke-opacity='.38' stroke-width='.8'%3E%3Cpath d='M17 8l-3 16M72 48l-4 22M134 16l-3 17M164 110l-4 23M42 131l-3 16M103 153l-3 18'/%3E%3C/g%3E%3C/svg%3E")}
.room-rain::before{opacity:.45;background-size:270px 270px;animation:window-rain-distant 1.5s linear infinite;filter:blur(.35px)}
@keyframes window-rain-fall{to{background-position:0 180px}}@keyframes window-rain-distant{to{background-position:0 270px}}
.room-window-light{position:absolute;left:57.4%;top:45%;width:4px;height:5px;background:#eadfc4;opacity:.3;animation:room-light 9s ease-in-out infinite;pointer-events:none}.room-window-light.light-two{left:60.6%;top:44.6%;width:3px;height:4px;animation-delay:-4s}@keyframes room-light{0%,65%,100%{opacity:.1}40%{opacity:.5}}.room-radio-glow{position:absolute;left:46.5%;top:60.5%;width:5.5%;height:3%;background:#bad1bb33;filter:blur(7px);pointer-events:none;animation:radio-breath 7s ease-in-out infinite}@keyframes radio-breath{50%{opacity:.2}}.tape-motion{position:absolute;left:73.8%;top:62%;width:3.5%;aspect-ratio:2/1;border:1px dotted #e9ecea55;border-radius:50%;pointer-events:none;opacity:0}.tape-motion.spool-two{left:80.1%}.room-playing .tape-motion{opacity:.8;animation:tape-reel 4s linear infinite}@keyframes tape-reel{to{transform:rotate(360deg)}}
@media(max-width:760px){.room-hud{inset:19px 18px auto}.room-home{font-size:33px}.room-home small{font-size:7px;margin-top:8px}.room-tools{gap:5px}.room-tools button{font-size:8px;min-height:36px;padding:8px}.room-tools #room-replay{font-size:0;width:34px}.room-tools #room-replay:before{content:'↻';font-size:16px}.room-hotspot{font-size:11px;padding:7px 10px;min-height:42px;gap:7px}.room-hotspot small{font-size:7px}.room-caption{left:18px;bottom:calc(var(--dock-height,93px) + 89px);max-width:240px}.room-caption p{font-size:21px;margin-block:5px 9px}.room-scene-no{font-size:8px}.room-open-record{font-size:10px;min-height:40px;padding-block:7px}.room-nav{left:12px;right:12px;bottom:calc(var(--dock-height,93px) + 13px);gap:2px}.room-nav :is(button,a){flex:1;min-height:45px;padding:7px 2px;font-size:10px}.room-nav :is(button,a) span{display:block;margin:0 0 3px;font-size:7px}.room-hint{right:18px;bottom:calc(var(--dock-height,93px) + 67px);font-size:6px;max-width:150px}.room-mode .room-drawer{inset:90px 12px calc(var(--dock-height,93px) + 72px);width:auto;grid-template-rows:45px minmax(0,1fr);box-shadow:6px 6px 0 #263b362b}.room-drawer-bar{padding-inline:16px;font-size:8px}.room-drawer-bar button{font-size:10px}.room-mode .room-drawer .wrap{padding:22px 18px!important}.room-mode .room-drawer h2{font-size:35px}.room-mode .room-drawer .section-head p{font-size:9px}.room-mode .room-drawer .world-cover-link{padding:20px;height:300px}.room-mode .room-drawer .world-cover-link strong{font-size:21vw}.room-mode .room-drawer .receiver strong{font-size:34px}.room-mode .room-drawer .hero h1{font-size:64px}.room-mode .room-drawer .music-player{grid-template-columns:65px 1fr;gap:14px}.room-mode .room-drawer .record{width:65px}.room-mode .room-drawer .record-label{width:32px;height:32px;font-size:7px}.room-mode .room-drawer .track-info h3{font-size:14px}.room-mode .room-drawer .track-kicker{font-size:8px}.room-mode .room-drawer .playback-row .play-toggle{font-size:10px;padding:12px 15px;min-width:100px}.room-mode .room-drawer .volume-control{gap:8px}.room-mode .room-drawer .volume-control input{width:60px}}
@media(prefers-reduced-motion:reduce){.room-plane,.room-hotspot,.room-rain{transition:none}.room-dust,.room-rain:after,.room-window-light,.room-radio-glow,.tape-motion{animation:none!important}.room-rain{opacity:.45}.room-rain::before{animation:none!important}}

/* Keep the original area artwork behind the readable file contents. */
.room-mode .room-drawer::before{content:"";position:absolute;inset:46px 0 0;z-index:-1;background-image:var(--file-artwork,none);background-size:cover;background-position:center;opacity:var(--file-art-opacity,.18);filter:saturate(.55);pointer-events:none}.room-mode .room-drawer>#profile{background:transparent}.room-tools #room-sound{min-width:52px}@media(max-width:760px){.room-tools{gap:4px}.room-tools button{padding-inline:6px}.room-tools #room-sound{min-width:43px;font-size:8px}.room-mode .room-drawer::before{top:45px}}
.room-mode .room-drawer>.panel{background-color:transparent}

.room-archive{text-decoration:none}.room-tools .room-archive-link{display:flex;align-items:center;text-decoration:none;font:9px var(--room-ui);min-height:38px;padding:9px 12px;color:#f2eee7;border:1px dotted #e9ecea88;background:#33483f80;backdrop-filter:blur(8px)}@media(max-width:760px){.room-tools .room-archive-link{font-size:8px;padding:8px 6px;min-height:36px}}

/* Match WORLDS and the world pages without changing the room layout. */
.editorial.room-mode{--display:'DotGothic16',monospace;--ui:'DotGothic16',monospace;--body:'BIZ UDPGothic',sans-serif}
.room-mode .room-home{font:400 32px/1.25 var(--room-ui);letter-spacing:-.04em}
.room-mode .room-home small{margin-top:7px}
.room-mode .room-caption p{font-family:var(--room-ui)}
.room-mode .room-drawer .hero h1{font:400 52px/1.25 var(--display);letter-spacing:0;margin:14px 0 22px}
.room-mode .room-drawer .hero h1 span{font-weight:400;line-height:1.7;letter-spacing:.08em}
.room-mode .room-drawer h2{font-family:var(--display);font-weight:400;line-height:1.4;overflow-wrap:anywhere}
.room-mode .room-drawer .hero-links,.room-mode .mini-player{font-family:var(--ui);font-weight:400}
.room-mode .room-drawer .world-cover-link strong{font:400 clamp(32px,6vw,70px)/1.3 var(--display);letter-spacing:0;overflow-wrap:anywhere}
.room-mode .room-drawer .receiver strong{font-weight:400;font-size:28px;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:760px){.room-mode .room-home{font-size:25px}.room-mode .room-home small{margin-top:5px}.room-mode .room-drawer .hero h1{font-size:42px}.room-mode .room-drawer h2{font-size:29px}.room-mode .room-drawer .world-cover-link strong{font-size:36px}.room-mode .room-drawer .receiver strong{font-size:25px}}

/* The drawer wrapper owns the top inset for every menu. */
.room-mode .room-drawer .wrap>section:not(.hero),.room-mode .room-drawer .wrap>section.content{padding-top:0!important;padding-bottom:0!important;margin-top:0!important}
.room-mode .room-drawer .section-head{margin-top:0!important;align-items:flex-end}
.room-mode .room-drawer .section-head h2{margin-top:0;margin-bottom:0}
.room-mode .room-drawer .section-head p{margin-top:0;margin-bottom:0}

.room-nav a{display:flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box}.room-nav a span{display:inline-block}@media(max-width:760px){.room-nav a{flex-direction:column;min-width:0}.room-nav a span{display:block}}
