/* Dedicated player sheet (new URL) so cached portal.css cannot flatten the controls. */
.article-content .mg-player,
.mg-player {
  position: relative;
  display: block;
  margin: 28px 0 36px;
  background: #041526;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(0, 61, 122, 0.22), 0 0 0 1px rgba(242, 183, 5, 0.28);
  font-family: "Public Sans", sans-serif;
}
.mg-player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.mg-player video.mg-player-media,
.article-content .mg-player video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain;
  background: #000;
  border-radius: 0 !important;
}
.mg-player-scrim {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 61, 122, 0.5) 0%, transparent 32%),
    linear-gradient(0deg, rgba(4, 21, 38, 0.88) 0%, transparent 46%);
}
.mg-player-brand {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F2B705;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.mg-player-bigplay {
  position: absolute !important;
  z-index: 3;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
  width: 76px !important;
  height: 76px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  cursor: pointer;
  color: #003D7A !important;
  background: radial-gradient(circle at 30% 25%, #ffe9a3, #F2B705 58%, #d39a04) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(242, 183, 5, 0.18);
  display: grid !important;
  place-items: center;
  filter: none !important;
}
.mg-player-bigplay svg { width: 32px; height: 32px; margin-left: 3px; display: block; }
.mg-player-bar {
  position: absolute;
  z-index: 3;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 30, 61, 0.82);
  color: #fff;
}
.mg-player-btn {
  flex: none !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #fff !important;
  display: grid !important;
  place-items: center;
  cursor: pointer;
  filter: none !important;
}
.mg-player-btn svg { width: 20px; height: 20px; display: block; }
.mg-player-time {
  flex: none;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #e8eef5;
  white-space: nowrap;
}
.mg-player-seek,
.mg-player-vol {
  display: block !important;
  margin: 0 !important;
  font-size: 0 !important;
  font-weight: 400 !important;
  color: transparent !important;
}
.mg-player-seek { flex: 1 1 auto; min-width: 48px; }
.mg-player-vol { flex: none; width: 72px; }
.mg-player-seek input,
.mg-player-vol input {
  width: 100% !important;
  max-width: none !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  accent-color: #F2B705;
  cursor: pointer;
}
.mg-player-rate {
  flex: none !important;
  width: auto !important;
  max-width: 72px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.mg-player.is-playing:not(.is-active) .mg-player-scrim,
.mg-player.is-playing:not(.is-active) .mg-player-brand,
.mg-player.is-playing:not(.is-active) .mg-player-bar,
.mg-player.is-playing:not(.is-active) .mg-player-bigplay {
  opacity: 0;
  pointer-events: none;
}
.mg-player.is-playing .mg-player-bigplay { opacity: 0; pointer-events: none; }
.mg-player.is-full { border-radius: 0; }
.mg-player.is-full .mg-player-stage { height: 100vh; aspect-ratio: auto; }
.mg-player.is-native .mg-player-scrim,
.mg-player.is-native .mg-player-brand,
.mg-player.is-native .mg-player-bigplay,
.mg-player.is-native .mg-player-bar { display: none !important; }
.mg-player.is-native .mg-player-stage { aspect-ratio: auto; }
@media (max-width: 719px) {
  .mg-player-vol { display: none !important; }
}
