.kf-video-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  max-inline-size: 100%;
  padding: 6px 12px;
  border: 1px solid #b7c9e6;
  border-radius: 9px;
  background: #f3f7ff;
  color: #1f4b8d;
  font: inherit;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  cursor: pointer;
}
.kf-video-glyph { margin-inline-end: 7px; font-size: .78em; }
.kf-admin-library-media { inline-size: min(100%, 480px); }
.kf-video-open:disabled { cursor: default; color: #566377; }
.kf-video-open:focus-visible { outline: 2px solid #5481d9; outline-offset: 2px; }
.kf-video-open[hidden], .kf-video-status[hidden] { display: none; }
.kf-video-message {
  display: block;
  inline-size: min(300px, 65vw);
  max-inline-size: 100%;
  min-inline-size: 0;
  margin-block: 3px;
  white-space: normal;
}
:is(#msgs, #messages) .kf-video-message > .kf-video-tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  aspect-ratio: 16 / 9;
  max-height: 46vh;
  max-height: 46dvh;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #101827;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}
:is(#msgs, #messages) .kf-video-tile > video.kf-video-thumbnail {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0;
  border-radius: inherit;
  object-fit: contain;
  pointer-events: none;
}
.kf-video-play-icon {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 50%;
  background: rgba(10,18,32,.74);
  box-shadow: 0 1px 5px rgba(0,0,0,.35);
  pointer-events: none;
}
.kf-video-play-icon::before {
  content: '';
  margin-left: 3px;
  border-block: 7px solid transparent;
  border-inline-start: 11px solid #fff;
}
.kf-video-tile:hover .kf-video-play-icon { background: rgba(21,48,89,.9); }
:is(#msgs, #messages) .kf-video-tile:focus-visible {
  outline: 2px solid #5481d9;
  outline-offset: 2px;
}
.kf-video-stage {
  display: grid;
  gap: 8px;
  justify-items: center;
  inline-size: min(82vw, 720px);
  max-inline-size: 100%;
  min-inline-size: 0;
}
.kf-video-stage video {
  display: block;
  inline-size: 100%;
  max-block-size: 66vh;
  max-block-size: 66dvh;
  border-radius: 10px;
  background: #101827;
  object-fit: contain;
}
.kf-video-status {
  padding: 5px 9px;
  border-radius: 6px;
  background: #f3f7ff;
  color: #172b48;
  font-size: 13px;
  text-align: center;
  overflow-wrap: anywhere;
}
