.live-zoom-shell{
  width:100%;
}
.live-page{
  padding:24px 0 48px;
}
.live-wrapper{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.match-header{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
  align-items:stretch;
}
.team-panel{
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  background:#f8fafc;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}
.team-panel.away{
  align-items:flex-end;
  text-align:right;
}
.team-panel .team-visual{
  display:flex;
  gap:12px;
  align-items:center;
  width:100%;
  justify-content:space-between;
  flex-wrap:nowrap;
}
.team-panel.home .team-visual{
  justify-content:flex-start;
}
.team-panel.away .team-visual{
  justify-content:flex-end;
}
.team-panel .team-details{
  display:flex;
  flex-direction:column;
  gap:6px;
  width:100%;
}
.team-panel.away .team-details{
  text-align:right;
}
.team-panel .team-logo{
  width:170px;
  height:170px;
  border-radius:8px;
  border:none;
  object-fit:contain;
  background:transparent;
  flex:0 0 auto;
  max-width:45%;
}
.team-panel .team-logo.is-generic,
.team-panel .team-kit.is-generic{
  display:none;
}
.team-panel .team-kit{
  width:190px;
  height:190px;
  object-fit:contain;
  border:none;
  background:transparent;
  flex:0 0 auto;
  max-width:45%;
}
.team-panel .team-meta{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.team-panel.away .team-meta{
  flex-direction:row-reverse;
}
.team-panel h2{
  margin:4px 0 2px;
}
.team-label{
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color: var(--muted);
}
.team-meta{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:600;
  color:#0f172a;
}
.team-meta span{
  font-size:.85rem;
  color: var(--muted);
  letter-spacing:.05em;
  text-transform:uppercase;
}
.team-meta strong{
  font-size:1.7rem;
}
.scoreboard{
  border:1px solid var(--border);
  border-radius:20px;
  padding:20px;
  background:white;
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:center;
}
.score-minute{
  font-size:1.1rem;
  font-weight:600;
  color:#0f172a;
}
.score-line{
  font-size:2.8rem;
  font-weight:800;
  display:flex;
  justify-content:center;
  gap:12px;
}
.live-controls{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:center;
}
.control-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}
.live-content{
  display:grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap:20px;
  align-items:flex-start;
}
.match-stats,
.match-feed{
  padding:20px;
}
.section-heading{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.section-heading h3{
  margin:4px 0 0;
}
.eyebrow{
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--muted);
  margin:0;
}
.score-summary{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,220px) minmax(0,1fr);
  align-items:center;
  gap:6px;
  font-weight:600;
  color: var(--muted);
  width:100%;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.score-summary-team{
  font-size:.85rem;
  color:#0f172a;
}
.score-summary-home{
  text-align:left;
}
.score-summary-away{
  text-align:right;
}
.score-summary-divider{
  font-weight:700;
  text-align:center;
}
.stats-grid{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.stat-row{
  display:grid;
  grid-template-columns: 1fr minmax(0, 220px) 1fr;
  gap:12px;
  align-items:center;
}
.stat-value{
  font-size:1.1rem;
  font-weight:700;
  color:#0f172a;
}
.stat-value.leading{
  color:#2563eb;
}
.stat-label{
  text-align:center;
}
.stat-label span{
  display:block;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color: var(--muted);
  margin-bottom:6px;
}
.stat-bar{
  position:relative;
  height:6px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
}
.stat-bar-fill{
  position:absolute;
  top:0;
  bottom:0;
}
.stat-bar-fill.home{
  left:0;
  background:#2563eb;
}
.stat-bar-fill.away{
  right:0;
  background:#94a3b8;
}
.match-feed .feed-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.feed-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:420px;
  overflow:auto;
}
.feed-item{
  display:flex;
  gap:10px;
  font-size:.95rem;
}
.feed-item time{
  font-weight:700;
  color: var(--muted);
  width:64px;
}
@media (max-width: 900px){
  .live-content{
    grid-template-columns: 1fr;
  }
  .stat-row{
    grid-template-columns: minmax(0, 1fr) minmax(120px, 160px) minmax(0, 1fr);
  }
  .stat-value{
    text-align:center;
    font-size:1rem;
  }
}
.live-controls .btn{
  min-width:110px;
}

.share-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,0.65);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:9999;
}
.share-overlay.open{
  display:flex;
}
.share-modal{
  background:#fff;
  border-radius:40px;
  padding:40px;
  width:min(950px, 100%);
  box-shadow:0 40px 80px rgba(15,23,42,0.28);
  position:relative;
  display:flex;
  flex-direction:column;
  gap:28px;
}
.share-close{
  position:absolute;
  top:12px;
  right:12px;
  background:transparent;
  border:none;
  font-size:1.5rem;
  line-height:1;
  cursor:pointer;
}
.share-card{
  border:1px solid var(--border);
  border-radius:34px;
  padding:40px;
  background:linear-gradient(145deg,#eef2ff,#dee7ff);
}
.share-card .eyebrow{
  margin-bottom:8px;
}
.share-score{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  margin:32px 0;
  font-weight:700;
  color:#0f172a;
  gap:28px;
}
.share-team{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}
.share-score .team-name{
  display:block;
  font-size:1.35rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#0f172a;
}
.share-scoreline{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  background:rgba(15,23,42,0.08);
  padding:24px 36px;
  border-radius:24px;
  min-width:280px;
  justify-content:center;
}
.scoreline-core{
  display:flex;
  align-items:center;
  gap:20px;
}
.share-scoreline .team-score{
  font-size:4rem;
  width:90px;
  text-align:center;
}
.share-score .dash{
  font-size:2.5rem;
  color:#94a3b8;
}
.share-media{
  display:flex;
  gap:16px;
  align-items:center;
}
.share-logo,
.share-kit{
  width:96px;
  height:96px;
  border-radius:16px;
  object-fit:contain;
  border:none;
  background:transparent;
}
.share-logo.is-generic,
.share-kit.is-generic{
  display:none;
}
.share-stats{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:16px;
}
.share-penalty-note{
  text-align:center;
  font-size:1rem;
  font-weight:700;
  letter-spacing:0.08em;
  color:#0f172a;
  margin:0;
}
.share-stats .stat-row{
  display:grid;
  grid-template-columns: 90px 1fr 90px;
  align-items:center;
  font-size:1rem;
}
.share-stats .stat-value{
  font-weight:700;
  text-align:center;
}
.share-stats .stat-label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:.9rem;
  text-align:center;
  color:#475569;
}
.share-stats .stat-bar{
  width:100%;
  height:6px;
  background:rgba(148,163,184,0.3);
  border-radius:999px;
  position:relative;
  overflow:hidden;
}
.share-stats .stat-bar-fill{
  position:absolute;
  top:0;
  bottom:0;
  background:#2563eb;
}
.share-stats .stat-bar-fill.away{
  background:#0ea5e9;
  left:auto;
  right:0;
}
.share-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.share-actions .btn{
  flex:1;
  min-width:140px;
}

@media (max-width: 820px){
  .match-header{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:12px;
  }
  .scoreboard{
    grid-column: 1 / -1;
    order:0;
  }
  .team-panel{
    order:1;
  }
}

@media (max-width: 768px){
  .team-panel{
    padding:14px;
  }

  .team-panel .team-logo{
    width:110px;
    height:110px;
  }

  .team-panel .team-kit{
    width:120px;
    height:120px;
  }

  .score-line{
    font-size:2.1rem;
  }

  .match-header{
    gap:10px;
  }
  .share-modal{
    padding:28px;
    border-radius:32px;
  }
  .share-card{
    padding:28px;
    border-radius:28px;
  }
  .share-score{
    flex-direction:column;
    gap:16px;
    align-items:center;
  }
  .share-team{
    align-items:center;
    text-align:center;
  }
  .share-scoreline{
    width:100%;
    min-width:0;
  }
  .share-actions{
    flex-direction:column;
  }
}

@media (max-width: 480px){
  .team-panel .team-visual{
    flex-direction:row;
    gap:8px;
  }

  .team-panel .team-logo,
  .team-panel .team-kit{
    width:90px;
    height:90px;
  }

  .score-minute{
    font-size:1rem;
  }

  .stat-row{
    grid-template-columns: minmax(0, 1fr) minmax(70px, 120px) minmax(0, 1fr);
    text-align:center;
    gap:8px;
  }
  .stat-label span{
    font-size:.75rem;
  }
  .stat-value{
    font-size:.95rem;
  }
  .share-modal{
    padding:20px;
  }
  .share-card{
    padding:22px;
  }
  .share-scoreline .team-score{
    font-size:3.2rem;
    width:auto;
  }
  .share-stats .stat-row{
    grid-template-columns:1fr;
    gap:6px;
  }
}
