[data-client-demo] {
  position: relative;
  align-self: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: clamp(8px, 1vw, 16px);
  isolation: isolate;
  background: #e9edf2;
}
[data-client-demo] video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.demo-tools {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity .16s ease;
}
[data-client-demo]:hover .demo-tools,
[data-client-demo]:focus-within .demo-tools { opacity: 1; }
.demo-tools button {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  min-height: 32px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #122236eb;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
}
.demo-tools button:focus-visible { outline: 2px solid #ffbd60; outline-offset: -3px; }
@media (hover: none) { .demo-tools { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .demo-tools { transition: none; } }
