.halloween-room-tour {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  isolation: isolate;
  background: #151316;
  color: #faf7f3;
  font-family: Arial, sans-serif;
  letter-spacing: 0;
  box-sizing: border-box;
}
.halloween-room-tour *, .halloween-room-tour *::before, .halloween-room-tour *::after { box-sizing: border-box; }
.halloween-room-tour .tour-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.halloween-room-tour.is-dragging .tour-canvas { cursor: grabbing; }
.halloween-room-tour .tour-toolbar {
  position: absolute; inset: 0 0 auto; z-index: 4;
  padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent); pointer-events: none;
}
.halloween-room-tour .tour-title { margin: 0; font: 600 18px/1.3 Georgia, serif; text-shadow: 0 2px 4px #000; }
.halloween-room-tour .tour-controls { display: flex; gap: 6px; pointer-events: auto; flex-shrink: 0; }
.halloween-room-tour .tour-button {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 6px;
  color: #faf7f3; background: rgba(20, 18, 23, 0.76); cursor: pointer;
}
.halloween-room-tour .tour-button svg { width: 19px; height: 19px; stroke-width: 1.7; pointer-events: none; }
.halloween-room-tour .tour-button:hover { background: #302c36; }
.halloween-room-tour button:focus-visible, .halloween-room-tour:focus-visible { outline: 2px solid #92d7e8; outline-offset: 3px; }
.halloween-room-tour .tour-hotspot {
  position: absolute; z-index: 3; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 237, 190, 0.8); background: rgba(20, 18, 23, 0.35);
  cursor: pointer; transform: translate(-50%, -50%); box-shadow: 0 1px 8px #0009;
}
.halloween-room-tour .tour-hotspot::before {
  content: ""; display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%;
  background: #ffde87; box-shadow: 0 0 9px rgba(255, 205, 107, 0.8);
}
.halloween-room-tour .tour-hotspot:hover { background: rgba(30, 41, 44, 0.85); border-color: #a0e4ec; }
.halloween-room-tour .tour-hotspot[hidden] { display: none; }
.halloween-room-tour .tour-card {
  position: absolute; z-index: 5; left: 16px; bottom: 54px;
  width: min(350px, calc(100% - 32px)); padding: 18px 50px 18px 18px;
  border: 1px solid #8c8175; border-radius: 6px; background: rgba(20, 18, 23, 0.95);
  box-shadow: 0 6px 24px #0006; max-height: calc(100% - 160px); overflow: auto;
}
.halloween-room-tour .tour-card[hidden] { display: none; }
.halloween-room-tour .tour-card h2 { margin: 0 0 8px; font: 600 18px/1.3 Georgia, serif; }
.halloween-room-tour .tour-card p { margin: 0; font-size: 14px; line-height: 1.55; color: #e5e2dd; }
.halloween-room-tour .tour-card .tour-close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; }
.halloween-room-tour .tour-compass {
  position: absolute; z-index: 2; bottom: 16px; left: 16px;
  width: 38px; height: 26px; text-align: center; padding: 4px 0;
  font-size: 13px; color: #fff; border-radius: 4px; background: rgba(20, 18, 23, 0.8); pointer-events: none;
}
.halloween-room-tour .tour-status {
  position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(340px, calc(100% - 32px)); padding: 18px; margin: 0;
  border: 1px solid #8c8175; border-radius: 6px; background: #151316; font-size: 16px; line-height: 1.5;
}
.halloween-room-tour .tour-status[hidden] { display: none; }
@media (max-width: 540px) {
  .halloween-room-tour .tour-toolbar { padding: 12px; flex-wrap: wrap; gap: 10px; }
  .halloween-room-tour .tour-title { font-size: 16px; }
  .halloween-room-tour .tour-button { width: 36px; height: 36px; }
  .halloween-room-tour .tour-controls { gap: 4px; }
}
