/* Sequenz-Ebenen (siehe sequence.js). Grundebene z-index 5, Einblendung 8, CRT 10. */
.seq {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  background: var(--bg);
}
.seq[hidden] { display: none; }
.seq.overlay { z-index: 8; }

.seq-media, .seq-media img, .seq-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seq-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3vh;
  padding: 8vh 8vw;
  text-align: center;
}
.seq-title[hidden] { display: none; }
.seq-title h1 {
  margin: 0; font-size: 9vh; font-weight: 500; letter-spacing: 0.16em;
  color: var(--cream); text-shadow: 0 0 0.25em rgba(245, 228, 181, 0.25);
}
.seq-title p { margin: 0; font-size: 3vh; letter-spacing: 0.22em; color: var(--dim); }
.seq-title.alert h1 { color: var(--red); text-shadow: 0 0 0.25em rgba(226, 87, 63, 0.45); animation: pulse 1.2s infinite; }
.seq-title.amber h1 { color: var(--amber); text-shadow: 0 0 0.25em rgba(232, 169, 58, 0.4); }
.seq-title.ok h1 { color: var(--ok); text-shadow: 0 0 0.25em rgba(159, 214, 164, 0.35); }

.seq-lines {
  position: absolute;
  left: 8vw;
  right: 8vw;
  bottom: 10vh;
  font-size: 3.4vh;
  line-height: 1.6;
}
.seq-lines p { margin: 0; white-space: pre-wrap; }
.seq-lines p:empty { min-height: 1.6em; }
