/* ============================================================
   360 Her Yerde — Tam ekran tur sayfası (tur.html)
   sections.css'ten sonra yüklenir (token'lar + viewer__card/lightbox
   ve viewer__spinner stillerini oradan alır).
   ============================================================ */

html, body { height: 100%; }
body.tour-page {
  margin: 0;
  background: #000;
  overflow: hidden;
  overscroll-behavior: none;
}

/* Tam ekran tuval kapsayıcısı */
.tour {
  position: fixed;
  inset: 0;
  background: #060605;
  user-select: none;
}
.tour__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
.tour.is-dragging .tour__canvas { cursor: grabbing; }

/* Hotspot / ok katmanı */
.tour__hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

/* ---- Zemin halkaları (Matterport tarzı, yere basan elips) ---- */
.tour__arrow {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  color: rgba(242, 240, 232, 0.95);
  background: rgba(242, 240, 232, 0.14);
  border: 3px solid rgba(242, 240, 232, 0.85);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.12s var(--ease);
}
.tour__arrow.is-shown { opacity: 1; }
.tour__arrow svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.tour__arrow.is-fwd { width: 92px; height: 42px; }
.tour__arrow.is-back { width: 62px; height: 30px; border-width: 2px; opacity: 0; background: rgba(242, 240, 232, 0.10); border-color: rgba(242, 240, 232, 0.6); }
.tour__arrow.is-back.is-shown { opacity: 0.85; }
.tour__arrow.is-back svg { width: 17px; height: 17px; }
.tour__arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--on-orange);
}
.tour__arrow.is-fwd.is-shown { animation: tourPulse 2.6s ease-out infinite; }
.tour__arrow:hover { animation: none; }
@keyframes tourPulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 102, 58, 0.45); }
  70% { box-shadow: 0 0 0 18px rgba(225, 102, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 102, 58, 0); }
}

/* Bilgi pill (mekân/sahne adı) */
.tour__arrow.is-info {
  width: auto; height: auto;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory);
  background: rgba(10, 10, 8, 0.6);
}
.tour__arrow.is-info:hover { color: var(--on-orange); }

/* Zemin yön okunun altındaki oda/hedef etiketi */
.tour__arrow-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  background: rgba(20, 22, 26, 0.92);
  color: #f2f0e8;
  font-family: Archivo, system-ui, sans-serif;
  font-size: 0.70rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tour__arrow:hover .tour__arrow-label {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateX(-50%) translateY(2px);
}

/* ---- Üst bar ---- */
.tour__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  pointer-events: none;
}
.tour__bar > * { pointer-events: auto; }
.tour__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(10, 10, 8, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 240, 232, 0.22);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.tour__back:hover { border-color: var(--orange); color: var(--orange); }
.tour__title {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ivory);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.tour__spacer { flex: 1; }
.tour__tool {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--ivory);
  background: rgba(10, 10, 8, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 240, 232, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.tour__tool:hover, .tour__tool[aria-expanded="true"], .tour__tool[aria-pressed="true"] {
  border-color: var(--orange);
  color: var(--orange);
}
.tour__tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Alt araç çubuğu (sol alt) — Matterport tarzı yuvarlak butonlar */
.tour__tools {
  position: absolute;
  left: 20px;
  bottom: 24px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Sağ alt bilgi butonu */
.tour__info {
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 6;
}
.tour__info svg { width: 17px; height: 17px; }

/* Sahne adı rozeti (alt orta) */
.tour__scene {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: rgba(10, 10, 8, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 240, 232, 0.18);
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}
.tour__scene b { font-size: 0.88rem; font-weight: 600; color: var(--ivory); letter-spacing: 0.04em; }
.tour__scene span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }

/* Sahne rozeti + önceki/sonraki okları (alt orta) */
.tour__navwrap {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour__navwrap .tour__scene {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
}
.tour__navbtn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: var(--ivory);
  background: rgba(10, 10, 8, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(242, 240, 232, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.tour__navbtn svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.tour__navbtn:hover { border-color: var(--orange); color: var(--orange); }
.tour__navbtn:disabled { opacity: 0.28; cursor: default; border-color: rgba(242, 240, 232, 0.14); color: var(--muted); }

/* Sağ alt: Google Maps tarzı zoom butonları */
.tour__zoom {
  position: absolute;
  right: 20px;
  bottom: 76px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tour__zoom-btn { width: 40px; height: 40px; }

/* Sahne menüsü (sol alt çubuğun üstünde açılır) */
.tour__menu {
  position: absolute;
  left: 20px;
  bottom: 78px;
  z-index: 7;
  width: 270px;
  max-height: calc(100% - 210px);
  overflow-y: auto;
  padding: 8px;
  background: rgba(10, 10, 8, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.tour__menu[hidden] { display: none; }
.tour__menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 6px 8px;
  margin-bottom: 3px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(242, 240, 232, 0.88);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.tour__menu-thumb-wrap {
  width: 48px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.tour__menu-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tour__menu-label {
  font-size: 0.80rem;
  line-height: 1.25;
}
.tour__menu-item:hover { background: rgba(242, 240, 232, 0.12); color: #fff; }
.tour__menu-item.is-active { background: var(--orange); color: var(--on-orange); }

/* İpucu (alt çubuğun üstünde) */
.tour__hint {
  position: absolute;
  left: 20px;
  bottom: 78px;
  z-index: 5;
  padding: 8px 15px;
  background: rgba(10, 10, 8, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(242, 240, 232, 0.16);
  border-radius: 999px;
  font-size: 0.76rem;
  color: rgba(242, 240, 232, 0.82);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.tour__hint.is-hidden { opacity: 0; visibility: hidden; }

/* Proje Açılış Yükleyicisi — Süreç ve İlerleme Göstergeli */
#tour-loader {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #15171a;
  color: #f2f0e8;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
}
#tour-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.viewer__loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
  width: 86%;
  gap: 12px;
}
.viewer__loader-brand {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--orange);
  text-transform: uppercase;
}
#tour-loader .viewer__spinner {
  width: 36px;
  height: 36px;
  border-width: 3px;
  border-color: rgba(225, 102, 58, 0.22);
  border-top-color: var(--orange);
  margin: 4px 0;
}
.viewer__loader-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.viewer__loader-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin: 4px 0 2px;
}
.viewer__loader-bar {
  width: 12%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ff9a6c);
  border-radius: 999px;
  transition: width 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.viewer__loader-step {
  font-size: 0.80rem;
  color: #9ba0a6;
  font-weight: 500;
  min-height: 1.4em;
  letter-spacing: 0.01em;
}

/* ---- 3B MİMARİ MAKET & KAT PLANI GÖRÜNÜMÜ (Obsidian · Champagne) ---- */
.tour__doll {
  position: absolute;
  inset: 0;
  z-index: 9;
  background: #060607;
  overflow: hidden;
  cursor: grab;
  opacity: 1;
  transition: opacity 0.32s ease;
}
.tour__doll.is-closing {
  opacity: 0;
  pointer-events: none;
}
.tour__doll.is-dragging { cursor: grabbing; }
.tour__doll[hidden] { display: none; }
.tour__doll-stage {
  position: absolute;
  inset: 0;
  touch-action: none;
}
.tour__doll-3d {
  position: absolute;
  inset: 0;
}
.tour__doll-3d canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.tour__doll-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Sol Üst: İmmoviewer Rooms (Odalar) Paneli */
.tour__doll-rooms {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 6;
  width: 200px;
  background: rgba(24, 26, 30, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  font-family: Archivo, system-ui, sans-serif;
  transition: max-height 0.3s ease;
}
.tour__doll-rooms-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: rgba(34, 37, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e4e8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tour__doll-rooms-toggle {
  background: transparent;
  border: none;
  color: #9ba0a6;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 4px;
}
.tour__doll-search-wrap {
  position: relative;
  padding: 7px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tour__doll-search {
  width: 100%;
  background: #15171a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 5px 8px 5px 25px;
  color: #fff;
  font-size: 0.74rem;
  font-family: inherit;
}
.tour__doll-search:focus { outline: none; border-color: #00b0ff; }
.tour__doll-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #8a8f96;
  stroke-width: 2.2;
  pointer-events: none;
}
.tour__doll-room-list {
  list-style: none;
  margin: 0;
  padding: 4px;
  max-height: 310px;
  overflow-y: auto;
}
.tour__doll-room-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 6px 8px;
  border: none;
  background: transparent;
  color: #c4c7cc;
  border-radius: 6px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tour__doll-room-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.tour__doll-room-item.is-active {
  background: rgba(225, 102, 58, 0.18);
  color: var(--orange-2);
  font-weight: 600;
}
.tour__doll-room-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* Üst Orta: [ 2D | 3D ] Mod Seçici (İmmoviewer Tarzı) */
.tour__doll-modes {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 4px;
  background: rgba(24, 26, 30, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.tour__doll-mode {
  padding: 5px 14px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #9ba0a6;
  font: 600 0.84rem Archivo, system-ui, sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tour__doll-mode:hover { color: #ffffff; }
.tour__doll-mode.is-active {
  background: #17181c;
  color: var(--orange-2);           /* 360 Her Yerde turuncu vurgusu */
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Sağ Üst Kapat Butonu */
.tour__doll-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
}

/* Sağ Alt Kontroller */
.tour__doll-controls {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tour__doll-ctrl {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(24, 26, 30, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #e2e4e8;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.tour__doll-ctrl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.tour__doll-ctrl:hover { border-color: #00b0ff; color: #00b0ff; }

/* Alt Açılış / Girişe İniş Bildirimi */
.tour__doll-intro-pill {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(20, 22, 26, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(225, 102, 58, 0.4);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  pointer-events: auto;
  white-space: nowrap;
}
.tour__doll-intro-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-2);
  box-shadow: 0 0 10px var(--orange);
  animation: dollIntroPulse 1.4s infinite;
}
@keyframes dollIntroPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}
.tour__doll-intro-dive {
  padding: 4px 12px;
  border-radius: 999px;
  border: none;
  background: var(--orange);
  color: #fff;
  font: 700 0.72rem Archivo, system-ui, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.tour__doll-intro-dive:hover {
  background: var(--orange-2);
  transform: scale(1.04);
}

/* Sahne pinleri (şampanya altın) */
.tour__doll-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #E3C89B;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(227, 200, 155, 0.35), 0 3px 10px rgba(0, 0, 0, 0.7);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.tour__doll-pin i { display: none; }
.tour__doll-pin:hover {
  background: #ffffff;
  border-color: #E3C89B;
  transform: translate(-50%, -50%) scale(1.55);
  box-shadow: 0 0 0 6px rgba(227, 200, 155, 0.55), 0 4px 14px rgba(0, 0, 0, 0.8);
  z-index: 20;
}
.tour__doll-pin.is-active {
  background: #FFF8E6;
  border-color: #E3C89B;
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 0 0 6px rgba(227, 200, 155, 0.50), 0 2px 10px rgba(0, 0, 0, 0.7);
  z-index: 15;
}
.tour__doll-pin span {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(8, 8, 10, 0.92);
  border: 1px solid rgba(227, 200, 155, 0.55);
  color: #F4F1EA;
  font: 500 10.5px "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0.92;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.tour__doll-pin:hover span,
.tour__doll-pin.is-active span {
  opacity: 1;
}

/* Küçük ekran (Mobil 360° Tur & 3D Dollhouse optimizasyonu) */
@media (max-width: 768px) {
  .tour__bar { padding: 12px 14px; gap: 10px; }
  .tour__title { font-size: 0.78rem; padding: 7px 13px; max-width: calc(100vw - 135px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tour__arrow.is-fwd { width: 76px; height: 36px; }
  .tour__arrow.is-back { width: 54px; height: 26px; }
  .tour__arrow svg { width: 18px; height: 18px; }
  .tour__arrow-label { font-size: 0.66rem; padding: 3px 7px; }
  .tour__hint { left: 12px; right: 12px; bottom: 68px; transform: none; max-width: calc(100vw - 24px); white-space: normal; text-align: center; font-size: 0.70rem; line-height: 1.4; padding: 7px 12px; border-radius: 12px; }
  .tour__navwrap { top: 58px; bottom: auto; gap: 6px; }
  .tour__navbtn { width: 34px; height: 34px; }
  .tour__scene { padding: 6px 12px; font-size: 0.76rem; }
  .tour__zoom { right: 12px; bottom: 72px; gap: 6px; }
  .tour__zoom-btn { width: 38px; height: 38px; }
  .tour__menu { left: 12px; right: 12px; bottom: 68px; width: auto; max-height: calc(100% - 190px); }
  .tour__tools { left: 12px; bottom: 14px; gap: 8px; }
  .tour__tools .tour__tool { width: 40px; height: 40px; }
  .tour__info { right: 12px; bottom: 14px; width: 40px; height: 40px; }
  .tour__doll-rooms { top: 12px; left: 12px; width: 175px; }
  .tour__doll-rooms-head { padding: 7px 10px; font-size: 0.74rem; }
  .tour__doll-room-list { max-height: 215px; }
  .tour__doll-modes { top: 12px; left: auto; right: 58px; transform: none; width: auto; padding: 2px 3px; }
  .tour__doll-mode { padding: 5px 11px; font-size: 0.74rem; }
  .tour__doll-close { top: 12px; right: 12px; width: 34px; height: 34px; }
  .tour__doll-controls { right: 12px; bottom: 16px; gap: 7px; }
  .tour__doll-ctrl { width: 36px; height: 36px; }
  .tour__doll-pin { width: 13px; height: 13px; }
  .tour__doll-pin span { font-size: 8.2px; padding: 2px 5px; bottom: calc(100% + 4px); max-width: 118px; overflow: hidden; text-overflow: ellipsis; }
  .tour__doll-pin.is-active { transform: translate(-50%, -50%) scale(1.22); }
}


/* ============================================================
   Exclusive Obsidian · Champagne Tema + Kuşbakışı Kroki & Bloom
   ============================================================ */
body.tour-page {
  background: #060607;
  font-family: "Space Grotesk", system-ui, sans-serif;
}
.tour { background: #060607; }
.tour__canvas {
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* HUD köşe parantezleri */
.tour__corner {
  position: absolute;
  z-index: 5;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(227, 200, 155, 0.55);
  pointer-events: none;
  margin: 70px 18px 80px;
}
.tour__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.tour__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.tour__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.tour__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Yükleme ekranı — yukarıdan aşağı perdeli açılış */
#tour-loader {
  background:
    radial-gradient(circle at 50% 45%, rgba(227, 200, 155, 0.08), rgba(244, 241, 234, 0.04) 38%, transparent 70%),
    #060607;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.7s ease, visibility 0.9s ease;
}
#tour-loader.is-done {
  transform: translateY(102%);
  opacity: 1;
}
.viewer__loader-brand {
  font-family: "JetBrains Mono", monospace;
  color: #E3C89B;
  text-shadow: 0 0 18px rgba(227, 200, 155, 0.45);
}
#tour-loader .viewer__spinner {
  border-color: rgba(227, 200, 155, 0.18);
  border-top-color: #E3C89B;
  box-shadow: 0 0 24px rgba(227, 200, 155, 0.3);
}
.viewer__loader-title {
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  font-weight: 400;
}
.viewer__loader-bar {
  background: linear-gradient(90deg, #FFFFFF, #E3C89B, #C9A978);
  box-shadow: 0 0 14px rgba(227, 200, 155, 0.65);
}
.viewer__loader-step {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9E9B93;
}

/* Kuşbakışı Mimari Kroki & İlahi Bakış Açısı (God's-Eye Descent) Katmanı */
.tour__blueprint {
  --tx: 0px;
  --ty: 135px;
  position: absolute;
  inset: 0;
  z-index: 18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  background:
    radial-gradient(ellipse 85% 70% at 50% 0%, rgba(255, 248, 228, 0.22) 0%, rgba(227, 200, 155, 0.08) 38%, rgba(8, 8, 10, 0.95) 75%, rgba(6, 6, 7, 0.99) 100%),
    linear-gradient(rgba(227, 200, 155, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 200, 155, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 38px 38px, 38px 38px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.tour__blueprint.is-active {
  opacity: 1;
  pointer-events: auto;
}
.tour__blueprint.is-diving {
  opacity: 0;
  transition: opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}
.tour__bp-rays {
  position: absolute;
  inset: -40% -20% 0;
  pointer-events: none;
  background:
    conic-gradient(from 158deg at 50% 0%,
      transparent 0deg,
      rgba(255, 249, 232, 0.16) 11deg,
      transparent 22deg,
      rgba(227, 200, 155, 0.22) 32deg,
      transparent 44deg);
  filter: blur(24px);
  mix-blend-mode: screen;
  animation: tourGodRays 7s ease-in-out infinite alternate;
}
.tour__bp-halo {
  position: absolute;
  left: 50%;
  top: -18%;
  width: 640px;
  height: 280px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 252, 240, 0.55) 0%, rgba(227, 200, 155, 0.18) 45%, transparent 75%);
  filter: blur(20px);
}
@keyframes tourGodRays {
  0% { transform: rotate(-4deg) scale(1); opacity: 0.75; }
  100% { transform: rotate(4deg) scale(1.08); opacity: 1; }
}
.tour__bp-head, .tour__bp-foot {
  position: relative;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #9E9B93;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.tour__bp-head b { color: #E3C89B; font-weight: 500; }
.tour__bp-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.tour__bp-svg {
  width: min(86%, 720px);
  height: auto;
  max-height: 92%;
  overflow: visible;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 24px rgba(227, 200, 155, 0.3));
  transform: rotateX(0deg) scale(1) translate3d(0, 0, 0);
  transition: transform 1.35s cubic-bezier(0.62, 0.02, 0.22, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.tour__blueprint.is-tilting .tour__bp-svg {
  transform: rotateX(26deg) scale(1.06) translate3d(0, -10px, 0);
}
.tour__blueprint.is-diving .tour__bp-svg {
  transform: rotateX(56deg) scale(4.2) translate3d(var(--tx), var(--ty), 90px);
  filter: drop-shadow(0 0 45px rgba(255, 250, 235, 0.95)) blur(10px) brightness(2.1);
}
.tour__bp-svg .bp-floor {
  fill: rgba(227, 200, 155, 0.035);
  stroke: none;
  opacity: 0;
  animation: tourBpFade 0.9s ease 0.25s forwards;
}
.tour__bp-svg .bp-outer {
  fill: none;
  stroke: #F7F4ED;
  stroke-width: 3.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: tourBpDraw 1.55s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.tour__bp-svg .bp-inner {
  fill: none;
  stroke: rgba(244, 241, 234, 0.86);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: tourBpDraw 1.35s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
}
.tour__bp-svg .bp-detail {
  fill: none;
  stroke: rgba(227, 200, 155, 0.52);
  stroke-width: 1.15;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: tourBpDraw 1.2s ease 0.45s forwards;
}
.tour__bp-svg .bp-door {
  fill: none;
  stroke: #E3C89B;
  stroke-width: 1.35;
  stroke-dasharray: 3 3;
  opacity: 0;
  animation: tourBpFade 0.6s ease 0.7s forwards;
}
.tour__bp-svg .bp-win {
  fill: rgba(255, 250, 236, 0.14);
  stroke: #FFF8E6;
  stroke-width: 2.2;
  opacity: 0;
  animation: tourBpFade 0.6s ease 0.55s forwards;
}
.tour__bp-svg .bp-path {
  fill: none;
  stroke: rgba(227, 200, 155, 0.58);
  stroke-width: 1.35;
  stroke-dasharray: 4 6;
  opacity: 0;
  animation: tourBpFade 0.7s ease 0.85s forwards;
}
.tour__bp-svg .bp-label {
  fill: #F4F1EA;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.2px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-anchor: middle;
  opacity: 0;
  animation: tourBpFade 0.6s ease 0.65s forwards;
}
.tour__bp-svg .bp-sub {
  fill: rgba(227, 200, 155, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-anchor: middle;
  opacity: 0;
  animation: tourBpFade 0.6s ease 0.75s forwards;
}
.tour__bp-svg .bp-dim {
  fill: rgba(227, 200, 155, 0.55);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-anchor: middle;
  opacity: 0;
  animation: tourBpFade 0.7s ease 0.5s forwards;
}
.tour__bp-svg .bp-node {
  fill: #09090A;
  stroke: rgba(227, 200, 155, 0.9);
  stroke-width: 1.6;
  opacity: 0;
  animation: tourBpFade 0.5s ease 0.75s forwards;
}
.tour__bp-svg .bp-node--start {
  fill: #FFF8E8;
  stroke: #E3C89B;
  stroke-width: 2.4;
}
.tour__bp-svg .bp-pulse {
  fill: none;
  stroke: #FFF6DF;
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: tourBpPulse 1.5s ease-out infinite;
}
.tour__bp-svg .bp-beam {
  fill: url(#bpGodBeam);
  opacity: 0;
  mix-blend-mode: screen;
  animation: tourBpBeamIn 0.9s ease 0.7s forwards;
}
@keyframes tourBpBeamIn { to { opacity: 0.95; } }
@keyframes tourBpDraw { to { stroke-dashoffset: 0; } }
@keyframes tourBpFade { to { opacity: 1; } }
@keyframes tourBpPulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(3.1); opacity: 0; } }

/* Sinematik Hafif Bloom Katmanı — GPU donanım hızlandırmalı (blur filtresiz, 60fps akıcı) */
.tour__bloom {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 251, 240, 0.34) 0%, rgba(232, 208, 165, 0.16) 36%, rgba(227, 200, 155, 0.04) 64%, transparent 82%);
  transform: scale(0.95);
  transition: opacity 0.24s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}
.tour.is-blooming .tour__bloom {
  opacity: 1;
  transform: scale(1.04);
}

/* Üst bar ve kontrollerin yukarıdan inmesi */
@keyframes tourDropDown {
  0% { opacity: 0; transform: translateY(-28px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes tourNavDrop {
  0% { opacity: 0; transform: translate(-50%, -24px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}
.tour__bar { animation: tourDropDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.tour__tools, .tour__zoom, .tour__info, .tour__hint { animation: tourDropDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }
.tour__navwrap { animation: tourNavDrop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }

/* Cam yüzeyler + şampanya parlama */
.tour__back, .tour__tool, .tour__navbtn, .tour__scene, .tour__hint {
  background: rgba(8, 8, 10, 0.66);
  border-color: rgba(244, 241, 234, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.75);
}
.tour__back:hover, .tour__tool:hover, .tour__navbtn:hover,
.tour__tool[aria-expanded="true"], .tour__tool[aria-pressed="true"] {
  border-color: #E3C89B;
  color: #E3C89B;
  box-shadow: 0 0 24px -4px rgba(227, 200, 155, 0.5);
}
.tour__title {
  font-family: "Unbounded", "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: 0.86rem;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.66);
  border: 1px solid rgba(244, 241, 234, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.75);
}
.tour__scene b { font-family: "Unbounded", "Space Grotesk", sans-serif; font-weight: 400; font-size: 0.82rem; }
.tour__scene span { font-family: "JetBrains Mono", monospace; color: #E3C89B; }

/* Zemin okları — şampanya/platin halka */
.tour__arrow {
  color: #F4F1EA;
  background: radial-gradient(circle, rgba(227, 200, 155, 0.24), rgba(244, 241, 234, 0.10));
  border: 2.5px solid rgba(227, 200, 155, 0.9);
  box-shadow: 0 0 24px rgba(227, 200, 155, 0.4), inset 0 0 12px rgba(227, 200, 155, 0.2);
}
.tour__arrow:hover {
  background: linear-gradient(135deg, #FFFFFF, #E3C89B);
  border-color: #fff;
  color: #060607;
  box-shadow: 0 0 36px rgba(227, 200, 155, 0.85);
}
@keyframes tourPulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 200, 155, 0.5), 0 0 24px rgba(227, 200, 155, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(227, 200, 155, 0), 0 0 24px rgba(227, 200, 155, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(227, 200, 155, 0), 0 0 24px rgba(227, 200, 155, 0.4); }
}
.tour__arrow-label {
  font-family: "JetBrains Mono", monospace;
  background: rgba(8, 8, 10, 0.92);
  border-color: rgba(227, 200, 155, 0.45);
  color: #F4F1EA;
}
.tour__arrow:hover .tour__arrow-label {
  background: #E3C89B;
  color: #060607;
  border-color: #E3C89B;
}
.tour__menu {
  background: rgba(8, 8, 10, 0.94);
  border-color: rgba(244, 241, 234, 0.2);
}
.tour__menu-item.is-active {
  background: linear-gradient(100deg, rgba(227, 200, 155, 0.22), rgba(244, 241, 234, 0.08));
  color: #fff;
  border: 1px solid rgba(227, 200, 155, 0.55);
}
@media (max-width: 640px) {
  .tour__corner { display: none; }
}
