.ys-video-shell {
  position: relative;
  display: block;
  max-width: 100%;
  margin: 14px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.ys-video-shell .ys-video {
  width: 100%;
  max-width: 100%;
  display: block;
  vertical-align: top;
  border-radius: 0;
  margin: 0;
}

.ys-video-watermark {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: rgba(8, 24, 16, 0.52);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  max-width: min(78%, 340px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.ys-video-watermark--top-left { top: 10px; left: 10px; right: auto; bottom: auto; }
.ys-video-watermark--top-right { top: 10px; right: 10px; left: auto; bottom: auto; }
.ys-video-watermark--bottom-left { bottom: 10px; left: 10px; top: auto; right: auto; }
.ys-video-watermark--bottom-right { bottom: 10px; right: 10px; top: auto; left: auto; }

.ys-video-watermark-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
}

.ys-video-watermark-text { min-width: 0; }

.ys-video-watermark-title {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ys-video-watermark-subtitle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .ys-video-watermark { padding: 5px 8px; gap: 6px; max-width: min(85%, 280px); }
  .ys-video-watermark-logo { width: 24px; height: 24px; }
  .ys-video-watermark-title { font-size: 11px; }
  .ys-video-watermark-subtitle { font-size: 9px; }
}
