/* BETTLEHUB MPL — scoped components using the existing design tokens. */
.mpl-config{min-width:0;border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:12px;padding:23px;margin:5px 0 20px;background:#112036}
.mpl-config[hidden]{display:none!important}
.mpl-config legend{display:flex;gap:9px;align-items:center;padding:0 9px;color:var(--text);font-size:15px;font-weight:800}
.mpl-config>p{color:#a6bbd3;font-size:12px;line-height:1.8}
.mpl-rules-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 0}
.mpl-rules-summary>span:last-child{color:#c5d7ef;font-size:12px}
.mpl-event-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 23px}
.mpl-event-title h2{margin:7px 0 0;font-size:24px}
.mpl-shell{width:100%;min-width:0;background:#112036;border:1px solid #2e435e;border-radius:14px;overflow:hidden;margin:22px 0 28px}
.mpl-header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:25px 26px 20px;border-bottom:1px solid #283e58}
.mpl-header h2{font-size:24px;letter-spacing:-.035em;line-height:1.25;margin:8px 0 0;color:#f3f8ff}
.mpl-header>.badge{white-space:nowrap}
.mpl-progress{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:14px 26px;gap:12px;border-bottom:1px solid #293d55;background:#101d30}
.mpl-progress li{position:relative;min-width:0;padding:8px 0 8px 14px;font-size:11px;color:#829ab7;font-weight:700}
.mpl-progress li:before{position:absolute;content:"";left:0;top:13px;width:5px;height:5px;border-radius:50%;background:#41536d}
.mpl-progress li.is-current{color:#b8d8ff}
.mpl-progress li.is-current:before{background:#70b4ff}
.mpl-content{padding:24px;min-width:0}
.mpl-callout{padding:7px 2px}
.mpl-callout h3{font-size:22px;margin:0 0 12px}
.mpl-callout>p{max-width:760px;color:#a6bbd3;line-height:1.8;font-size:13px}
.mpl-callout>.text-link{margin-top:17px}
.mpl-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:650px;gap:12px;margin:24px 0}
.mpl-mini-stats>span{display:flex;flex-direction:column;gap:5px;padding:15px 17px;border:1px solid #30465f;background:#172a42;border-radius:10px;font-size:11px;color:#9db4cf}
.mpl-mini-stats strong{font-size:26px;line-height:1.2;font-weight:800;color:#eef6ff}
.mpl-tabs{display:flex;align-items:stretch;gap:8px;padding:15px 24px 0;overflow-x:auto}
.mpl-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #304761;background:#162840;color:#a2b8d3;padding:11px 16px;border-radius:9px;font-size:12px;font-weight:800;white-space:nowrap}
.mpl-tab:hover{background:#1b324f;color:#e5f2ff}
.mpl-tab.is-active{background:#234a76;border-color:#558ac5;color:#f5faff}
.mpl-tab .ico{width:16px;height:16px}
.mpl-summary{display:flex;justify-content:space-between;gap:16px;padding:0 0 19px;color:#8ea8c6;font-size:11px;line-height:1.6}
.mpl-summary strong{color:#d3e6ff;font-weight:800}
.mpl-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:4px 0 18px}
.mpl-section-head h3{font-size:19px;line-height:1.3;letter-spacing:-.025em;margin:0}
.mpl-section-head>span{color:#93a9c5;font-size:11px}
.mpl-standings{border:1px solid #2e435c;border-radius:10px}
.mpl-standings table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.mpl-standings th{background:#162942;font-size:10px;color:#96afcd;letter-spacing:.03em;white-space:nowrap}
.mpl-standings td,.mpl-standings th{padding:13px 12px;border-bottom:1px solid #293e57;text-align:left}
.mpl-standings td:not(:nth-child(2)),.mpl-standings th:not(:nth-child(2)){text-align:center}
.mpl-standings td:nth-child(2){min-width:180px;overflow-wrap:anywhere}
.mpl-standings tr:last-child td{border-bottom:0}
.mpl-row-bye{background:#19314d}
.mpl-row-qualified{background:#142940}
.mpl-row-bye td:first-child{box-shadow:inset 3px 0 #6aabf1}
.mpl-row-qualified td:first-child{box-shadow:inset 3px 0 #439d89}
.mpl-rank{display:inline-grid;place-items:center;min-width:29px;height:29px;border:1px solid #354f6d;border-radius:7px;color:#c7e0ff;font-weight:800}
.mpl-points{color:#d2e8ff;font-size:15px}
.mpl-footnote{color:#88a1bf;font-size:11px;line-height:1.8;margin:17px 0 2px}
.mpl-footnote .ico{width:14px;height:14px;color:#9ac5ff}
.mpl-round-filter{display:flex;gap:12px;align-items:end;margin:3px 0 20px}
.mpl-round-filter .field{width:210px;margin:0}
.mpl-fixtures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.mpl-match{min-width:0;border:1px solid #304862;border-radius:11px;background:#14253c;overflow:hidden}
.mpl-match-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;background:#192e48;border-bottom:1px solid #2b415c}
.mpl-match-top>span:first-child{font-size:10px;color:#a1bad8;font-weight:800}
.mpl-match-top .badge{font-size:9px;padding:3px 7px}
.mpl-match-teams{padding:9px 14px}
.mpl-side{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;color:#9fb5d1}
.mpl-side+.mpl-side{border-top:1px solid #243d57}
.mpl-side strong{font-size:13px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}
.mpl-side b{display:inline-grid;place-items:center;min-width:28px;height:28px;background:#1c3552;border:1px solid #344f6d;border-radius:6px;color:#bed5f2;font-size:13px}
.mpl-side.is-winner{color:#edf7ff}
.mpl-side.is-winner b{background:#265485;border-color:#4a83bf;color:#fff}
.mpl-match-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 13px;padding:11px 14px;border-top:1px solid #293f59;color:#819fbe;font-size:10px}
.mpl-match-meta a{color:#a0cbff;font-weight:700}
.mpl-match-meta .ico{width:12px;height:12px}
.mpl-edit{border-top:1px solid #2e425c}
.mpl-edit summary{display:flex;gap:7px;align-items:center;padding:12px 14px;color:#b7d7fb;font-size:11px;font-weight:700;cursor:pointer}
.mpl-edit summary .ico{width:14px;height:14px}
.mpl-edit[open] summary{background:#172d47}
.mpl-edit-grid{display:grid;grid-template-columns:1fr;gap:20px;padding:16px}
.mpl-edit-grid h4{font-size:12px;margin:0;color:#d2e5fc}
.mpl-edit-grid .form-stack{gap:12px}
.mpl-edit-grid .field>span{font-size:10px}
.mpl-edit-grid input,.mpl-edit-grid select,.mpl-edit-grid textarea{font-size:12px;min-height:38px}
.mpl-edit-grid .minor{font-size:10px;line-height:1.7;margin:0}
.mpl-readonly{padding:12px;border:1px dashed #35506d;border-radius:8px}
.mpl-readonly strong{font-size:12px;color:#bed3ed}
.mpl-readonly p{font-size:11px;color:#8ba5c4;margin:7px 0 0;line-height:1.7}
.mpl-bracket{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px;overflow-x:auto;padding:0 0 10px;align-items:start}
.mpl-bracket-column{display:flex;flex-direction:column;gap:12px;min-width:0}
.mpl-bracket-column>h4{margin:0;font-size:10px;font-weight:800;letter-spacing:.08em;color:#8baacb;text-transform:uppercase}
.mpl-bracket .mpl-match-top{padding:11px}
.mpl-lower-bracket{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:650px;gap:14px;margin:20px 0 0;padding:20px 0 0;border-top:1px solid #2c425d}
.mpl-finalize{padding:23px;margin-top:25px;border:1px solid #3b5879;border-radius:12px;background:#172c45}
.mpl-finalize .mpl-section-head .eyebrow{margin-bottom:7px}
.mpl-finalize>p{font-size:12px;line-height:1.8;color:#9cb5d1}
.mpl-blockers{margin:0 0 18px;padding-left:20px;color:#e8c384;font-size:12px;line-height:1.9}
.mpl-seed-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:19px 0}
.mpl-seed-preview>div{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #365373;border-radius:9px;background:#19334f;min-width:0}
.mpl-seed-preview span{font-size:9px;letter-spacing:.12em;color:#7eb7f5;font-weight:800}
.mpl-seed-preview strong{font-size:13px;line-height:1.4;color:#edf6ff;overflow-wrap:anywhere}
.mpl-seed-preview small{font-size:10px;color:#91adce}
.mpl-tie{padding:0;border:1px solid #725c38;background:#2a2b2d;border-radius:9px;margin:13px 0}
.mpl-tie>summary{padding:14px;cursor:pointer;font-size:12px;font-weight:800;color:#efcb91}
.mpl-tie>summary .ico{width:15px;height:15px}
.mpl-tie>form{padding:0 16px 17px}
.mpl-tie p{font-size:12px;color:#c7b89f;line-height:1.7}
.mpl-champion{display:flex;gap:15px;align-items:center;padding:22px 25px;background:#193b53;border-bottom:1px solid #426a85}
.mpl-champion>.ico{width:32px;height:32px;color:#b7ddff}
.mpl-champion>div{display:flex;flex-direction:column;gap:6px}
.mpl-champion span{font-size:9px;font-weight:800;color:#8ebbdc;letter-spacing:.13em}
.mpl-champion strong{font-size:24px;line-height:1.25;color:#eff8ff;overflow-wrap:anywhere}
@media(max-width:980px){.mpl-bracket{grid-template-columns:repeat(4,240px)}.mpl-fixtures{grid-template-columns:1fr}.mpl-summary{flex-direction:column;gap:6px}}
@media(max-width:640px){.mpl-header{padding:20px 16px;align-items:start}.mpl-header h2{font-size:21px}.mpl-header>.badge{font-size:9px}.mpl-progress{padding:10px 16px;gap:7px}.mpl-progress li{font-size:9px;padding-left:10px}.mpl-tabs{padding:13px 14px 0;gap:6px}.mpl-tab{padding:10px 12px;font-size:11px}.mpl-content{padding:18px 14px}.mpl-event-title{align-items:start;flex-direction:column}.mpl-event-title h2{font-size:21px}.mpl-mini-stats{gap:8px}.mpl-mini-stats>span{padding:12px 10px;font-size:9px}.mpl-mini-stats strong{font-size:22px}.mpl-section-head{align-items:start;flex-direction:column;gap:7px}.mpl-section-head h3{font-size:18px}.mpl-round-filter .field{width:auto;flex:1}.mpl-bracket{grid-template-columns:1fr;overflow:visible;gap:22px}.mpl-lower-bracket{grid-template-columns:1fr;gap:22px}.mpl-finalize{padding:18px 13px}.mpl-seed-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.mpl-finalize .btn{width:100%}.mpl-config{padding:18px 14px}.mpl-config .form-grid{grid-template-columns:1fr}.mpl-champion{padding:19px 16px}.mpl-champion strong{font-size:21px}}
