/* V346 — Native BeMusic Video View visual polish. NO new player or event handler.
   Existing .maximize and mobile .tn-mini-video-action continue using native overlay.
   Conservative styling: do not change Angular component order or iframe src. */
web-player fullscreen-overlay {
  --tn-native-ocean: #061d35;
  --tn-native-cyan: #04c5eb;
  background: linear-gradient(155deg,#041329 0%,#062847 65%,#041a31 100%) !important;
  color: #e9f7ff !important;
}
web-player fullscreen-overlay .video-container,
web-player fullscreen-overlay .video-container.current {
  border-radius: 14px !important;
  border: 1px solid rgba(14,165,233,.76) !important;
  box-shadow: 0 10px 38px rgba(0,7,19,.5),0 0 18px rgba(0,202,244,.12) !important;
  overflow: hidden !important;
  background-color: #000 !important;
}
/* Preserve YouTube-controlled size/aspect; do NOT resize iframe or intercept playback. */
web-player fullscreen-overlay .tn-desktop-video-close,
web-player fullscreen-overlay .close-button {
  cursor: pointer;
  border-radius: 50% !important;
  border: 1px solid rgba(76,211,255,.7) !important;
  background: rgba(3,36,63,.87) !important;
  color:#fff !important;
}
web-player fullscreen-overlay button:focus-visible,
web-player fullscreen-overlay a:focus-visible {
  outline: 2px solid #36dafa !important;
  outline-offset: 3px !important;
}
@media (max-width:900px) {
  /* Reserve the lower Safari safe-area so native bottom navigation is usable.
     Menu is still the existing .tn-bottom-nav element, never duplicated. */
  web-player fullscreen-overlay {
    bottom: calc(78px + env(safe-area-inset-bottom,0px)) !important;
    max-height: calc(100dvh - 78px - env(safe-area-inset-bottom,0px)) !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  web-player .tn-bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2147483000 !important;
    min-height: 68px;
    padding-bottom: env(safe-area-inset-bottom,0px) !important;
    background: #031e35 !important;
    border-top: 1px solid rgba(14,165,233,.58) !important;
    box-shadow: 0 -7px 28px rgba(0,0,0,.38) !important;
    visibility: visible !important;
  }
  web-player fullscreen-overlay .video-container,
  web-player fullscreen-overlay .video-container.current {
    max-width: 100% !important;
    border-radius: 10px !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  web-player fullscreen-overlay *,web-player .tn-bottom-nav * {
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
  }
}
