:root{color-scheme:dark;--sky:oklch(23% .036 276);--ink:oklch(94% .012 80);--muted:oklch(73% .028 276);--blue:oklch(57% .23 274);--line:oklch(40% .027 276);--warm:oklch(86% .12 80);font-family:"Pretendard Variable",Pretendard,"Apple SD Gothic Neo",sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--sky);min-height:100svh;background-image:radial-gradient(ellipse at 63% 65%,oklch(32% .038 285) 0,transparent 60%)}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--warm);outline-offset:5px}button{border:0}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.6}[hidden]{display:none!important}.topbar{max-width:1536px;margin:auto;padding:32px 5%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:18px}.brand img{width:114px;height:auto}.brand>span{font-size:11px;color:var(--muted);border-left:1px solid var(--line);padding-left:18px}.top-actions{display:flex;gap:26px;align-items:center}.preview-badge{font-size:9px;color:var(--muted);letter-spacing:.14em}.icon-button{background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px;font-size:11px;color:var(--muted)}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}.icon-button[aria-pressed=true]{color:var(--warm)}main{max-width:1440px;margin:auto;display:grid;grid-template-columns:35% 65%;min-height:700px;align-items:center;padding:0 5%;position:relative}.intro{position:relative;z-index:3;padding-bottom:60px}.eyebrow{font-size:10px;letter-spacing:.14em;display:flex;align-items:center;gap:9px;color:var(--muted)}.clock{color:var(--warm);letter-spacing:.04em;margin-left:8px}.live-dot{display:inline-block;width:5px;height:5px;flex-shrink:0;border-radius:50%;background:var(--warm);box-shadow:0 0 12px oklch(86% .12 80/.35)}h1{font-size:clamp(32px,3.6vw,52px);line-height:1.35;letter-spacing:-.06em;font-weight:600;margin:28px 0 23px;word-break:keep-all}.lead{font-size:14px;line-height:2;color:var(--muted);letter-spacing:-.02em}.primary{display:flex;align-items:center;justify-content:center;gap:12px;padding:17px 23px;background:var(--blue);border-radius:7px;font-size:13px;font-weight:600;min-height:52px;transition:background .2s,transform .2s;margin-top:32px;box-shadow:0 6px 25px oklch(15% .03 270/.15)}.primary:hover{background:oklch(63% .2 274);transform:translateY(-2px)}.primary>span:last-child{margin-left:16px}.window-icon{font-size:19px;font-weight:400}.intro-note{font-size:10px;margin:18px 0;color:var(--muted)}.city{position:relative;min-height:710px;display:flex;align-items:end;justify-content:center;isolation:isolate}.moon{position:absolute;top:27px;right:54px;width:26px;height:26px;border-radius:50%;box-shadow:5px 3px 0 0 oklch(87% .035 80);transform:rotate(-20deg);opacity:.7}.stars{position:absolute;top:30px;left:12%;width:2px;height:2px;background:var(--muted);box-shadow:92px 22px var(--muted),230px -10px var(--muted),324px 70px var(--muted),34px 87px var(--muted),478px 17px var(--muted),492px 154px var(--muted);opacity:.35}.distant{position:absolute;bottom:90px;background:oklch(27% .023 278);z-index:-2;border-top:3px solid oklch(31% .02 278);background-image:repeating-linear-gradient(90deg,transparent 0 15px,oklch(33% .025 278/.45) 15px 21px,transparent 21px 33px);background-size:100% 8px;background-repeat:repeat-y}.distant-one{height:230px;width:135px;left:-35px}.distant-two{height:305px;width:120px;right:-5px}.distant-three{height:170px;width:140px;right:-45px}.building-wrap{position:relative;width:520px;margin-bottom:50px;padding-top:72px;animation:appear 900ms cubic-bezier(.16,1,.3,1)}.building{position:relative;background:oklch(36% .028 272);border-top:6px solid oklch(43% .023 269);box-shadow:-10px 0 35px oklch(17% .02 273/.25);padding:0 24px;z-index:1}.building:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 6px,oklch(20% .03 270/.05) 6px 7px)}.building-side{position:absolute;top:72px;right:-30px;bottom:0;width:30px;background:oklch(27% .024 275);transform:skewY(-23deg);transform-origin:left top;background-image:repeating-linear-gradient(0deg,transparent 0 84px,oklch(33% .02 270) 84px 88px)}.building-name{height:45px;display:flex;align-items:center;justify-content:space-between;color:oklch(70% .027 271);font-size:9px;letter-spacing:.14em}.building-name span:last-child{font-size:9px;letter-spacing:0}.floor{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;position:relative;padding:0 0 21px;margin-bottom:8px;border-bottom:3px solid oklch(31% .025 272)}.floor-number{position:absolute;left:-17px;top:22px;font-size:8px;color:oklch(62% .027 271)}.window{position:relative;aspect-ratio:1.15;border:4px solid oklch(26% .023 275);border-bottom-width:6px;padding:0;background:oklch(24% .025 275);box-shadow:0 1px 0 oklch(47% .025 270),inset 0 0 12px oklch(18% .023 275);transition:transform .25s,box-shadow .25s;isolation:isolate}.window svg{display:block;width:100%;height:100%;overflow:hidden;opacity:.23}.window.lit svg{opacity:1}.window:after{content:"";position:absolute;top:0;bottom:0;left:48%;width:2px;background:oklch(29% .025 275/.8);pointer-events:none}.window.lit{background:var(--room-color);box-shadow:0 0 20px var(--room-glow),0 1px 0 oklch(50% .025 270)}.window.lit:hover,.window.selected{z-index:5;transform:scale(1.07);box-shadow:0 0 30px var(--room-glow);outline:2px solid var(--warm);outline-offset:3px}.window-tooltip{position:absolute;z-index:8;pointer-events:none;left:50%;bottom:calc(100% + 12px);min-width:150px;max-width:205px;padding:12px 14px;background:oklch(96% .02 85);color:oklch(29% .025 270);border-radius:5px;font-size:11px;line-height:1.6;box-shadow:0 6px 25px oklch(12% .03 270/.4);transform:translate(-50%,5px);opacity:0;transition:opacity .15s,transform .15s;text-align:left}.window-tooltip:after{content:"";position:absolute;bottom:-5px;left:50%;width:10px;height:10px;background:inherit;transform:rotate(45deg)}.window-tooltip small{display:block;font-size:9px;color:oklch(49% .025 270)}.window:hover .window-tooltip,.window:focus-visible .window-tooltip{opacity:1;transform:translate(-50%,0)}.window.yours:before{content:"내 방";position:absolute;bottom:-21px;left:50%;transform:translateX(-50%);font-size:8px;color:var(--warm);white-space:nowrap}.rooftop{position:absolute;top:0;left:0;right:0;height:72px}.water-tank{position:absolute;bottom:0;left:37px;width:59px;height:37px;border-radius:5px 5px 0 0;background:oklch(32% .025 273);border-top:4px solid oklch(40% .025 273)}.water-tank:after{content:"";position:absolute;top:7px;left:0;right:0;height:1px;background:oklch(43% .025 273);box-shadow:0 8px oklch(43% .025 273),0 16px oklch(43% .025 273)}.antenna{position:absolute;left:118px;bottom:0;height:63px;width:2px;background:oklch(43% .025 273)}.antenna:before{content:"";position:absolute;top:7px;left:-14px;width:30px;height:2px;background:inherit;box-shadow:0 10px oklch(43% .025 273)}.roof-sign{position:absolute;bottom:12px;right:29px;padding:8px 12px;border:1px solid oklch(50% .03 275);font-size:20px;letter-spacing:.13em;color:oklch(86% .025 80);text-shadow:0 0 12px oklch(80% .12 80/.4);transform:rotate(-2deg);background:oklch(28% .025 270)}.roof-sign:after{content:"";position:absolute;bottom:-13px;left:10px;width:2px;height:12px;background:oklch(43% .025 273);box-shadow:115px 0 oklch(43% .025 273)}.roof-ac{position:absolute;left:163px;bottom:0;width:46px;height:20px;background:oklch(37% .025 273);border:3px solid oklch(31% .025 273);background-image:repeating-linear-gradient(0deg,transparent 0 2px,oklch(24% .02 270) 2px 3px)}.ground-floor{height:101px;display:flex;gap:8px;position:relative;margin-top:1px}.shop-sign{position:absolute;top:0;left:0;width:65%;height:24px;background:oklch(28% .055 270);font-size:11px;letter-spacing:.15em;padding:6px 12px;color:oklch(90% .06 80)}.shop-sign small{float:right;font-size:7px;letter-spacing:.1em;padding-top:2px}.shop-window{position:relative;margin-top:30px;width:65%;height:66px;background:oklch(79% .074 80);border:5px solid oklch(23% .02 270);box-shadow:0 0 30px oklch(79% .074 80/.08);overflow:hidden}.shop-window:after{content:"";position:absolute;top:0;left:47%;height:100%;width:3px;background:oklch(26% .02 270)}.shop-plant{position:absolute;bottom:0;left:20px;font-size:58px;line-height:.8;color:oklch(30% .05 130)}.shop-table{position:absolute;width:58px;height:4px;background:oklch(37% .025 70);bottom:21px;right:32px}.shop-table:after{content:"";position:absolute;top:0;left:26px;width:4px;height:28px;background:inherit}.shop-chair{position:absolute;width:15px;height:24px;border:4px solid oklch(40% .03 70);right:9px;bottom:0}.entrance{margin-top:2px;position:relative;width:24%;height:94px;border:6px solid oklch(25% .02 270);background:oklch(59% .04 75);box-shadow:inset 0 18px 0 oklch(29% .025 270);display:flex;align-items:center;justify-content:center}.entrance:after{content:"";position:absolute;right:6px;top:56px;width:3px;height:12px;background:oklch(82% .03 80)}.entrance span{font-size:7px;background:oklch(89% .04 80);color:oklch(35% .03 270);padding:5px;transform:rotate(-4deg)}.mailboxes{position:absolute;width:23px;height:23px;right:0;top:43px;background:repeating-linear-gradient(0deg,oklch(49% .02 270) 0 5px,oklch(29% .02 270) 5px 7px)}.building-base{height:12px;margin:0 -30px;background:oklch(42% .02 270);border-bottom:4px solid oklch(28% .02 270)}.pavement{position:absolute;bottom:-11px;left:-70px;right:-80px;height:13px;background:oklch(29% .021 275);transform:skewX(-40deg)}.streetlamp{position:absolute;width:3px;height:186px;background:oklch(48% .022 273);right:-65px;bottom:-10px}.streetlamp:before{content:"";position:absolute;top:0;right:0;width:37px;height:3px;background:inherit}.streetlamp>div{position:absolute;top:3px;right:27px;width:17px;height:7px;border-radius:0 0 5px 5px;background:var(--warm);box-shadow:0 7px 36px 15px oklch(86% .12 80/.1)}.building-caption{position:absolute;bottom:-48px;left:0;right:0;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;white-space:nowrap}.caption-guide{margin-left:auto;color:oklch(83% .03 80)}footer{max-width:1440px;margin:18px auto 0;padding:23px 5% 25px;border-top:1px solid oklch(35% .026 276/.5);display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted)}footer p{margin:0}footer>div{display:flex;gap:26px}footer a{color:oklch(83% .025 80)}footer a:hover{text-decoration:underline}.room-panel{position:absolute;right:5%;top:36px;width:330px;z-index:12;background:oklch(27% .03 275);border:1px solid oklch(44% .028 275);border-radius:10px;box-shadow:0 20px 70px oklch(15% .03 275/.55);animation:panel-in .35s cubic-bezier(.16,1,.3,1);overflow:hidden}.panel-top{display:flex;justify-content:space-between;align-items:center;padding:12px 19px;font-size:10px;color:var(--muted)}.room-art{height:183px;background:var(--room-color);overflow:hidden}.room-art svg{width:100%;height:100%;display:block}.panel-body{padding:20px 22px 24px}.room-meta{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-bottom:9px}.panel-body h2{font-size:23px;letter-spacing:-.04em;line-height:1.4;margin:10px 0 13px;word-break:keep-all}.room-owner{font-size:12px;color:var(--muted)}.mode-pill{display:inline-flex;gap:6px;align-items:center;background:oklch(38% .034 273);padding:7px 10px;border-radius:5px;font-size:10px;color:oklch(87% .04 80);margin:4px 0 15px}.panel-body .primary{margin-top:6px;width:100%;font-size:12px;min-height:46px;padding:14px}.secondary{background:transparent;border:1px solid oklch(47% .025 270);border-radius:5px;padding:11px 12px;font-size:11px}.room-actions{display:flex;gap:8px;margin-top:10px}.room-actions button{flex:1}.sample-note{font-size:9px;color:var(--muted);line-height:1.8;margin:14px 0 0}.room-notes{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.room-notes p{font-size:11px;line-height:1.8;color:oklch(83% .02 80);word-break:break-word}.note-input{display:flex;gap:6px}.note-input input{min-width:0;flex:1;background:oklch(22% .028 270);border:1px solid var(--line);border-radius:5px;padding:10px;color:var(--ink);font-size:11px}.note-input button{background:var(--blue);border-radius:5px;padding:10px;font-size:11px}.owner-controls{display:flex;gap:10px;margin-top:15px}.owner-controls button{background:transparent;text-decoration:underline;color:var(--muted);font-size:10px;padding:7px 0}.share-url{display:block;margin-top:12px;max-width:100%;font-size:10px;overflow-wrap:anywhere;color:var(--warm)}dialog{background:oklch(27% .03 275);border:1px solid var(--line);color:var(--ink);border-radius:13px;padding:28px;width:420px;max-width:calc(100% - 32px);max-height:90svh;box-shadow:0 30px 80px oklch(12% .03 270/.6)}dialog::backdrop{background:oklch(13% .03 270/.75)}.dialog-top{display:flex;justify-content:space-between;align-items:center}dialog h2{font-size:29px;letter-spacing:-.05em;line-height:1.4;margin:15px 0}.form-lead{font-size:12px;color:var(--muted);margin-bottom:26px}form>label,legend{display:block;font-size:11px;margin:18px 0 8px}form>input{width:100%;padding:13px;background:oklch(23% .03 275);border:1px solid var(--line);border-radius:5px;color:var(--ink);font-size:12px}input::placeholder{color:oklch(63% .025 275)}fieldset{border:0;padding:0;margin:0}.radio-option{display:flex;align-items:center;gap:9px;padding:12px;background:oklch(23% .03 275);border:1px solid var(--line);margin-bottom:7px;border-radius:5px;font-size:12px}.radio-option span{margin-left:auto}input[type=radio]{accent-color:var(--blue)}.color-options{display:flex;gap:12px}.color-options label{position:relative;cursor:pointer}.color-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.swatch{display:block;width:31px;height:31px;border-radius:50%;border:3px solid transparent}.color-options input:checked+.swatch{outline:1px solid var(--ink);outline-offset:3px}.color-options input:focus-visible+.swatch{outline:2px solid var(--warm);outline-offset:4px}.amber{background:oklch(82% .09 80)}.blue{background:oklch(75% .07 250)}.rose{background:oklch(79% .065 30)}.sage{background:oklch(79% .06 145)}.privacy-note{font-size:10px;color:var(--muted);line-height:1.9;margin-top:20px}form .primary{width:100%;margin-top:20px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:oklch(94% .025 80);color:oklch(27% .035 270);padding:13px 20px;border-radius:7px;z-index:40;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw;box-shadow:0 10px 30px oklch(15% .03 270/.3)}.toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes appear{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes panel-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}@media(min-width:1100px){body:has(.room-panel:not([hidden])) .building-wrap{transform:translateX(-80px);transition:transform .35s cubic-bezier(.16,1,.3,1)}body:has(.room-panel:not([hidden])) .intro{opacity:.65}body:has(.room-panel:not([hidden])) .room-panel{right:1%}}@media(min-width:1500px){main{min-height:780px}.city{min-height:760px}.intro{padding-bottom:100px}.building-wrap{width:570px}.floor{gap:22px;padding-bottom:25px}}@media(max-width:1100px) and (min-width:701px){main{grid-template-columns:32% 68%;padding:0 4%}.building-wrap{width:440px}.floor{gap:13px;padding-bottom:18px}.building{padding:0 20px}.city{min-height:650px}h1{font-size:33px}.lead{font-size:12px}.room-panel{right:3%;top:65px}}@media(max-width:700px){.topbar{padding:23px 6%}.brand img{width:99px}.brand>span{display:none}.top-actions{gap:8px}.preview-badge{font-size:8px;letter-spacing:.07em}.icon-button span{display:none}main{display:flex;flex-direction:column;align-items:stretch;padding:0 6%;min-height:0}.intro{padding:22px 0 0;z-index:3}.eyebrow{font-size:9px}h1{font-size:33px;margin:20px 0 15px;line-height:1.35}h1 br{display:none}.lead{font-size:12px;line-height:1.9}.lead br:nth-of-type(1){display:none}.primary{margin-top:22px;min-height:47px;padding:13px 20px}.intro-note{font-size:9px;margin-top:13px}.city{min-height:610px;margin-top:-5px;width:100%;align-items:end}.building-wrap{width:min(100% - 16px,370px);margin-bottom:54px;padding-top:66px}.building{padding:0 17px;border-top-width:5px}.building-side{width:19px;right:-19px;top:66px}.building-name{height:36px;font-size:7px}.building-name span:last-child{font-size:7px}.floor{gap:11px;padding-bottom:17px;margin-bottom:5px;border-bottom-width:2px}.floor-number{left:-12px;top:16px;font-size:7px}.window{border-width:3px;border-bottom-width:5px;min-height:40px}.ground-floor{height:83px}.shop-window{height:49px}.entrance{height:76px}.roof-sign{right:20px;font-size:17px}.rooftop{height:66px}.roof-ac{left:138px;width:30px}.water-tank{left:22px;width:49px;height:32px}.antenna{left:92px;height:54px}.moon{top:0;right:25px;width:20px;height:20px}.distant{bottom:70px}.distant-one{left:-20px;width:55px;height:200px}.distant-two{right:-20px;width:60px;height:230px}.distant-three{display:none}.streetlamp{right:-23px;height:135px}.streetlamp:before{width:20px}.streetlamp>div{right:16px;width:11px}.building-caption{font-size:8px;bottom:-38px;gap:5px}.caption-guide{font-size:8px}.window-tooltip{min-width:130px;font-size:10px}.window:nth-of-type(2) .window-tooltip{left:10px;transform:translate(0,5px)}.window:nth-of-type(6) .window-tooltip{left:auto;right:0;transform:translate(0,5px)}footer{padding:20px 6% 30px;flex-direction:column;font-size:9px;margin-top:15px;gap:13px}footer>div{justify-content:space-between;gap:12px}.room-panel{position:relative;width:100%;right:auto;top:auto;margin:6px 0 15px;scroll-margin-top:18px;animation:appear .3s ease}.room-art{height:210px}.panel-body h2{font-size:25px}.sample-note{font-size:10px}.privacy-note{font-size:11px}dialog{padding:23px}.toast{font-size:11px;text-align:center}.brand{gap:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Short laptop screens keep the complete building in view. */
@media(min-width:701px) and (max-height:850px){.topbar{padding-top:24px;padding-bottom:20px}main{min-height:560px}.intro{padding-bottom:20px}h1{font-size:40px;margin:23px 0 19px}.city{min-height:560px}.building-wrap{width:430px;padding-top:52px;margin-bottom:38px}.building-side{top:52px;right:-25px;width:25px}.rooftop{height:52px}.antenna{height:46px}.building{padding:0 20px}.building-name{height:31px;font-size:8px}.building-name span:last-child{font-size:8px}.floor{gap:14px;padding-bottom:12px;margin-bottom:4px;border-bottom-width:2px}.floor-number{left:-13px;top:12px}.window{aspect-ratio:1.5;border-width:3px;border-bottom-width:5px}.ground-floor{height:80px}.shop-window{height:46px}.entrance{height:75px}.roof-sign{font-size:18px;bottom:10px}.roof-sign:after{height:10px;bottom:-11px}.water-tank{height:30px}.building-caption{bottom:-34px;font-size:9px}.streetlamp{height:156px;right:-54px}.distant{bottom:66px}.moon{top:8px}.room-panel{top:18px}.room-art{height:157px}.panel-body{padding:16px 20px 20px}.panel-body h2{font-size:22px}.room-notes{padding-top:10px;margin-top:12px}footer{margin-top:8px;padding-top:17px;padding-bottom:19px}body:has(.room-panel:not([hidden])) .building-wrap{transform:translateX(-90px)}}
@media(max-width:700px){.pavement{left:-16px;right:-16px}.window-tooltip{max-width:180px}.intro h1{letter-spacing:-.065em}}

.window.selected .window-tooltip{display:none}
/* Four seats and the shared conversation stay inside the opened room. */
.window-count{position:absolute;right:2px;bottom:1px;z-index:2;font-size:7px;line-height:1.4;color:oklch(92% .02 80);background:oklch(25% .03 275/.85);padding:1px 3px;border-radius:2px}.room-panel{width:360px;max-height:calc(100svh - 135px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.room-art{height:160px;flex-shrink:0}.occupancy{color:var(--warm);font-weight:600}.occupancy.full{color:oklch(79% .1 30)}.seats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 18px}.seat{display:flex;flex-direction:column;gap:6px;align-items:center;color:var(--muted);padding:10px 2px;border:1px dashed var(--line);border-radius:5px;min-width:0}.seat>span{font-size:15px}.seat small{font-size:9px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.seat.occupied{border-style:solid;background:oklch(36% .03 275);color:var(--warm)}.chat-section{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.chat-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px}.chat-heading small{font-size:9px;color:var(--muted)}.chat-log{height:180px;overflow-y:auto;overscroll-behavior:contain;margin:12px 0;padding-right:4px;scrollbar-width:thin;overflow-wrap:anywhere}.chat-empty{font-size:12px;line-height:1.8;color:var(--muted);text-align:center;padding:28px 0}.chat-message{margin:0 0 13px;padding:10px 12px;background:oklch(23% .03 275);border-radius:6px;font-size:12px}.chat-message>div{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px}.chat-message strong{font-weight:500;color:var(--warm)}.chat-message time{font-size:8px;color:var(--muted)}.chat-message p{margin:7px 0 0;line-height:1.7;white-space:pre-wrap}.chat-message.own{background:oklch(34% .05 275)}.chat-input-row{display:flex;gap:6px}.chat-input-row input{width:0;min-width:0;flex:1;padding:12px;background:oklch(23% .03 275);border:1px solid var(--line);border-radius:5px;color:var(--ink);font-size:12px}.chat-input-row button{padding:11px;background:var(--blue);border-radius:5px;font-size:11px;flex-shrink:0}@media(max-width:700px){.room-panel{width:100%;max-height:none;overflow:visible}.room-art{height:190px}.chat-log{height:230px}.window-count{font-size:6px}.preview-badge{max-width:125px;letter-spacing:0}.chat-input-row input{font-size:16px}.seat small{font-size:9px}}
/* Entering a room changes the page, rather than enlarging the preview panel. */
body.in-room{overflow:hidden}body.in-room>.topbar,body.in-room>footer,body.in-room main>.intro,body.in-room main>.city{display:none}body.in-room main{display:block;padding:0;margin:0;max-width:none;min-height:100dvh}body.in-room #room-panel{position:fixed;inset:0;z-index:15;width:auto;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;animation:none;background:oklch(23% .036 276);overflow:hidden;display:flex;flex-direction:column;scroll-margin:0}.immersive-header{height:80px;flex-shrink:0;padding:0 4%;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid oklch(37% .028 275)}.night-wordmark{font-size:18px;font-weight:750;letter-spacing:-.04em}.night-wordmark>span{font-size:14px;font-weight:400;padding-left:13px;margin-left:12px;border-left:1px solid var(--line);letter-spacing:0;color:var(--warm)}.room-location{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.room-location .occupancy{margin-left:15px;font-size:11px}.leave-button{display:flex;align-items:center;gap:22px;min-height:42px;background:transparent;border:1px solid var(--line);border-radius:6px;padding:11px 16px;font-size:12px}.leave-button:hover{background:oklch(34% .034 275)}.immersive-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);flex:1;min-height:0;max-width:1600px;width:100%;margin:0 auto}.room-stage{display:flex;flex-direction:column;justify-content:center;min-height:0;min-width:0;padding:clamp(20px,3vw,50px) clamp(20px,4vw,64px);overflow-y:auto}.stage-heading .eyebrow{margin:0 0 12px}.stage-heading h2{font-size:clamp(25px,2.8vw,40px);font-weight:600;line-height:1.35;letter-spacing:-.055em;word-break:keep-all;margin:0 0 18px}.stage-heading .mode-pill{font-size:11px;margin:0 0 20px}body.in-room .room-stage .room-art{height:auto;width:100%;aspect-ratio:400/225;border-radius:8px;flex-shrink:0;box-shadow:0 14px 45px oklch(15% .025 275/.15)}body.in-room .room-stage .seats{margin:18px 0 6px;gap:10px}body.in-room .seat{min-height:58px;padding:10px 6px}body.in-room .seat small{font-size:11px}.stage-bottom{margin-top:17px}.stage-bottom .room-actions{margin:0;max-width:430px}.stage-bottom .secondary{min-height:43px;font-size:12px}.stage-bottom .owner-controls{margin-top:9px}.stage-bottom .owner-controls button{font-size:11px}body.in-room .chat-section{display:flex;flex-direction:column;min-height:0;min-width:0;border:0;border-left:1px solid oklch(37% .028 275);margin:0;padding:32px clamp(20px,3vw,46px) 25px;background:oklch(25% .034 276)}body.in-room .chat-heading{font-size:16px;flex-shrink:0;padding-bottom:23px;border-bottom:1px solid var(--line)}body.in-room .chat-heading small{font-size:10px}body.in-room .chat-log{height:auto;min-height:0;flex:1;margin:20px 0;scrollbar-gutter:stable;padding-right:6px}body.in-room .chat-message{font-size:14px;padding:15px 16px;margin-bottom:16px;max-width:92%;background:oklch(30% .03 275)}body.in-room .chat-message.own{margin-left:auto;background:oklch(35% .055 274)}body.in-room .chat-message>div{font-size:11px}body.in-room .chat-message time{font-size:9px}body.in-room .chat-empty{margin-top:35%;font-size:14px}body.in-room .chat-input-row{flex-shrink:0;gap:9px}body.in-room .chat-input-row input{font-size:14px;min-height:49px;padding:14px}body.in-room .chat-input-row button{font-size:12px;padding:13px 18px}.chat-retention{color:var(--muted);font-size:10px;line-height:1.6;margin:12px 0 0;flex-shrink:0}@media(max-width:850px) and (min-width:701px){.immersive-layout{grid-template-columns:minmax(0,1fr) minmax(300px,1fr)}.room-stage{padding:24px}.stage-heading h2{font-size:26px}body.in-room .chat-section{padding:25px 22px}.room-location{display:none}}@media(max-width:700px){.immersive-header{height:58px;padding:0 5%;gap:10px}.night-wordmark{font-size:16px}.night-wordmark>span{font-size:12px;padding-left:8px;margin-left:8px}.room-location{gap:5px;font-size:10px}.room-location .live-dot{display:none}.room-location .occupancy{margin-left:3px;font-size:10px}.leave-button{font-size:11px;min-height:36px;padding:8px 10px;gap:8px}.immersive-layout{display:flex;flex-direction:column}.room-stage{padding:14px 5% 12px;overflow:visible;flex-shrink:0;justify-content:start;display:grid;grid-template-columns:minmax(0,1fr) 130px;column-gap:14px;row-gap:9px}.stage-heading{align-self:center}.stage-heading .eyebrow{font-size:8px;letter-spacing:.02em;margin-bottom:6px}.stage-heading h2{font-size:20px;margin:0 0 7px;line-height:1.3}.stage-heading .mode-pill{font-size:8px;padding:5px 7px;margin:0}body.in-room .room-stage .room-art{width:130px;height:105px;aspect-ratio:auto;border-radius:4px}body.in-room .room-stage .room-art svg{width:187px;max-width:none;transform:translateX(-29px)}body.in-room .room-stage .seats{grid-column:1/-1;margin:0;gap:6px}body.in-room .seat{min-height:40px;flex-direction:row;gap:5px;padding:6px}body.in-room .seat>span{font-size:10px}body.in-room .seat small{font-size:9px;text-align:left}.stage-bottom{grid-column:1/-1;margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.stage-bottom .room-actions{gap:6px;flex:1;min-width:240px}.stage-bottom .secondary{font-size:10px;padding:7px;min-height:32px}.stage-bottom .owner-controls{gap:10px;margin:0}.stage-bottom .owner-controls button{font-size:9px;padding:4px 0}body.in-room .chat-section{flex:1;min-height:0;border-left:0;border-top:1px solid var(--line);padding:14px 5% max(12px,env(safe-area-inset-bottom))}body.in-room .chat-heading{font-size:13px;padding-bottom:11px}body.in-room .chat-heading small{font-size:9px}body.in-room .chat-log{margin:12px 0}body.in-room .chat-message{font-size:12px;padding:10px 12px;margin-bottom:12px}body.in-room .chat-message>div{font-size:10px}body.in-room .chat-input-row input{font-size:16px;min-height:45px;padding:11px}body.in-room .chat-input-row button{padding:11px 14px;font-size:11px}.chat-retention{font-size:9px;margin-top:8px}body.in-room .chat-empty{font-size:12px;margin-top:20%;padding:8px 0}}@media(max-height:620px) and (max-width:700px){.room-stage .room-art{display:none!important}.room-stage{grid-template-columns:1fr;padding:10px 5%}.stage-heading{display:flex;align-items:center;gap:10px}.stage-heading .eyebrow,.stage-heading .mode-pill,.stage-bottom .owner-controls{display:none}.stage-heading h2{font-size:16px;margin:0}.immersive-header{height:46px}.stage-bottom{display:none}.chat-retention{display:none}}

.night-wordmark{display:flex;align-items:center}.night-wordmark img{width:105px;height:auto}.immersive-header .room-location{display:flex}@media(max-width:700px){.night-wordmark img{width:82px}.night-wordmark>span{margin-left:7px;padding-left:7px}.immersive-header .room-location{gap:4px}}

/* Connect each person to a numbered seat, with a clear self label. */
body.in-room .seat{flex-direction:row;align-items:center;gap:10px;padding:12px;text-align:left}
.seat .seat-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;font-size:12px;background:oklch(29% .035 275);color:var(--muted)}
.seat.occupied .seat-number{background:oklch(45% .05 275);color:var(--ink)}
.seat.self{border:1px solid oklch(69% .16 276);background:oklch(36% .085 276);color:var(--ink)}
.seat.self .seat-number{background:var(--blue);color:var(--ink)}
.seat-identity{min-width:0;flex:1}
.seat-role{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}
.seat.self .seat-role{color:oklch(85% .075 276);font-weight:700}
body.in-room .seat small{display:block;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;text-align:left;font-size:12px;line-height:1.5;color:var(--ink)}
.self-badge{display:inline-block;margin-left:7px;padding:2px 5px;border-radius:4px;background:oklch(48% .13 276);color:var(--ink);font-size:9px;font-weight:700}
@media(max-width:700px){body.in-room .room-stage .seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body.in-room .seat{min-height:56px;padding:8px;gap:8px}body.in-room .seat small{font-size:11px}.seat-role{font-size:9px;margin-bottom:3px}.seat .seat-number{width:24px;height:24px;font-size:10px}}

@media(min-width:701px) and (max-width:1100px){body.in-room .room-stage .seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}

.quiet-notice{font-size:12px;line-height:1.7;color:var(--warm);margin:14px 0 0;flex-shrink:0}
.quiet-reactions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;flex-shrink:0}
.quiet-reactions button{min-height:48px;border:1px solid var(--line);border-radius:6px;background:oklch(30% .03 275);font-size:24px;padding:8px 0;transition:background .15s ease}
.quiet-reactions button:hover{background:oklch(38% .055 276)}
body.in-room .reaction-message p{font-size:34px;line-height:1.3;margin-top:10px}
@media(max-width:700px){.quiet-notice{font-size:11px;margin-top:10px}.quiet-reactions{gap:5px}.quiet-reactions button{min-height:44px;font-size:22px}body.in-room .reaction-message p{font-size:29px}}

/* A named ambience switch exposes both its state and its action. */
.sound-toggle{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:oklch(24% .032 275);color:var(--muted);font-size:11px;white-space:nowrap}
.sound-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.sound-name{color:var(--ink)}
.sound-state{font-size:10px;min-width:20px}
.sound-switch{position:relative;display:block;width:30px;height:18px;border-radius:20px;background:oklch(40% .025 275);flex-shrink:0}
.sound-switch:after{content:'';position:absolute;width:12px;height:12px;top:3px;left:3px;background:oklch(83% .013 275);border-radius:50%;transition:transform .18s ease-out}
.sound-waves{display:none}
.sound-toggle[aria-checked=true]{background:oklch(32% .07 275);border-color:oklch(60% .12 275);color:var(--warm)}
.sound-toggle[aria-checked=true] .sound-switch{background:var(--blue)}
.sound-toggle[aria-checked=true] .sound-switch:after{transform:translateX(12px);background:var(--ink)}
.sound-toggle[aria-checked=true] .sound-muted{display:none}
.sound-toggle[aria-checked=true] .sound-waves{display:block}
@media(max-width:700px){.top-actions .preview-badge{display:none}.sound-toggle{padding:8px 10px;gap:7px;font-size:10px}.sound-state{font-size:9px}}

.ambience-control{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.weather-status{font-size:9px;line-height:1.5;color:var(--muted);margin:0;max-width:220px;text-align:right}
.weather-credit{font-size:9px;color:var(--muted);white-space:nowrap}
@media(max-width:700px){.weather-status{font-size:8px;max-width:175px}.topbar{align-items:flex-start}.weather-credit{align-self:flex-end}}

.closed-night{display:none}
body.night-closed main{grid-template-columns:35% 65%}
body.night-closed main>.intro,body.night-closed #room-panel,body.night-closed .ambience-control{display:none!important}
body.night-closed .closed-night{display:block;text-align:left;padding:25px 0 70px;position:relative;z-index:3}
.closed-night h1{font-size:clamp(32px,3.6vw,52px);line-height:1.35;margin:32px 0 22px;font-weight:600;letter-spacing:-.06em}
.closed-message{font-size:14px;line-height:1.9;color:var(--muted);word-break:keep-all;max-width:28ch}
.opening-countdown{display:inline-flex;flex-direction:column;align-items:center}
.hourglass{width:35px;height:48px;fill:none;stroke:var(--warm);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-bottom:18px}
.hourglass-sand{fill:var(--warm);stroke:none}.hourglass-trickle{stroke-dasharray:1 3}
.countdown-label{color:var(--muted);font-size:10px;letter-spacing:.08em;margin:0 0 10px}
.countdown-time{font-size:clamp(25px,2.7vw,38px);font-variant-numeric:tabular-nums;font-weight:500;letter-spacing:.025em;color:var(--warm);margin:0;white-space:nowrap}
body.night-closed .building-wrap{animation:none}
body.night-closed .window:disabled{opacity:1;cursor:default}
body.night-closed .window-tooltip{display:none}
body.night-closed .window:hover{transform:none;outline:none}
body.night-closed .shop-window{background:oklch(27% .025 275);border-color:oklch(23% .025 275)}
body.night-closed .shop-plant{color:oklch(20% .025 275)}
body.night-closed .shop-chair,body.night-closed .shop-table{filter:brightness(.45)}
body.night-closed .entrance{background:oklch(25% .025 275)}
body.night-closed .entrance span{background:oklch(34% .025 275);color:var(--muted)}
body.night-closed .streetlamp>div{background:oklch(39% .025 275);box-shadow:none}
body.night-closed .building-caption .live-dot{background:var(--muted);box-shadow:none}
@media(max-width:1100px) and (min-width:701px){body.night-closed main{grid-template-columns:32% 68%}}
@media(max-width:700px){body.night-closed main{display:flex;padding-top:20px}body.night-closed .closed-night{padding:15px 0 30px}.closed-night h1{font-size:34px;margin:22px 0 14px}.closed-message{font-size:12px;max-width:none}.opening-countdown{align-items:flex-start}.hourglass{width:25px;height:35px;margin-bottom:12px;align-self:center}.countdown-label{font-size:9px;align-self:center}.countdown-time{font-size:28px}.closed-night h1 br{display:block}body.night-closed .city{min-height:570px}body.night-closed .building-wrap{animation:none}}

/* Seoul's layered skyline stays behind the room windows. */
.skyline{position:absolute;left:-100px;bottom:90px;width:calc(100% + 100px);height:calc(100% - 20px);z-index:-2;pointer-events:none;overflow:hidden}
.skyline svg{display:block;width:100%;height:100%}
.skyline-far{fill:oklch(26% .023 278)}
.skyline-mid{fill:oklch(29% .026 276)}
.skyline-near{fill:oklch(32% .026 275)}
.skyline-window{fill:oklch(39% .027 273 / .3)}
.skyline-roof{stroke:oklch(41% .025 273 / .45);stroke-width:3;fill:none}
.skyline-antenna{stroke:oklch(41% .025 273 / .55);stroke-width:2;fill:none}
.skyline-edge{stroke:oklch(41% .025 273 / .3);stroke-width:2;fill:none}
@media(max-width:1100px) and (min-width:701px){.skyline{left:-65px;width:calc(100% + 65px)}}
@media(max-width:700px){.skyline{left:-20px;width:calc(100% + 40px);bottom:80px;height:calc(100% + 65px)}}

/* Fit the complete illustrated scene into the space between header and footer. */
body:not(.in-room){height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
body:not(.in-room)>.topbar{width:100%;padding:20px 5%}
body:not(.in-room)>main{width:100%;height:100%;min-height:0;grid-template-columns:minmax(0,35fr) minmax(0,65fr);padding:0 5%;overflow:hidden}
body:not(.in-room)>footer{width:100%;margin:0 auto;padding:15px 5%;font-size:9px}
body:not(.in-room) .city{height:100%;min-height:0;margin:0;width:100%;position:relative;display:block}
.city-scene{position:absolute;width:820px;height:950px;left:50%;bottom:0;transform:translateX(-50%) scale(var(--scene-scale,.5));transform-origin:bottom center;isolation:isolate}
.city .city-scene .building-wrap{position:absolute;width:520px;left:140px;bottom:60px;padding-top:72px;margin:0;animation:none;transform:none}
.city-scene .skyline{left:0;bottom:70px;width:820px;height:calc(100% - 20px)}
.city-scene .moon{right:55px;top:40px}.city-scene .stars{top:45px}
body:not(.in-room) .intro,body.night-closed .closed-night{min-width:0;padding:15px 0 25px}
body:not(.in-room) h1{font-size:clamp(28px,min(3.6vw,5.8dvh),52px)}
body:not(.in-room) .room-panel{max-height:calc(100% - 36px);overflow-y:auto}
@media(max-width:700px){
 body:not(.in-room)>.topbar{padding:14px 6%;align-items:center}
 body:not(.in-room)>main{display:flex;flex-direction:column;align-items:stretch;padding:0 6%;gap:8px}
 body:not(.in-room) .city{flex:1;min-height:0}
 body:not(.in-room) .intro,body.night-closed .closed-night{flex-shrink:0;padding:4px 0 0}
 body:not(.in-room) h1{font-size:27px;line-height:1.25;margin:12px 0 10px}
 .opening-countdown{align-items:center}.hourglass{width:22px;height:30px;margin-bottom:8px}.countdown-label{font-size:9px;margin-bottom:6px}.countdown-time{font-size:25px}
 .closed-message{font-size:11px;line-height:1.6;margin:8px 0}
 body:not(.in-room) .lead{font-size:11px;line-height:1.6;margin:8px 0}
 body:not(.in-room) .primary{margin-top:12px;min-height:40px;padding:10px 15px;font-size:12px}
 body:not(.in-room) .intro-note{display:none}
 body:not(.in-room)>footer{padding:11px 6%;display:block;font-size:9px}
 body:not(.in-room)>footer>p,body:not(.in-room)>footer>div>span,body:not(.in-room)>footer>.weather-credit{display:none}
 body:not(.in-room)>footer>div{display:flex;justify-content:flex-end}
 body:not(.in-room) .room-panel{position:absolute;top:8px;right:6%;width:88%;max-height:calc(100% - 16px);margin:0;overflow-y:auto}
}
@media(max-height:600px){
 body:not(.in-room)>.topbar{padding-top:10px;padding-bottom:10px}
 body:not(.in-room)>footer{padding-top:8px;padding-bottom:8px}
 body:not(.in-room) .hourglass{height:23px;margin-bottom:5px}
 body:not(.in-room) .countdown-time{font-size:24px}
 body:not(.in-room) h1{font-size:25px;line-height:1.2;margin:12px 0}
 body:not(.in-room) .lead{font-size:11px;line-height:1.5}
 body:not(.in-room) .intro-note{display:none}
}

/* Readable supporting information stays independent of the scene scale. */
body:not(.in-room) .closed-message,body:not(.in-room) .lead{font-size:16px;line-height:1.8}
body:not(.in-room) .countdown-label{font-size:13px;letter-spacing:.035em}
body:not(.in-room) .brand>span,body:not(.in-room) .preview-badge{font-size:12px}
body:not(.in-room)>.topbar .preview-badge{letter-spacing:.07em}
body:not(.in-room)>footer,body:not(.in-room) .weather-credit{font-size:12px;line-height:1.5}
body:not(.in-room) .weather-status{font-size:12px}
body:not(.in-room) .city>.building-caption{bottom:8px;left:0;right:0;margin:0;justify-content:center;flex-wrap:wrap;white-space:normal;font-size:12px;line-height:1.5;text-align:center}
@media(max-width:700px){
 body:not(.in-room) .closed-message,body:not(.in-room) .lead{font-size:14px;line-height:1.6}
 body:not(.in-room) .countdown-label{font-size:12px}
 body:not(.in-room) .weather-status{font-size:10px}
 body:not(.in-room)>footer{font-size:12px}
 body:not(.in-room) .city>.building-caption{font-size:12px;bottom:3px}
 body:not(.in-room) .city>.building-caption .caption-guide{display:none}
}

body:not(.in-room) .city>.building-caption .caption-guide{margin-left:12px}
body:not(.in-room) .city>.building-caption .caption-guide:empty{display:none}

.cafe-door{position:absolute;inset:0;z-index:4;background:transparent;padding:0;text-align:left;border-radius:0}
.cafe-door-hint{position:absolute;bottom:8px;left:12px;display:flex;align-items:center;gap:7px;background:oklch(26% .03 275 / .92);color:var(--warm);font-size:12px;padding:7px 10px;border-radius:4px}
.cafe-door:hover:not(:disabled){box-shadow:inset 0 0 0 2px var(--warm)}
.cafe-door:disabled{opacity:1;cursor:default}.cafe-door:disabled .cafe-door-hint{display:none}
body.in-room .room-actions{flex-wrap:wrap}

/* One compact sound control, with weather details in its settings panel. */
body:not(.in-room)>.topbar{position:relative;z-index:30;align-items:center;gap:20px}
.top-actions{gap:20px;align-items:center;flex-shrink:0}
.ambience-control{position:relative;display:block}
.ambience-summary{list-style:none;display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 13px;border:1px solid var(--line);border-radius:6px;background:oklch(27% .03 275);font-size:12px;color:var(--ink);cursor:pointer;white-space:nowrap}
.ambience-summary::-webkit-details-marker{display:none}
#ambience-summary-state{font-size:11px;color:var(--muted);padding-left:9px;border-left:1px solid var(--line)}
.ambience-control.playing .ambience-summary{border-color:var(--warm)}
.ambience-control.playing #ambience-summary-state{color:var(--warm)}
.summary-chevron{color:var(--muted);margin-left:2px}
.ambience-control[open] .summary-chevron{transform:rotate(180deg)}
.ambience-panel{position:absolute;right:0;top:calc(100% + 10px);width:260px;padding:16px;background:oklch(28% .032 275);border:1px solid var(--line);border-radius:8px;box-shadow:0 16px 40px oklch(15% .03 275 / .4)}
.ambience-panel .sound-toggle{width:100%;justify-content:space-between;font-size:12px}
body:not(.in-room) .ambience-panel .weather-status{font-size:12px;line-height:1.7;max-width:none;text-align:left;margin:12px 0 0}
body.in-room .cafe-room .immersive-layout{grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr)}
body.in-room .cafe-room .room-stage{padding:clamp(20px,4vw,64px);gap:0}
body.in-room .cafe-room .room-art{width:100%;max-width:760px;aspect-ratio:2/1;height:auto;margin:24px 0 20px;border-radius:8px}
body.in-room .cafe-room .room-art svg{width:100%;height:auto;max-width:100%;transform:none}
.cafe-room .stage-heading h2{max-width:18ch;line-height:1.4}
body.in-room .cafe-room .stage-bottom{margin-top:0;width:100%}
@media(max-width:700px){
 .top-actions{gap:0}.ambience-summary{padding:8px 10px;gap:6px;min-height:38px;font-size:11px}
 #ambience-summary-state{font-size:10px;padding-left:6px}.ambience-panel{width:min(260px,88vw)}
 body.in-room .cafe-room .immersive-layout{display:flex;flex-direction:column}
 body.in-room .cafe-room .room-stage{display:block;padding:15px 5% 12px;flex-shrink:0}
 .cafe-room .stage-heading h2{max-width:none;font-size:18px;margin-bottom:8px}
 body.in-room .cafe-room .room-art{width:100%;max-width:none;height:150px;aspect-ratio:auto;margin:12px 0;overflow:hidden}
 body.in-room .cafe-room .room-art svg{width:100%;height:100%;transform:none}
 body.in-room .cafe-room .stage-bottom{display:block}
 body.in-room .cafe-room .chat-section{min-height:0;flex:1}
 .cafe-room .room-location{font-size:10px;gap:5px}.cafe-room .occupancy{white-space:nowrap}
}
@media(max-width:700px) and (max-height:650px){body.in-room .cafe-room .room-art{height:90px;margin:8px 0}.cafe-room .stage-heading .eyebrow,.cafe-room .stage-heading .mode-pill{display:none}body.in-room .cafe-room .room-stage{padding:10px 5%}}

.cafe-location>span{white-space:nowrap}
.cafe-room .leave-button{white-space:nowrap;flex-shrink:0}
@media(max-width:700px){.cafe-room .night-wordmark>span{display:none}.cafe-room .cafe-location{display:flex;flex-direction:column;align-items:flex-start;gap:3px;flex:1;min-width:0;font-size:10px}.cafe-room .leave-button{font-size:10px;padding:8px 10px}}

body.in-room .cafe-room .room-art{display:block!important}

/* The cafe storefront and shared building entrance are separate surfaces. */
.cafe-door{right:auto;width:65%;height:100%}
.entrance{background:oklch(27% .028 260);box-shadow:none;overflow:hidden}
.entrance-glass{position:absolute;inset:14px 2px 0;background:oklch(52% .045 245 / .45);border:2px solid oklch(56% .024 255);box-shadow:inset 0 0 16px oklch(72% .05 80 / .15)}
.entrance-glass:before{content:'';position:absolute;left:50%;top:0;bottom:0;width:2px;background:oklch(65% .028 250)}
.entrance-glass:after{content:'';position:absolute;inset:5px 7px;background:linear-gradient(120deg,transparent 25%,oklch(88% .012 250 / .2) 26% 29%,transparent 30% 48%,oklch(88% .012 250 / .1) 49% 59%,transparent 60%)}
.entrance-shutter{position:absolute;left:0;right:0;top:0;height:14px;z-index:3;background:repeating-linear-gradient(0deg,oklch(40% .023 275) 0 3px,oklch(31% .023 275) 3px 5px);border-bottom:2px solid oklch(52% .02 275);transition:height .7s ease-out}
.entrance span{position:relative;z-index:4;font-size:7px;background:oklch(88% .04 80);color:oklch(34% .03 270)}
.entrance:after{z-index:4;right:calc(50% - 5px);top:58%;height:13px;width:2px;box-shadow:7px 0 0 oklch(82% .03 80)}
body.night-closed .entrance-shutter{height:100%}
body.night-closed .entrance-glass{opacity:0}
body.night-closed .entrance:after{display:none}
.immersive-header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.cafe-invite{display:flex;align-items:center;gap:12px;min-height:40px;padding:8px 12px;background:transparent;color:var(--muted);font-size:12px}
.cafe-invite:hover{color:var(--ink)}
.cafe-welcome{color:var(--muted);font-size:15px;line-height:1.8;margin:12px 0 0}
.cafe-room .stage-heading h2{font-size:clamp(26px,3vw,40px);margin:15px 0 0;line-height:1.3}
.cafe-room .stage-heading .mode-pill{display:none}
body.in-room .cafe-room .room-art{margin-top:28px}
body.in-room .cafe-room .stage-bottom{margin:0}
body.in-room .cafe-room .immersive-layout{grid-template-columns:minmax(0,1fr) minmax(340px,1fr)}
@media(max-width:700px){
 .cafe-room .immersive-header{height:62px;gap:8px;padding:0 4%}
 .cafe-room .night-wordmark img{width:65px}
 .immersive-header-actions{gap:4px}
 .cafe-invite{font-size:10px;min-height:34px;padding:6px;gap:4px}
 .cafe-room .leave-button{font-size:10px;padding:7px}
 .cafe-room .cafe-location{font-size:9px;gap:3px}
 .cafe-room .stage-heading h2{font-size:24px;margin:6px 0 0}
 .cafe-welcome{font-size:12px;margin:6px 0 0;line-height:1.5}
 body.in-room .cafe-room .room-art{margin:12px 0 0;height:140px}
 body.in-room .cafe-room .stage-bottom:has(#share-fallback[hidden]){display:none}
}
@media(max-width:700px) and (max-height:650px){body.in-room .cafe-room .room-art{height:90px;margin-top:8px}.cafe-room .stage-heading h2{font-size:20px}.cafe-welcome{font-size:11px}}

/* Reserve space for every workstation control before sizing the room drawing. */
body.in-room{height:100dvh;min-height:0;overflow:hidden}
body.in-room main{height:100dvh;min-height:0}
body.in-room .room-panel:not(.cafe-room) .room-stage{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:14px;align-content:stretch;justify-content:normal;height:100%;padding:24px clamp(20px,3vw,44px);overflow:hidden}
body.in-room .room-panel:not(.cafe-room) .stage-heading{min-width:0}
body.in-room .room-panel:not(.cafe-room) .stage-heading .eyebrow{margin:0 0 8px;font-size:11px}
body.in-room .room-panel:not(.cafe-room) .stage-heading h2{font-size:clamp(22px,2.5vw,36px);line-height:1.3;margin:0 0 10px}
body.in-room .room-panel:not(.cafe-room) .stage-heading .mode-pill{margin:0;font-size:11px}
body.in-room .room-panel:not(.cafe-room) .room-art{width:100%;height:100%;min-height:0;aspect-ratio:auto;background:transparent;box-shadow:none;align-self:stretch}
body.in-room .room-panel:not(.cafe-room) .room-art svg{width:100%;height:100%;max-width:none;transform:none;display:block}
body.in-room .room-panel:not(.cafe-room) .seats{margin:0;gap:8px}
body.in-room .room-panel:not(.cafe-room) .stage-bottom{margin:0}
body.in-room .seat.self{background:oklch(31% .035 275);border-color:oklch(53% .055 275)}
body.in-room .seat.self .seat-number{background:oklch(39% .035 275);color:var(--ink)}
body.in-room .seat.self .seat-role{color:var(--warm);font-weight:500}
@media(min-width:701px) and (max-height:700px){
 body.in-room .room-panel:not(.cafe-room) .room-stage{padding:16px 24px;gap:10px}
 body.in-room .room-panel:not(.cafe-room) .stage-heading h2{font-size:24px;margin-bottom:8px}
 body.in-room .room-panel:not(.cafe-room) .seat{padding:8px;min-height:48px}
 body.in-room .room-panel:not(.cafe-room) .secondary{min-height:36px;padding:8px 12px;font-size:11px}
}
@media(max-width:700px){
 body.in-room .room-panel:not(.cafe-room) .room-stage{height:auto;flex-shrink:0;grid-template-columns:minmax(0,1fr) 120px;grid-template-rows:auto auto auto;padding:12px 5%;gap:10px}
 body.in-room .room-panel:not(.cafe-room) .stage-heading h2{font-size:18px;line-height:1.3;margin-bottom:7px}
 body.in-room .room-panel:not(.cafe-room) .stage-heading .eyebrow{font-size:9px;margin-bottom:5px}
 body.in-room .room-panel:not(.cafe-room) .stage-heading .mode-pill{font-size:9px}
 body.in-room .room-panel:not(.cafe-room) .room-art{width:120px;height:100px;align-self:center}
 body.in-room .room-panel:not(.cafe-room) .seats,body.in-room .room-panel:not(.cafe-room) .stage-bottom{grid-column:1/-1}
 body.in-room .room-panel:not(.cafe-room) .stage-bottom{display:block}
 body.in-room .room-panel:not(.cafe-room) .stage-bottom .owner-controls{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px}
 body.in-room .room-panel:not(.cafe-room) .stage-bottom .room-actions{min-width:0;display:flex;gap:6px}
 body.in-room .room-panel:not(.cafe-room) .stage-bottom .secondary{min-height:34px;padding:7px;font-size:10px;flex:1}
 body.in-room .room-panel:not(.cafe-room) .seat{min-height:48px;padding:7px}
}
@media(max-width:700px) and (max-height:650px){
 body.in-room .room-panel:not(.cafe-room) .room-stage{grid-template-columns:1fr;padding:9px 5%;gap:7px}
 body.in-room .room-panel:not(.cafe-room) .stage-heading{display:block}
 body.in-room .room-panel:not(.cafe-room) .stage-heading .eyebrow,body.in-room .room-panel:not(.cafe-room) .stage-heading .mode-pill{display:none}
 body.in-room .room-panel:not(.cafe-room) .stage-heading h2{font-size:17px;margin:0}
 body.in-room .room-panel:not(.cafe-room) .room-art{display:none!important}
 body.in-room .room-panel:not(.cafe-room) .seat{min-height:43px}
}

@media(max-width:700px){.room-panel:not(.cafe-room) .night-wordmark>span{display:none}.room-panel:not(.cafe-room) .room-location,.room-panel:not(.cafe-room) .occupancy{white-space:nowrap}.room-panel:not(.cafe-room) .leave-button{white-space:nowrap}}
@media(max-width:360px){.room-panel:not(.cafe-room) .night-wordmark img{width:68px}.room-panel:not(.cafe-room) .room-location{font-size:9px;gap:4px}.room-panel:not(.cafe-room) .leave-button{font-size:10px;padding:8px}.room-panel:not(.cafe-room) .immersive-header{gap:8px}}

.workroom-header-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 12px;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}
.workroom-header-action:hover{color:var(--ink)}
body.in-room .room-panel:not(.cafe-room) .room-stage{grid-template-rows:auto minmax(0,1fr) auto}
body.in-room .room-panel:not(.cafe-room) .stage-bottom:has(#share-fallback[hidden]):not(:has(.owner-controls)){display:none}
@media(max-width:700px){
 .room-panel:not(.cafe-room) .immersive-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:36px 32px;height:86px;padding:5px 5% 8px;column-gap:10px;row-gap:4px}
 .room-panel:not(.cafe-room) .night-wordmark{grid-column:1;grid-row:1}
 .room-panel:not(.cafe-room) .room-location{grid-column:2;grid-row:1;justify-content:center}
 .room-panel:not(.cafe-room) .immersive-header-actions{display:contents}
 .room-panel:not(.cafe-room) .leave-button{grid-column:3;grid-row:1}
 .room-panel:not(.cafe-room) #share-room{grid-column:1/3;grid-row:2}
 .room-panel:not(.cafe-room) #visit-cafe{grid-column:3;grid-row:2}
 .workroom-header-action{min-height:30px;padding:6px 8px;font-size:11px;border-radius:4px;background:oklch(29% .028 275)}
 body.in-room .room-panel:not(.cafe-room) .room-stage{grid-template-rows:auto auto}
}

body.in-room .room-panel:not(.cafe-room) .stage-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px}
.workroom-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:2px}
.workroom-heading-actions .workroom-header-action{min-height:36px;border:1px solid var(--line);border-radius:5px;padding:8px 10px;background:transparent;font-size:11px}
@media(max-width:1100px) and (min-width:701px){.workroom-heading-actions{flex-direction:column;align-items:stretch;gap:6px}.workroom-heading-actions .workroom-header-action{padding:7px 9px;min-height:32px}}
@media(max-width:700px){
 .room-panel:not(.cafe-room) .immersive-header{display:flex;height:58px;padding:0 5%;gap:10px}
 .room-panel:not(.cafe-room) .immersive-header-actions{display:flex}
 body.in-room .room-panel:not(.cafe-room) .stage-heading{display:block}
 .workroom-heading-actions{justify-content:flex-start;flex-wrap:wrap;padding:0;margin-top:9px;gap:5px}
 .workroom-heading-actions .workroom-header-action{font-size:10px;padding:6px 7px;min-height:30px}
}
@media(max-width:700px) and (max-height:650px){.room-panel:not(.cafe-room) .immersive-header{height:46px}.workroom-heading-actions{margin-top:7px;flex-wrap:nowrap}.workroom-heading-actions .workroom-header-action{flex:1}}

/* Keep creation narrow and allow internal scrolling on shorter screens. */
#room-form-dialog{width:420px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#room-form{display:grid;gap:14px}
#room-form .dialog-top{min-height:28px}
#room-form .dialog-top .eyebrow{margin:0;font-size:10px}
#room-form .dialog-top .icon-button{min-height:28px;width:28px;padding:0}
#room-form h2{font-size:30px;line-height:1.25;margin:0}
#room-form .form-lead{font-size:13px;line-height:1.5;margin:0;color:var(--muted)}
#room-form .form-field{display:grid;gap:8px;min-width:0}
#room-form .form-field>label,#room-form legend{display:block;margin:0;font-size:13px;font-weight:500;line-height:1.5}
#room-form .form-field>input{width:100%;min-width:0;min-height:42px;padding:10px 12px;background:oklch(23% .03 275);border:1px solid var(--line);border-radius:5px;color:var(--ink);font:inherit;font-size:15px}
#room-form .privacy-note{margin:0;font-size:12px;line-height:1.5}
#room-form fieldset{padding:0;margin:0;min-width:0}
#room-form legend{margin-bottom:8px}
#room-form .radio-option{margin:0 0 7px;min-height:42px;padding:9px 12px;font-size:13px;line-height:1.4}
#room-form .radio-option:last-child{margin-bottom:0}
#room-form .color-options{gap:14px;align-items:center;min-height:36px}
#room-form .color-options label{margin:0;padding:0;line-height:0}
#room-form .swatch{width:32px;height:32px;display:block}
#room-form>.primary{margin:0;min-height:44px;padding:11px 16px;width:100%;font-size:14px}

@media(max-width:700px){
 #room-form-dialog{width:420px;padding:18px 20px}
 #room-form h2{font-size:27px}
 #room-form .form-field>input{font-size:16px}
 #room-form .privacy-note{font-size:11px}
}





body:not(.in-room) .city>.building-caption .caption-guide{color:var(--muted);font-weight:400}

/* Center CTA text independently of the directional icon. */
.primary{position:relative;padding-left:42px;padding-right:42px}
.primary>span:last-child{position:absolute;right:18px;top:50%;transform:translateY(-50%);margin-left:0;font-size:18px;line-height:1}
.primary>.window-icon:first-child{position:absolute;left:18px;top:50%;transform:translateY(-50%)}
#room-form>.primary{padding-left:42px;padding-right:42px}
.cafe-room .stage-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px}
.cafe-heading-actions{padding-top:2px;margin:0}
.cafe-room .stage-heading-copy{min-width:0}
@media(max-width:700px){
 .cafe-room .stage-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .cafe-heading-actions{margin:0;flex-wrap:nowrap}
 .cafe-heading-actions .workroom-header-action{font-size:10px;padding:6px 8px;min-height:32px}
 .cafe-room .stage-heading h2{font-size:22px}
 .primary>span:last-child{right:15px}
}
@media(max-width:700px) and (max-height:650px){.cafe-room .stage-heading h2{font-size:20px}.cafe-room .stage-heading{display:grid}}

/* Switch before the two-column scene becomes cramped; compose at 480px. */
@media(max-width:1024px){
 body:not(.in-room){height:auto;min-height:100dvh;grid-template-rows:auto 1fr auto;overflow-x:clip;overflow-y:auto}
 body:not(.in-room)>.topbar{padding:16px 24px;max-width:980px}
 body:not(.in-room)>main{display:flex;flex-direction:column;align-items:stretch;max-width:480px;width:100%;height:auto;min-height:0;padding:16px 24px 0;gap:20px;overflow:visible}
 body:not(.in-room) .intro,body.night-closed .closed-night{padding:0;flex:none}
 body:not(.in-room) h1{font-size:clamp(28px,6vw,34px);line-height:1.3;margin:20px 0 16px}
 body:not(.in-room) .intro h1 br{display:initial}
 body:not(.in-room) .lead{font-size:15px;line-height:1.85;margin:12px 0}
 body:not(.in-room) .intro .eyebrow{font-size:10px}
 body:not(.in-room) .intro>.primary{min-height:46px;padding:12px 44px;margin-top:22px;font-size:13px}
 body:not(.in-room) .intro-note{display:none}
 body:not(.in-room) .city{width:100%;flex:none;height:clamp(460px,55dvh,620px);min-height:0}
 body:not(.in-room) .city>.building-caption{bottom:6px;font-size:12px;justify-content:center}
 body:not(.in-room) .city>.building-caption .caption-guide{display:none}
 body:not(.in-room)>footer{max-width:480px;padding:16px 24px 20px;margin:0 auto;display:block;border-top:0;font-size:12px}
 body:not(.in-room)>footer>p,body:not(.in-room)>footer>div>span,body:not(.in-room)>footer>.weather-credit{display:none}
 body:not(.in-room)>footer>div{display:flex;justify-content:center}
 body:not(.in-room) .room-panel{position:absolute;top:12px;left:24px;right:24px;width:auto;max-height:calc(100dvh - 100px);margin:0;overflow-y:auto}
 .closed-night .opening-countdown{align-items:center}
 body.night-closed .closed-message{font-size:14px;max-width:30ch}
}
@media(max-width:850px){.top-actions .preview-badge{display:none}}
@media(max-width:360px){body:not(.in-room)>.topbar{padding-left:18px;padding-right:18px}body:not(.in-room)>main{padding-left:18px;padding-right:18px}body:not(.in-room) .lead{font-size:14px}body:not(.in-room) .city{height:430px}}
@media(max-width:1024px){body:not(.in-room) .city{overflow:hidden}}

/* A shared facade edge ties left-aligned copy to the centered building. */
@media(max-width:1024px){
 body:not(.in-room) .intro,body.night-closed .closed-night{margin-inline:var(--facade-inset,32px);text-align:left}
 body.night-closed .opening-countdown{align-items:center}
}
.opening-countdown{align-items:center}
.countdown-time{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:0;width:12ch;white-space:nowrap;text-align:center}
.weather-source{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:10px;text-decoration:underline;text-underline-offset:3px}
