html {
    margin: 0;
    padding: 0;
    overflow: hidden;
}
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
    background: #0b0d10;
    color: #f2f4f7;
}
.panorama {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    will-change: opacity;
}
.custom-hotspot {
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 8px;
    border-radius: 40px;
    text-align: center;
}
.loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(1200px 600px at 50% 20%, rgba(56, 120, 180, 0.25), transparent 60%),
        linear-gradient(160deg, #0b0d10 0%, #151a22 55%, #0b0d10 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}
.loading.is-hiding {
    opacity: 0;
    pointer-events: none;
}
.progress {
    width: min(420px, 86vw);
    padding: 28px 24px 32px;
}
.progress h1 {
    margin: 18px 0 8px;
    font-size: clamp(1.1rem, 2.8vw, 1.55rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.25;
}
.load-status {
    margin: 0 0 18px;
    font-size: 0.92rem;
    color: rgba(242, 244, 247, 0.72);
    min-height: 1.3em;
}
.load-bar {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.load-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6eb6ff, #d7ecff);
    box-shadow: 0 0 16px rgba(110, 182, 255, 0.45);
    transition: width 0.25s ease;
}
.load-pct {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: rgba(242, 244, 247, 0.55);
}
.loader-ring {
    width: 54px;
    height: 54px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-top-color: #8ec5ff;
    animation: spin 0.85s linear infinite;
}
.loader-ring--sm {
    width: 22px;
    height: 22px;
    border-width: 2px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.scene-transition {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 14, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.scene-transition.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.scene-transition-inner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(12, 16, 22, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: rgba(242, 244, 247, 0.9);
}
.map {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 30;
    opacity: 0;
}
.map img {
    width: 300px;
}
img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.pointer {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: red;
    opacity: 0.3;
    cursor: pointer;
    z-index: 1;
}
.view {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    z-index: 0;
    transform-origin: 20px 35px;
    opacity: 0;
}
.view img {
    width: 40px;
    height: 40px;
}

@media (prefers-reduced-motion: reduce) {
    .loader-ring,
    .loader-ring--sm {
        animation: none;
        border-top-color: #8ec5ff;
    }
    .loading,
    .load-bar-fill,
    .scene-transition {
        transition: none;
    }
}


/* Credit Aurélia Suite — compact, no background, clickable */
.pnlm-panorama-info {
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 0 0 4px 8px !important;
    bottom: 6px !important;
}
.pnlm-title-box {
    display: none !important;
}
.pnlm-author-box {
    font-size: 10px !important;
    line-height: 1.2 !important;
    padding-left: 0 !important;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}
.pnlm-author-box a {
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    pointer-events: auto;
}
.pnlm-author-box a:hover {
    opacity: 1;
    border-bottom-color: #fff;
}

/* Room crossfade / soft curtain */
.scene-transition {
    background: rgba(8, 10, 14, 0.55);
}
.scene-transition.is-fading {
    backdrop-filter: blur(3px);
}
.scene-transition-inner {
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.scene-transition.is-visible .scene-transition-inner {
    animation: curtainIn 0.35s ease both;
}
@keyframes curtainIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .scene-transition.is-visible .scene-transition-inner {
        animation: none;
    }
}

