.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%);
}
.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-video-player {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  color: #fff;
  background: #111;
}
.h5-study-video-player video {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}
.h5-study-video-controls {
  display: grid;
  grid-template-columns: auto auto minmax(32px, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 8px;
}
.h5-study-video-controls [data-video-seek],
.h5-study-video-clock {
  grid-column: 1 / -1;
}
.h5-study-video-controls input {
  width: 100%;
  min-width: 0;
  margin: 0;
  accent-color: #c5f080;
}
.h5-study-video-clock {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.h5-study-video-controls button {
  min-width: 0;
  padding: 5px 7px;
  font-size: 12px;
}
.h5-study-video-cta {
  display: block;
  padding: 8px;
  color: #fff !important;
  background: #234dc8;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}
#h5-study-interstitial[data-ad-media-type="video"] .h5-study-card {
  width: min(100%, 656px);
  overflow-y: auto;
}
#h5-study-interstitial[data-ad-media-type="video"] .h5-study-media {
  width: 100%;
  max-height: max(32px, calc(100dvh - 220px));
}
.h5-study-video-player:fullscreen {
  width: 100vw;
  height: 100dvh;
  justify-content: center;
}
.h5-study-video-player:fullscreen video {
  flex: 1;
  min-height: 0;
  max-height: none !important;
}
.h5-study-video-player:fullscreen .h5-study-video-controls {
  flex: 0 0 auto;
}
