/* app/web/user/css/video-mobile-tabs.css */
/* 只处理手机端“简介 / 评论”内容切换，电脑端不受影响 */

@media (max-width: 768px) {
  .mobile-video-tab-hidden {
    display: none !important;
  }

  #videoMobileTabs {
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  #videoMobileTabs .video-mobile-tab {
    position: relative !important;
    z-index: 51 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  #videoMobileTabs .video-mobile-tab.active {
    color: #fb7299 !important;
    font-weight: 800 !important;
  }

  #videoMobileTabs .video-mobile-tab.active::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: #fb7299 !important;
  }

  body.video-mobile-comment-mode #commentPanel {
    display: block !important;
    order: 3 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 16px 24px !important;
    border-top: 0 !important;
    background: #fff !important;
  }

  body.video-mobile-comment-mode .watch-layout,
  body.video-mobile-comment-mode .main-left {
    overflow: visible !important;
  }
}
