/* Ayuria Place Surrounding 360 — visual enhancement layer
   Keeps the existing Marzipano viewer and all original element IDs intact. */
:root {
  --forest: #111b17;
  --forest-2: #203229;
  --gold: #d4b477;
  --gold-soft: #f0dfb8;
  --cream: #f7f4ec;
  --line: rgba(255, 255, 255, .15);
  --panel-w: 350px;
}

html,
body {
  background: #101914;
}

.tour-shell {
  background: #101914;
}

.topbar {
  background: linear-gradient(105deg, #101914 0%, #1c2a22 55%, #111b17 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

.brand {
  gap: 14px;
}

.brand-mark {
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(212, 180, 119, .18), rgba(212, 180, 119, .04));
  box-shadow: inset 0 0 0 4px rgba(212, 180, 119, .05);
}

.brand-copy strong {
  letter-spacing: 2.7px;
}

.topbar-center {
  padding: 9px 14px;
  border: 1px solid rgba(212, 180, 119, .22);
  border-radius: 99px;
  background: rgba(255, 255, 255, .035);
}

.icon-button,
.pill-button,
.back-button {
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.cta {
  box-shadow: 0 6px 18px rgba(212, 180, 119, .2);
}

.tour-stage {
  background: radial-gradient(ellipse at center, #34443a, #0c130f 80%);
}

.viewer-gradient {
  background: linear-gradient(180deg, rgba(5, 12, 8, .78), rgba(5, 12, 8, .30) 22%, transparent 42%, transparent 70%, rgba(5, 12, 8, .58));
}

.viewer-heading {
  top: 34px;
  left: 38px;
  max-width: min(560px, 70%);
}

.viewer-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(212, 180, 119, .36);
  border-radius: 99px;
  background: rgba(15, 25, 19, .55);
  backdrop-filter: blur(12px);
}

.viewer-heading .eyebrow:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 180, 119, .15);
}

.viewer-heading h1 {
  margin-top: 13px;
  font-size: clamp(27px, 3vw, 42px);
  letter-spacing: -.5px;
  text-shadow: 0 3px 24px #000b;
}

.viewer-heading p {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(12, 20, 15, .48);
  backdrop-filter: blur(8px);
  color: #f0eee7;
}

.location-panel {
  background: linear-gradient(180deg, #f8f6ef 0%, #f0eee5 100%);
  color: #26352c;
  border-left: 1px solid rgba(255, 255, 255, .1);
  box-shadow: -12px 0 35px rgba(0, 0, 0, .14);
}

.panel-heading {
  padding-top: 28px;
}

.panel-heading h2 {
  color: #1d2d23;
  font: 600 27px "Playfair Display", serif;
  letter-spacing: -.3px;
}

.panel-heading .eyebrow {
  color: #9b7b43;
}

.explored {
  margin: 20px 22px 16px;
  padding: 14px 15px;
  border: 1px solid #ded9c9;
  border-radius: 13px;
  background: rgba(255, 255, 255, .68);
}

.explored-row {
  color: #637064;
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.explored-row span:last-child {
  color: #26372c;
  font-variant-numeric: tabular-nums;
}

.explored-bar {
  height: 5px;
  border-radius: 99px;
  background: #e2dfd4;
  overflow: hidden;
}

.explored-bar span {
  background: linear-gradient(90deg, #9d8050, #d4b477);
  border-radius: inherit;
  box-shadow: 0 0 10px #d4b47766;
}

.scene-list-scroll {
  padding: 0 12px 12px;
}

.scene {
  border-radius: 12px;
  padding: 11px 10px;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.scene:hover {
  background: #fff;
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(35, 48, 38, .07);
}

.scene.current {
  background: #fff;
  box-shadow: 0 5px 18px rgba(35, 48, 38, .1);
  outline: 1px solid rgba(177, 145, 88, .28);
}

.poi-badge {
  background: #e9e4d7;
  color: #80683e;
  border-color: #ddd4c0;
}

.scene.current .poi-badge {
  background: #24392c;
  border-color: #24392c;
  color: #f4dfb4;
}

.scene-label strong {
  color: #26352c;
}

.scene-label small {
  color: #9a8053;
  letter-spacing: 1.1px;
}

.scene-arrow {
  color: #9a8053;
}

.panel-footer {
  border-top: 1px solid #dedbcf;
  color: #35463a;
  background: rgba(255, 255, 255, .35);
}

.panel-footer small {
  color: #7d887d;
}

.poi-dot {
  background: #e0bd79;
  border: 2px solid #fff;
  box-shadow: 0 3px 16px rgba(0, 0, 0, .55), 0 0 0 5px rgba(224, 189, 121, .16);
}

.poi-label {
  background: rgba(17, 29, 21, .88);
  border: 1px solid rgba(240, 223, 184, .52);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .32);
  font-size: 11px;
  letter-spacing: .15px;
}

.poi.active .poi-label {
  background: #e0bd79;
  color: #17221b;
  border-color: #fff;
}

.poi-card {
  background: rgba(16, 27, 20, .94);
  border: 1px solid rgba(224, 189, 121, .72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .32);
  backdrop-filter: blur(16px);
}

.poi-card .eyebrow {
  color: #e0bd79;
}

.scene-nav button {
  box-shadow: 0 5px 18px rgba(0, 0, 0, .24);
}

.viewControlButton {
  width: 38px;
  height: 38px;
  background: rgba(16, 27, 20, .78);
  border-color: rgba(255, 255, 255, .34);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .24);
}

.viewControlButton:hover {
  background: var(--gold);
}

.viewer-hint {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 99px;
  background: rgba(12, 20, 15, .62);
  backdrop-filter: blur(10px);
  letter-spacing: 1.1px;
}

.hd-chip {
  border: 1px solid rgba(212, 180, 119, .35);
  background: rgba(12, 20, 15, .78);
  backdrop-filter: blur(10px);
}

.welcome {
  background: radial-gradient(ellipse at 50% 38%, rgba(41, 60, 47, .62), rgba(7, 13, 9, .88));
  backdrop-filter: blur(5px);
}

.welcome-card {
  border: 1px solid rgba(212, 180, 119, .48);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(31, 47, 36, .97), rgba(13, 22, 16, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
}

.welcome h2 {
  letter-spacing: -.5px;
}

.btn {
  min-height: 45px;
}

.btn-primary {
  background: linear-gradient(135deg, #e4c98f, #c7a66a);
  box-shadow: 0 8px 24px rgba(199, 166, 106, .2);
}

.btn-ghost {
  background: rgba(255, 255, 255, .04);
}

.toast {
  border: 1px solid rgba(212, 180, 119, .38);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .3);
}

@media (min-width: 1100px) {
  .tour-shell {
    grid-template-columns: minmax(0, 1fr) 370px;
  }

  .location-panel {
    padding-left: 3px;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 16px;
  }

  .topbar-center {
    display: none;
  }
}

@media (max-width: 650px) {
  .tour-shell {
    grid-template-rows: 58px minmax(0, 1fr);
  }

  .topbar {
    padding: 0 11px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 20px;
    border-radius: 9px;
  }

  .topbar-actions {
    gap: 5px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .pill-button {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
  }

  .pill-button .btn-label {
    display: none;
  }

  .viewer-heading {
    top: 18px;
    left: 16px;
    max-width: 82%;
  }

  .viewer-heading h1 {
    font-size: 27px;
    margin-top: 9px;
  }

  .viewer-heading p {
    font-size: 10px;
    padding: 7px 9px;
  }

  .poi-label {
    max-width: 120px;
  }

  .poi-card {
    bottom: 78px;
  }

  .view-controls {
    right: 12px;
    bottom: 18px;
  }

  .viewControlButton {
    width: 34px;
    height: 34px;
  }

  .viewer-hint {
    max-width: calc(100% - 110px);
    left: 12px;
    bottom: 17px;
    font-size: 8px;
    padding: 9px 10px;
  }

  .welcome-card {
    width: min(92vw, 430px);
    padding: 26px 22px;
  }

  .welcome-meta {
    gap: 12px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Ayuria Place Room Tour Button */

.room-tour-action {
  margin-top: 12px;
  width: 100%;
}

.room-tour-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: #173D35;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}

.room-tour-button:hover {
  background: #24594D;
  transform: translateY(-2px);
  color: #ffffff;
}