.rfvr {
    --rfvr-overlay: .08;
    --rfvr-panel: rgba(18, 16, 14, .70);
    --rfvr-panel-strong: rgba(18, 16, 14, .90);
    --rfvr-border: rgba(255, 255, 255, .22);
    --rfvr-text: #fff;
    --rfvr-muted: rgba(255, 255, 255, .78);
    --rfvr-accent: #caa85b;
    position: relative;
    width: 100vw;
    height: 100svh;
    min-height: 560px;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #151310;
    color: var(--rfvr-text);
    font-family: inherit;
    isolation: isolate;
}


.rfvr *, .rfvr *::before, .rfvr *::after { box-sizing: border-box; }
.rfvr button, .rfvr a { font: inherit; }

.rfvr__stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    outline-offset: -4px;
}
.rfvr.is-dragging .rfvr__stage { cursor: grabbing; }

.rfvr__canvas,
.rfvr__fallback-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.rfvr__canvas { display: block; will-change: transform; }
.rfvr__fallback-image {
    display: none;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}
.rfvr.has-no-webgl .rfvr__fallback-image { display: block; }

.rfvr__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, .25), transparent 24%, transparent 73%, rgba(0, 0, 0, .30)),
        rgba(0, 0, 0, var(--rfvr-overlay));
}

.rfvr__loading,
.rfvr__error {
    position: absolute;
    inset: 0;
    z-index: 9;
    display: grid;
    place-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background: #151310;
}
.rfvr.is-ready .rfvr__loading { display: none; }
.rfvr__loading[hidden],
.rfvr__error[hidden] { display: none; }

.rfvr__spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, .25);
    border-top-color: #fff;
    border-radius: 999px;
    animation: rfvr-spin .8s linear infinite;
}
@keyframes rfvr-spin { to { transform: rotate(360deg); } }

.rfvr__ratio-warning {
    position: absolute;
    left: 50%;
    top: 108px;
    z-index: 8;
    max-width: min(92vw, 520px);
    padding: 9px 14px;
    border: 1px solid rgba(255, 214, 120, .55);
    border-radius: 999px;
    color: #fff;
    background: rgba(70, 48, 12, .82);
    text-align: center;
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
}
.rfvr__ratio-warning[hidden] { display: none; }

.rfvr__topbar,
.rfvr__bottombar {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    transition: opacity .32s ease, transform .32s ease;
}

.rfvr__topbar {
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: max(16px, env(safe-area-inset-top)) clamp(16px, 2.4vw, 36px) 10px;
}

.rfvr__bottombar {
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 16px;
    padding: 12px clamp(16px, 2.4vw, 36px) max(20px, env(safe-area-inset-bottom));
}

.rfvr__topbar > *,
.rfvr__bottombar > * { pointer-events: auto; }

.rfvr.is-ui-hidden:not(.is-room-menu-open) .rfvr__topbar {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}
.rfvr.is-ui-hidden:not(.is-room-menu-open) .rfvr__bottombar {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.rfvr__brand {
    letter-spacing: .16em;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}

.rfvr__icon-button,
.rfvr__room-trigger,
.rfvr__room-button,
.rfvr__zoom button {
    appearance: none;
    border: 0;
    color: var(--rfvr-text);
    background: transparent;
    cursor: pointer;
}

.rfvr__icon-button {
    margin-left: auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(18, 16, 14, .58);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 22px;
}
.rfvr__icon-button:hover,
.rfvr__icon-button:focus-visible { background: rgba(18, 16, 14, .82); }

.rfvr__room-picker {
    position: relative;
    grid-column: 2;
    justify-self: center;
}

.rfvr__room-trigger {
    min-width: 172px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 16px 10px 20px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(18, 16, 14, .62);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 14px;
    font-weight: 550;
    letter-spacing: .02em;
}
.rfvr__room-trigger:hover,
.rfvr__room-trigger:focus-visible,
.rfvr.is-room-menu-open .rfvr__room-trigger { background: rgba(18, 16, 14, .84); }

.rfvr__room-current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rfvr__room-chevron {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--rfvr-accent);
    font-size: 17px;
    transition: transform .2s ease;
}
.rfvr.is-room-menu-open .rfvr__room-chevron { transform: rotate(180deg); }

.rfvr__room-menu {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    width: max(220px, 100%);
    display: grid;
    gap: 3px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 18px;
    background: rgba(18, 16, 14, .84);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .30);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.rfvr__room-menu[hidden] { display: none !important; }

.rfvr__room-button {
    position: relative;
    width: 100%;
    min-height: 42px;
    padding: 9px 14px 9px 34px;
    border-radius: 12px;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
}
.rfvr__room-button::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    transform: translateY(-50%);
}
.rfvr__room-button:hover,
.rfvr__room-button:focus-visible { background: rgba(255, 255, 255, .10); }
.rfvr__room-button[aria-selected="true"] {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.rfvr__room-button[aria-selected="true"]::before {
    border-color: var(--rfvr-accent);
    background: var(--rfvr-accent);
    box-shadow: 0 0 0 4px rgba(202, 168, 91, .14);
}

.rfvr__zoom {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    background: rgba(18, 16, 14, .54);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.rfvr__zoom button {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 20px;
}
.rfvr__zoom button:hover,
.rfvr__zoom button:focus-visible { background: rgba(255, 255, 255, .13); }

.rfvr__cta {
    grid-column: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #18140d;
    background: var(--rfvr-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    text-decoration: none !important;
    font-weight: 600;
}
.rfvr__cta:hover,
.rfvr__cta:focus-visible { filter: brightness(1.07); color: #18140d; }

.rfvr__hotspots {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}
.rfvr__hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}
.rfvr__hotspot[hidden] { display: none; }
.rfvr__hotspot-marker {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: rgba(13, 12, 10, .58);
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .12);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}
.rfvr__hotspot-marker:hover,
.rfvr__hotspot-marker:focus-visible { background: rgba(13, 12, 10, .88); }
.rfvr__hotspot-panel {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    width: min(280px, 75vw);
    padding: 15px;
    border: 1px solid var(--rfvr-border);
    border-radius: 14px;
    color: #fff;
    background: var(--rfvr-panel-strong);
    transform: translateX(-50%);
    backdrop-filter: blur(15px);
}
.rfvr__hotspot-panel[hidden] { display: none; }
.rfvr__hotspot-panel strong { display: block; margin-bottom: 6px; }
.rfvr__hotspot-panel p { margin: 0; color: var(--rfvr-muted); font-size: 14px; }

.rfvr__noscript {
    position: absolute;
    inset: auto 16px 16px;
    z-index: 10;
    margin: 0;
    padding: 12px;
    background: #fff;
    color: #111;
}

@media (max-width: 820px) {
    .rfvr { min-height: 500px; }
    .rfvr__topbar { padding-inline: 14px; }
    .rfvr__bottombar {
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding-inline: 14px;
    }
    .rfvr__room-picker {
        grid-column: 1;
        justify-self: start;
    }
    .rfvr__zoom { grid-column: 2; }
    .rfvr__cta {
        position: absolute;
        left: 14px;
        bottom: calc(100% + 10px);
    }
    .rfvr__ratio-warning { top: 86px; font-size: 13px; }
}

@media (max-width: 560px) {
    .rfvr__brand { font-size: 11px; }
    .rfvr__bottombar {
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
    .rfvr__room-picker { justify-self: center; }
    .rfvr__room-trigger {
        min-width: min(72vw, 250px);
        min-height: 46px;
    }
    .rfvr__room-menu { width: min(82vw, 280px); }
    .rfvr__zoom { display: none; }
    .rfvr__cta { display: none; }
    .rfvr__hotspot-panel { left: auto; right: -18px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .rfvr__spinner { animation-duration: 1.8s; }
}


/* Homepage takeover: the interactive panorama becomes the complete homepage viewport. */
html.rfvr-home-takeover,
body.rfvr-home-takeover {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none;
    background: #151310 !important;
}

.rfvr.rfvr--home-takeover {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482000 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.admin-bar .rfvr.rfvr--home-takeover {
    top: 32px !important;
    height: calc(100dvh - 32px) !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .rfvr.rfvr--home-takeover {
        top: 46px !important;
        height: calc(100dvh - 46px) !important;
    }
}

/* v1.10.1 — restore the previous floating room picker, reduced by 20%. */
.rfvr__topbar { display: none; }

.rfvr__room-trigger {
    min-width: 138px;
    min-height: 38px;
    gap: 14px;
    padding: 8px 13px 8px 16px;
    font-size: 12px;
}

.rfvr__room-chevron {
    width: 18px;
    height: 18px;
    font-size: 14px;
}

.rfvr__room-menu {
    bottom: calc(100% + 8px);
    width: max(176px, 100%);
    gap: 2px;
    padding: 6px;
    border-radius: 14px;
}

.rfvr__room-button {
    min-height: 34px;
    padding: 7px 11px 7px 27px;
    border-radius: 10px;
    font-size: 12px;
}

.rfvr__room-button::before {
    left: 11px;
    width: 6px;
    height: 6px;
}

@media (max-width: 560px) {
    .rfvr__room-trigger {
        min-width: min(58vw, 200px);
        min-height: 37px;
    }
    .rfvr__room-menu {
        width: min(66vw, 224px);
    }
}
