:root{--gold:#86ab99;--ink:#e6e7ea;--muted:#9b9ea4}
[hidden]{display:none!important}html,body{height:100%;overflow:hidden;font-family:Manrope,'Segoe UI',sans-serif;background:#0b1016}
.site-header{position:absolute;inset:0 0 auto;height:100px;margin:0;padding:0 36px;background:rgba(11,16,22,.82);border-bottom:1px solid #ffffff12;z-index:8;box-sizing:border-box;display:flex;align-items:center;gap:24px}
.site-header .logo svg{max-width:calc(100vw - 400px)}
body[data-authenticated=true] .socials-container{display:none}
.room-tools{position:static;margin-left:auto;display:flex;gap:18px;align-items:center;white-space:nowrap}
.site-header .socials-container{margin-left:auto}.site-header .logo-link{flex-shrink:0}.site-header .socials-container+.room-tools{margin-left:0}
body[data-authenticated=true] .site-header .room-tools{margin-left:auto}
.room-tools .quiet{padding:7px 0}.quiet{font-family:inherit}
.intro{top:48%;max-width:310px;text-align:left}.intro h1{font:500 44px/1.2 Manrope,sans-serif;letter-spacing:-.04em}
#room-login label{display:block;color:#a6b1ba;font-size:12px;margin:0 0 15px;text-align:left}
#room-login input{display:block;box-sizing:border-box;width:100%;background:#111821e8;color:white;border:1px solid #ffffff25;border-radius:5px;padding:12px;margin-top:7px;font:inherit;font-size:15px}
.primary{font-family:inherit;border:1px solid #427967;background:transparent;color:#a0c6b4;border-radius:5px}.primary:hover{background:#427967;color:white}
#room-login .primary{width:100%}.login-error{color:#ff7878!important}.intro .primary{margin-top:8px}
.footer{bottom:22px}.footer nav{border-color:#ffffff20}.footer nav button{font-family:inherit;font-size:12px;padding:14px 20px}
#connector{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
#connector-line{stroke:#95b9a6;stroke-width:1;opacity:0;transition:opacity .15s}
.detail{top:125px;bottom:110px;right:24px;transform:translateX(20px);width:310px;box-sizing:border-box;overflow:auto;max-height:none}
.detail.show{transform:none}.detail{text-align:left}.detail h2{font:500 25px/1.3 Manrope,sans-serif;letter-spacing:-.02em}
body.detail-open #room{width:calc(100% - 360px)}
body.lights-open .detail{width:400px;padding:26px;display:flex;flex-direction:column;gap:0}
body.lights-open #room{width:100%}
body.lights-open #detailText{display:none}body.lights-open #detailEyebrow{margin:0}body.lights-open #detailTitle{flex-shrink:0;font-size:23px;margin:12px 0 22px}
#lights-panel{border:0;background:transparent;width:100%;flex:1;min-height:0;color-scheme:dark}
.detail .back{margin-top:10px;flex-shrink:0}#wake-status{font-size:12px;line-height:1.7;color:#b8c4c0}
body.notes-open #room{width:100%;height:100%}
#notes-overlay{position:absolute;inset:125px 5% 115px;z-index:4;border:1px solid #ffffff25;border-radius:9px;box-shadow:0 12px 60px #0005;backdrop-filter:blur(5px);background:#11141a25;overflow:hidden}
#notes-panel{width:100%;height:100%;border:0;background:transparent;color-scheme:dark}
#pc-hotspot{border:1px solid #86ab99;border-radius:50%;background:#14271be0;width:38px;height:38px;font-size:20px;color:#b5d8c7;box-shadow:0 0 0 6px #86ab9920}
#pc-hotspot::before{display:none}
body.detail-open .detail{width:310px}
body.lights-open.detail-open .detail{width:400px}
@media(max-width:900px){body.detail-open .detail,body.lights-open.detail-open .detail{width:350px}}
@media(max-width:600px){body.detail-open .detail,body.lights-open.detail-open .detail{width:auto}}
body[data-authenticated=false] .footer nav{display:none}
@media(max-width:1100px){.site-header{gap:16px;padding:0 22px}.room-tools{gap:12px}.site-header .logo svg{max-width:180px}.room-tools .quiet{font-size:10px}.socials-container{gap:12px}.social-item img{width:24px;height:24px}}
@media(max-width:900px){.site-header{height:80px;padding:0 20px}.site-header .logo svg{height:50px}.footer{bottom:14px;left:14px;right:14px}.footer>p{display:none}.footer nav button{font-size:11px;padding:12px}.detail,body.lights-open .detail{top:100px;bottom:100px;right:12px;width:350px;padding:20px}.detail.show{transform:none}body.detail-open #room,body.lights-open #room{width:calc(100% - 365px)}#notes-overlay{inset:100px 12px 90px}}
@media(max-width:700px){.site-header{height:112px;display:grid;grid-template-columns:auto 1fr;gap:0 12px;padding:10px 14px;align-content:center}.site-header .logo svg{max-width:155px;height:42px}.socials-container{gap:9px;justify-self:end}.social-item img{width:20px;height:20px}.room-tools{grid-column:1/-1;justify-content:flex-end;margin:0;gap:12px}.room-tools .quiet{font-size:10px}.quality-label select{font-size:9px;padding:6px}.detail,body.lights-open .detail{top:132px}#notes-overlay{top:132px}}
@media(max-width:600px){.intro{left:7%;top:auto;bottom:8%;transform:none;max-width:270px;padding:18px;background:#0d141cc9;border-radius:8px}.intro.hide{transform:translateY(20px)}.intro h1{font-size:28px;margin:0 0 12px}.intro>p{font-size:11px}.footer nav button{font-size:10px;padding:10px 8px}.footer nav button span{display:none}.detail,body.lights-open .detail{top:46%;left:12px;right:12px;bottom:82px;width:auto;padding:16px}body.detail-open #room,body.lights-open #room{width:100%;height:52%}#notes-overlay{inset:132px 8px 78px}.detail h2{font-size:20px;margin:6px 0}.detail .eyebrow,.detail #detailText{display:none}.detail .primary{padding:12px}.detail .back{margin-top:5px}}
/* Панель света — плавающая карточка, а не отдельная полоса страницы.
   Сцена продолжается под ней и видна сверху, снизу и по краям. */
body.lights-open.detail-open #room{width:100%;height:100%}
