.dungeonx0 {
  inline-size: 100%;
  text-align: center;
}

.dungeonx0-viewport {
  inline-size: 100%;
  overflow-x: auto;
  padding-block: 8px;
}

.dungeonx0-doors {
  direction: ltr;
  display: flex;
  gap: 16px;
  inline-size: max-content;
  margin-inline: auto;
}

.dungeonx0-door-form {
  flex: 0 0 var(--dungeonx0-door-size, 300px);
  margin: 0;
}

.dungeonx0-door {
  align-items: center;
  background: var(--bs-body-bg, #171717);
  block-size: var(--dungeonx0-door-size, 300px);
  border: 1px solid var(--bs-border-color, #595959);
  border-radius: 4px;
  color: var(--bs-body-color, #f4f4f4);
  cursor: pointer;
  display: flex;
  inline-size: var(--dungeonx0-door-size, 300px);
  justify-content: center;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.dungeonx0-door img {
  block-size: 100%;
  display: block;
  inline-size: 100%;
  object-fit: cover;
  object-position: center;
}

.dungeonx0-door:not(:disabled):hover,
.dungeonx0-door:not(:disabled):focus-visible {
  border-color: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent);
  outline: 0;
}

.dungeonx0-door:disabled {
  cursor: not-allowed;
  opacity: .4;
}

.dungeonx0-arrow {
  align-items: center;
  display: flex;
  font-size: 72px;
  justify-content: center;
}

.dungeonx0-arrow svg,
.dungeonx0-arrow i {
  block-size: 72px;
  inline-size: 72px;
}

.dungeonx0-room-number {
  font-size: 1.25rem;
  margin-block-start: 12px;
}

.dungeonx0-room-text {
  margin: 12px auto 0;
  max-inline-size: 736px;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.dungeonx0-admin-preview {
  background: var(--bs-body-bg, #171717);
  block-size: 180px;
  border: 1px solid var(--bs-border-color, #595959);
  border-radius: 4px;
  inline-size: 180px;
  object-fit: cover;
  object-position: center;
}
