.gp-photo .gp-photo-badge {
    inset: 8px 8px auto auto;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(25, 21, 17, .85);
    font: 600 12px/1.35 Arial, sans-serif;
}
.gp-photo .gp-photo-caption {
    visibility: hidden;
    padding: 6px 9px;
    background: rgba(25, 21, 17, .85);
    font: 400 13px/1.4 'Merriweather', Georgia, serif;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    pointer-events: none;
}
.gp-photo:focus-visible { outline: 2px solid #735336; outline-offset: 2px; }
.gp-photo:focus-visible .gp-photo-caption { visibility: visible; }
@media (hover: hover) and (pointer: fine) {
    .gp-photo:hover .gp-photo-caption { visibility: visible; }
}

.gp-pano-dialog {
    width: min(1080px, 95vw);
    height: min(840px, 88vh);
    height: min(840px, 88dvh);
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
    background: #1c1915;
    color: #faf6ee;
    border: 1px solid #736654;
    border-radius: 8px;
}
.gp-pano-dialog::backdrop { background: rgba(15, 13, 11, .88); }
.gp-pano-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #1c1915;
    box-sizing: border-box;
}
.gp-pano-dialog.is-expanded {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
}
.gp-pano-dialog.is-expanded .gp-pano-shell,
.gp-pano-shell:fullscreen {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.gp-pano-bar, .gp-pano-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    flex: none;
}
.gp-pano-bar h2 {
    flex: 1 1 130px;
    min-width: 0;
    margin: 0;
    color: #faf6ee;
    font: 400 16px/1.3 'Merriweather', Georgia, serif;
    text-transform: none;
    overflow-wrap: anywhere;
}
.gp-pano-shell button, .gp-pano-shell select {
    padding: 6px 10px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #897864;
    border-radius: 4px;
    background: #302a22;
    color: #fff8eb;
    font: 15px/1.2 Arial, sans-serif;
    letter-spacing: normal;
    text-transform: none;
}
.gp-pano-shell button:hover, .gp-pano-shell button:focus-visible { background: #544637; }
.gp-pano-shell :focus-visible { outline: 2px solid #ffd198; outline-offset: -2px; }
.gp-pano-stage {
    position: relative;
    min-height: 0;
    flex: 1 1 auto;
    background: #15130f;
    touch-action: none;
    overflow: hidden;
}
.gp-pano-surface, .gp-pano-stage iframe { width: 100%; height: 100%; border: 0; }
.gp-pano-stage canvas { max-width: none; max-height: none; }
.gp-pano-stage iframe { display: block; }
.gp-pano-stage .pnlm-pointer { touch-action: none; }
.gp-pano-tools [hidden] { display: none; }
.gp-pano-zoom { display: flex; gap: 4px; }
.gp-pano-zoom button { font-size: 23px; }
.gp-pano-scenes { color: #faf6ee; font: 14px/1.3 Arial, sans-serif; margin: 0; }
.gp-pano-hint, .gp-pano-fallback {
    flex: 1 1 180px;
    margin: 0;
    color: #eee5d7;
    font: 14px/1.4 Arial, sans-serif;
}
.gp-pano-fallback { color: #ffd198; text-decoration: underline; }
@media (max-width: 600px), (max-height: 540px) {
    .gp-pano-dialog { width: 96vw; height: 92vh; height: 92dvh; }
    .gp-pano-bar, .gp-pano-tools { padding: 4px 7px; gap: 6px; }
    .gp-pano-shell button { font-size: 14px; }
    .gp-pano-zoom button { font-size: 20px; }
    .gp-pano-hint { flex-basis: 160px; font-size: 12px; }
}

.gp-pano-loading { position: absolute; inset: 45% 0 auto; margin: 0; color: #faf6ee; text-align: center; }
