/* youpartments Gästeportal – Videokarten, Video-Knopf und Player (Lane LOWER, Modul „video“, lazy über GP.lazy).
   Der Player ist wie die Lightbox immer dunkel (eigene Farben nur hier). */

.video-list { display: grid; gap: 12px; }
.video-card {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 44px;
  padding: var(--r1); border: 1px solid var(--line); border-radius: var(--rund); background: var(--karte);
  color: var(--text); text-decoration: none; transition: border-color var(--zeit) var(--kurve), background var(--zeit) var(--kurve);
}
.video-card:hover { border-color: var(--accent); background: var(--accent-tint-2); }
.video-card:focus-visible { outline: none; box-shadow: var(--fokus); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--rund-klein); background: var(--accent-tint); }
.video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-play .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(22, 33, 29, 0.6); color: #fff; }
.video-meta { display: grid; gap: 2px; min-width: 0; }
.video-meta .eyebrow { margin: 0; }
.video-title { font-weight: 600; overflow-wrap: anywhere; }
.btn-video { font: inherit; font-weight: 600; cursor: pointer; }
.btn-video .icon { width: 16px; height: 16px; }
.video-player { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 12, 0.96); color: #fff; }
.video-player[open] {
  position: fixed; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
  animation: fade var(--zeit) var(--kurve) both;
}
.video-player::backdrop { background: rgba(10, 14, 12, 0.96); }
.video-player-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--r2); padding: var(--r1) var(--gutter); }
.video-player-title { margin: 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.video-player-close {
  display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
}
.video-player-close:focus-visible, .video-player-media:focus-visible, .video-player-link:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff; }
.video-player-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 var(--r1); }
.video-player-media { display: block; width: 100%; max-width: 960px; max-height: 100%; border-radius: 12px; background: #000; }
.video-player-status { padding: 0 var(--gutter); text-align: center; }
.video-player-status:empty { display: none; }
.video-player-status p { margin: var(--r2) 0 12px; color: rgba(255, 255, 255, 0.92); }
.video-player-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: var(--r1) var(--gutter) var(--r2); font-size: 14px; }
.video-player-foot[hidden] { display: none; }
.video-player-hint { margin: 0; color: rgba(255, 255, 255, 0.75); }
.video-player-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; }
body:has(.video-player[open]) { overflow: hidden; }
button.video-card { width: 100%; font: inherit; text-align: left; cursor: pointer; }
