/* Quintessence hero trailer. The film frame is always deep astronomical night; every font >= 13px. */
.qt {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: #04040a;
  border: 1px solid rgba(240, 196, 114, 0.34);
  isolation: isolate;
  color: #f7f0ea;
  font-family: Inter, system-ui, -apple-system, Helvetica Neue, Arial, sans-serif;
  text-align: center;
}
@media (max-width: 600px) {
  .qt { aspect-ratio: 4 / 5; }
}
.qt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.qt-cap {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(88%, 640px);
  margin: 0;
  padding: 8px 14px;
  border-radius: 0;
  background: rgba(6, 6, 13, 0.72);
  font-size: clamp(14px, 2vw, 19px);
  line-height: 1.4;
  font-weight: 500;
  color: #f7f0ea;
  text-shadow: 0 1px 12px rgba(4, 4, 10, 0.9);
  opacity: 0;
  transition: opacity 0.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(240, 196, 114, 0.32);
  background: rgba(6, 6, 13, 0.78);
  color: #f7f0ea;
  font: 500 13px/1 Inter, system-ui, -apple-system, Helvetica Neue, Arial, sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.qt-btn:hover { border-color: #f0c472; background: rgba(16, 17, 30, 0.9); }
.qt-btn:focus-visible { outline: 2px solid #f0c472; outline-offset: 2px; }
.qt-btn[aria-pressed="false"].qt-cc { opacity: 0.65; }
.qt-sound {
  background: #f0c472;
  border-color: #f0c472;
  color: #04040a;
  font-weight: 600;
}
.qt-sound::before { content: "\266A"; margin-right: 6px; }
.qt-sound.on {
  background: rgba(6, 6, 13, 0.78);
  border-color: rgba(240, 196, 114, 0.32);
  color: #f7f0ea;
  font-weight: 500;
}
.qt-big {
  position: absolute;
  left: 50%;
  top: 72%;
  transform: translate(-50%, -50%);
  min-height: 46px;
  padding: 0 24px;
  background: #f0c472;
  color: #04040a;
  border-color: #f0c472;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.qt-big:hover { background: #ffe1a3; border-color: #ffe1a3; color: #04040a; }
.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: 13px; }
  .qt-cap { bottom: 58px; font-size: 14px; max-width: 94%; padding: 6px 10px; }
}
.qt .visually-hidden {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: normal;
  word-break: break-all;
  border: 0;
}
