/* JRS直播 - 360/so.com SEO友好样式 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#222;background:#f5f6f8;line-height:1.6}
a{color:#1565c0;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;vertical-align:middle}
.inner{max-width:960px;margin:0 auto;padding:0 15px}

.header{background:linear-gradient(135deg,#0d47a1,#1565c0);color:#fff;padding:12px 0;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.header .inner{display:flex;align-items:center;justify-content:space-between}
.logo a{color:#fff;font-size:1.4rem;font-weight:700;letter-spacing:1px}
.nav-toggle{display:none;background:none;border:none;width:32px;height:24px;position:relative;cursor:pointer}
.nav-toggle span,.nav-toggle::before,.nav-toggle::after{content:"";display:block;height:3px;background:#fff;border-radius:2px;position:absolute;left:0;right:0}
.nav-toggle span{top:10px}.nav-toggle::before{top:0}.nav-toggle::after{bottom:0}

.bar{background:#fff;border-bottom:1px solid #e0e0e0}
.nav{display:flex;list-style:none;gap:0}
.nav li a{display:block;padding:12px 20px;color:#333;font-weight:500}
.nav li.cur a,.nav li a:hover{color:#1565c0;border-bottom:2px solid #1565c0;text-decoration:none}

.wrapper{padding:20px 0 40px;min-height:60vh}
.site-domain-bar{
  font-size:.88rem;color:#0d47a1;font-weight:600;text-align:center;
  padding:8px 14px;margin-bottom:14px;
  background:linear-gradient(135deg,#e3f2fd 0%,#fff8e1 100%);
  border:1px solid #90caf9;border-radius:8px;
  letter-spacing:.5px;box-shadow:0 2px 8px rgba(21,101,192,.12)
}
.boxtop{margin-bottom:16px}
.boxtop h1{font-size:1.3rem;color:#0d47a1;border-left:4px solid #1565c0;padding-left:10px}

.match-card{border-radius:8px;padding:16px 0;margin-bottom:12px;border-bottom:1px solid #eee}
.match-title{font-size:.95rem;margin-bottom:10px}
.match-title a{color:#333}
.team-row{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px 0;flex-wrap:nowrap}
.team{display:flex;align-items:center;gap:8px;flex:1;min-width:0;max-width:40%}
.team span{line-height:1.25}
.team.home{justify-content:flex-end;text-align:right;flex-direction:row-reverse}
.team.away{justify-content:flex-start;text-align:left}
.vs{font-weight:700;color:#e65100;font-size:.9rem;flex-shrink:0}
.match-action{text-align:center;margin-top:8px}
.btn-live{display:inline-block;color:#e65100!important;padding:8px 0;font-size:.9rem;font-weight:600;text-decoration:none!important}
.btn-live:hover{color:#bf360c!important}

/* 直播列表（首页 + 足球/篮球栏目共用） */
.applist .match-card{
  background:#fff;border:none;border-radius:14px;padding:20px 18px;margin-bottom:16px;
  box-shadow:0 2px 16px rgba(13,71,161,.07),0 1px 3px rgba(0,0,0,.04);
  border:1px solid rgba(21,101,192,.06);transition:box-shadow .25s,transform .25s
}
.applist .match-card:hover{
  box-shadow:0 8px 28px rgba(13,71,161,.12),0 2px 6px rgba(0,0,0,.05);transform:translateY(-1px)
}
.applist .match-action{margin-top:14px}
.applist .team-row{
  justify-content:center;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:10px 0
}
.applist .team-row .team{
  flex:0 1 auto;min-width:0;max-width:calc(50% - 20px);
  justify-content:center!important;text-align:center;flex-direction:row!important;gap:6px
}
.applist .team-row .team.home,
.applist .team-row .team.away{
  justify-content:center;text-align:center;flex-direction:row!important
}
.applist .team-row .team img{width:36px;height:36px;border-radius:50%;object-fit:contain;flex-shrink:0}
.applist .team-row .team span{font-size:.9rem;line-height:1.35;white-space:normal;word-break:break-word}
.page-home .applist .team-row .team span{font-size:.98rem}
.applist .team-row .vs{font-size:.85rem;flex-shrink:0;padding:0 4px}
.applist .btn-live{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-width:200px;padding:13px 36px;font-size:.95rem;font-weight:600;letter-spacing:.6px;
  color:#fff!important;text-decoration:none!important;border:none;border-radius:999px;
  background:linear-gradient(135deg,#1976d2 0%,#0d47a1 100%);
  box-shadow:0 4px 16px rgba(21,101,192,.38),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease
}
.applist .btn-live:hover{
  color:#fff!important;text-decoration:none!important;
  transform:translateY(-2px);filter:brightness(1.06);
  box-shadow:0 8px 24px rgba(21,101,192,.48),inset 0 1px 0 rgba(255,255,255,.22)
}
.applist .btn-live:active{transform:translateY(0);box-shadow:0 3px 10px rgba(21,101,192,.32)}
.applist .btn-live-on{
  background:linear-gradient(135deg,#ff8f00 0%,#e65100 50%,#d84315 100%);
  box-shadow:0 4px 18px rgba(230,81,0,.42),inset 0 1px 0 rgba(255,255,255,.2)
}
.applist .btn-live-on:hover{
  box-shadow:0 8px 26px rgba(230,81,0,.52),inset 0 1px 0 rgba(255,255,255,.25)
}
.applist .btn-live-on::before{
  content:"";width:8px;height:8px;border-radius:50%;background:#fff;flex-shrink:0;
  box-shadow:0 0 0 0 rgba(255,255,255,.6);animation:live-pulse 1.6s ease-in-out infinite
}
@keyframes live-pulse{
  0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 rgba(255,255,255,.5)}
  50%{opacity:.85;transform:scale(.88);box-shadow:0 0 0 6px rgba(255,255,255,0)}
}

.breadcrumb{font-size:.85rem;color:#666;margin-bottom:16px;padding:8px 0}
.breadcrumb a{color:#1565c0}
.match-detail{padding:0 0 20px}
.match-header{text-align:center;margin-bottom:16px}
.match-header h1{font-size:1.2rem;color:#0d47a1;margin-bottom:6px;line-height:1.35}
.match-meta{color:#666;font-size:.9rem}
.match-teams{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;
  padding:8px 0;margin-bottom:10px;border-top:1px solid #f0f0f0
}
.match-detail .match-teams .team{
  display:flex;align-items:center;justify-content:center;gap:6px;
  flex:0 1 auto;min-width:0;max-width:calc(50% - 20px);text-align:center;flex-direction:row
}
.match-detail .match-teams .team.home,
.match-detail .match-teams .team.away{
  justify-content:center;text-align:center;flex-direction:row
}
.match-detail .match-teams .team img{
  width:40px;height:40px;margin:0;flex-shrink:0;border-radius:50%;object-fit:contain
}
.match-detail .match-teams .team strong{
  font-size:.92rem;line-height:1.25;font-weight:600;
  white-space:normal;word-break:break-word;max-width:100%
}
.match-detail .match-teams .vs{font-size:.75rem;font-weight:700;color:#e65100;flex-shrink:0;padding:0 2px}

.live-box{padding:0 0 12px;margin-bottom:12px;border-bottom:1px dashed #eee}
.live-box h2{font-size:1rem;margin-bottom:10px;color:#333}
.live-status{font-size:.85rem;margin-bottom:10px;font-weight:600}
.live-on{color:#2e7d32}
.live-off{color:#e65100}
.live-sources,.replay-link-list{list-style:none;padding:0;margin:0}
.live-sources li{padding:0;margin-bottom:8px;border-bottom:none;line-height:1.4}
.live-sources li:last-child{margin-bottom:0}
.replay-link-list li{padding:8px 0;border-bottom:1px dashed #eee;line-height:1.6}
.replay-link-list li:last-child{border-bottom:none}
.replay-link{display:inline;color:#1565c0;font-size:.95rem;text-decoration:none;padding:0;background:none!important}
.replay-link:hover{color:#0d47a1;text-decoration:underline}
.btn-live-line{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  padding:13px 16px;font-size:.95rem;font-weight:600;letter-spacing:.3px;
  color:#fff!important;text-decoration:none!important;border:none;border-radius:10px;
  background:linear-gradient(135deg,#ff8f00 0%,#e65100 50%,#d84315 100%);
  box-shadow:0 4px 14px rgba(230,81,0,.38),inset 0 1px 0 rgba(255,255,255,.2);
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease
}
.btn-live-line::before{
  content:"";width:8px;height:8px;border-radius:50%;background:#fff;flex-shrink:0;
  box-shadow:0 0 0 0 rgba(255,255,255,.5);animation:live-pulse 1.6s ease-in-out infinite
}
.btn-live-line:hover{
  color:#fff!important;text-decoration:none!important;
  transform:translateY(-1px);filter:brightness(1.05);
  box-shadow:0 6px 18px rgba(230,81,0,.48),inset 0 1px 0 rgba(255,255,255,.25)
}
.btn-live-line:active{transform:translateY(0)}
.live-sources li:nth-child(3n+2) .btn-live-line{
  background:linear-gradient(135deg,#1976d2 0%,#0d47a1 100%);
  box-shadow:0 4px 14px rgba(21,101,192,.38),inset 0 1px 0 rgba(255,255,255,.18)
}
.live-sources li:nth-child(3n+2) .btn-live-line:hover{
  box-shadow:0 6px 18px rgba(21,101,192,.48),inset 0 1px 0 rgba(255,255,255,.22)
}
.live-sources li:nth-child(3n) .btn-live-line{
  background:linear-gradient(135deg,#43a047 0%,#2e7d32 100%);
  box-shadow:0 4px 14px rgba(46,125,50,.35),inset 0 1px 0 rgba(255,255,255,.18)
}
.live-sources li:nth-child(3n) .btn-live-line:hover{
  box-shadow:0 6px 18px rgba(46,125,50,.45),inset 0 1px 0 rgba(255,255,255,.22)
}
.replay-link.is-overtime{color:#e65100;font-weight:600}
.live-player-wrap{margin-top:12px;border-radius:8px;overflow:hidden;background:#000}
.live-player{width:100%;height:480px;border:none;display:block}
.live-player-tip{font-size:.8rem;color:#888;text-align:center;padding:8px 0}
.live-wait{color:#888;text-align:center;padding:16px 0}

.match-intro h2,.related h2{font-size:1rem;margin-bottom:10px;color:#333}
.match-intro p,.related-list{font-size:.9rem;color:#555;margin-bottom:8px}
.related-list{list-style:none}
.related-list li{padding:6px 0;border-bottom:1px dashed #eee}
.related-list a{color:#1565c0}

.replay-box{margin-bottom:24px}
.boxtop-flex{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.more-link{
  display:inline-block;font-size:.88rem;font-weight:600;color:#e65100!important;
  white-space:nowrap;text-decoration:none!important;
  padding:4px 10px;border-radius:999px;
  background:rgba(230,81,0,.08);border:1px solid rgba(230,81,0,.25);
  transition:color .2s,background .2s,border-color .2s
}
.more-link:hover{
  color:#bf360c!important;background:rgba(230,81,0,.15);border-color:rgba(230,81,0,.45);
  text-decoration:none!important
}
.replay-list{list-style:none;padding:0}
.replay-list li{padding:10px 0;border-bottom:1px dashed #eee;display:flex;align-items:flex-start;gap:12px}
.replay-list li:last-child{border-bottom:none}
.replay-date{color:#888;font-size:.85rem;white-space:nowrap;flex-shrink:0;min-width:90px}
.replay-list a{color:#333;font-size:.95rem;line-height:1.5}
.replay-list-no-date li{gap:0}
.replay-list a:hover{color:#1565c0}
.replay-detail .match-header h1{font-size:1.1rem}

.empty-tip{text-align:center;padding:40px 0;color:#999}
.footer{background:#263238;color:#b0bec5;padding:24px 0;font-size:.85rem;text-align:center}
.footer a{color:#90caf9}
.footer .seo-text{color:#cfd8dc;margin-bottom:8px;line-height:1.8}

@media(max-width:640px){
  .nav-toggle{display:block}
  .nav{display:none;flex-direction:column}
  .nav.open{display:flex}
  .nav li a{padding:10px 15px;border-bottom:1px solid #f0f0f0}
  .team-row{flex-direction:column;gap:6px}
  .team-row .team.home,.team-row .team.away{justify-content:center;text-align:center;max-width:100%;flex-direction:row}
  .applist .team-row{
    flex-direction:row;justify-content:center;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:10px 0
  }
  .applist .team-row .team{
    flex:0 1 auto;max-width:100%;justify-content:center!important;text-align:center;gap:5px
  }
  .applist .team-row .team img{width:32px;height:32px}
  .applist .team-row .team span{font-size:.86rem;line-height:1.35;white-space:normal;word-break:break-word}
  .page-home .applist .team-row .team span{font-size:.93rem}
  .applist .team-row .vs{font-size:.8rem;padding:0 4px}
  .match-header{margin-bottom:10px}
  .match-header h1{font-size:1.05rem;padding:0 4px}
  .match-meta{font-size:.82rem}
  .live-box h2{font-size:.95rem;margin-bottom:8px}
  .live-box{margin-bottom:10px;padding-bottom:10px}
  .match-detail .match-teams{
    flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 10px;
    padding:8px 10px;margin:0 0 10px;border:none;
    background:#f5f6f8;border-radius:8px;min-height:0
  }
  .match-detail .match-teams .team{
    gap:5px;flex:0 1 auto;max-width:100%;justify-content:center!important;
    text-align:center;flex-direction:row!important
  }
  .match-detail .match-teams .team.home,
  .match-detail .match-teams .team.away{
    justify-content:center;text-align:center;flex-direction:row!important
  }
  .match-detail .match-teams .team img{
    display:block!important;width:28px!important;height:28px!important;margin:0!important;
    flex-shrink:0;border-radius:50%;object-fit:contain
  }
  .match-detail .match-teams .team strong{font-size:.86rem;line-height:1.2;max-width:100%;white-space:normal;word-break:break-word}
  .match-detail .match-teams .vs{font-size:.7rem;padding:0 3px}
  .btn-live-line{padding:12px 14px;font-size:.9rem;border-radius:8px}
  .live-player{height:220px}
  .applist .btn-live{min-width:160px;padding:12px 28px;font-size:.9rem}
}
