/* Public tour UI aligned with Panorama Tour Studio 1.3.3. */
:root{font:12px "Segoe UI","Microsoft YaHei",sans-serif;color:#fff;color-scheme:dark}
html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#13161b}
button,select{color:#fff;border:0;background:transparent;border-radius:5px;font-weight:400}
button:hover{background:#ffffff20}button:active{background:#ffffff30;filter:none}
button:focus-visible,select:focus-visible,.horizontal-row:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.right-tools,.embedded .right-tools{top:max(20px,env(safe-area-inset-top));right:24px;transform:none;display:flex;flex-direction:row;gap:2px;align-items:center;padding:5px 7px;background:#33383bd0;border:0;border-radius:9px;box-shadow:0 3px 20px #0002;z-index:5}
.right-tools .icon-button{width:34px;height:32px;display:grid;place-items:center;border-radius:5px}
.right-tools .icon-button[aria-pressed=true]{background:#ffffff25;color:#fff}
.right-tools svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.right-tools #language,.embedded .right-tools #language{position:static;height:32px;padding:0 6px;max-width:110px;font-size:11px;cursor:pointer;border:0;border-radius:5px;background:transparent;outline-offset:0}
.right-tools #language option{background:#353a3f;color:#fff}
.tour-footer,.embedded .tour-footer{bottom:max(20px,env(safe-area-inset-bottom));left:24px;right:24px;z-index:4;transition:opacity .35s,visibility .35s}
.footer-actions{justify-content:flex-end;margin-bottom:8px}
.footer-actions .text-button{pointer-events:auto;padding:9px 14px;height:auto;background:#33383bcc;border:0;font-size:11px;line-height:normal;border-radius:8px;box-shadow:none}
#scene-menu{margin:0;background:#414447b5;border:0;border-radius:10px;padding:8px 12px 11px;pointer-events:auto;max-height:53dvh;overflow-y:auto;box-shadow:0 3px 20px #0001}
#deck-filters,#room-filters{flex-wrap:nowrap;gap:8px;min-height:37px;justify-content:safe center;margin:0;padding:2px 2px 4px;border:0;border-bottom:1px solid #ffffff0c;scrollbar-width:none;overflow-x:auto;overflow-y:hidden}
#deck-filters button,#room-filters button{font-size:12px;padding:7px 13px;line-height:1.3;min-height:29px;border:0;border-radius:5px;text-shadow:none;flex:0 0 auto}
#deck-filters button.active,#room-filters button.active{background:#ffffff20;color:#fff}
#scene-strip{gap:8px;padding:9px 3px 1px;justify-content:safe center;min-height:0;scrollbar-width:none;overflow-x:auto;overflow-y:hidden}
#scene-strip .scene-card{flex:0 0 116px;width:116px;height:65px;position:relative;border:2px solid transparent;border-radius:8px;padding:0;overflow:hidden;background:#2228;display:block;text-align:center}
#scene-strip .scene-card img{width:100%;height:100%;object-fit:cover;opacity:1;transform:none}
#scene-strip .scene-card::after,#scene-strip .card-index{display:none}
#scene-strip .card-text{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,#000b);padding:15px 4px 5px;font-size:10px;line-height:normal;text-align:center;overflow:hidden;text-overflow:ellipsis;text-shadow:none;white-space:nowrap}
#scene-strip .scene-card.active{border-color:#fff}
#toast{top:75px;right:24px;bottom:auto;left:auto;transform:none;padding:12px 17px;background:#222d;border:0;border-radius:6px;font-size:11px;max-width:350px;overflow-wrap:anywhere}
@media(max-width:650px){
 .right-tools,.embedded .right-tools{top:max(12px,env(safe-area-inset-top));right:12px;padding:4px}
 .right-tools .icon-button{width:29px;height:30px}
 .right-tools #language,.embedded .right-tools #language{max-width:90px;font-size:10px}
 .tour-footer,.embedded .tour-footer{left:10px;right:10px;bottom:max(12px,env(safe-area-inset-bottom))}
 #scene-menu{padding:6px 7px 8px}
 #deck-filters,#room-filters{gap:3px;min-height:33px;justify-content:flex-start}
 #deck-filters button,#room-filters button{font-size:11px;padding:7px 10px}
 #scene-strip{justify-content:flex-start}
 #scene-strip .scene-card{flex-basis:100px;width:100px;height:58px}
 .footer-actions .text-button{font-size:10px;padding:8px 12px}
}
