:root {
  --lh-bg-card: #ffffff;
  --lh-bg-soft: #f8fafc;
  --lh-bg-header: #161b22;
  --lh-border: #e2e8f0;
  --lh-text: #0f172a;
  --lh-text-muted: #64748b;
  --lh-primary: #e11d48;
  --lh-accent: #16a34a;
  --lh-shadow: 0 10px 30px rgba(15,23,42,.06);
}
body.dark, body[data-theme="dark"], [data-theme="dark"] {
  --lh-bg-card: #161d29;
  --lh-bg-soft: #1e2736;
  --lh-bg-header: #0d121a;
  --lh-border: #283447;
  --lh-text: #f1f5f9;
  --lh-text-muted: #94a3b8;
  --lh-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.lh-team-hub { max-width:1180px;margin:0 auto 28px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }
.lh-team-hero { background:var(--lh-bg-card);border:1px solid var(--lh-border);border-radius:14px;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:18px;box-shadow:var(--lh-shadow); }
.lh-team-identity { display:flex;align-items:center;gap:18px;flex:1; }
.lh-team-crest { width:78px;height:78px;border-radius:16px;background:var(--lh-bg-soft);border:1px solid var(--lh-border);display:flex;align-items:center;justify-content:center;padding:10px;flex-shrink:0; }
.lh-team-crest img { width:100%;height:100%;object-fit:contain; }
.lh-team-league-tag { font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;color:var(--lh-primary);margin-bottom:4px; }
.lh-team-name { margin:0 0 6px;font-size:28px;font-weight:900;color:var(--lh-text);line-height:1.15; }
.lh-team-desc { margin:0 0 10px;font-size:13px;color:var(--lh-text-muted);max-width:540px;line-height:1.45; }
.lh-team-form { display:flex;align-items:center;gap:6px;flex-wrap:wrap; }
.lh-form-label { font-size:12px;font-weight:700;color:var(--lh-text-muted);margin-right:4px; }
.lh-form-badge { width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:#fff; }
.lh-form-badge.win { background:#16a34a; } .lh-form-badge.draw { background:#94a3b8; } .lh-form-badge.loss { background:#dc2626; }
.lh-rank-showcase { background:linear-gradient(135deg,#161b22 0%,#1e293b 100%);color:#fff;border-radius:12px;padding:16px 22px;min-width:270px;border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 20px rgba(15,23,42,.18); }
.lh-rank-main { display:flex;align-items:center;gap:14px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.12); }
.lh-rank-number { font-size:52px;font-weight:900;line-height:.9;color:#facc15;letter-spacing:-2px; }
.lh-rank-number span { font-size:30px; }
.lh-rank-meta { display:flex;flex-direction:column;gap:4px; }
.lh-rank-title { font-size:11px;font-weight:700;letter-spacing:.8px;color:#94a3b8; }
.lh-rank-pts { font-size:18px;font-weight:700;color:#fff; }
.lh-rank-pts strong { font-size:22px;color:#4ade80; }
.lh-rank-stats { display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding-top:10px;text-align:center; }
.lh-rank-stats span { display:block;font-size:10px;color:#94a3b8;font-weight:700; }
.lh-rank-stats strong { font-size:14px;font-weight:800;color:#f8fafc; }
.lh-rank-stats strong.c-win { color:#4ade80; } .lh-rank-stats strong.c-loss { color:#f87171; }
.lh-match-card { background:var(--lh-bg-card);border:1px solid var(--lh-border);border-radius:14px;overflow:hidden;box-shadow:var(--lh-shadow); }
.lh-mc-header { background:var(--lh-bg-header);color:#f8fafc;padding:13px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px; }
.lh-mc-title { display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;flex-wrap:wrap; }
.lh-mc-dot { color:#64748b; } .lh-mc-date { color:#cbd5e1;font-weight:600; }
.lh-mc-badge { font-size:11px;font-weight:800;padding:4px 10px;border-radius:99px;letter-spacing:.4px;white-space:nowrap; }
.lh-mc-badge.upcoming { background:rgba(250,204,21,.16);color:#facc15; }
.lh-mc-badge.live { background:#dc2626;color:#fff;animation:lhPulse 1.4s infinite; }
.lh-mc-badge.finished { background:rgba(148,163,184,.2);color:#e2e8f0; }
@keyframes lhPulse { 0%,100%{opacity:1} 50%{opacity:.55} }
.lh-mc-body { display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:30px 24px; }
.lh-mc-team { display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:var(--lh-text);transition:transform .18s ease; }
.lh-mc-team:hover { transform:translateY(-3px); }
.lh-mc-logo { width:72px;height:72px;margin-bottom:10px;display:flex;align-items:center;justify-content:center; }
.lh-mc-logo img { width:100%;height:100%;object-fit:contain; }
.lh-mc-team-name { font-size:18px;font-weight:800;margin-bottom:3px; }
.lh-mc-team-rank { font-size:12px;font-weight:600;color:var(--lh-text-muted);background:var(--lh-bg-soft);padding:2px 10px;border-radius:99px;border:1px solid var(--lh-border); }
.lh-mc-center { display:flex;flex-direction:column;align-items:center;text-align:center;min-width:180px; }
.lh-mc-time-big { font-size:40px;font-weight:900;color:var(--lh-text);letter-spacing:-1px;line-height:1.05; }
.lh-mc-countdown { margin-top:8px;font-size:12px;font-weight:800;color:var(--lh-primary);background:rgba(225,29,72,.08);padding:5px 12px;border-radius:99px; }
.lh-mc-channel { margin-top:12px;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--lh-text-muted); }
.lh-mc-channel img { width:20px;height:20px;object-fit:contain;border-radius:4px; }
.lh-mc-footer { background:var(--lh-bg-soft);border-top:1px solid var(--lh-border);padding:14px 22px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px; }
.lh-mc-prev { display:flex;align-items:center;gap:12px;font-size:13px;flex-wrap:wrap; }
.lh-prev-label { font-size:11px;font-weight:800;color:var(--lh-text-muted);letter-spacing:.4px; }
.lh-prev-score { display:flex;align-items:center;gap:8px;font-weight:700;color:var(--lh-text); }
.lh-score-pill { background:var(--lh-bg-header);color:#fff;padding:3px 9px;border-radius:6px;font-size:13px; }
.lh-mc-actions { display:flex;gap:8px; }
.lh-btn-outline,.lh-btn-primary { font-size:12px;font-weight:700;padding:7px 14px;border-radius:8px;text-decoration:none;transition:opacity .15s; }
.lh-btn-outline { border:1px solid var(--lh-border);color:var(--lh-text);background:var(--lh-bg-card); }
.lh-btn-primary { background:var(--lh-primary);color:#fff; }
.lh-btn-outline:hover,.lh-btn-primary:hover { opacity:.88; }
@media (max-width:820px){
 .lh-team-hero{flex-direction:column;align-items:stretch}.lh-rank-showcase{min-width:0}.lh-mc-body{padding:22px 12px;gap:10px}.lh-mc-logo{width:52px;height:52px}.lh-mc-team-name{font-size:14px}.lh-mc-time-big{font-size:28px}.lh-mc-center{min-width:115px}.lh-mc-header{flex-direction:column;align-items:flex-start}.lh-mc-footer{flex-direction:column;align-items:flex-start}
}
