.gemor-video-trigger {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 88px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.gemor-video-trigger:hover { border-color: var(--gold); background: #292821; }
.gemor-video-trigger:active { transform: translateY(1px); }
.gemor-video-trigger:focus-visible,
.gemor-video-close:focus-visible,
.gemor-video-retry:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.gemor-video-thumb {
  position: relative;
  flex: 0 0 52px;
  width: 52px;
  height: 72px;
  overflow: hidden;
  border: 1px solid #c9b48f55;
  border-radius: 7px;
  background: #151513;
}
.gemor-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.gemor-video-copy { display: grid; gap: 5px; min-width: 0; }
.gemor-video-title { color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.gemor-video-meta { color: var(--muted); font-size: 12px; line-height: 1.4; }
.gemor-video-play {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid #c9b48f88;
  border-radius: 50%;
  color: var(--gold);
}
.gemor-video-play svg { width: 13px; height: 13px; fill: currentColor; }
.contact-phone-list .gemor-video-trigger { margin-top: -5px; }
.detail-image-gemor-video {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  background: transparent;
}
.detail-image-gemor-video > img { border-radius: 4px; }

.gemor-video-dialog {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 12px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 20px 80px #0009;
}
.gemor-video-dialog::backdrop { background: #000c; }
.gemor-video-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.gemor-video-header h2 { margin: 0; color: var(--gold); font: 600 15px/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.gemor-video-close {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  font: 28px/1 var(--sans);
  cursor: pointer;
}
.gemor-video-player {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(78vh, 780px);
  height: min(78dvh, 780px);
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  margin: 0 auto;
  aspect-ratio: 478 / 850;
  background: #050505;
  object-fit: contain;
}
.gemor-video-player::cue {
  color: #fff;
  background: #151513e8;
  font: 500 1rem/1.45 var(--sans);
}
.gemor-video-status { margin: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.gemor-video-retry {
  margin-top: 8px;
  padding: 9px 13px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
}

@media (max-width: 600px) {
  .gemor-video-trigger { min-height: 88px; gap: 11px; padding: 7px 10px; }
  .gemor-video-title { font-size: 13px; }
  .gemor-video-meta { font-size: 11px; }
  .gemor-video-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
    padding: 8px;
    border-radius: 12px;
  }
  .gemor-video-player {
    width: auto;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    max-width: 100%;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
  }
  .gemor-video-player::cue { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gemor-video-trigger { transition: none; }
}
