/* A dark seam breaks through the photographic surface. */
#unantastbar .folio-stage { z-index: 1; pointer-events: none }
#unantastbar .folio-voice > * { pointer-events: auto }
.facade {
  position: absolute; inset: 3% 0 4% auto; width: 49%; pointer-events: none;
  --break-x: 54%; --break-y: 55%;
  --scar-width: min(94%, 22rem);
  --scar-x: clamp(calc(var(--scar-width) / 2), var(--break-x), calc(100% - var(--scar-width) / 2));
  --scar-y: clamp(24%, var(--break-y), 76%);
}
.facade-door { position: absolute; inset: 0 }
.facade-touch {
  position: absolute; inset: 0; display: block; list-style: none;
  cursor: pointer; touch-action: manipulation; pointer-events: auto;
}
.facade-touch::-webkit-details-marker { display: none }
.facade-touch:focus-visible { outline: 1px dashed #d2bbe1; outline-offset: -7px; border-radius: .4rem }
.facade-door[open] .facade-touch { pointer-events: none }
.facade-scar, .facade-player {
  position: absolute; left: var(--scar-x); top: var(--scar-y);
  transform: translate(-50%,-50%);
}
.facade-scar { width: var(--scar-width); height: auto; overflow: visible }
.facade-layer { opacity: 0 }
.facade-layer.is-exposed, .facade:has(details[open]) .facade-layer { opacity: 1 }
.facade-player {
  width: fit-content; max-width: 62%; color: #ead7f5; pointer-events: auto;
}
.facade-play {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: 50%; color: inherit;
  cursor: pointer; touch-action: manipulation;
}
.facade-play::before {
  content: ""; width: 19px; height: 21px; margin-inline-start: 3px; background: currentColor;
  clip-path: polygon(0 0,100% 50%,0 100%);
}
.facade-play[data-state="playing"]::before {
  width: 17px; height: 19px; margin-inline-start: 0;
  clip-path: polygon(0 0,35% 0,35% 100%,0 100%,0 0,65% 0,100% 0,100% 100%,65% 100%,65% 0);
}
.facade-play:hover { color: white }
.facade-play:focus-visible { outline-offset: -2px }
.facade-native audio { display: block; width: 5.2rem; height: 2rem }
.facade :is(.facade-native,.facade-play)[hidden] { display: none }
@media (prefers-reduced-motion: no-preference) {
  .facade-layer { transition: opacity .16s ease }
  .facade:has(details[open]) .facade-chip { animation: facade-chip-fall .6s cubic-bezier(.44,.07,.87,.57) both }
  .facade-chip:nth-child(2) { --chip-x: 14px; animation-delay: .03s }
  .facade-chip:nth-child(3) { --chip-x: 5px; animation-delay: .07s }
  @keyframes facade-chip-fall { to { opacity: 0; transform: translate(var(--chip-x,-11px), 29px) } }
}
@media (max-width:760px) {
  #unantastbar { --surface-height: clamp(210px,67vw,355px) }
  #unantastbar .folio-stage { padding-block: var(--surface-height) 45px }
  #unantastbar .folio-voice { width: 100%; margin-inline: 0 }
  #unantastbar .folio-negative { inset: 0 0 auto; height: var(--surface-height); width: 100%; mask-image: radial-gradient(ellipse 85% 91% at 66% 39%,black 26%,#000e 55%,transparent 99%) }
  #unantastbar .folio-photo, #unantastbar .refraction { object-position: 55% 25% }
  #unantastbar .scene-light { background: linear-gradient(0deg,#101012 11%,transparent 50%) }
  #unantastbar .facade { inset: 0 0 auto; width: 100%; height: var(--surface-height); --break-x: 60% }
}
@media (forced-colors: active) {
  .facade-touch { outline: 1px dotted ButtonText; outline-offset: -8px }
  .facade-touch::after { content: "Fassade"; position: absolute; left: 1rem; top: 1rem; color: ButtonText }
  .facade-door[open] .facade-touch { visibility: hidden }
  .facade-play { border: 1px solid ButtonText; background: ButtonFace; color: ButtonText }
  .facade-layer, .facade-play::before { forced-color-adjust: none }
}
