.preview-control[hidden] { display: none; }
.door-paragraph { white-space: pre-line; }
.modal-illustration {
  display: block;
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border: 1px solid currentColor;
}
.door-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.door-video { margin-top: 1.5rem; }
.video-player {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #071e22;
  border: 1px solid #071e22;
}
.video-player iframe { width: 100%; height: 100%; border: 0; }
.video-player button, .door-retry {
  padding: .75em 1em;
  color: #f4c095;
  background: #071e22;
  border: 1px solid #f4c095;
  cursor: pointer;
}
.door-video a { display: inline-block; margin-top: .6rem; font-size: .85rem; }
.door-share {
  position: relative;
  margin-top: 2rem;
  padding: 1.25rem clamp(.8rem, 3vw, 1.4rem);
  border: 1px solid #071e22;
  border-top: 5px solid #071e22;
  border-left: 5px solid #1d7874;
  background: #f4c095;
  box-shadow: 4px 4px 0 #071e2233;
}
.door-share::before {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 38%; height: 5px; background: #ee2e31;
}
.door-share h3, .door-share h4 { margin: 0; font: inherit; font-weight: 700; }
.door-share h3 { font-size: 1.15rem; }
.door-share h4 { margin-bottom: .75rem; font-size: 1rem; }
.door-share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}
.door-share-panel input, .door-share-panel textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: .65em;
  background: #fff0da;
  border: 1px solid #071e22;
  color: #071e22;
  font: inherit;
  font-size: 1rem;
}
.door-share-address { display: block; margin: 1rem 0 .35rem; font-size: .875rem; }
.door-share-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .55rem; }
.door-share-actions button, #book-modal .door-share-actions a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65em .8em;
  border: 1px solid #071e22;
  color: #071e22;
  background: #fff0da;
  box-shadow: 2px 2px 0 #071e22;
  font: inherit;
  font-size: .875rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.door-share-actions #door-share-copy { background: #1d7874; color: #fff0da; }
.door-share-actions button:hover, #book-modal .door-share-actions a:hover {
  color: #fff0da;
  background: #071e22;
}
.door-share-actions :focus-visible, .door-body a:focus-visible {
  outline: 3px solid #071e22; outline-offset: 4px;
}
.door-share-actions button[hidden], #door-share-status:empty { display: none; }
.door-share-instagram { border-left: 1px solid #071e2266; padding-left: 1.25rem; min-width: 0; }
#door-share-status, .door-share-instagram p { margin: .85rem 0 0; font-size: .875rem; line-height: 1.65; }
#door-share-status { font-weight: 700; }
.door-share-instagram textarea { margin-top: .65rem; }
#door-share-story-preview img { display: block; max-width: 100%; height: auto; }
@media(max-width: 700px) {
  .door-share-panel { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .door-share-instagram { border-left: 0; border-top: 1px solid #071e2266; padding: 1.1rem 0 0; }
}
