.luvt-viewer {
    --luvt-accent: #9ace62;
    --luvt-panel: #21332e;
    --luvt-text: #fff;
    --luvt-height: 560px;
    --luvt-mobileHeight: 420px;
    --luvt-markerSize: 40px;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    width: var(--luvt-width, 100%);
    max-width: 100%;
    height: var(--luvt-height);
    margin-inline: auto;
    overflow: hidden;
    border-radius: 12px;
    background: #17201e;
    color: var(--luvt-text);
    text-align: left;
    font: 400 14px/1.4 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: normal;
}
.luvt-viewer:fullscreen { width: 100%; max-width: none; height: 100%; border-radius: 0; }
.luvt-viewer .luvt-shell, .luvt-viewer .luvt-stage, .luvt-viewer .luvt-flat {
    position: absolute;
    inset: 0;
}
.luvt-viewer .luvt-shell {
    container-type: inline-size;
    --luvt-edge: clamp(10px, 2.5%, 22px);
}
.luvt-viewer .luvt-stage { background: #17201e; touch-action: pan-y; }
.luvt-viewer .luvt-stage, .luvt-viewer .luvt-flat { z-index: 0; }
.luvt-stage > .luvt-engine { position: absolute; inset: 0; background: inherit; }
.luvt-shell > .luvt-departure {
    position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
    background: #17201e; pointer-events: none;
}
@keyframes luvt-advance-room {
    from { transform: scale(1); }
    to { transform: scale(1.24); }
}
@media (prefers-reduced-motion: no-preference) {
    .luvt-shell > .luvt-advance { animation: luvt-advance-room 540ms cubic-bezier(.28,.03,.24,1) both; }
}
.luvt-viewer:is(:fullscreen, :-webkit-full-screen, .luvt-fullscreen-page) .luvt-stage { touch-action: none; }
.luvt-stage .luvt-transition {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: none;
}
.luvt-stage .luvt-transition.luvt-reveal { opacity: 0; transition: opacity 150ms ease-out; }
@media (prefers-reduced-motion: reduce) {
    .luvt-stage .luvt-transition.luvt-reveal { transition: none; }
}
.luvt-viewer :is(.luvt-stage,.luvt-engine):focus-visible { outline: 3px solid var(--luvt-accent); outline-offset: -4px; }
.luvt-shell [hidden], .luvt-stage .pnlm-load-box, .luvt-stage .pnlm-error-msg { display: none !important; }
.luvt-shell .luvt-panel *, .luvt-shell .luvt-dialog *, .luvt-shell .luvt-hotspot * { box-sizing: border-box; }
.luvt-shell button, .luvt-shell select {
    box-sizing: border-box;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    line-height: 1.25;
    letter-spacing: normal;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.luvt-shell button:focus-visible, .luvt-shell select:focus-visible {
    outline: 2px solid var(--luvt-accent);
    outline-offset: -2px;
}
.luvt-shell button svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.luvt-shell .luvt-message {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    max-width: 80%;
    border-radius: 8px;
    padding: 9px 14px;
    background: var(--luvt-panel);
    color: var(--luvt-text);
    font-size: 13px;
    text-align: center;
    pointer-events: none;
}
.luvt-shell .luvt-message:empty { display: none; }
.luvt-wheel-hint {
    position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
    box-sizing: border-box; width: max-content; max-width: calc(100% - 24px); pointer-events: none;
    padding: 9px 14px; border-radius: 8px; background: var(--luvt-panel, #21332e); color: var(--luvt-text, #fff);
    box-shadow: 0 2px 8px rgba(0,0,0,.24); font: 500 14px/1.4 system-ui, sans-serif; text-align: center;
}
.luvt-viewer:fullscreen .luvt-wheel-hint, .luvt-viewer.luvt-fullscreen-page .luvt-wheel-hint { display: none; }
.luvt-shell .luvt-flat-status {
    top: auto;
    left: var(--luvt-edge);
    bottom: var(--luvt-edge);
    transform: none;
}
.luvt-shell .luvt-panel, .luvt-shell .luvt-dialog {
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .19);
    background: var(--luvt-panel);
    color: var(--luvt-text);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .26), 0 1px 3px rgba(0, 0, 0, .18);
}
.luvt-shell .luvt-panel {
    position: absolute;
    z-index: 3;
    top: var(--luvt-edge);
    right: var(--luvt-edge);
    display: flex;
    flex-direction: column;
    width: min(254px, calc(100% - 2 * var(--luvt-edge)));
    max-height: calc(100% - 2 * var(--luvt-edge));
    overflow: hidden;
    border-radius: 13px;
}
.luvt-panel .luvt-toggle {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    flex: none;
    min-height: 58px;
    padding: 10px 14px;
    color: var(--luvt-text);
    text-align: left;
}
.luvt-panel .luvt-panel-head { display: flex; align-items: center; flex: none; }
.luvt-panel-head .luvt-toggle { min-width: 0; flex: 1; }
.luvt-panel-head .luvt-minimap-toggle {
    display: grid; place-items: center; flex: none;
    width: 44px; min-height: 44px; margin-right: 4px;
    border-radius: 7px; color: var(--luvt-accent);
}
.luvt-panel-head .luvt-minimap-toggle:hover { background: rgba(127,127,127,.16); }
.luvt-shell .luvt-panel.luvt-minimized {
    width: 44px; height: 44px; border: 0; border-radius: 9px;
}
.luvt-minimized .luvt-minimap-toggle {
    height: 44px; margin: 0; border: 1px solid rgba(255,255,255,.19); border-radius: 9px;
}
.luvt-minimized .luvt-minimap-toggle svg { width: 22px; height: 22px; }
.luvt-toggle .luvt-map-symbol {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--luvt-accent);
    background: rgba(127, 127, 127, .14);
}
.luvt-toggle .luvt-location { flex: 1; min-width: 0; }
.luvt-toggle .luvt-caption {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
    opacity: .77;
}
.luvt-toggle .luvt-room-name {
    display: block;
    overflow: hidden;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.24;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.luvt-toggle > svg { width: 15px; height: 15px; opacity: .75; }
.luvt-toggle[aria-expanded="true"] > svg { transform: rotate(180deg); }
.luvt-panel .luvt-panel-body { padding: 0 12px 10px; overflow: auto; }
.luvt-floors {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 1px 0 8px;
}
.luvt-floors .luvt-floor {
    min-width: 0;
    max-width: 100%;
    min-height: 32px;
    padding: 4px 7px;
    overflow-wrap: anywhere;
    border: 1px solid transparent;
    border-radius: 7px;
    background: rgba(127, 127, 127, .16);
    color: var(--luvt-text);
    font-size: 12px;
    font-weight: 550;
}
.luvt-floors .luvt-floor[aria-pressed="true"] {
    border-color: var(--luvt-accent);
    background: var(--luvt-accent);
    color: var(--luvt-on-accent, #000);
}
.luvt-floors .luvt-floor[aria-pressed="true"]:focus-visible { outline-color: var(--luvt-on-accent, #000); }
.luvt-shell .luvt-floor-name { padding: 0 2px 8px; font-size: 12px; opacity: .8; }
.luvt-shell .luvt-plan {
    display: block;
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 165px;
    overflow: hidden;
    border-radius: 8px;
    padding: 0;
    touch-action: none;
    user-select: none;
    cursor: grab;
}
.luvt-shell .luvt-plan:active { cursor: grabbing; }
.luvt-shell .luvt-plan:focus-visible { outline: 2px solid var(--luvt-accent); outline-offset: -2px; }
.luvt-map-world { position: absolute; inset: 0 auto auto 0; transform-origin: top left; }
.luvt-plan .luvt-map-geometry, .luvt-plan .luvt-map-image {
    box-sizing: border-box;
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}
.luvt-map-geometry [role="button"] { cursor: pointer; }
.luvt-map-geometry [role="button"]:focus-visible { outline: 2px solid var(--luvt-map-pin); }
.luvt-map-cone { position: absolute; width: clamp(80px, 40%, 250px); aspect-ratio: 1; overflow: visible; pointer-events: none; }
.luvt-flat .luvt-flat-picture {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
}
.luvt-flat-picture > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 145px;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.luvt-plan-picture .luvt-pin {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.luvt-pin .luvt-pin-dot {
    width: 10px;
    height: 10px;
    border: 1.5px solid #121e19;
    border-radius: 50%;
    background: var(--luvt-map-pin, var(--luvt-accent));
    box-shadow: 0 0 0 1px rgba(255,255,255,.65), 0 1px 4px #0008;
}
.luvt-pin.luvt-current .luvt-pin-dot {
    width: 16px;
    height: 16px;
    border: 2px solid #17241e;
    background: var(--luvt-map-pin, var(--luvt-accent));
    box-shadow: 0 0 0 1px rgba(255,255,255,.78), 0 1px 5px #0008;
}
.luvt-map-label {
    position: absolute;
    left: calc(50% + 8px);
    top: 50%;
    transform: translateY(-50%);
    font: 600 10px/1.2 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    width: max-content;
    max-width: 95px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--luvt-map-label, #fff);
    text-shadow: 0 0 3px #111, 0 1px 2px #111, 0 -1px 2px #111;
}
.luvt-label-left .luvt-map-label { left: auto; right: calc(50% + 8px); }
.luvt-pin.luvt-current { z-index: 2; }
.luvt-pin:hover, .luvt-pin:focus-visible { z-index: 4; }
.luvt-pin:hover .luvt-map-label, .luvt-pin:focus-visible .luvt-map-label {
    max-width: 150px; padding: 3px 6px; border-radius: 4px; background: #101914; white-space: normal;
}
.luvt-map-controls { position: absolute; z-index: 5; bottom: 6px; right: 6px; display: grid; gap: 3px; }
.luvt-shell .luvt-map-tool {
    display: grid; place-items: center; width: 28px; height: 28px;
    border: 1px solid rgba(255,255,255,.27); border-radius: 5px; background: var(--luvt-panel);
    color: var(--luvt-text); font-size: 21px; font-weight: 450;
}
.luvt-map-tool:disabled { opacity: .6; }
.luvt-map-tool svg { width: 15px; height: 15px; }
.luvt-map-percent, .luvt-map-north {
    position: absolute; z-index: 3; pointer-events: none; font-weight: 650;
    background: rgba(22,30,29,.9); color: #fff; font-size: 10px; line-height: 1.2;
}
.luvt-map-percent { bottom: 6px; left: 6px; padding: 3px 6px; border-radius: 4px; }
.luvt-map-north { right: 9px; top: 6px; padding: 3px; border-radius: 3px; text-align: center; }
.luvt-map-north::before {
    content: ''; display: block; width: 8px; height: 8px; margin: 0 auto 1px; background: var(--luvt-map-pin, #9ace62);
    clip-path: polygon(50% 0, 95% 100%, 50% 74%, 5% 100%);
}
.luvt-shell .luvt-map-open {
    display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding-inline: 2px;
    font-size: 12px; font-weight: 600; text-decoration: underline; color: var(--luvt-text);
}
.luvt-map-open svg { width: 15px; height: 15px; }
.luvt-map-index { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.luvt-shell .luvt-map-index button { min-height: 36px; border: 1px solid #8887; border-radius: 6px; padding: 5px 10px; }
.luvt-shell .luvt-map-index button[aria-current="location"] { border-color: var(--luvt-accent); }
.luvt-room-row { display: flex; align-items: center; gap: 4px; padding-top: 6px; }
.luvt-panel .luvt-room-select {
    flex: 1;
    min-width: 0;
    min-height: 34px;
    width: 0;
    padding: 4px 6px;
    border: 1px solid rgba(127, 127, 127, .42);
    border-radius: 6px;
    background: var(--luvt-panel);
    color: var(--luvt-text);
    appearance: auto;
    font-size: 13px;
    text-overflow: ellipsis;
}
.luvt-room-select option { background: var(--luvt-panel); color: var(--luvt-text); }
.luvt-shell .luvt-icon-button {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: rgba(127, 127, 127, .14);
    color: var(--luvt-text);
}
.luvt-shell .luvt-icon-button:hover, .luvt-floors .luvt-floor[aria-pressed="false"]:hover { background: rgba(127, 127, 127, .28); }
.luvt-shell .luvt-hotspot { cursor: pointer; }
.luvt-shell .luvt-marker {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    width: var(--luvt-markerSize);
    height: var(--luvt-markerSize);
    overflow: visible;
    border-radius: 50%;
    background: none;
    color: var(--luvt-text);
}
.luvt-shell .luvt-info::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    width: calc(var(--luvt-markerSize) * .64);
    height: calc(var(--luvt-markerSize) * .64);
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--luvt-accent);
    box-shadow: 0 0 0 calc(var(--luvt-markerSize) * .16) rgba(30, 36, 33, .47), 0 2px 10px rgba(0, 0, 0, .48);
}
.luvt-shell .luvt-info svg {
    position: relative;
    width: calc(var(--luvt-markerSize) * .49);
    height: calc(var(--luvt-markerSize) * .49);
    stroke: #14211b;
    stroke-width: 2.8;
}
.luvt-shell .luvt-arrow { width: calc(var(--luvt-markerSize) * 1.6); border-radius: 8px; }
.luvt-shell .luvt-marker-label {
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    width: max-content;
    max-width: min(210px, 50vw);
    padding: 5px 9px;
    border-radius: 5px;
    background: var(--luvt-panel);
    color: var(--luvt-text);
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    pointer-events: none;
}
.luvt-marker:focus-visible .luvt-marker-label { display: block; }
@media (hover: hover) { .luvt-marker:hover .luvt-marker-label { display: block; } }
.luvt-shell .luvt-dialog {
    position: fixed;
    inset: 0;
    width: min(380px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    max-height: 80vh;
    max-height: 80dvh;
    margin: auto;
    overflow: auto;
    padding: 18px;
    border-radius: 14px;
    color: var(--luvt-text);
    font: inherit;
}
.luvt-dialog::backdrop { background: rgba(12, 20, 17, .53); }
.luvt-shell .luvt-dialog:not([open]) { display: none; }
.luvt-dialog .luvt-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.luvt-dialog .luvt-dialog-title {
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--luvt-text);
    font-family: inherit;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.28;
    letter-spacing: normal;
    text-transform: none;
    overflow-wrap: anywhere;
}
.luvt-dialog .luvt-dialog-body { margin-top: 14px; }
.luvt-dialog .luvt-share-body { display: grid; gap: 10px; }
.luvt-dialog .luvt-share-url {
    width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 8px;
    border: 1px solid rgba(127,127,127,.6); border-radius: 6px;
    background: var(--luvt-panel); color: var(--luvt-text);
    font: inherit; font-size: 16px;
}
.luvt-dialog .luvt-share-copy {
    justify-self: start; min-height: 44px; padding: 6px 14px; border-radius: 6px;
    background: var(--luvt-accent); color: var(--luvt-on-accent);
}
.luvt-dialog .luvt-share-copy:focus-visible { outline-color: var(--luvt-on-accent); }
.luvt-dialog .luvt-share-status { margin: 0; color: inherit; font: inherit; }
.luvt-dialog .luvt-share-status:empty { display: none; }
.luvt-shell .luvt-dialog-info {
    width: min(374px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.luvt-dialog-info::backdrop { background: rgba(12, 20, 17, .2); }
.luvt-dialog-info .luvt-dialog-head { position: absolute; top: 5px; right: 5px; z-index: 1; }
.luvt-dialog-info .luvt-dialog-title {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.luvt-dialog-info .luvt-dialog-head button {
    min-width: 44px; min-height: 44px; border-radius: 50%; color: #fff; background: rgba(15, 20, 19, .8);
}
.luvt-dialog-info .luvt-dialog-body { margin: 0; }
.luvt-info-card {
    box-sizing: border-box; margin: 0; padding: 0; overflow: hidden; text-align: left;
    background: var(--luvt-card-background); color: var(--luvt-card-textColor);
    border: var(--luvt-card-borderWidth) solid var(--luvt-card-borderColor); border-radius: var(--luvt-card-radius);
    font: inherit; overflow-wrap: anywhere;
}
.luvt-info-card .luvt-card-image {
    display: block; width: 100%; max-height: min(270px, 35vh); object-fit: contain; margin: 0;
}
.luvt-info-card .luvt-card-content {
    display: grid; gap: 12px; align-content: start; padding: var(--luvt-card-paddingY) var(--luvt-card-paddingX);
}
.luvt-info-card:not(.luvt-has-cover) .luvt-card-content { min-height: 54px; }
.luvt-dialog-info .luvt-info-card:not(.luvt-has-cover) .luvt-card-content > :first-child { margin-inline-end: 48px; }
.luvt-info-card .luvt-card-content h3 {
    margin: 0; padding: 0; color: var(--luvt-card-titleColor); font: inherit; font-size: var(--luvt-card-titleSize);
    font-weight: 700; line-height: 1.22; text-transform: none; letter-spacing: normal;
}
.luvt-info-card .luvt-card-content p {
    margin: 0; padding: 0; color: var(--luvt-card-textColor); font: inherit; font-size: var(--luvt-card-textSize);
    line-height: 1.55; white-space: pre-line;
}
.luvt-info-card a.luvt-info-action {
    display: block; min-width: 0; box-sizing: border-box; margin: 0; text-align: center;
    background: var(--luvt-card-buttonColor); color: var(--luvt-card-buttonTextColor); text-decoration: none;
    border-radius: var(--luvt-card-buttonRadius); padding: var(--luvt-card-buttonPaddingY) var(--luvt-card-buttonPaddingX);
    font: inherit; font-weight: 650; font-size: var(--luvt-card-buttonSize); line-height: 1.3;
}
.luvt-info-card a.luvt-info-action:hover { text-decoration: underline; }
.luvt-info-card a.luvt-info-action:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.luvt-shell .luvt-dialog-plan { width: min(850px, calc(100vw - 28px)); }
.luvt-shell .luvt-dialog-plan .luvt-plan { height: min(54vh,560px); height: min(54dvh,560px); }
.luvt-dialog-plan .luvt-map-label { font-size: 13px; max-width: 160px; }
.luvt-shell .luvt-flat { display: flex; align-items: center; overflow: auto hidden; }
.luvt-flat .luvt-flat-picture { flex: none; height: 100%; width: max-content; max-width: none; margin-inline: auto; }
.luvt-flat-picture > img { max-height: none; max-width: none; height: 100%; }
.luvt-flat-point { position: absolute; transform: translate(-50%, -50%); }
@container (max-width: 620px) {
    .luvt-shell .luvt-panel { width: min(220px, calc(100% - 2 * var(--luvt-edge))); }
    .luvt-panel .luvt-toggle { min-height: 50px; padding: 7px 10px; gap: 8px; }
    .luvt-panel .luvt-floor { padding-inline: 5px; }
}
@media (max-width: 620px) {
    .luvt-viewer { height: var(--luvt-mobileHeight); }
}
@media (pointer: coarse) {
    .luvt-floors .luvt-floor, .luvt-panel .luvt-room-select { min-height: 44px; }
    .luvt-shell .luvt-icon-button, .luvt-plan-picture .luvt-pin { width: 44px; height: 44px; }
    .luvt-shell .luvt-map-tool { width: 44px; height: 44px; }
    .luvt-shell .luvt-plan { height: 193px; }
    .luvt-shell .luvt-map-open, .luvt-shell .luvt-map-index button { min-height: 44px; }
}

.luvt-context-touch, .luvt-context-touch * { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.luvt-context-menu {
    position: absolute; z-index: 20; box-sizing: border-box;
    width: max-content; overflow: auto; overscroll-behavior: contain;
    margin: 0; padding: 4px; border: 1px solid rgba(127,127,127,.45); border-radius: 8px;
    background: var(--luvt-panel, #fff); color: var(--luvt-text, #1d2327);
    box-shadow: 0 4px 18px rgba(0,0,0,.24); text-align: left;
    font: 500 14px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.luvt-context-menu .luvt-context-item {
    display: block; box-sizing: border-box; width: 100%; min-height: 40px;
    margin: 0; padding: 7px 12px; border: 0; border-radius: 4px; box-shadow: none;
    background: transparent; color: inherit; font: inherit; letter-spacing: normal;
    text-align: start; text-transform: none; white-space: normal; overflow-wrap: anywhere; cursor: pointer;
}
.luvt-context-menu .luvt-context-item:hover, .luvt-context-menu .luvt-context-item:focus {
    background: var(--luvt-accent, #c32150); color: var(--luvt-on-accent, #fff);
}
.luvt-context-menu .luvt-context-item:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
@media (pointer: coarse) {
    .luvt-context-menu .luvt-context-item { min-height: 44px; }
}

.luvt-route-button > svg.luvt-route-model {
    display: block; width: calc(1.6 * var(--luvt-markerSize, 40px)); height: var(--luvt-markerSize, 40px);
    max-width: none; max-height: none; overflow: visible; pointer-events: none;
    stroke: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.32));
}
.luvt-route-model .luvt-route-top { fill: #fff; }
#luvt-editor .luvt-route-button.is-selected .luvt-route-model { filter: drop-shadow(0 0 2px var(--le-point, #9ace62)) drop-shadow(0 1px 1px #333); }
.pnlm-hotspot-base.luvt-route-projected {
    top: 0; left: 0; width: 0; height: 0; overflow: visible;
    /* The library's spherical hotspot is only the event host for these ground-plane controls. */
    transform: none !important; visibility: visible !important;
}
.pnlm-hotspot-base.luvt-route-projected.luvt-route-clipped { display: none; visibility: hidden !important; }
.luvt-route-projected > .luvt-route-button,
#luvt-editor .luvt-route-projected > .luvt-route-button {
    display: grid; place-items: center; position: absolute;
    left: var(--luvt-route-x); top: var(--luvt-route-y); transform: translate(-50%, -50%);
    width: var(--luvt-route-w); height: var(--luvt-route-h); min-width: 44px; min-height: 44px;
    margin: 0; padding: 0; border: 0; background: transparent;
}
.luvt-route-projected > .luvt-route-button > svg.luvt-route-model { width: 100%; height: 100%; }

.luvt-shell > .luvt-fullscreen-toggle {
    position: absolute; z-index: 4; display: grid; place-items: center;
    right: max(var(--luvt-edge, 12px), env(safe-area-inset-right, 0px));
    bottom: max(var(--luvt-edge, 12px), env(safe-area-inset-bottom, 0px));
    width: 44px; height: 44px; padding: 0;
    border: 1px solid rgba(127,127,127,.55); border-radius: 9px;
    background: var(--luvt-panel, #21332e); color: var(--luvt-text, #fff);
    box-shadow: 0 2px 9px rgba(0,0,0,.26);
}
.luvt-shell > .luvt-fullscreen-toggle:hover { color: var(--luvt-accent, #9ace62); }
.luvt-shell > .luvt-fullscreen-toggle:focus-visible { outline: 2px solid var(--luvt-accent, #9ace62); outline-offset: -4px; }
.luvt-shell > .luvt-fullscreen-toggle svg { width: 22px; height: 22px; }
.luvt-shell:has(> .luvt-fullscreen-toggle) > .luvt-panel {
    max-height: calc(100% - var(--luvt-edge, 12px) - max(var(--luvt-edge, 12px), env(safe-area-inset-bottom, 0px)) - 50px);
}
html.luvt-fullscreen-scroll-lock { overflow: hidden !important; }
dialog.luvt-fullscreen-window {
    position: fixed; inset: 0; z-index: 2147483647;
    box-sizing: border-box; width: 100%; height: 100%; height: 100dvh;
    max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0;
    overflow: hidden; overscroll-behavior: contain; background: #17201e;
}
dialog.luvt-fullscreen-window[open] { display: block; }
dialog.luvt-fullscreen-window::backdrop { background: #17201e; }
.luvt-fullscreen-window > .luvt-viewer.luvt-fullscreen-page {
    box-sizing: border-box; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border-radius: 0;
}
