.room-panorama-section { width: 100%; max-width: 900px; margin: 40px auto 0; }
.room-panorama-section h2 { margin: 0 0 12px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); }
.room-panorama-section > p { margin: 0 0 18px; line-height: 1.7; }
.room-panorama-action { display: flex; justify-content: center; margin-top: 24px; }
.room-panorama-section { scroll-margin-top: 24px; }
.room-panorama-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.room-panorama-heading h2 { margin: 0; }
.room-panorama-section .panorama-viewer { border-radius: 18px; border-color: #a87b5666; }
.room-panorama-section .panorama-toolbar { background: linear-gradient(135deg, #4b2b19, #241109); }
.room-panorama-link { display: inline-block; margin-top: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.virtual-main { max-width: 1200px; }
.virtual-room-choice { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; font-weight: 700; }
.virtual-room-choice select { min-height: 48px; padding: 10px 36px 10px 14px; max-width: 100%; border: 1px solid #3b211355; border-radius: 6px; background: #fffaf3; color: #3b2113; font: inherit; }
.panorama-viewer { min-width: 0; overflow: hidden; border: 1px solid #3b211333; border-radius: 12px; background: #241109; color: #fffaf3; box-shadow: 0 16px 40px #3b211326; }
.panorama-stage { position: relative; height: clamp(260px, 45vw, 420px); overflow: hidden; background: #160c07; touch-action: none; cursor: grab; outline-offset: -4px; }
.panorama-stage.is-dragging { cursor: grabbing; }
.panorama-image { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; pointer-events: none; visibility: hidden; }
.panorama-viewer.is-ready .panorama-image { visibility: visible; }
.panorama-message { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 24px; text-align: center; line-height: 1.7; background: #241109; }
.panorama-message[hidden] { display: none; }
.panorama-message a { text-decoration: underline; }
.panorama-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; }
.panorama-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.panorama-control { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 12px; border: 1px solid #ffffff55; border-radius: 6px; background: #3b2113; color: #fff; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.panorama-control:disabled { opacity: .4; cursor: default; }
.panorama-control:focus-visible, .panorama-scene:focus-visible, .panorama-stage:focus-visible { outline: 3px solid #f6c65b; outline-offset: -3px; }
.panorama-position { display: flex; align-items: center; gap: 12px; padding: 0 14px 12px; }
.panorama-position input { width: 100%; min-width: 0; height: 44px; accent-color: #f6c65b; cursor: pointer; }
.panorama-counter { padding: 0 14px 12px; margin: 0; color: #fffaf3cc; font-size: .85rem; }
.panorama-scenes { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 12px 12px; }
.panorama-scenes[hidden], .panorama-counter[hidden] { display: none; }
.panorama-scene { display: block; width: 124px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: #3b2113; color: white; font: inherit; cursor: pointer; }
.panorama-scene[aria-pressed="true"] { border-color: #f6c65b; }
.panorama-scene img { display: block; width: 100%; height: 54px; object-fit: cover; }
.panorama-scene span { display: block; padding: 8px; font-size: .8rem; font-weight: 700; }
.panorama-help { margin: 0; padding: 0 14px 14px; color: #fffaf3bb; line-height: 1.6; font-size: .8rem; }
.panorama-viewer:fullscreen, .panorama-viewer.is-expanded { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 12px; border: 0; border-radius: 0; background: #160c07; overflow-y: auto; }
.panorama-viewer.is-expanded { position: fixed; inset: 0; z-index: 10000; height: 100dvh; }
.room-panorama-section .panorama-viewer:fullscreen, .room-panorama-section .panorama-viewer.is-expanded { border-radius: 0; }
.panorama-viewer:fullscreen .panorama-stage, .panorama-viewer.is-expanded .panorama-stage { flex: 1 0 200px; height: auto; min-height: 200px; }
html.panorama-expanded, html.panorama-expanded body { overflow: hidden; }
@media (max-height: 500px) and (orientation: landscape) { .panorama-stage { height: 65svh; min-height: 220px; } }
@media (hover: hover) { .panorama-control:hover:not(:disabled) { background: #70401f; } .panorama-scene:hover { border-color: #fffaf388; } }
@media (max-width: 600px) {
  .panorama-stage { height: 300px; }
  .panorama-toolbar { gap: 8px; }
  .panorama-controls { gap: 6px; }
  .panorama-control { padding: 10px; }
  .panorama-scene { width: calc((100% - 20px) / 3); max-width: 124px; }
  .room-panorama-section { margin-top: 28px; }
  .virtual-main > .intro h1 { font-size: clamp(2rem, 7vw, 3rem); }
}
