/* The room itself is navigation: transparent links over its doors and monitor. */
.room-navigation {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.room-navigation[hidden] { display: none; }
.room-link {
  position: absolute;
  display: block;
  pointer-events: auto;
  border: 1px solid transparent;
  border-radius: 42% 42% 3px 3px;
  background: transparent;
  color: #eefcff;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: #a5ffff2b;
}
.room-link--screen { border-radius: 4px; }
.room-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow: inset 0 0 24px #8be4eb32, 0 0 16px #a0f7ff26;
  transition: opacity .15s;
}
.room-link__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  padding: 6px 9px;
  border: 1px solid #a2e3ed80;
  border-radius: 6px;
  background: #142b3df2;
  color: #effdff;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.room-link:focus-visible {
  outline: 3px solid #bdffff;
  outline-offset: 2px;
}
.room-link:focus-visible::before,
.room-link:focus-visible .room-link__label { opacity: 1; }
@media (hover: hover) {
  .room-link:hover { border-color: #aeffff88; }
  .room-link:hover::before,
  .room-link:hover .room-link__label { opacity: 1; }
}
@media (max-width: 860px) {
  .room-link__label { font-size: 10px; padding: 5px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .room-link::before { transition: none; }
}
