/* Quintessence hero trailer. The film frame is always night, on every sky. */
.qt {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 30px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: #0c0512;
  border: 1px solid rgba(255, 190, 232, 0.16);
  
  isolation: isolate;
  color: #fdf3f9;
  font-family: 'Switzer', system-ui, -apple-system, sans-serif;
  text-align: center;
}
@media (max-width: 600px) {
  .qt { aspect-ratio: 4 / 5; border-radius: 0; }
}
.qt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.qt-cap {
  position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%);
  width: max-content; max-width: min(88%, 640px); margin: 0;
  padding: 6px 12px; border-radius: 0;
  background: rgba(12, 5, 18, 0.42);
  font-size: clamp(14px, 2.1vw, 19px); line-height: 1.4; font-weight: 500;
  color: #fdf3f9; text-shadow: 0 1px 12px rgba(12, 5, 18, 0.9);
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.qt-cap.on { opacity: 1; }
.qt-ctl {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.qt-ctl-l, .qt-ctl-r { display: flex; gap: 6px; }
.qt-btn {
  min-height: 40px; min-width: 40px; padding: 0 14px;
  border-radius: 0;
  border: 1px solid rgba(255, 190, 232, 0.22);
  background: rgba(12, 5, 18, 0.58);
  color: #fdf3f9;
  font: 500 13px/1 'Switzer', system-ui, -apple-system, sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.qt-btn:hover { border-color: rgba(255, 170, 222, 0.5); background: rgba(40, 14, 48, 0.7); }
.qt-btn:focus-visible { outline: 2px solid #f6c978; outline-offset: 2px; }
.qt-btn[aria-pressed="false"].qt-cc { opacity: .6; }
.qt-sound {
  background: #f4e8ff; border-color: #f4e8ff; color: #0c0512; font-weight: 600;
}
.qt-sound::before { content: "\266A"; margin-right: 6px; }
.qt-sound.on { background: rgba(12, 5, 18, 0.58); border-color: rgba(255, 190, 232, 0.22); box-shadow: none; font-weight: 500; }
.qt-big {
  position: absolute; left: 50%; top: 72%; transform: translate(-50%, -50%);
  min-height: 46px; padding: 0 22px; font-size: 15px;
  background: #f4e8ff; color: #0c0512; border-color: #f4e8ff; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; font-size: 12px;
}
.qt-big:hover { background: #ff6fb5; border-color: #ff6fb5; color: #fdf3f9; }
.qt-big[hidden] { display: none; }
.qt.qt-done .qt-pause, .qt.qt-done .qt-skip { visibility: hidden; }
@media (max-width: 420px) {
  .qt-btn { padding: 0 11px; font-size: 12.5px; }
  .qt-cap { bottom: 58px; font-size: 14px; max-width: 94%; padding: 5px 10px; }
}
.qt .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
