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

/* 默认：隐藏移动端元素 */
.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 .YTRUYTRBGsite-header { display: none !important; }
html.is-mobile { background: #f0f2f5; font-size: 14px; padding-bottom: 60px; margin: 0; }
html.is-mobile .YTRUYTRBGW_1200 { padding: 0; max-width: 100%; }
html.is-mobile .YTRUYTRBGdetail-layout { flex-direction: column !important; }
html.is-mobile .YTRUYTRBGdetail-sidebar { width: 100% !important; order: 2; }
html.is-mobile .YTRUYTRBGdetail-main { order: 1; }

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