/* Canonical overlay presentation; copied byte-for-byte into the learner app. */
.xp-video-player { width: 100%; max-width: 960px; background: #102820; border-radius: 10px; overflow: hidden; color: #f4f5df; }
.xp-video-picture { position: relative; width: 100%; aspect-ratio: 16 / 9; container-type: inline-size; }
.xp-video-picture video { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; border-radius: 0; }
.xp-video-overlay { position: absolute; inset: auto 3.28125% 1.52778%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; pointer-events: none; user-select: none; font-family: Arial, Helvetica, sans-serif; font-weight: 400; line-height: 1.2; }
.xp-video-id { font-size: 1.40625cqw; color: rgb(175 198 188 / 59%); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* 32px × 70% = 22.4px on the 1280px teaching canvas. */
.xp-video-brand { font-size: 1.75cqw; color: #f4f5df; flex: none; }
.xp-video-controls { display: flex; align-items: center; gap: 8px; padding: 8px 10px; min-height: 46px; background: #0b1b15; font: 12px/1.3 Arial, Helvetica, sans-serif; box-sizing: border-box; }
.xp-video-controls .xp-video-button, .xp-video-controls .xp-video-download { padding: 6px 8px; min-height: 32px; border: 1px solid #62776c; border-radius: 5px; background: #162e23; color: #f4f5df; font: inherit; cursor: pointer; text-decoration: none; white-space: nowrap; }
.xp-video-controls .xp-video-button[hidden] { display: none; }
.xp-video-controls :focus-visible { outline: 2px solid #fad877; outline-offset: 2px; }
.xp-video-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.xp-video-seek { flex: 1; min-width: 30px; width: auto; accent-color: #e1d69c; }
.xp-video-volume { width: 55px; min-width: 0; accent-color: #e1d69c; }
.xp-video-message { display: block; font: 13px/1.4 Arial, Helvetica, sans-serif; }
.xp-video-message:empty { display: none; }
.xp-video-player:fullscreen { display: flex; flex-direction: column; justify-content: center; align-items: center; max-width: none; height: 100%; border-radius: 0; background: #07120c; }
.xp-video-player:fullscreen .xp-video-picture { width: min(100%, calc((100vh - 70px) * 16 / 9)); }
.xp-video-player:fullscreen .xp-video-controls { width: 100%; }
@media (max-width: 520px) { .xp-video-volume { display: none; } .xp-video-controls { gap: 4px; padding: 6px; flex-wrap: wrap; } .xp-video-seek { flex-basis: 30%; } }
