.tn-video-controls {
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: calc(100% - 32px);
}
.tn-video-controls[hidden] { display: none !important; }
.tn-video-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.tn-video-controls button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(30, 30, 30, .55);
}
.tn-video-controls button:hover::before { background: rgba(30, 30, 30, .85); }
.tn-video-controls button i { position: relative; }
.tn-video-controls button span { display: none; }
.tn-video-controls button:focus-visible,
#controls button[data-tn-legacy-control]:focus-visible { outline: 3px solid #f7971d; outline-offset: 3px; }
.tn-video-status { flex-basis: 100%; background: #222; color: #fff; padding: 8px; }
.tn-video-status:empty { display: none; }
#controls button[data-tn-legacy-control] {
  border: 0;
  padding: 0;
  background: transparent;
  min-width: 32px;
  min-height: 32px;
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 480px) {
  .tn-video-controls { right: 6px; top: 6px; max-width: calc(100% - 12px); gap: 0; }
  .tn-video-controls button { width: 44px; height: 44px; }
  .tn-video-controls button::before { inset: 6px; }
  #controls button[data-tn-legacy-control] { min-width: 44px; min-height: 44px; }
}
