/* Local assets only; the player reserves a 16:9 area before it is requested. */
.qlf-presentation {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: #07152f;
  border: 1px solid #33415b;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 3rem #07152f12;
}

.qlf-presentation [hidden] { display: none !important; }

.qlf-presentation-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse at 80% 20%, #7415aa66, transparent 65%), linear-gradient(135deg, #0b1e3b, #07152f);
}

.qlf-presentation-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(.4rem, 2vw, 1rem);
  padding: clamp(.65rem, 2vw, 1.75rem);
  text-align: center;
}

.qlf-presentation-emblem {
  width: clamp(2.25rem, 6vw, 4.5rem);
  height: clamp(2.25rem, 6vw, 4.5rem);
  color: #fff;
}

.qlf-presentation .qlf-presentation-title {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(.95rem, 2vw, 1.35rem);
  line-height: 1.3;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.qlf-presentation-player,
.qlf-presentation-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
}

.qlf-presentation-footer {
  padding: clamp(1rem, 3vw, 1.75rem);
  border-top: 1px solid #33415b;
}

.qlf-presentation .qlf-presentation-note {
  margin: 0 0 1rem;
  color: #d9e4f5;
  font-size: .94rem;
  line-height: 1.6;
}

.qlf-presentation-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.25rem;
  min-width: 0;
}

.qlf-presentation-actions button {
  max-width: 100%;
  min-height: 2.85rem;
  padding: .7rem 1.1rem;
  border: 1px solid #fff;
  border-radius: .65rem;
  color: #07152f;
  background: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.qlf-presentation-actions button:hover { background: #e8edf6; }

.qlf-presentation .qlf-presentation-link {
  display: inline-block;
  max-width: 100%;
  min-height: 2.75rem;
  padding-block: .55rem;
  color: #fff;
  font-size: .95rem;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.qlf-presentation .qlf-presentation-link:hover { color: #fbbc04; }

.qlf-presentation :is(button, a):focus-visible {
  outline: 3px solid #fbbc04;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #07152f;
}

.qlf-presentation iframe:focus-visible {
  outline: 3px solid #fbbc04;
  outline-offset: -3px;
}

@media (max-width: 600px) {
  .qlf-presentation { border-radius: 1rem; }
  .qlf-presentation-actions { align-items: stretch; flex-direction: column; }
  .qlf-presentation-actions button { width: 100%; }
  .qlf-presentation .qlf-presentation-link { align-self: flex-start; }
}

@media print {
  .qlf-presentation-screen,
  .qlf-presentation-actions button { display: none !important; }
  .qlf-presentation { color: #152238; background: #fff; border-color: #526177; box-shadow: none; }
  .qlf-presentation .qlf-presentation-note,
  .qlf-presentation .qlf-presentation-link { color: #152238; }
}

.qlf-presentation-native .qlf-presentation-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; background: #07152f; }
.qlf-presentation-native .qlf-presentation-footer { padding: 1rem 1.2rem; }
.qlf-presentation-native .qlf-presentation-note { margin: .45rem 0 0; font-size: .85rem; }
.qlf-presentation-native .qlf-presentation-status { color: #fff; font-size: .85rem; margin: .6rem 0 0; }
.qlf-presentation-video:focus-visible { outline: 3px solid #fbbc04; outline-offset: -3px; }
