.teaser-launch {
  position: fixed;
  z-index: 5;
  left: 5%;
  top: 54%;
  width: 250px;
  min-height: 78px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: linear-gradient(120deg, #223829ee, #112018ee);
  border: 1px solid #9cab7f88;
  box-shadow: 0 8px 30px #0005;
  color: #e4e8ce;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.teaser-launch > span:nth-child(2) {
  flex: 1;
}
.teaser-launch small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: #abbc94;
  margin-top: 7px;
}
.teaser-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #899f70;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
}
.teaser-launch:hover {
  border-color: #e3d59c;
  background: #2a402bee;
}
.page-open .teaser-launch {
  display: none;
}
.teaser-section h2 {
  margin-bottom: 25px;
}
.teaser-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #bec8af;
  margin-bottom: 25px;
}
.teaser-placeholder {
  border: 1px solid #667752;
  background: #09110d;
}
.teaser-placeholder > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280/675;
  object-fit: contain;
}
.teaser-placeholder > div {
  padding: 23px;
}
.teaser-placeholder h3 {
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.teaser-placeholder p {
  font-size: 15px;
  line-height: 1.8;
  color: #b7c4a5;
  margin: 0;
}
.teaser-section video {
  display: block;
  width: 100%;
  max-height: 65dvh;
  background: #030907;
  border: 1px solid #6a7c55;
}
.teaser-section #teaser-status {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 18px;
}
.teaser-section #teaser-status:empty {
  display: none;
}
.stills-launch {
  border: 1px solid #81956a;
  background: #233b29;
  color: #e2e8cc;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  min-height: 48px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}
.desk-photo-controls {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.desk-photo-controls > button {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  pointer-events: auto;
}
.desk-photo-controls > button:focus-visible {
  outline: 2px solid #a5dfe4;
  outline-offset: 3px;
  background: #b9e6cb15;
}
#photo-dialog {
  width: min(1050px, calc(100% - 24px));
  background: #e4ddc7;
}
#photo-dialog .dialog-heading {
  gap: 18px;
}
#close-photo {
  min-width: 44px;
  min-height: 44px;
  font-size: 27px;
}
#photo-dialog figure {
  margin: 0;
  padding: 16px;
}
#photo-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(var(--visual-height) - 200px);
  object-fit: contain;
  background: #090d0a;
}
#photo-caption {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  margin-top: 14px;
  color: #45523d;
}
.photo-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 0 16px 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.photo-actions button {
  min-height: 44px;
  border: 1px solid #7d866c;
  background: transparent;
  color: #34432f;
  font: inherit;
  padding: 10px 14px;
}
@media (max-width: 1050px), (max-height: 600px) {
  .teaser-launch {
    left: max(12px, var(--safe-left));
    right: max(12px, var(--safe-right));
    top: auto;
    bottom: calc(111px + var(--safe-bottom));
    width: auto;
    min-height: 54px;
    padding: 8px 13px;
    font-size: 12px;
    gap: 12px;
  }
  .teaser-launch small {
    font-size: 9px;
    margin-top: 3px;
  }
  .teaser-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 21px;
  }
  .room-instruction {
    display: none;
  }
  .page-content .teaser-placeholder > div {
    padding: 20px;
  }
  .page-content .teaser-placeholder p {
    font-size: 16px;
  }
  .page-content .teaser-placeholder h3 {
    font-size: 20px;
  }
  .page-content .teaser-section video {
    max-height: calc(var(--visual-height) - 210px);
  }
  .page-open .desk-photo-controls {
    display: none;
  }
  #photo-dialog figure {
    padding: 12px;
  }
  #photo-caption {
    font-size: 11px;
  }
  .photo-actions {
    padding: 0 12px 12px;
    gap: 8px;
    font-size: 11px;
  }
  .photo-actions button {
    font-size: 11px;
    padding: 10px;
    min-width: 90px;
  }
  #photo-image {
    max-height: calc(var(--visual-height) - 195px);
  }
}
@media (max-height: 600px) and (min-width: 600px) {
  .teaser-launch {
    left: max(16px, var(--safe-left));
    right: auto;
    bottom: calc(38px + var(--safe-bottom));
    width: 195px;
    min-height: 54px;
    font-size: 10px;
    gap: 9px;
    padding: 8px 10px;
  }
  .teaser-launch small {
    font-size: 7px;
  }
  .teaser-icon {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
    font-size: 18px;
  }
  #photo-image {
    max-height: calc(var(--visual-height) - 168px);
  }
  #photo-caption {
    margin-top: 8px;
    font-size: 10px;
  }
}

.room-title h1 > span {
  display: block;
}
@media (max-width: 1050px), (max-height: 600px) {
  .room-title h1 > span {
    display: inline;
  }
}

@media (min-width: 1051px) and (min-height: 601px) {
  .touch-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    z-index: 5;
    left: 50%;
    bottom: 64px;
    transform: translateX(-50%);
    width: 360px;
    gap: 5px;
    padding: 5px;
    border: 1px solid #7d8f6f;
    border-radius: 4px;
    background: linear-gradient(120deg, #63765b, #334934);
    box-shadow:
      0 5px 0 #1d301f,
      0 10px 24px #0006;
  }
  .touch-nav button {
    min-width: 0;
    min-height: 48px;
    border: 1px solid #7b906c;
    border-radius: 2px;
    background: linear-gradient(#263e2a, #1c2e20);
    box-shadow: 0 2px 0 #142718;
    color: #e6e7cc;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    padding: 7px 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
  .touch-nav button small {
    font-size: 8px;
    color: #a6ba94;
  }
  .touch-nav button:last-child {
    background: linear-gradient(#ad4630, #8c3223);
    border-color: #c47a58;
    color: #fff1d4;
  }
  .touch-nav button:active {
    transform: translateY(2px);
    box-shadow: none;
  }
  .page-open .touch-nav {
    display: none;
  }
  .room-instruction {
    bottom: 134px;
  }
  .room-bottom > button {
    font-size: 12px;
    padding: 12px 15px;
    min-height: 48px;
    border: 1px solid #aa6950;
    background: #853225;
    color: #fff0d4;
    letter-spacing: 0.02em;
  }
}

