#overlay.show-intro {
  padding: 14px 12px;
  padding-top: max(14px, env(safe-area-inset-top));
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  background: #090406eb;
  backdrop-filter: none;
}
#overlay.show-intro #card {
  width: min(100%, 540px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #140a0e;
  box-shadow: 0 24px 65px #000a;
  overflow: visible;
}
.show-intro-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: min(69dvh, 550px);
  padding: clamp(22px, 4vh, 38px) clamp(20px, 6vw, 38px);
  color: #fff2f7;
  text-align: left;
  font-family: 'Tour Condensed', system-ui, sans-serif;
  border: 1px solid #ae688656;
}
.show-intro-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(.8);
}
.show-intro-panel::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(178deg,#11080be8 2%,#190b1060 36%,#15101b65 50%,#11090cf5 80%,#11090c 100%),
    linear-gradient(105deg,#2612199c,#08070b55 55%);
}
.show-intro-heading { border-top: 2px solid #ffaccb; padding-top: 10px; }
#card .show-intro-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 9vw, 4.25rem);
  line-height: .86;
  font-weight: 900;
  letter-spacing: -.025em;
  text-shadow: 0 3px 25px #08050c;
  overflow-wrap: anywhere;
}
.show-intro-clock {
  position: relative;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(64vw, 250px);
  aspect-ratio: 1.12;
  margin: 14px 0;
  background:
    linear-gradient(#ffd3df,#ffd3df) left top / 24px 1px no-repeat,
    linear-gradient(#ffd3df,#ffd3df) left top / 1px 24px no-repeat,
    linear-gradient(#ffd3df,#ffd3df) right bottom / 24px 1px no-repeat,
    linear-gradient(#ffd3df,#ffd3df) right bottom / 1px 24px no-repeat,
    radial-gradient(ellipse at center,#290e18b0,transparent 72%);
}
.show-intro-count {
  color: #fff3f8;
  font-size: min(44vw, 26dvh, 13rem);
  font-weight: 900;
  line-height: .72;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 3px 0 #75254d, 0 0 30px #ee63a466, 0 10px 36px #08040e;
}
.show-intro-count span { display: block; animation: introNumberIn .38s cubic-bezier(.2,.7,.23,1) both; }
@keyframes introNumberIn {
  from { opacity: .6; transform: translateY(8px) scale(.87); }
  to { opacity: 1; transform: none; }
}
.show-intro-progress {
  position: absolute;
  bottom: 10px;
  display: flex;
  gap: 5px;
}
.show-intro-progress i { width: 18px; height: 2px; background: #341b24; }
.show-intro-count[data-remaining="3"] + .show-intro-progress i,
.show-intro-count[data-remaining="2"] + .show-intro-progress i:nth-child(-n+2),
.show-intro-count[data-remaining="1"] + .show-intro-progress i:first-child { background: #ffc2d9; }
.show-intro-footer { border-top: 1px solid #f3aacb64; padding-top: 12px; }
.show-intro-track { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; }
.show-intro-track strong { color: #fff1f7; font-size: clamp(1.6rem, 6vw, 2.5rem); line-height: 1; }
.show-intro-track span { color: #f9b6d0; font-size: 1rem; }
#card .show-intro-status { margin: 8px 0 0; color: #ffe1ed; font-size: 1rem; line-height: 1.2; }
#card .show-intro-instruction { margin: 5px 0 0; color: #d7b7c1; font-size: .95rem; line-height: 1.2; }
@media (max-height: 520px) {
  .show-intro-panel { min-height: 0; padding: 14px 20px; }
  .show-intro-clock { width: min(42vw, 150px); margin: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .show-intro-count span { animation: none; }
}
