/* LEAGUE <M> — black + gold, pitch-line motif, mobile-first. */
:root { --lm-brand: #b8860b; --lm-gold: #e6c14a; --lm-ink: #16182a; --lm-paper: #efe9df; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.lm-body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--lm-ink); min-height: 100vh;
  background: repeating-linear-gradient(90deg,#0c1810 0,#0c1810 60px,#0f1f14 60px,#0f1f14 120px);
  -webkit-font-smoothing: antialiased;
}
.lm-pitch-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5; }
.lm-pitch-bg svg { width: 100%; height: 100%; }

.lm-topbar { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.97); border-bottom: 1px solid rgba(184,134,11,.28); }
.lm-topbar-in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.lm-logo { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
.lm-logo-badge { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px; background: var(--lm-brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 12px; color: #fff; }

.lm-wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 16px 60px; }

.lm-hero { padding: 64px 0 30px; }
.lm-hero h1 { font-weight: 900; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 18px; color: #fff; }
.lm-gold { color: var(--lm-gold); }
.lm-lead { font-size: 18px; line-height: 1.6; color: #c7c2b4; max-width: 520px; margin: 0 0 28px; }
.lm-pill { display: inline-flex; gap: 7px; background: rgba(255,255,255,.08); border: 1px solid rgba(212,175,55,.35); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #e8dcc0; margin-bottom: 22px; }
.lm-stats { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.lm-stats b { display: block; font-weight: 900; font-size: 26px; color: #fff; }
.lm-stats span { font-size: 13px; color: #a8a291; font-weight: 600; }

.lm-btn { background: var(--lm-brand); color: #fff; border: none; padding: 13px 22px; border-radius: 12px; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
.lm-btn:hover { filter: brightness(1.08); }
.lm-btn-lg { padding: 15px 26px; font-size: 16px; box-shadow: 0 8px 20px rgba(184,134,11,.3); }
.lm-btn-ghost { background: #fff; color: var(--lm-ink); border: 1px solid #ddd6c8; }
.lm-btn-green { background: #16a34a; box-shadow: 0 8px 18px rgba(22,163,74,.3); }
.lm-grow { flex: 1; }
.lm-link { background: none; border: none; color: #c7c2b4; text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; }

.lm-resend { margin-top: 26px; }
.lm-resend input { padding: 11px 13px; border: 1px solid #ddd6c8; border-radius: 10px; font-size: 14px; margin-right: 8px; }
#lm-resend-form { margin-top: 10px; }

.lm-card { background: #fff; border: 1px solid #e6e0d3; border-radius: 20px; padding: 26px; box-shadow: 0 12px 34px rgba(40,34,20,.07); }
.lm-card-dark { background: var(--lm-ink); border-radius: 20px; padding: 20px; box-shadow: 0 18px 44px rgba(20,17,10,.28); }

.lm-wizard { padding: 20px 0 40px; }
.lm-wizard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; align-items: start; }
.lm-dots { display: flex; gap: 5px; margin-bottom: 20px; }
.lm-dots i { height: 5px; flex: 1; border-radius: 4px; background: #eee6d6; }
.lm-dots i.on { background: var(--lm-brand); }
.lm-step-tag { font-size: 12px; font-weight: 800; color: #f97316; text-transform: uppercase; letter-spacing: .7px; }
.lm-form h2 { font-weight: 900; font-size: 26px; letter-spacing: -.6px; margin: 4px 0 4px; }
.lm-hint { color: #7a7263; margin: 0 0 22px; font-size: 14px; }
.lm-nav { display: flex; gap: 10px; margin-top: 26px; }
.lm-error { color: #b91c1c; font-weight: 700; margin-top: 12px; }
.lm-note { font-size: 13px; color: #6b6355; margin-top: 8px; }

.lm-field { display: block; font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.lm-field input, .lm-field select { display: block; width: 100%; margin-top: 6px; padding: 13px; border: 1px solid #ddd6c8; border-radius: 11px; font-size: 15px; font-family: inherit; background: #fff; }
.lm-range { width: 100%; accent-color: var(--lm-brand); }
.lm-range-val { color: #f97316; font-weight: 900; font-size: 20px; }
.lm-chiprow { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.lm-chip { border: 1px solid #ddd6c8; background: #fff; padding: 9px 15px; border-radius: 10px; font-weight: 800; font-size: 14px; cursor: pointer; }
.lm-chip.on { background: var(--lm-brand); color: #fff; border-color: var(--lm-brand); }
.lm-opt { display: block; width: 100%; text-align: left; border: 1px solid #ddd6c8; background: #fff; border-radius: 13px; padding: 14px 16px; cursor: pointer; margin-bottom: 10px; font-family: inherit; }
.lm-opt.on { border-color: var(--lm-brand); background: #fdf7ea; }
.lm-opt b { display: block; font-size: 15px; }
.lm-opt span { font-size: 13px; color: #6b6355; }
.lm-check { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; cursor: pointer; margin: 10px 0; }
.lm-check input { width: 18px; height: 18px; accent-color: var(--lm-brand); }
.lm-infobox { background: #f7f4ec; border-radius: 11px; padding: 12px 14px; font-size: 13px; color: #6b6355; margin-top: 12px; }
.lm-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.lm-preview { position: sticky; top: 70px; }
.lm-preview-head { display: flex; justify-content: space-between; align-items: center; }
.lm-preview-head span { color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; opacity: .85; }
.lm-preview-head em { font-style: normal; font-size: 11px; font-weight: 700; color: #7ee2a8; background: rgba(22,163,74,.18); padding: 3px 8px; border-radius: 6px; }
.lm-preview-name { color: #fff; font-weight: 900; font-size: 20px; letter-spacing: -.4px; margin-top: 8px; }
.lm-preview-meta { color: #a7a08f; font-size: 13px; margin-bottom: 16px; }
.lm-preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.lm-preview-stats > div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 11px; text-align: center; }
.lm-preview-stats b { color: #fff; font-weight: 900; font-size: 22px; display: block; }
.lm-preview-stats span { color: #948d7d; font-size: 11px; font-weight: 600; }
.lm-preview-label { color: #7f7869; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.lm-preview-list { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow: auto; }
.lm-preview-list > div { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.05); border-radius: 10px; padding: 9px 11px; }
.lm-preview-list .t { font-weight: 800; color: #ffb877; font-size: 12px; width: 42px; flex-shrink: 0; }
.lm-preview-list .l { flex: 1; color: #e8e3d6; font-size: 13px; font-weight: 600; }
.lm-preview-list .g { font-size: 10px; font-weight: 700; color: #8f8878; background: rgba(255,255,255,.06); padding: 3px 7px; border-radius: 6px; }
.lm-preview-ok { margin-top: 14px; background: rgba(184,134,11,.14); border: 1px solid rgba(184,134,11,.3); border-radius: 11px; padding: 11px 13px; color: #ecd9a8; font-size: 12px; line-height: 1.5; }

.lm-modal { position: fixed; inset: 0; z-index: 80; background: rgba(16,14,8,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lm-modal-card { background: #fff; border-radius: 22px; padding: 34px; max-width: 420px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.lm-modal-icon { width: 60px; height: 60px; border-radius: 50%; background: #e7f8ee; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 16px; }
.lm-modal-card h3 { font-weight: 900; font-size: 22px; margin: 0 0 8px; }
.lm-modal-card p { color: #6b6355; line-height: 1.6; margin: 0 0 20px; }
.lm-modal-card .lm-btn { width: 100%; }

@media (max-width: 720px) {
  .lm-hero { padding: 40px 0 20px; }
  .lm-preview { position: static; }
}

/* ---------- Dashboard (M4) ---------- */
.lm-dash { padding-top: 22px; }
.lm-dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.lm-dash-head h2 { color: #fff; font-weight: 900; font-size: 26px; letter-spacing: -.6px; margin: 2px 0 0; }
.lm-dash-meta { color: #a8a291; font-size: 14px; }
.lm-dash-actions { display: flex; gap: 8px; align-items: center; }
.lm-badge-live { display: inline-flex; align-items: center; gap: 7px; background: #e7f8ee; color: #15803d; font-weight: 800; font-size: 13px; padding: 9px 14px; border-radius: 11px; }
.lm-tabs { display: flex; gap: 6px; background: #fff; border: 1px solid #e6e0d3; border-radius: 14px; padding: 5px; margin-bottom: 18px; overflow-x: auto; }
.lm-tabs button { border: none; background: transparent; padding: 10px 16px; border-radius: 10px; font-weight: 800; font-size: 14px; cursor: pointer; color: #6b6355; white-space: nowrap; font-family: inherit; }
.lm-tabs button.on { background: var(--lm-brand); color: #fff; }
.lm-groups-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.lm-ghead { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 12px; }
.lm-gbadge { width: 26px; height: 26px; border-radius: 8px; background: var(--lm-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; }
.lm-teamrow { display: flex; align-items: center; gap: 8px; background: #f7f4ec; border-radius: 10px; padding: 7px 9px; margin-bottom: 8px; }
.lm-teamrow input { flex: 1; border: none; background: transparent; font-weight: 700; font-size: 14px; outline: none; font-family: inherit; min-width: 0; }
.lm-teamrow select { border: 1px solid #ddd6c8; border-radius: 8px; padding: 5px 7px; font-weight: 700; font-size: 12px; background: #fff; font-family: inherit; }
.lm-pay { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.lm-pay-paid { background: #e7f8ee; color: #15803d; }
.lm-pay-pending { background: #fff2e3; color: #c2560c; }
.lm-pay-unpaid { background: #fdeaea; color: #b91c1c; }
.lm-pay-na { background: #efeadf; color: #8a8272; }
.lm-pitchbar { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lm-pitchchip { background: #fff2e3; color: #c2560c; font-weight: 800; font-size: 13px; padding: 7px 13px; border-radius: 9px; border: 1px solid transparent; width: 130px; font-family: inherit; margin-right: 6px; }
.lm-pitchchip:focus { border-color: #c2560c; outline: none; background: #fff; }
.lm-card-title { display: block; font-weight: 800; margin-bottom: 14px; }
.lm-card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.lm-card-title-row .lm-btn { padding: 9px 14px; font-size: 13px; }
.lm-fixlist { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; max-height: 480px; overflow: auto; }
.lm-fixrow { display: flex; align-items: center; gap: 10px; background: #f7f4ec; border-radius: 10px; padding: 9px 11px; flex-wrap: wrap; }
.lm-fixtime { font-weight: 800; color: #c2560c; font-size: 12px; min-width: 110px; }
.lm-fixlabel { flex: 1; font-size: 14px; font-weight: 600; min-width: 160px; }
.lm-fixtag { font-size: 10px; font-weight: 700; color: #8f8878; background: #efeadf; padding: 3px 7px; border-radius: 6px; }
.lm-fixedit { display: flex; gap: 6px; align-items: center; width: 100%; margin-top: 6px; }
.lm-fixedit input, .lm-fixedit select { border: 1px solid #ddd6c8; border-radius: 8px; padding: 6px 8px; font-size: 12px; font-family: inherit; background: #fff; }
.lm-center-note { text-align: center; color: #6b6355; }
.lm-btn-wa { background: #25d366; display: block; margin-bottom: 10px; }
.lm-btn-dark { background: var(--lm-ink); display: block; width: 100%; }
#lmd-tab-settings .lm-btn { width: 100%; margin-bottom: 10px; box-sizing: border-box; }
.lm-tourrow { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px; background: #f7f4ec; border-radius: 10px; margin-bottom: 8px; text-decoration: none; color: inherit; }
.lm-tourrow b { font-size: 14px; }
.lm-tourrow span { font-size: 12px; color: #8a8272; }
.lm-chip.on { background: var(--lm-brand); color: #fff; }
.lm-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #16182a; color: #fff; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 11px; z-index: 99; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.lm-toast.err { background: #b91c1c; }

/* ---------- Match Day (M5) ---------- */
@keyframes lm-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
.lm-live-hero { position: relative; background: linear-gradient(135deg,#161616,#0a0a0a); border-radius: 18px; padding: 18px 20px; margin-bottom: 16px; border: 1px solid rgba(184,134,11,.25); }
.lm-live-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.lm-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; animation: lm-pulse 1.1s infinite; }
.lm-live-tag { color: #ff9a9a; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.lm-live-pitch { color: #bcd8c6; font-size: 12px; margin-left: auto; }
.lm-live-row { display: flex; align-items: center; justify-content: space-between; }
.lm-live-team { color: #fff; font-weight: 800; font-size: 18px; flex: 1; }
.lm-live-score { color: #fff; font-weight: 900; font-size: 34px; letter-spacing: 2px; padding: 0 16px; }
.lm-right { text-align: right; }
.lm-md-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.lm-mdcard.live { border-color: #ef4444; box-shadow: 0 0 0 2px rgba(239,68,68,.18); }
.lm-md-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: #8a8272; margin-bottom: 10px; }
.lm-md-live { color: #ef4444; font-weight: 800; }
.lm-md-ft { color: #15803d; font-weight: 800; }
.lm-md-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lm-md-team { font-weight: 800; font-size: 15px; flex: 1; min-width: 0; }
.lm-md-score { font-weight: 900; font-size: 26px; letter-spacing: 1px; white-space: nowrap; }
.lm-md-start, .lm-md-ftbtn, .lm-md-reopen { width: 100%; box-sizing: border-box; }
.lm-md-start:disabled { opacity: .45; cursor: not-allowed; }
.lm-md-btnrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.lm-scorebtns { display: flex; gap: 6px; }
.lm-sc-dec { width: 48px; height: 48px; border-radius: 11px; border: 1px solid #e0d8c8; background: #fff; font-size: 22px; font-weight: 800; cursor: pointer; color: #c2560c; }
.lm-sc-inc { flex: 1; height: 48px; border-radius: 11px; border: none; background: #fdf3dd; color: var(--lm-brand); font-size: 24px; font-weight: 900; cursor: pointer; }
.lm-sc-inc:active, .lm-sc-dec:active { transform: scale(.96); }
/* ---------- Standings tab (M5) ---------- */
.lm-standtbl { font-size: 13px; }
.lm-strow { display: grid; grid-template-columns: 24px 1fr 34px 52px 36px 36px; gap: 4px; padding: 8px 4px; border-top: 1px solid #f0ebe0; align-items: center; }
.lm-sthead { font-size: 11px; font-weight: 800; color: #948b78; text-transform: uppercase; letter-spacing: .3px; border-top: none; }
.lm-strow span:nth-child(1) { font-weight: 800; color: #b3a992; }
.lm-strow span:nth-child(2) { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-strow span:nth-child(n+3) { text-align: center; color: #6b6355; }
.lm-stpts { font-weight: 900 !important; color: #16182a !important; }

/* ---------- Final Round / bracket (M6) ---------- */
.lm-final-gate { text-align: center; padding: 34px; }
.lm-final-icon { font-size: 38px; margin-bottom: 10px; }
.lm-final-gate h3 { font-weight: 900; font-size: 20px; margin: 0 0 6px; }
.lm-final-gate p { color: #6b6355; max-width: 420px; margin: 0 auto 16px; line-height: 1.6; }
.lm-final-adv { display: flex; gap: 18px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.lm-bracket { display: flex; align-items: stretch; gap: 18px; overflow-x: auto; padding: 4px 0 10px; }
.lm-bk-col { display: flex; flex-direction: column; justify-content: space-around; gap: 14px; min-width: 200px; }
.lm-bk-colname { font-size: 11px; font-weight: 800; color: #cfc6b6; text-transform: uppercase; letter-spacing: .6px; text-align: center; }
.lm-bk-card { background: #fff; border: 1px solid #e6e0d3; border-radius: 13px; overflow: hidden; }
.lm-bk-card.live { border-color: #ef4444; box-shadow: 0 0 0 2px rgba(239,68,68,.18); }
.lm-bk-head { font-size: 10px; font-weight: 800; color: #8a8272; background: #f7f4ec; padding: 6px 11px; border-bottom: 1px solid #ece6d9; }
.lm-bk-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; border-top: 1px solid #f4f0e6; }
.lm-bk-row.win { background: #f3faf3; }
.lm-bk-row.win .lm-bk-name { font-weight: 900; }
.lm-bk-name { font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-bk-score { font-weight: 900; font-size: 15px; margin-left: 8px; }
.lm-bk-champ { display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(150deg,#1f2138,#33254a); border-radius: 16px; padding: 20px 22px; min-width: 170px; text-align: center; }
.lm-bk-trophy { font-size: 30px; margin-bottom: 8px; }
.lm-bk-champlbl { font-size: 10px; font-weight: 800; color: #ffce8a; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.lm-bk-champname { color: #fff; font-weight: 900; font-size: 17px; }
.lm-third { margin-top: 16px; max-width: 240px; }
.lm-third .lm-preview-label { color: #cfc6b6; }
/* ---------- Players / stats (M6) ---------- */
.lm-plrow { display: flex; align-items: center; gap: 10px; background: #f7f4ec; border-radius: 10px; padding: 9px 12px; margin-bottom: 6px; flex-wrap: wrap; }
.lm-pl-name { font-weight: 700; font-size: 14px; }
.lm-pl-team { font-size: 12px; color: #8a8272; flex: 1; }
.lm-plrow b { font-weight: 900; color: #c2560c; }
.lm-pl-stat { font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.lm-statbtns button { width: 26px; height: 26px; border-radius: 7px; border: 1px solid #ddd6c8; background: #fff; font-weight: 800; cursor: pointer; margin-left: 2px; }
.lm-pl-del { border: 1px solid #e6c9c9; background: #fff; color: #b91c1c; border-radius: 7px; width: 26px; height: 26px; font-weight: 800; cursor: pointer; margin-left: auto; }
.lm-pl-manage .lm-pl-name { flex: 1; }
.lm-pl-add { display: flex; gap: 8px; margin-top: 10px; }
.lm-pl-add input { flex: 1; border: 1px solid #ddd6c8; border-radius: 10px; padding: 11px 13px; font-size: 14px; font-family: inherit; }
#lmd-pl-team { border: 1px solid #ddd6c8; border-radius: 9px; padding: 7px 10px; font-weight: 700; font-family: inherit; background: #fff; }
.lm-cb-input { display: block; width: 100%; border: 1px solid #ddd6c8; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: inherit; margin-bottom: 8px; box-sizing: border-box; resize: vertical; }

/* ---------- Public view (M7) ---------- */
.lm-pubwrap { max-width: 720px; padding-top: 20px; }
.lm-pub-card { margin-bottom: 14px; padding: 16px; }
.lm-pub-hero { position: relative; background: linear-gradient(135deg,#161616,#0a0a0a); border-radius: 20px; padding: 22px; margin-bottom: 14px; border: 1px solid rgba(184,134,11,.25); }
.lm-pub-hero-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lm-pub-hero-mid { flex: 1; min-width: 0; }
.lm-pub-title { color: #fff; font-weight: 900; font-size: 18px; letter-spacing: -.3px; line-height: 1.15; }
.lm-pub-meta { color: #9b9384; font-size: 12px; }
.lm-pub-auto { font-size: 11px; font-weight: 700; color: #7ee2a8; background: rgba(22,163,74,.16); padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.lm-pub-share { width: 100%; box-sizing: border-box; margin-bottom: 0; }
.lm-pub-live { background: linear-gradient(135deg,#ef4444,#dc2626); border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; box-shadow: 0 10px 26px rgba(220,38,38,.28); }
.lm-pub-live-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.lm-pub-live .lm-live-dot { background: #fff; }
.lm-pub-live-tag { color: #fff; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.lm-pub-live-pitch { color: rgba(255,255,255,.8); font-size: 12px; margin-left: auto; }
.lm-pub-live .lm-live-team { font-size: 16px; }
.lm-pub-live .lm-live-score { font-size: 30px; }
.lm-pub-champ { display: flex; align-items: center; gap: 10px; background: linear-gradient(150deg,#1f2138,#33254a); border-radius: 14px; padding: 14px 18px; margin-bottom: 14px; color: #fff; }
.lm-pub-champ-ico { font-size: 24px; }
.lm-pub-champ-lbl { font-size: 10px; font-weight: 800; color: #ffce8a; letter-spacing: 1px; }
.lm-pub-champ b { font-weight: 900; font-size: 17px; }
.lm-pub-champ-mini { display: inline-flex; gap: 6px; background: #1f2138; color: #ffce8a; font-weight: 800; font-size: 12px; padding: 6px 11px; border-radius: 8px; }
.lm-clickable { cursor: pointer; }
.lm-clickable:hover { background: #faf7f0; }
.lm-info-i { font-style: normal; font-size: 10px; color: #c7bfae; }
.lm-pub-teams-gh { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13px; color: #6b6355; margin: 12px 0 8px; }
.lm-gbadge.sm { width: 20px; height: 20px; font-size: 11px; border-radius: 6px; }
.lm-pub-teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.lm-pub-teamcard { display: flex; align-items: center; gap: 10px; background: #f7f4ec; border-radius: 11px; padding: 10px 12px; }
.lm-pub-team-ini { width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid #e6ddcb; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; color: #c2560c; flex-shrink: 0; }
.lm-pub-team-ini.big { width: 54px; height: 54px; font-size: 22px; margin: 0 auto 10px; display: flex; }
.lm-pub-team-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lm-pub-team-mid b { font-size: 14px; line-height: 1.15; }
.lm-pub-team-mid span { font-size: 11px; color: #8a8272; }
.lm-pub-sponsor { background: linear-gradient(140deg,#fff,#faf5ec); border-color: #ecd9b8; }
.lm-pub-sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.lm-pub-sp { background: #fff; border: 1px solid #eaddbd; border-radius: 12px; padding: 14px 10px; text-align: center; }
.lm-pub-sp-name { font-weight: 700; font-size: 12px; color: #4d4638; }
.lm-pub-sp-tier { font-size: 10px; font-weight: 800; color: #c2560c; text-transform: uppercase; letter-spacing: .4px; margin-top: 2px; }
.lm-pub-sp-cta { display: flex; align-items: center; gap: 12px; background: #16182a; border-radius: 12px; padding: 14px 16px; flex-wrap: wrap; }
.lm-pub-sp-cta span { color: #fff; font-weight: 800; font-size: 14px; flex: 1; min-width: 140px; }
.lm-pub-sp-cta .lm-btn { margin: 0; width: auto; padding: 10px 16px; font-size: 13px; }
.lm-pub-block { font-size: 14px; line-height: 1.6; }
.lm-pub-result { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 9px 4px; border-top: 1px solid #f0ebe0; }
.lm-pub-rteam { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-pub-rteam.win { font-weight: 900; }
.lm-pub-rscore { font-weight: 900; font-size: 15px; background: #f4f0e6; padding: 4px 11px; border-radius: 8px; letter-spacing: 1px; white-space: nowrap; }
.lm-pub-up { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-top: 1px solid #f0ebe0; }
.lm-pub-up-label { font-weight: 600; font-size: 14px; }
.lm-pub-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.lm-dark-colname { color: #8a8272 !important; }
.lm-pub-loading { text-align: center; color: #c7c2b4; padding: 60px 0; font-weight: 700; }
.lm-team-modal { position: relative; max-width: 460px; width: 100%; max-height: 86vh; overflow: auto; text-align: left; }
.lm-team-modal h3 { text-align: center; }
.lm-tm-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 9px; border: none; background: #f0ebe0; font-size: 15px; cursor: pointer; }
.lm-tm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.lm-tm-stat { background: #f7f4ec; border-radius: 11px; padding: 9px; text-align: center; }
.lm-tm-stat b { display: block; font-weight: 900; font-size: 17px; }
.lm-tm-stat span { font-size: 10px; font-weight: 700; color: #8a8272; }
.lm-tm-sub { font-size: 12px; font-weight: 800; color: #6b6355; text-transform: uppercase; letter-spacing: .4px; margin: 14px 0 8px; }
.lm-list-embed .lm-tourrow { border: 1px solid #e6e0d3; background: #fff; }

/* ---------- Registration (M8) ---------- */
.lm-regwrap { max-width: 560px; padding-top: 26px; }
.lm-reg-card h2 { font-weight: 900; font-size: 24px; letter-spacing: -.5px; margin: 3px 0 4px; }
.lm-reg-plrow { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr 32px; gap: 6px; margin-bottom: 6px; align-items: center; }
.lm-reg-plrow input { border: 1px solid #ddd6c8; border-radius: 9px; padding: 9px 10px; font-size: 13px; font-family: inherit; min-width: 0; }
.lm-reg-fee { background: #f7f4ec; border-radius: 14px; padding: 16px; margin-top: 16px; }
.lm-reg-fee-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.lm-reg-fee-row b { font-weight: 900; font-size: 22px; }
.lm-reg-submit { width: 100%; margin-top: 16px; box-sizing: border-box; }
.lm-reg-done { text-align: center; padding: 20px 0; }
.lm-markpaid { font-size: 11px; font-weight: 700; background: #16182a; color: #fff; border: none; padding: 5px 9px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
