
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
}


.room-container {
  display: flex;
  width: 200vw;
  height: 100vh;
  transition: transform 400ms ease-in-out;
  position: relative;
  z-index: 1;
}

.room-container.room-2 {
  transform: translateX(-100vw);
}

.room-container.transitioning * {
  pointer-events: none;
}

.room-container canvas {
  width: 100vw;
  height: 100vh;
  display: block;
  flex-shrink: 0;
  background: #000;
}


.intercept-panel {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 400px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}

.intercept-toggle {
  align-self: flex-end;
  background: #000;
  color: #fff;
  font-family: monospace;
  font-size: 12px;
  border: 1px solid #fff;
  padding: 4px 12px;
  cursor: pointer;
}

.intercept-log {
  width: 100%;
  height: 55vh;
  background: #000;
  color: #fff;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.4;
  padding: 8px;
  border: 1px solid #fff;
  resize: none;
  overflow-y: auto;
  cursor: text;
  user-select: text;
}

.intercept-panel.collapsed .intercept-log {
  height: 0;
  padding: 0 8px;
  border-width: 0 1px;
  overflow: hidden;
}



.room-switch-btn {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: #000;
  color: #fff;
  font-family: monospace;
  font-size: 12px;
  border: 1px solid #fff;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 20;
}

.room-switch-btn:hover {
  background: #333;
}


.decrypt-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.decrypt-modal[aria-hidden="false"] {
  display: flex;
}

.decrypt-modal__panel {
  background: #000;
  border: 1px solid #fff;
  padding: 24px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  color: #fff;
  font-family: monospace;
  position: relative;
}

.clear-data-panel {
  max-width: 420px;
  padding: 24px;
}

.clear-data-copy {
  color: #fff;
  font: 12px/1.6 monospace;
  margin: 8px 0 20px;
}

.clear-data-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.clear-data-actions button {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  padding: 7px 10px;
  font: 11px monospace;
  cursor: pointer;
}

.clear-data-actions button:hover {
  background: #333;
}

.decrypt-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  font-size: 14px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-family: monospace;
}

.decrypt-modal__close:hover {
  background: #333;
}

.decrypt-modal__title {
  font-size: 16px;
  margin-bottom: 12px;
  text-align: center;
}

.decrypt-modal__drops {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  max-height: 180px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #555;
}

.decrypt-modal__drop-item {
  background: #000;
  border: 1px solid #fff;
  padding: 3px 8px;
  font-size: 12px;
  font-family: monospace;
  color: #fff;
}

.decrypt-modal__message {
  font-size: 12px;
  text-align: center;
  padding: 6px;
  color: #aaa;
}
