/* 大宏直播 - 移动端样式 (仿蜘蛛直播网) */

/* 默认：隐藏移动端元素 */
.m-show { display: none !important; }
.m-hide { display: block !important; }

/* 移动端强制样式 - 通过JS添加html类名触发 */
html.is-mobile .m-show { display: block !important; }
html.is-mobile .m-hide { display: none !important; }
html.is-mobile .pc-hide { display: none !important; }
html.is-mobile .site-header { display: none !important; }
html.is-mobile { background: #f0f2f5; font-size: 14px; padding-bottom: 60px; margin: 0; }
html.is-mobile .W_1200 { padding: 0; max-width: 100%; }
html.is-mobile .detail-layout { flex-direction: column !important; }
html.is-mobile .detail-sidebar { width: 100% !important; order: 2; }
html.is-mobile .detail-main { order: 1; }

/* 移动端UA强制样式（不依赖屏幕宽度）- 扁平选择器 */
html.is-mobile body { background: #f0f2f5; font-size: 14px; padding-bottom: 60px; margin: 0; }
html.is-mobile .W_1200 { padding: 0; max-width: 100%; }
html.is-mobile .site-header { display: none !important; }
html.is-mobile .m-header { background: #e91e63; padding: 12px 15px; position: sticky; top: 0; z-index: 100; }
html.is-mobile .m-header-logo { text-align: center; margin-bottom: 10px; }
html.is-mobile .m-header-logo img { height: 32px; }
html.is-mobile .m-nav { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
html.is-mobile .m-nav a { color: #fff; font-size: 14px; font-weight: bold; text-decoration: none; padding: 4px 8px; border-radius: 3px; }
html.is-mobile .m-nav a:hover, html.is-mobile .m-nav a.active { background: rgba(255,255,255,0.2); }
html.is-mobile .m-cate-bar { background: #fff; padding: 10px; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; border-bottom: 1px solid #eee; }
html.is-mobile .m-cate-bar::-webkit-scrollbar { display: none; }
html.is-mobile .m-cate-bar a { display: inline-block; padding: 6px 14px; background: #f5f5f5; color: #333; border-radius: 15px; font-size: 13px; margin-right: 8px; text-decoration: none; }
html.is-mobile .m-cate-bar a:hover, html.is-mobile .m-cate-bar a.active { background: #e91e63; color: #fff; }
html.is-mobile .m-date-header { background: #f5f5f5; padding: 10px 15px; font-size: 15px; font-weight: bold; color: #333; text-align: center; border-bottom: 1px solid #eee; }
html.is-mobile .m-tab-bar { display: flex; background: #e91e63; }
html.is-mobile .m-tab-bar a { flex: 1; text-align: center; padding: 10px 0; color: #fff; font-size: 14px; font-weight: bold; text-decoration: none; }
html.is-mobile .m-tab-bar a.active { background: #c2185b; }
html.is-mobile .m-tab-bar a:first-child { background: #f9a825; }
html.is-mobile .m-tab-bar a:first-child.active { background: #f57f17; }
html.is-mobile .m-match-list { background: #fff; }
html.is-mobile .m-match-item { display: flex; flex-wrap: wrap; align-items: center; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; }
html.is-mobile .m-match-item:active { background: #f5f5f5; }
html.is-mobile .m-match-top { display: flex; align-items: center; width: 100%; margin-bottom: 8px; }
html.is-mobile .m-match-time { font-size: 13px; color: #666; display: flex; align-items: center; gap: 4px; width: 90px; flex-shrink: 0; }
html.is-mobile .m-match-time .clock-icon { color: #e91e63; }
html.is-mobile .m-match-league { flex: 1; text-align: center; font-size: 14px; font-weight: bold; color: #e91e63; }
html.is-mobile .m-match-btn { width: 90px; flex-shrink: 0; text-align: right; }
html.is-mobile .m-match-btn .btn-live { display: inline-block; padding: 5px 12px; background: #e91e63; color: #fff; border-radius: 3px; font-size: 12px; text-decoration: none; }
html.is-mobile .m-match-btn .btn-upcoming { display: inline-block; padding: 5px 12px; background: #fce4ec; color: #e91e63; border-radius: 3px; font-size: 12px; text-decoration: none; }
html.is-mobile .m-match-teams { width: 100%; text-align: center; font-size: 15px; font-weight: bold; color: #333; }
html.is-mobile .m-match-teams .vs { color: #999; margin: 0 8px; font-weight: normal; font-size: 13px; }
html.is-mobile .m-bottom-tab { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; border-top: 1px solid #eee; z-index: 100; height: 55px; }
html.is-mobile .m-bottom-tab a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #999; font-size: 12px; gap: 3px; }
html.is-mobile .m-bottom-tab a.active { color: #e91e63; }
html.is-mobile .m-bottom-tab a .tab-icon { font-size: 22px; }
html.is-mobile .detail-layout { flex-direction: column !important; }
html.is-mobile .detail-sidebar { width: 100% !important; order: 2; }
html.is-mobile .detail-main { order: 1; }
html.is-mobile .match-list .match-row, html.is-mobile .match-row { display: block !important; padding: 12px 12px !important; border-bottom: 1px solid #f0f0f0 !important; flex-direction: unset !important; align-items: unset !important; }
html.is-mobile .match-row:active { background: #f5f5f5 !important; }
html.is-mobile .match-list .match-league, html.is-mobile .match-row .match-league { display: inline-block !important; font-size: 13px !important; color: #333 !important; vertical-align: middle !important; width: auto !important; flex-shrink: unset !important; }
html.is-mobile .match-row .match-league a { color: #333 !important; text-decoration: none !important; }
html.is-mobile .match-list .match-time, html.is-mobile .match-row .match-time { display: inline-block !important; font-size: 13px !important; color: #333 !important; vertical-align: middle !important; margin-left: 6px !important; width: auto !important; }
html.is-mobile .match-row .match-time::before { content: "🕐"; font-size: 12px; color: #e91e63; margin-right: 2px; }
html.is-mobile .match-list .match-action, html.is-mobile .match-row .match-action { display: inline-block !important; float: right !important; vertical-align: middle !important; width: auto !important; text-align: unset !important; margin-top: 0 !important; }
html.is-mobile .match-row .match-action .btn-live { display: inline-block !important; padding: 6px 14px !important; background: #e91e63 !important; color: #fff !important; border-radius: 18px !important; font-size: 12px !important; text-decoration: none !important; font-weight: bold !important; }
html.is-mobile .match-row .match-action .btn-upcoming { display: inline-block !important; padding: 6px 14px !important; background: #f5f5f5 !important; color: #999 !important; border-radius: 18px !important; font-size: 12px !important; text-decoration: none !important; }
html.is-mobile .match-list .match-teams-row, html.is-mobile .match-row .match-teams-row { display: block !important; width: 100% !important; text-align: center !important; margin-top: 8px !important; clear: both !important; padding-top: 2px !important; justify-content: unset !important; }
html.is-mobile .match-row .match-teams-row .team-home,
html.is-mobile .match-row .match-teams-row .team-away { display: inline !important; }
html.is-mobile .match-row .match-teams-row img { display: none !important; }
html.is-mobile .match-row .match-teams-row span { font-size: 15px !important; font-weight: bold !important; color: #333 !important; }
html.is-mobile .match-row .match-score { display: inline !important; font-size: 13px !important; color: #999 !important; margin: 0 6px !important; }
html.is-mobile .match-row .match-score span { font-size: 13px !important; color: #999 !important; }
html.is-mobile .match-item { display: block !important; padding: 12px 12px !important; border-bottom: 1px solid #f0f0f0 !important; }
html.is-mobile .match-item:active { background: #f5f5f5 !important; }
html.is-mobile .match-item .m-time { display: inline-block !important; font-size: 13px !important; color: #333 !important; vertical-align: middle !important; width: auto !important; }
html.is-mobile .match-item .m-time::before { content: "🕐"; font-size: 12px; color: #e91e63; margin-right: 2px; }
html.is-mobile .match-item .m-league { display: inline-block !important; font-size: 14px !important; color: #e91e63 !important; font-weight: bold !important; vertical-align: middle !important; margin: 0 6px !important; background: transparent !important; }
html.is-mobile .match-item .m-status { display: inline-block !important; float: right !important; vertical-align: middle !important; }
html.is-mobile .match-item .m-status .btn-live { display: inline-block !important; padding: 6px 14px !important; background: #e91e63 !important; color: #fff !important; border-radius: 18px !important; font-size: 12px !important; text-decoration: none !important; font-weight: bold !important; }
html.is-mobile .match-item .m-status .btn-upcoming { display: inline-block !important; padding: 6px 14px !important; background: #f5f5f5 !important; color: #999 !important; border-radius: 18px !important; font-size: 12px !important; text-decoration: none !important; }
html.is-mobile .match-item .m-teams { display: block !important; width: 100% !important; text-align: center !important; font-size: 15px !important; font-weight: bold !important; color: #333 !important; margin-top: 8px !important; clear: both !important; padding-top: 2px !important; }
html.is-mobile .match-item .m-teams .team-logo { display: none !important; }
html.is-mobile .match-item .m-teams .team-name { font-size: 15px !important; font-weight: bold !important; color: #333 !important; text-decoration: none !important; }
html.is-mobile .match-item .m-teams .vs-text { color: #999 !important; margin: 0 6px !important; font-weight: normal !important; font-size: 13px !important; }
html.is-mobile .news-list li { flex-direction: column; padding: 10px; }
html.is-mobile .news-img { width: 100% !important; height: 150px !important; }
html.is-mobile .video-list { grid-template-columns: 1fr !important; }
html.is-mobile .video-list li { padding: 10px 15px; }
html.is-mobile .inter-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
html.is-mobile .inter-header { flex-direction: column; padding: 15px; }
html.is-mobile .inter-cover { width: 100%; height: 160px; }
html.is-mobile .team-profile { flex-direction: column; text-align: center; padding: 15px; }
html.is-mobile .pagination { flex-wrap: wrap; }
html.is-mobile .pagination li a, html.is-mobile .pagination li span { min-width: 30px; height: 30px; line-height: 30px; font-size: 12px; }
html.is-mobile .detail-breadcrumb { font-size: 12px; padding: 10px 15px; }
html.is-mobile .sidebar-box { margin-bottom: 10px; }
html.is-mobile .article-title { font-size: 18px; }
html.is-mobile .article-content { font-size: 14px; }
html.is-mobile .article-cover img { max-height: 200px; }
html.is-mobile .pagination { font-size: 12px; }
html.is-mobile .detail-breadcrumb { background: #fff; padding: 12px 15px; margin: 0; font-size: 13px; }
html.is-mobile .detail-layout { gap: 0; }
html.is-mobile .detail-main { padding: 0; }
html.is-mobile .detail-match-card { border-radius: 0; margin: 0; }
html.is-mobile .detail-teams { flex-direction: row; padding: 20px 15px; gap: 10px; align-items: center; justify-content: space-between; }
html.is-mobile .detail-team { flex: 1; text-align: center; }
html.is-mobile .team-logo-lg { width: 60px; height: 60px; border-radius: 50%; border: 3px solid #e91e63; margin: 0 auto 8px; }
html.is-mobile .team-name-lg { font-size: 14px; font-weight: bold; color: #333; display: block; }
html.is-mobile .detail-vs { flex: 1; text-align: center; padding: 0; order: 0; }
html.is-mobile .vs-score { margin-bottom: 3px; }
html.is-mobile .vs-score .score { font-size: 28px; font-weight: bold; color: #333; }
html.is-mobile .vs-score .vs-text { font-size: 14px; color: #999; margin: 0 5px; }
html.is-mobile .vs-league { margin-bottom: 2px; }
html.is-mobile .vs-league a { color: #e91e63; font-size: 13px; font-weight: bold; }
html.is-mobile .vs-time { font-size: 12px; color: #999; margin-bottom: 3px; }
html.is-mobile .status-live { color: #e91e63; font-weight: bold; font-size: 13px; }
html.is-mobile .status-upcoming { color: #ff9800; font-size: 13px; }
html.is-mobile .status-ended { color: #999; font-size: 13px; }
html.is-mobile .detail-info-box { border-radius: 0; margin: 0; padding: 15px; }
html.is-mobile .detail-info-box h3 { font-size: 15px; }
html.is-mobile .detail-info-content p { font-size: 13px; line-height: 1.8; }
html.is-mobile .signal-btn { padding: 5px 12px; font-size: 12px; }
html.is-mobile .detail-inter-box { padding: 15px; }
html.is-mobile .detail-inter-box h3 { font-size: 15px; }
html.is-mobile .detail-inter-box ul { display: flex; flex-wrap: wrap; gap: 8px; }
html.is-mobile .detail-inter-box li { width: auto; }
html.is-mobile .detail-inter-box li a { display: inline-block; padding: 5px 12px; background: #f5f5f5; border-radius: 15px; font-size: 13px; color: #333; text-decoration: none; }
html.is-mobile .detail-inter-box li a:hover { background: #e91e63; color: #fff; }
html.is-mobile .sidebar-box { border-radius: 0; margin: 0; }
html.is-mobile .sidebar-title { padding: 12px 15px; }
html.is-mobile .sidebar-news-list li { padding: 8px 15px; font-size: 13px; }
html.is-mobile .sidebar-live-list li { padding: 10px 15px; }
