/* Tam ekran interyer turu — core/tour.js bu qurulu yaradır. */

.tour {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--stage);
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--stage-ink);
}

.tour-bar {
  display: flex;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
  background: rgba(5, 15, 20, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tour-title {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 160px;
}
.tour-title span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
}
.tour-title small {
  color: var(--stage-muted);
  font-size: 12px;
}

/* mərtəbə / rejim keçidləri */
.seg {
  display: flex;
  background: rgba(255, 255, 255, .08);
  border-radius: 9px;
  padding: 3px;
  flex-wrap: wrap;
}
.seg button {
  border: 0;
  background: none;
  color: #C9D7DC;
  padding: 7px 12px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 13px;
}
.seg button.on {
  background: #fff;
  color: #0A1820;
}

.tour-close {
  border: 1px solid rgba(255, 255, 255, .2);
  background: none;
  color: #fff;
  border-radius: 9px;
  padding: 7px 14px;
  font-weight: 600;
}

.tour-canvas {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.tour-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* aşağıdaki otaq lenti */
.tour-rooms {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 6px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  overflow-x: auto;
  background: linear-gradient(transparent, rgba(5, 15, 20, .85));
}
.tour-rooms button {
  flex: none;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(5, 15, 20, .55);
  color: #fff;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
}
.tour-rooms button.on {
  background: #fff;
  color: #0A1820;
  border-color: #fff;
}

.tour-hint {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  background: rgba(5, 15, 20, .7);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: #D6E3E8;
  pointer-events: none;
  max-width: calc(100% - 32px);
  text-align: center;
}

.tour-err {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #fff;
}
