.real #scene { background: #222; }
.catalog--real button small { text-transform: none; }
.panel__credit { font-size: 11px; color: var(--muted); margin: 16px 0 0; line-height: 1.4; }

.rooms {
  position: fixed; z-index: 9; left: 304px; right: 12px; bottom: 12px;
  display: flex; gap: 8px; overflow-x: auto; padding: 4px; scrollbar-width: none;
}
.rooms::-webkit-scrollbar { display: none; }
.rooms button {
  flex: none; width: 156px; padding: 0; border: 2px solid rgba(255,255,255,.7); border-radius: 10px; overflow: hidden;
  background: #000; position: relative; color: #fff; text-align: left; box-shadow: 0 6px 18px -8px rgba(0,0,0,.6);
  transition: border-color .15s, transform .15s;
}
.rooms button:hover { transform: translateY(-2px); }
.rooms button.is-on { border-color: var(--brass); }
.rooms img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .85; }
.rooms span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 6px; font-size: 12px; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.real .selbar { bottom: 120px; }

.loading {
  position: fixed; z-index: 15; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(20,32,28,.85); color: var(--ivory); padding: 16px 20px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 8px; width: 240px; transition: opacity .3s;
}
.loading.is-done { opacity: 0; pointer-events: none; }
.loading__bar { height: 4px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.loading__bar span { display: block; height: 100%; width: 0; background: var(--brass); transition: width .2s; }

.calib {
  position: fixed; z-index: 12; right: 12px; top: 84px; width: 260px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px;
}
.calib[hidden] { display: none; }
.calib small { color: var(--muted); }

/* botões extras da barra */
.iconbtn { border: 0; background: transparent; cursor: pointer; }
.iconbtn--label { width: auto; gap: 6px; padding: 0 12px; display: flex; align-items: center; font-weight: 600; font-size: 13px; }
.iconbtn.is-on { background: #efe9de; }

/* painel desliza para fora no desktop */
@media (min-width: 761px) {
  .real .panel { transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .3s; bottom: 120px; }
  .real .panel.is-closed { transform: translateX(calc(-100% - 24px)); opacity: 0; pointer-events: none; }
  .real .rooms { left: 12px; }
}

/* modo imersivo */
.bar, .rooms, .panel { transition: opacity .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.is-immersive .bar { opacity: 0; transform: translateY(-120%); pointer-events: none; }
.is-immersive .rooms { opacity: 0; transform: translateY(120%); pointer-events: none; }
.is-immersive .panel { opacity: 0; pointer-events: none; }
.is-immersive .selbar { display: none; }

.imm {
  position: fixed; z-index: 12; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  display: flex; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s;
}
.is-immersive .imm { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.is-immersive.is-idle .imm { opacity: 0; pointer-events: none; }
.is-immersive.is-idle #scene { cursor: none; }
.imm__btn {
  min-width: 48px; height: 48px; display: grid; place-items: center; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; cursor: pointer;
  background: rgba(20,32,28,.6); color: #fff; font: 600 13px var(--sans);
  backdrop-filter: blur(6px);
}
.imm__btn:hover { background: rgba(20,32,28,.85); }

@media (max-width: 760px) {
  .iconbtn--label span { display: none; }
  .iconbtn--label { padding: 0; width: 40px; justify-content: center; }
  .rooms { left: 8px; right: 8px; bottom: 56px; }
  .rooms button { width: 112px; }
  .real .selbar { bottom: 140px; }
}
