.video-end-stage { position: relative; }
.video-end-card {
  padding: clamp(10px, 3vw, 20px);
  border: 1px solid #e4c98c;
  border-radius: 12px;
  background: #171316f5;
  color: #fff0d4;
}
.video-end-card[hidden] { display: none; }
.video-end-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #0d0910b8;
}
.video-end-overlay[hidden] { display: none; }
.video-end-overlay .video-end-card { position: relative; width: min(94%, 460px); }
.video-end-heading { margin: 0 30px 8px 0; font-size: clamp(15px, 3.2vw, 23px); }
.video-end-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.video-end-actions .video-end-action {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 4px 6px;
  border: 1px solid #c9a15c;
  border-radius: 6px;
  background: #302330;
  color: #fff0d4;
  font: 700 clamp(11px, 2.6vw, 14px)/1.18 system-ui, sans-serif;
  text-align: center;
}
.video-end-actions .video-end-action:first-child {
  background: #f9d17e;
  color: #21170d;
}
.video-end-close {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 38px;
  height: 34px;
  padding: 0;
  background: transparent;
  color: #fff0d4;
  font-size: 22px;
}
.video-end-inline { margin-top: 10px; }
