.h5-study-ad {
  box-sizing: border-box;
  font:
    14px/1.4 system-ui,
    sans-serif;
  color: #30343b;
}
.h5-study-label {
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;
  color: #69717b;
}
#h5-study-banner {
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 20px auto;
}
.h5-study-creative {
  display: block;
  max-width: 100%;
  line-height: 0;
}
.h5-study-media {
  display: block;
  max-width: 100%;
  height: auto;
}
#h5-study-interstitial {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgb(0 0 0 / 82%);
  outline: none;
}
.h5-study-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: min(100%, 336px);
  max-height: calc(100dvh - 24px);
  padding: 8px;
  gap: 8px;
  background: #fff;
  border-radius: 4px;
}
.h5-study-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  gap: 12px;
}
#h5-study-interstitial .h5-study-media {
  width: auto;
  max-height: calc(100dvh - 100px);
  object-fit: contain;
}
.h5-study-ad button,
#h5-study-show-ad {
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #bcc1c8;
  background: white;
  color: #30343b;
  font:
    13px system-ui,
    sans-serif;
}
.h5-study-ad button:disabled {
  cursor: default;
  opacity: 0.6;
}
#h5-study-show-ad {
  display: block;
  margin: 12px auto;
}
#h5-study-landing {
  box-sizing: border-box;
  max-width: 660px;
  margin: 10vh auto;
  padding: 32px;
  font:
    18px/1.6 system-ui,
    sans-serif;
  color: #142038;
  background: #eef4ff;
  border-radius: 18px;
}
.h5-study-cta {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  color: white;
  background: #234dc8;
  font-weight: 700;
  text-decoration: none;
}

#h5-study-banner[data-ad-media-type="video"] {
  width: min(640px, calc(100% - 24px));
}
#h5-study-banner[data-ad-media-type="video"] > .h5-study-label {
  margin: 0 0 6px 2px;
}
.h5-study-video-player {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  color: #f8fafc;
  background: #10131b;
  color-scheme: dark;
}
.h5-study-video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.h5-study-video-stage video,
#h5-study-interstitial[data-ad-media-type="video"] video.h5-study-media {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  cursor: pointer;
}
.h5-study-video-state {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  background: rgb(10 13 20 / 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.h5-study-video-state svg {
  width: 30px;
  height: 30px;
}
.h5-study-video-player[data-playback-state="paused"] .h5-study-video-state,
.h5-study-video-player[data-playback-state="ended"] .h5-study-video-state {
  display: grid;
}
.h5-study-video-controls {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 12px 6px;
  background: linear-gradient(transparent, rgb(0 0 0 / 80%));
}
.h5-study-video-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
}
.h5-study-video-toolbar button {
  display: inline-grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  transition: background 120ms ease;
}
.h5-study-video-toolbar button:hover {
  background: rgb(255 255 255 / 14%);
}
.h5-study-video-toolbar button:focus-visible,
.h5-study-video-cta:focus-visible,
.h5-study-video-controls input:focus-visible,
#h5-study-interstitial[data-ad-media-type="video"]
  [data-study-close]:focus-visible {
  outline: 2px solid #c4adff;
  outline-offset: 2px;
}
.h5-study-video-toolbar button svg {
  width: 20px;
  height: 20px;
}
.h5-study-video-toolbar [data-video-fullscreen] {
  margin-left: auto;
}
.h5-study-video-controls input {
  display: block;
  min-width: 0;
  height: 24px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  accent-color: #c4adff;
  cursor: pointer;
}
.h5-study-video-controls [data-video-seek] {
  width: 100%;
}
.h5-study-video-controls [data-video-volume] {
  flex: 0 1 64px;
  width: 64px;
}
.h5-study-video-controls input::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #c4adff var(--video-progress, 0%),
    rgb(255 255 255 / 30%) var(--video-progress, 0%)
  );
}
.h5-study-video-controls input::-moz-range-track {
  height: 3px;
  border-radius: 3px;
  background: rgb(255 255 255 / 30%);
}
.h5-study-video-controls input::-moz-range-progress {
  height: 3px;
  border-radius: 3px;
  background: #c4adff;
}
.h5-study-video-controls input::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border: 0;
  border-radius: 50%;
  appearance: none;
  background: #fff;
}
.h5-study-video-controls input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.h5-study-video-controls input:disabled {
  cursor: default;
  opacity: 0.45;
}
.h5-study-video-clock {
  flex: 0 0 auto;
  margin: 0 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.h5-study-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  box-sizing: border-box;
  padding: 10px 14px;
  border-top: 1px solid rgb(255 255 255 / 7%);
}
.h5-study-video-caption {
  color: #a7adbd;
  font-size: 12px;
}
.h5-study-video-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 8px;
  color: #20172f !important;
  background: #c4adff;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.h5-study-video-cta:hover {
  background: #d4c4ff;
}
.h5-study-video-cta svg {
  width: 16px;
  height: 16px;
}
#h5-study-interstitial[data-ad-media-type="video"] {
  background: rgb(6 8 14 / 88%);
}
#h5-study-interstitial[data-ad-media-type="video"] .h5-study-card {
  width: min(100%, 720px);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 18px;
  color: #fff;
  background: #10131b;
  box-shadow: 0 24px 100px rgb(0 0 0 / 50%);
}
#h5-study-interstitial[data-ad-media-type="video"] .h5-study-topline {
  box-sizing: border-box;
  min-height: 52px;
  padding: 8px 14px;
}
#h5-study-interstitial[data-ad-media-type="video"] .h5-study-label {
  padding: 4px 6px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 5px;
  color: #b7becd;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#h5-study-interstitial[data-ad-media-type="video"] [data-study-close] {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 7px;
  color: #e0e4ed;
  background: rgb(255 255 255 / 5%);
  font-size: 11px;
}
#h5-study-interstitial[data-ad-media-type="video"] .h5-study-video-player {
  border-radius: 0;
}
#h5-study-interstitial[data-ad-media-type="video"] .h5-study-video-stage {
  max-height: max(96px, calc(100dvh - 156px));
}
.h5-study-video-player:fullscreen {
  width: 100vw;
  height: 100dvh;
  border-radius: 0;
}
.h5-study-video-player:fullscreen .h5-study-video-stage {
  flex: 1;
  min-height: 0;
  max-height: none !important;
  aspect-ratio: auto;
}
@media (max-width: 380px) {
  .h5-study-video-controls [data-video-volume] {
    display: none;
  }
  .h5-study-video-footer {
    gap: 8px;
    padding-inline: 10px;
  }
  .h5-study-video-caption {
    font-size: 11px;
  }
}
@media (pointer: coarse) {
  .h5-study-video-toolbar button {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .h5-study-video-toolbar button {
    transition: none;
  }
}
