body.intro-open { overflow: hidden; }
.intro-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100svh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e9e4d5;
  color: #fff9ec;
  overscroll-behavior: none;
}
.intro-dialog:not([open]) { display: none; }
.intro-dialog[open] { display: block; }
.intro-dialog::backdrop { background: #dfe5d2; }
.intro-fill,
.intro-poster,
.intro-film {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-position: center;
  pointer-events: none;
}
.intro-fill {
  inset: -32px;
  width: calc(100% + 64px);
  height: calc(100% + 64px);
  object-fit: cover;
  filter: blur(22px) saturate(.8) brightness(.82);
}
.intro-poster { z-index: 1; object-fit: contain; }
.intro-film { z-index: 2; object-fit: contain; background: transparent; }
.intro-dialog.is-playing .intro-poster { visibility: hidden; }
.intro-dialog.is-static .intro-film { display: none; }
.intro-music-gate {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  background: #183c3229;
  text-align: center;
}
.intro-music-gate[hidden] { display: none; }
.intro-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 15px 28px;
  border: 1px solid #f9f0d9;
  border-radius: 40px;
  background: #f6f0df;
  color: #183c32;
  box-shadow: 0 8px 35px #183c3259;
  font: 20px/1.3 var(--serif);
  cursor: pointer;
}
.intro-start:hover { background: #fff9ed; }
.intro-start:focus-visible { outline: 3px solid #fff9ed; outline-offset: 5px; }
.intro-start span { font: 14px/1 var(--sans); }
.intro-music-gate p { margin: 0; max-width: 34ch; color: #fffdf5; font: 13px/1.7 var(--sans); text-shadow: 0 1px 9px #183c32; }
.intro-loading {
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px 20px;
  padding: 42px max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: linear-gradient(transparent, #132f267d);
  color: #fff9ec;
  font: 11px/1.6 var(--sans);
  pointer-events: none;
}
.intro-loading progress { grid-column: 1 / -1; display: block; width: 100%; height: 3px; border: 0; border-radius: 5px; overflow: hidden; appearance: none; background: #fff9ec4d; color: #d6e6c4; }
.intro-loading progress::-webkit-progress-bar { border-radius: 5px; background: #fff9ec4d; }
.intro-loading progress::-webkit-progress-value { border-radius: 5px; background: #d6e6c4; }
.intro-loading progress::-moz-progress-bar { border-radius: 5px; background: #d6e6c4; }
.intro-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[data-intro-replay][aria-busy="true"] { cursor: progress; }
@media (max-width: 600px) {
  .intro-start { min-height: 54px; padding: 14px 23px; font-size: 20px; }
  .intro-music-gate { padding: 20px; gap: 14px; }
  .intro-music-gate p { font-size: 12px; }
  .intro-loading { padding-inline: 18px; padding-bottom: max(17px, env(safe-area-inset-bottom)); font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-fill { filter: blur(22px) saturate(.8) brightness(.82); }
}
