.imow-adm-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.imow-adm-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0A0A0A;
}

.imow-adm-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.imow-adm-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.imow-adm-item video,
.imow-adm-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.imow-adm-float {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background-color: rgba(0, 0, 0, 0.55);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.imow-adm-float:hover {
  background-color: rgba(0, 0, 0, 0.75);
  transform: translate(-50%, -50%) scale(1.05);
}

.imow-adm-float-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  flex: 0 0 auto;
}

.imow-adm-no-video .imow-adm-float {
  display: none;
}

.imow-adm-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.imow-adm-thumbs-overlay {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 16px;
  pointer-events: none;
}

.imow-adm-thumbs-overlay .imow-adm-thumb {
  pointer-events: auto;
}

.imow-adm-zoom .imow-adm-thumb {
  transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.imow-adm-zoom .imow-adm-thumb.is-active {
  transform: scale(1.08);
}

.imow-adm-dock .imow-adm-thumbs-overlay {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}

.imow-adm-thumb {
  width: 96px;
  aspect-ratio: 1 / 1;
  padding: 6px;
  background-color: #ECEEE2;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  flex: 0 0 auto;
  opacity: 0.5;
}

.imow-adm-thumb:hover {
  opacity: 0.8;
}

.imow-adm-thumb.is-active {
  border-color: #C9F02C;
  opacity: 1;
}

.imow-adm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.imow-adm-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.imow-adm-overlay.is-open {
  opacity: 1;
}

.imow-adm-overlay-inner {
  width: 100%;
  max-width: 1200px;
}

.imow-adm-overlay-inner video {
  width: 100%;
  height: auto;
  max-height: 85vh;
  display: block;
}

.imow-adm-overlay-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: #FFFFFF;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.imow-adm-overlay-close:hover {
  opacity: 1;
}
