/* Live Match Pro v3: Dark red theme with high readability */
.lmp3-wrap { font-family: 'Oswald', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; max-width: 1000px; margin: 16px auto; }
.lmp3-theme-dark .lmp3-card { background: radial-gradient(1200px 500px at 20% -20%, rgba(225,29,72,0.25), transparent 40%), #0b0b0f; color:#f8fafc; }
.lmp3-theme-light .lmp3-card { background:#ffffff; color:#0f172a; }
.lmp3-card { border-radius: 24px; padding: 18px; box-shadow: 0 18px 40px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.06); }

.lmp3-head { display:flex; justify-content: space-between; opacity:0.9; font-size:14px; margin-bottom:8px; }
.lmp3-body { display:grid; grid-template-columns: 1fr auto 1fr; gap:20px; align-items:center; }

.lmp3-team { text-align:center; }
.lmp3-logo { width:110px; height:110px; margin:0 auto 10px; border-radius:22px; overflow:hidden; background: rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.lmp3-logo img { width:100%; height:100%; object-fit:contain; }
.lmp3-name { font-size:22px; font-weight:600; letter-spacing:0.4px; text-transform:uppercase; }

.lmp3-scorecol { text-align:center; }
.lmp3-score { font-size:64px; font-weight:800; letter-spacing:2px; line-height:1; }
.lmp3-dash { margin: 0 12px; opacity:0.7; }

.lmp3-livebar { margin-top:8px; display:flex; gap:10px; align-items:center; justify-content:center; font-size:14px; color:#e5e7eb; }
.lmp3-live-dot { width:8px; height:8px; border-radius:999px; background: var(--lmp3-accent); display:inline-block; box-shadow: 0 0 0 0 rgba(225,29,72,0.7); animation: lmp3-pulse 1.6s infinite; }
@keyframes lmp3-pulse { 0%{ box-shadow: 0 0 0 0 rgba(225,29,72,0.7);} 70%{ box-shadow: 0 0 0 10px rgba(225,29,72,0);} 100%{ box-shadow: 0 0 0 0 rgba(225,29,72,0);}}
.lmp3-kickoff { margin-top:6px; opacity:0.85; font-size:13px; color:#cbd5e1; }

/* Events block with higher contrast */
.lmp3-events { margin-top:14px; background: #0e0e13; border:1px solid rgba(255,255,255,0.08); border-radius: 18px; overflow:hidden; }
.lmp3-theme-light .lmp3-events { background:#fff; border-color:#e5e7eb; }
.lmp3-events-head { padding:12px 14px; font-size:16px; font-weight:600; background: linear-gradient(90deg, var(--lmp3-accent), transparent); color:#fff; }

.lmp3-events-list { max-height: 360px; overflow:auto; }
.lmp3-ev { display:grid; grid-template-columns: 56px 26px 26px 1fr auto; gap:12px; align-items:center; padding:12px 14px; border-bottom:1px dashed rgba(255,255,255,0.10); color:#f8fafc; }
.lmp3-theme-light .lmp3-ev { border-bottom-color:#e5e7eb; color:#0f172a; }
.lmp3-ev:last-child { border-bottom:0; }
.lmp3-ev:hover { background: rgba(255,255,255,0.04); }

.lmp3-ev-min { font-variant-numeric: tabular-nums; opacity:0.95; color:#e2e8f0; }
.lmp3-ev-badge { width:24px; height:24px; border-radius:999px; object-fit: contain; box-shadow: 0 0 0 1px rgba(255,255,255,0.15); background:#111; }
.lmp3-ev-icn { font-size:18px; text-align:center; opacity:0.95; }
.lmp3-ev-txt { font-size:15px; }
.lmp3-ev-score { background: var(--lmp3-accent); color:#fff; padding:3px 8px; border-radius: 999px; font-size:12px; }
.lmp3-ev-home .lmp3-ev-min { color: #22c55e; }
.lmp3-ev-away .lmp3-ev-min { color: #ef4444; }
.lmp3-ev-empty { padding: 14px; opacity:0.9; text-align:center; color:#e2e8f0; }

/* Lineups */
.lmp3-lineups { margin-top:14px; background: #0e0e13; border:1px solid rgba(255,255,255,0.08); border-radius: 18px; overflow:hidden; color:#f8fafc; }
.lmp3-theme-light .lmp3-lineups { background:#fff; color:#0f172a; border-color:#e5e7eb; }
.lmp3-lineups-head { padding:12px 14px; font-size:16px; font-weight:600; background: linear-gradient(90deg, var(--lmp3-accent), transparent); color:#fff; }
.lmp3-lineups-logos { display:flex; justify-content: space-between; padding:10px 14px; }
.lmp3-lineups-team { display:flex; align-items:center; gap:10px; }
.lmp3-lineups-logo img { width:36px; height:36px; object-fit:contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)); }
.lmp3-lineups-name { font-size:15px; font-weight:600; text-transform: uppercase; }

.lmp3-lineups-table { display:grid; grid-template-columns: 1fr 1fr; gap:16px; padding: 6px 14px 14px; }
.lmp3-subhead { font-size:13px; text-transform: uppercase; letter-spacing:0.08em; opacity:0.9; margin: 6px 0; color:#e2e8f0; }
.lmp3-list { margin:0; padding-left: 18px; }
.lmp3-list li { margin: 2px 0; line-height:1.5; }

.lmp3-bench .lmp3-subhead { opacity: 0.85; }

@media (max-width: 720px){
  .lmp3-body { grid-template-columns: 1fr; gap:12px; }
  .lmp3-logo { width:90px; height:90px; }
  .lmp3-score { font-size:48px; }
  .lmp3-events-list { max-height: 320px; }
  .lmp3-ev { grid-template-columns: 48px 24px 24px 1fr auto; }
  .lmp3-lineups-table { grid-template-columns: 1fr; }
}
