/* ArtSacral 10107 video UI: duration label + page hint.
 * Light site theme only (no OS dark-mode overrides); only art10107-video-* classes.
 */

.art-video .art10107-video-duration {
  display: block;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink, #2b2b2b);
  background: none;
  border: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* M5 / 10122: approved demo variant 4 (2B), without the watercolor layer. */
.art10107-video-hint[data-art10107-video-hint] {
  display: block; position: relative; border: 0; border-radius: 0;
  background: none; color: #453655; max-width: 100%; overflow-wrap: break-word;
  cursor: default; isolation: isolate; margin: 0 0 8px;
  font: 400 15px/1.65 Manrope, sans-serif;
  padding: 20px 32px 23px; text-align: center;
}
.art10107-video-hint[data-art10107-video-hint]::before { content: none; background: none; }
.art10107-video-hint[data-art10107-video-hint] .hint-first,
.art10107-video-hint[data-art10107-video-hint] .hint-second { min-width: 0; display: block; }
.art10107-video-hint[data-art10107-video-hint] .hint-first { font: 500 27px/1.25 Caveat, cursive; color: #64427c; }
.art10107-video-hint[data-art10107-video-hint] .hint-second { font-size: 14px; color: #5f4c6d; margin-top: 8px; }
@media (max-width: 700px) {
  .art10107-video-hint[data-art10107-video-hint] { padding: 17px 18px 20px; }
  .art10107-video-hint[data-art10107-video-hint] .hint-first { font-size: 25px; line-height: 1.2; }
}
@media (max-width: 390px) {
  .art-video .art10107-video-duration { font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .art10107-video-hint,
  .art-video .art10107-video-duration {
    transition: none;
    animation: none;
  }
}

.art-video .art10107-video-stage {
  --art10107-preview-ready: 1;
  position: relative;
}
.art-video.art10107-video-enhanced .art10107-video-duration { visibility: hidden; }
.art-video .art10107-video-preview {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 0; background: transparent; color: #fff;
  box-shadow: none; cursor: pointer; z-index: 1;
}
.art-video .art10107-video-preview:focus-visible {
  outline: 3px solid #fff; outline-offset: -6px;
  box-shadow: inset 0 0 0 8px #5f37bd;
}
.art-video .art10107-video-play-icon {
  display: grid; place-items: center; width: 58px; height: 42px;
  background: rgba(0, 0, 0, .78); border-radius: 10px;
}
.art-video .art10107-video-play-icon::before {
  content: ''; display: block; width: 0; height: 0; margin-left: 4px;
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
  border-left: 17px solid #fff;
}
.art-video .art10107-video-preview:hover .art10107-video-play-icon { background: #4c2e9a; }
.art-video .art10107-video-badge {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 5px;
  border-radius: 3px; background: rgba(0, 0, 0, .82); color: #fff;
  font: 600 13px/1.3 system-ui, sans-serif; font-variant-numeric: tabular-nums;
  pointer-events: none; z-index: 2;
}
.art-video .art10107-video-preview.art10107-video-retry {
  inset: 8px auto auto 8px; width: 58px; height: 42px;
}
.art-video .art10107-video-status:not(:empty) {
  position: absolute; left: 8px; right: 8px; top: 58px; padding: 5px;
  background: #17131e; color: #fff; font: 12px/1.4 system-ui, sans-serif;
  pointer-events: none;
}
.art-video .art10107-video-preview[hidden],
.art-video .art10107-video-badge[hidden] { display: none; }
