/* MINIONS FC Management v0.11.0 — shared modern layer (navy / blue / gold) */
:root{--mfc-navy:#07152b;--mfc-navy2:#102b52;--mfc-blue:#2167ff;--mfc-indigo:#4939e8;--mfc-gold:#ffd05c;--mfc-ink:#10264b;--mfc-line:#dce6f6;--mfc-soft:#eef4ff}

/* Role badge — used on profiles, lists, ranking and widgets */
.mfc-role-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;margin-left:6px;border-radius:999px;font:800 10px/1.5 system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;vertical-align:middle;border:1px solid transparent}
.mfc-role-badge.is-admin{background:linear-gradient(110deg,#ffd05c,#f3a800);color:#2b1d00;box-shadow:0 2px 8px rgba(243,168,0,.35)}
.mfc-role-badge.is-admin:before{content:"★"}
.mfc-role-badge.is-player{background:#e6f0ff;color:#1b4fc4;border-color:#cfe0ff}
.mfc-role-badge.is-staff{background:#ece9ff;color:#4330b8;border-color:#d9d3ff}

/* Plugin pages recoloured to the site palette (were purple / indigo) */
.mfc-fixtures-hero{background:radial-gradient(ellipse at 85% 0,rgba(33,103,255,.45),transparent 45%),linear-gradient(120deg,#07152b,#143a73)!important;box-shadow:0 18px 40px rgba(7,21,43,.25)!important}
.mfc-fixtures-eyebrow{color:var(--mfc-gold)!important;opacity:1!important}
.mfc-comps-hero{background:radial-gradient(circle at 90% 0,rgba(33,103,255,.5) 0,transparent 38%),linear-gradient(125deg,#07152b,#143a73)!important}
.mfc-comps-hero .mfc-kicker{color:var(--mfc-gold)!important}
.mfc-detail-tabs button:hover{background:var(--mfc-soft)!important;color:#1b4fc4!important}
.mfc-detail-tabs button[aria-selected="true"]{background:linear-gradient(120deg,var(--mfc-blue),var(--mfc-indigo))!important;box-shadow:0 6px 16px rgba(33,103,255,.32)!important}
.mfc-fixtures thead th,.mfc-ranking thead th{background:linear-gradient(100deg,#07152b,#132b50)!important;color:#fff!important}
.mfc-fixtures tbody tr:hover td,.mfc-ranking tbody tr:hover td{background:#f0f6ff!important}
.mfc-fixture-status.is-completed{background:#e3f6ec!important;color:#12724a!important}
.mfc-fixture-status.is-pending{background:#fff4d6!important;color:#8a5a00!important}
.mfc-comp-card{transition:transform .2s ease,box-shadow .2s ease}.mfc-comp-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(20,48,100,.14)}
.mfc-directory-profile-link{transition:transform .18s ease}.mfc-directory-profile-link:hover{transform:translateX(3px)}

/* ---------- Widgets ---------- */
.mfc-w{--r:16px;color:#17233d;font-size:14px;line-height:1.5}
.mfc-w *{box-sizing:border-box}
.mfc-w a{color:inherit;text-decoration:none}
.mfc-w-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:0 0 auto;border:2px solid #fff;box-shadow:0 2px 8px rgba(7,21,43,.18)}
.mfc-w-empty{margin:0;padding:18px;text-align:center;color:#6a7a96;background:var(--mfc-soft);border-radius:12px}
.mfc-w-sub{margin:14px 0 8px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--mfc-blue)}
.mfc-w-sub:first-child{margin-top:0}
.mfc-w-more{display:inline-flex;margin-top:12px;font-weight:750;color:#2054c9!important;transition:transform .18s ease}.mfc-w-more:hover{transform:translateX(4px)}
.mfc-w-p{display:inline-flex;align-items:center;gap:8px;min-width:0}.mfc-w-pn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650}.mfc-w-pn a:hover{color:var(--mfc-blue)}
.mfc-w-comp{display:inline-block;padding:2px 9px;border-radius:999px;background:var(--mfc-soft);color:#1b4fc4;font-size:11px;font-weight:750}
.mfc-w-comp-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#e8f0ff,#d6e4ff);font-size:20px;flex:0 0 auto}

.mfc-w-match{padding:12px 14px;margin-bottom:10px;background:#fff;border:1px solid var(--mfc-line);border-radius:14px;transition:transform .18s ease,box-shadow .18s ease}
.mfc-w-match:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(20,48,100,.1)}
.mfc-w-matchhead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.mfc-w-matchhead time{font-size:11px;color:#6a7a96}
.mfc-w-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}.mfc-w-teams .mfc-w-p:last-child{justify-self:end;flex-direction:row-reverse;text-align:right}
.mfc-w-score{padding:5px 12px;border-radius:10px;background:var(--mfc-navy);color:var(--mfc-gold);font-size:15px;letter-spacing:.04em;white-space:nowrap}
.mfc-w-match:not(.is-done) .mfc-w-score{background:var(--mfc-soft);color:#1b4fc4}

.mfc-w-comphead{display:flex;align-items:center;gap:12px;margin-bottom:12px}.mfc-w-comphead strong{display:block;font-size:16px;color:var(--mfc-ink)}.mfc-w-comphead small{color:#6a7a96}
.mfc-w-tablewrap{overflow-x:auto;border:1px solid var(--mfc-line);border-radius:14px;background:#fff}
.mfc-w-table{width:100%;border-collapse:collapse;min-width:280px}
.mfc-w-table th{background:linear-gradient(100deg,#07152b,#132b50);color:#fff;font-size:11px;letter-spacing:.06em;text-align:center;padding:10px 6px}.mfc-w-table th:nth-child(2){text-align:left}
.mfc-w-table td{padding:9px 6px;text-align:center;border-bottom:1px solid #e9eff9}.mfc-w-table td:nth-child(2){text-align:left}.mfc-w-table tr:last-child td{border-bottom:0}
.mfc-w-table tbody tr:hover{background:#f0f6ff}.mfc-w-table tr.is-top td:first-child .mfc-w-rank{background:var(--mfc-gold);color:#3a2a00}
.mfc-w-rank{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e5eeff;color:#2455cb;font-weight:800;font-size:12px}

.mfc-w-compgrid{display:grid;gap:10px}
.mfc-w-compcard{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:1px solid var(--mfc-line);border-radius:14px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.mfc-w-compcard:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(20,48,100,.1);border-color:#9ab8f6}
.mfc-w-compbody{flex:1;min-width:0}.mfc-w-compbody strong{display:block;color:var(--mfc-ink)}.mfc-w-compbody small,.mfc-w-compmeta small{display:block;color:#6a7a96;font-size:11px}
.mfc-w-compmeta{text-align:center;font-weight:800;color:var(--mfc-blue)}

.mfc-w-toplist{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mfc-w-toplist li{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid var(--mfc-line);border-radius:14px}
.mfc-w-toplist li:first-child{background:linear-gradient(120deg,#fff8e1,#fff);border-color:#ffe08a}
.mfc-w-medal{width:28px;text-align:center;font-weight:800;font-size:18px}.mfc-w-toplist .mfc-w-p{flex:1}
.mfc-w-pts{text-align:right}.mfc-w-pts strong{display:block;font-size:18px;color:var(--mfc-ink);line-height:1}.mfc-w-pts small{color:#6a7a96;font-size:11px}

.mfc-w-teamstats,.mfc-w-counters{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:10px}
.mfc-w-teamstats div,.mfc-w-counters div{padding:14px 10px;text-align:center;border-radius:14px;background:linear-gradient(145deg,#07152b,#15345d);color:#fff}
.mfc-w-teamstats strong,.mfc-w-counters strong{display:block;font-size:26px;line-height:1.1;color:#77a9ff}.mfc-w-teamstats span,.mfc-w-counters span{font-size:11px;color:#c6d5ef}
.mfc-w-teamstats .is-alert{background:linear-gradient(145deg,#6b4a00,#b27c00)}.mfc-w-teamstats .is-alert strong{color:#fff}
.mfc-w-members{list-style:none;margin:0;padding:0;display:grid;gap:8px}.mfc-w-members li{display:flex;align-items:center;gap:10px}.mfc-w-members a{font-weight:650}.mfc-w-members a:hover{color:var(--mfc-blue)}
.mfc-w-actions{display:grid;gap:8px;margin-top:14px}
.mfc-w-actions a{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;background:var(--mfc-soft);border:1px solid #cfe0ff;font-weight:700;color:#1b4fc4;transition:background .18s ease,transform .18s ease}
.mfc-w-actions a:hover{background:#dbe8ff;transform:translateX(3px)}

.mfc-w-day{margin:14px 0 8px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--mfc-ink)}.mfc-w-day:first-child{margin-top:0}
.mfc-w-slot{display:flex;gap:12px;padding:10px 0;border-bottom:1px dashed #d6e1f3}.mfc-w-slot:last-of-type{border-bottom:0}
.mfc-w-slot>time{flex:0 0 66px;font-weight:800;color:var(--mfc-blue);font-size:13px;padding-top:2px}
.mfc-w-slotbody{flex:1;min-width:0}.mfc-w-vs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}.mfc-w-vs em{font-style:normal;font-weight:800;color:#8a97ad;font-size:11px}

.mfc-w-lead{margin:0 0 12px;color:#4b5a74}
.mfc-w-btnrow{display:flex;gap:10px;flex-wrap:wrap}
.mfc-w-btn{flex:1;text-align:center;padding:11px 16px;border-radius:12px;background:linear-gradient(110deg,var(--mfc-blue),var(--mfc-indigo));color:#fff!important;font-weight:750;box-shadow:0 8px 18px rgba(43,83,230,.25);transition:transform .18s ease}
.mfc-w-btn:hover{transform:translateY(-2px)}.mfc-w-btn.ghost{background:transparent;color:#1b4fc4!important;border:1px solid #9ab8f6;box-shadow:none}
.mfc-w-me{display:flex;align-items:center;gap:14px}.mfc-w-me .mfc-w-avatar{width:56px;height:56px}.mfc-w-me strong{display:block;font-size:17px;color:var(--mfc-ink)}.mfc-w-me .mfc-role-badge{margin-left:0}

.mfc-w-awards{list-style:none;margin:0;padding:0;display:grid;gap:10px}.mfc-w-awards li{display:flex;gap:12px;align-items:center;padding:10px 12px;background:#fff;border:1px solid var(--mfc-line);border-radius:14px}
.mfc-w-trophy{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#fff3c4,#ffd05c);font-size:19px}.mfc-w-awards strong{display:block;color:var(--mfc-ink)}.mfc-w-awards small{color:#6a7a96}

/* Card shell when the active theme does not style .widget */
.widget.mfc-widget{background:#fff;border:1px solid var(--mfc-line);border-radius:20px;padding:20px;box-shadow:0 12px 30px rgba(20,48,100,.08);margin-bottom:20px}
.widget.mfc-widget .widget-title,.widget.mfc-widget .widgettitle{margin:0 0 14px;font-size:17px;color:var(--mfc-ink);padding-left:12px;border-left:4px solid var(--mfc-gold)}

@media(max-width:520px){.mfc-w-teams{grid-template-columns:1fr;justify-items:center;text-align:center}.mfc-w-teams .mfc-w-p:last-child{justify-self:center;flex-direction:row}.mfc-w-score{order:-1}}
@media(prefers-reduced-motion:reduce){.mfc-w *{transition:none!important}}

/* ==========================================================
   v0.9.0 — Control Center: bold command-centre UI (dark, sharp, instant tabs)
   Prefixed with "body .mfc-control" so it wins over the older inline plugin styles.
   ========================================================== */
body .mfc-control{--cc-bg:#050d1c;--cc-panel:#0a1a36;--cc-panel2:#0e2347;--cc-line:#1d3c70;--cc-text:#e8f0ff;--cc-muted:#8fa6cc;--cc-gold:#ffd05c;--cc-blue:#2167ff;--cc-red:#ff4d5e;--cc-green:#2ee59d;
  position:relative;max-width:1240px;margin:18px auto;padding:clamp(14px,2vw,26px);color:var(--cc-text);font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;color-scheme:dark;
  background:radial-gradient(ellipse at 100% 0,rgba(33,103,255,.28),transparent 42%),radial-gradient(ellipse at 0 100%,rgba(73,57,232,.2),transparent 40%),repeating-linear-gradient(125deg,transparent 0 38px,rgba(131,177,255,.035) 39px 41px),var(--cc-bg);
  border:1px solid var(--cc-line);border-radius:14px;box-shadow:0 30px 70px rgba(2,8,22,.45)}
body .mfc-control [hidden]{display:none!important}
body .mfc-control *{box-sizing:border-box}
body .mfc-control a{color:inherit}

/* Top bar */
body .mfc-control .mfc-cc-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--cc-line);position:relative}
body .mfc-control .mfc-cc-top:after{content:"";position:absolute;left:0;bottom:-1px;width:120px;height:3px;background:var(--cc-gold)}
body .mfc-control .mfc-cc-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.26em;color:var(--cc-gold)}
body .mfc-control h2{margin:2px 0 0;font-size:clamp(26px,3.4vw,38px);line-height:1.05;font-weight:900;letter-spacing:.02em;text-transform:uppercase;color:#fff}
body .mfc-control .mfc-cc-who{display:flex;align-items:center;gap:10px;font-size:13px}
body .mfc-control .mfc-cc-avatar{width:34px;height:34px;border-radius:6px;border:2px solid var(--cc-gold);object-fit:cover}
body .mfc-control .mfc-cc-who span{display:flex;flex-direction:column;line-height:1.2}
body .mfc-control .mfc-cc-who strong{color:#fff}
body .mfc-control .mfc-cc-who .mfc-role-badge{margin:3px 0 0;align-self:flex-start;border-radius:3px}
body .mfc-control .mfc-cc-who>a{padding:7px 12px;border:1px solid var(--cc-line);border-radius:4px;font-weight:700;font-size:12px;text-decoration:none;color:var(--cc-muted);transition:all .18s}
body .mfc-control .mfc-cc-who>a:hover{border-color:var(--cc-gold);color:var(--cc-gold)}

/* Layout: sidebar + stage */
body .mfc-control .mfc-cc-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;align-items:start}
body .mfc-control .mfc-cc-nav{position:sticky;top:72px;display:flex;flex-direction:column;gap:4px;padding:8px;background:var(--cc-panel);border:1px solid var(--cc-line);border-radius:10px}
body.admin-bar .mfc-control .mfc-cc-nav{top:104px}
body .mfc-control .mfc-cc-tab{position:relative;display:flex;align-items:center;gap:11px;padding:11px 12px 11px 14px;border-radius:6px;color:var(--cc-muted);font-size:13px;font-weight:750;letter-spacing:.03em;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:background .15s,color .15s,transform .15s}
body .mfc-control .mfc-cc-tab:before{content:"";position:absolute;left:0;top:20%;bottom:20%;width:3px;border-radius:2px;background:var(--cc-gold);transform:scaleY(0);transition:transform .18s}
body .mfc-control .mfc-cc-tab:hover{background:rgba(33,103,255,.14);color:#fff;transform:translateX(3px)}
body .mfc-control .mfc-cc-tab.is-active{background:linear-gradient(100deg,#1b57e0,#3a2fd0);color:#fff;box-shadow:0 8px 20px rgba(33,103,255,.35)}
body .mfc-control .mfc-cc-tab.is-active:before{transform:scaleY(1)}
body .mfc-control .mfc-cc-tab:focus-visible{outline:2px solid var(--cc-gold);outline-offset:2px}
body .mfc-control .mfc-cc-ico{display:grid;place-items:center;width:24px;font-size:16px;flex:0 0 auto}
body .mfc-control .mfc-cc-lbl{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .mfc-control .mfc-cc-count{min-width:22px;padding:1px 7px;border-radius:3px;background:var(--cc-gold);color:#241800;font-size:11px;font-weight:900;text-align:center;letter-spacing:0}

/* Cards / panels */
body .mfc-control .mfc-cc-content{min-width:0}
body .mfc-control .mfc-grid{gap:14px;grid-template-columns:minmax(0,1fr)}
body .mfc-control .mfc-card{position:relative;padding:clamp(16px,2vw,24px);background:linear-gradient(160deg,var(--cc-panel2),var(--cc-panel));border:1px solid var(--cc-line);border-radius:10px;box-shadow:none;animation:mfcCcIn .22s ease both}
body .mfc-control .mfc-card:before{content:"";position:absolute;left:-1px;top:-1px;width:56px;height:3px;background:var(--cc-gold);border-radius:10px 0 0 0}
body .mfc-control .mfc-card:hover{border-color:#2f5aa8;box-shadow:none}
@keyframes mfcCcIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
body .mfc-control h3{margin:0 0 12px;font-size:17px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:#fff}
body .mfc-control h4,body .mfc-control .mfc-cc-sub{margin:20px 0 10px;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--cc-gold)}
body .mfc-control p,body .mfc-control .mfc-sub{color:var(--cc-muted);font-size:13px;margin:0 0 10px}
body .mfc-control .mfc-hint{font-size:12px;color:#7189b3;margin:6px 0 0}
body .mfc-control label{display:block;margin:13px 0 5px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#a9bde0}

/* Fields */
body .mfc-control input,body .mfc-control select,body .mfc-control textarea{width:100%;min-height:42px;padding:9px 12px;font-size:14px;color:#fff;background:#06122a;border:1px solid #27487f;border-radius:5px;box-shadow:none;transition:border-color .15s,box-shadow .15s}
body .mfc-control input::placeholder{color:#5b739d}
body .mfc-control option{background:#06122a;color:#fff}
body .mfc-control input:focus,body .mfc-control select:focus,body .mfc-control textarea:focus{outline:0;border-color:var(--cc-gold);box-shadow:0 0 0 3px rgba(255,208,92,.18)}
body .mfc-control select[multiple]{min-height:150px}
body .mfc-control input[type=checkbox],body .mfc-control input[type=radio]{width:auto;min-height:0;accent-color:var(--cc-gold)}

/* Buttons — sharp, gold, loud */
body .mfc-control button,body .mfc-control .mfc-result-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;padding:11px 20px;border:0;border-radius:3px;background:linear-gradient(110deg,var(--cc-gold),#f3a800);color:#1d1400;font-size:12.5px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;cursor:pointer;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));box-shadow:none;transition:filter .15s,transform .15s}
body .mfc-control button:hover,body .mfc-control .mfc-result-open:hover{filter:brightness(1.1);transform:translateY(-1px)}
body .mfc-control button[style*="#dc2626"]{background:linear-gradient(110deg,#ff4d5e,#d61f33)!important;color:#fff;margin-top:0;padding:8px 14px}
body .mfc-control button.is-busy{opacity:.6;cursor:wait}

/* Tables */
body .mfc-control .mfc-tablewrap{margin-top:12px;border:1px solid var(--cc-line);border-radius:8px;background:#06122a;overflow-x:auto}
body .mfc-control table{width:100%;border-collapse:collapse;font-size:13px;background:transparent;color:var(--cc-text)}
body .mfc-control th{padding:11px 14px;background:#0b1f42;color:var(--cc-gold);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;text-align:left;white-space:nowrap;border-bottom:2px solid var(--cc-gold)}
body .mfc-control td{padding:11px 14px;border-bottom:1px solid #132b52;color:var(--cc-text);white-space:nowrap}
body .mfc-control tbody tr:nth-child(even) td{background:rgba(255,255,255,.02)}
body .mfc-control tbody tr:hover td{background:rgba(33,103,255,.14)}
body .mfc-control tr:last-child td{border-bottom:0}
body .mfc-control td form{display:inline-flex;gap:6px;align-items:center;margin-left:8px}
body .mfc-control td input[type=number]{width:60px!important;min-height:34px;padding:5px 8px}
body .mfc-control td button{margin-top:0;padding:8px 12px}
body .mfc-control a[style*="#4338ca"]{color:var(--cc-gold)!important}
body .mfc-control nav[aria-label*="pages"] a{background:#06122a!important;color:#cfe0ff!important;border:1px solid #27487f!important;border-radius:4px!important}
body .mfc-control nav[aria-label*="pages"] a[style*="background:#4338ca"]{background:var(--cc-gold)!important;color:#1d1400!important;border-color:var(--cc-gold)!important}
body .mfc-control nav[aria-label*="pages"] span{color:var(--cc-muted)!important}

/* Overview */
body .mfc-control .mfc-cc-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
body .mfc-control .mfc-cc-stats>*{display:block;padding:16px 14px;text-decoration:none;color:#fff;background:linear-gradient(150deg,#12306a,#0a1a36);border:1px solid #2a4f93;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)}
body .mfc-control .mfc-cc-stats strong{display:block;font-size:34px;font-weight:900;line-height:1;color:var(--cc-gold);letter-spacing:-.02em}
body .mfc-control .mfc-cc-stats span{display:block;margin-top:6px;font-size:10.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#a9bde0}
body .mfc-control .mfc-cc-stats .is-alert{background:linear-gradient(150deg,#7a2433,#3d0f1a);border-color:#ff4d5e}
body .mfc-control .mfc-cc-stats .is-alert strong{color:#fff}
body .mfc-control .mfc-cc-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
body .mfc-control .mfc-cc-actions a{display:flex;align-items:center;gap:10px;padding:13px 14px;background:#06122a;border:1px solid #27487f;border-left:4px solid var(--cc-gold);border-radius:4px;color:#fff;font-size:13px;font-weight:750;text-decoration:none;transition:background .15s,transform .15s,border-color .15s}
body .mfc-control .mfc-cc-actions a b{color:var(--cc-gold);font-size:17px}
body .mfc-control .mfc-cc-actions a:hover{background:#0f2a58;border-color:#4a7be0;border-left-color:var(--cc-gold);transform:translateX(4px)}
body .mfc-control .mfc-cc-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
body .mfc-control .mfc-cc-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
body .mfc-control .mfc-cc-list li{display:flex;flex-direction:column;gap:2px;padding:10px 12px;background:#06122a;border:1px solid #17305c;border-radius:4px}
body .mfc-control .mfc-cc-list li span{font-weight:700;color:#fff}
body .mfc-control .mfc-cc-list li em{font-style:normal;font-weight:800;color:var(--cc-muted);font-size:11px;text-transform:uppercase}
body .mfc-control .mfc-cc-list li b{color:var(--cc-gold);padding:0 4px}
body .mfc-control .mfc-cc-list small{color:#7189b3}
body .mfc-control .mfc-cc-list .is-empty{color:var(--cc-muted);text-align:center}

/* Feedback */
body .mfc-control .mfc-notice{padding:11px 14px;background:rgba(46,229,157,.12);color:var(--cc-green);border:1px solid rgba(46,229,157,.4);border-radius:5px;margin:0 0 14px;font-weight:700}
body .mfc-control .mfc-cc-toast{position:fixed;right:20px;bottom:20px;z-index:99999;max-width:min(92vw,380px);padding:13px 18px;border-radius:4px;font-weight:800;font-size:13px;letter-spacing:.03em;color:#04140d;background:var(--cc-green);box-shadow:0 18px 40px rgba(0,0,0,.45);opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .22s,transform .22s}
body .mfc-control .mfc-cc-toast.is-on{opacity:1;transform:none}
body .mfc-control .mfc-cc-toast.is-error{background:var(--cc-red);color:#fff}
body .mfc-control .mfc-cc-panel.is-loading{opacity:.5;pointer-events:none;transition:opacity .15s}
body .mfc-control.is-saving .mfc-cc-content{cursor:progress}
body .mfc-control.is-saving:after{content:"";position:absolute;left:0;top:0;height:3px;width:100%;background:linear-gradient(90deg,transparent,var(--cc-gold),transparent);background-size:50% 100%;background-repeat:no-repeat;animation:mfcCcBar 1s linear infinite}
@keyframes mfcCcBar{from{background-position:-50% 0}to{background-position:150% 0}}

/* Access-restricted / login messages */
body .mfc-control>p,body .mfc-control>h3{padding:0 4px}

/* Mobile: sidebar becomes a swipeable tab strip */
@media(max-width:860px){
  body .mfc-control .mfc-cc-layout{grid-template-columns:minmax(0,1fr)}
  body .mfc-control .mfc-cc-nav{position:sticky;top:56px;z-index:30;flex-direction:row;overflow-x:auto;gap:4px;padding:6px;scrollbar-width:none}
  body.admin-bar .mfc-control .mfc-cc-nav{top:102px}
  body .mfc-control .mfc-cc-nav::-webkit-scrollbar{display:none}
  body .mfc-control .mfc-cc-tab{flex:0 0 auto;padding:10px 13px;font-size:12px}
  body .mfc-control .mfc-cc-tab:before{left:12px;right:12px;top:auto;bottom:0;width:auto;height:3px;transform:scaleX(0)}
  body .mfc-control .mfc-cc-tab.is-active:before{transform:scaleX(1)}
  body .mfc-control .mfc-cc-tab:hover{transform:none}
  body .mfc-control .mfc-cc-lbl{overflow:visible}
  body .mfc-control .mfc-cc-who>a{display:none}
  body .mfc-control button{width:100%}
}
@media(max-width:520px){body .mfc-control{margin:8px;padding:12px;border-radius:10px}body .mfc-control h2{font-size:26px}body .mfc-control .mfc-cc-toast{left:12px;right:12px;max-width:none}}
@media(prefers-reduced-motion:reduce){body .mfc-control *{animation:none!important;transition:none!important}}

/* Control Center pages: drop the redundant theme page banner so the app gets the full stage */
body:has(.mfc-control.is-app) .page-title,body:has(.mfc-control[data-start]) .page-title{display:none}
body:has(.mfc-control[data-start]) .content-area{padding-top:8px}
body:has(.mfc-control[data-start]) .prose{max-width:none}

/* ==========================================================
   v0.10.0 — Player Profile + Registration: professional minimal
   ========================================================== */

/* ---------- Player profile ---------- */
body .mfc-profile-card{--pad:clamp(18px,3vw,32px);max-width:900px;margin:22px auto;padding:0 0 26px;background:#fff;border:1px solid #e1e9f5;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(20,48,100,.06);color:#10264b;font-size:14px}
body .mfc-profile-card>*{margin-left:var(--pad);margin-right:var(--pad)}
body .mfc-profile-card .mfc-player-tabs{display:inline-flex;gap:2px;margin:18px var(--pad) 0;padding:4px;background:#eef3fc;border:0;border-radius:999px}
body .mfc-profile-card .mfc-player-tabs a{padding:7px 18px;border-radius:999px;background:transparent;color:#4a5e82!important;font-size:13px;font-weight:700;box-shadow:none;transform:none}
body .mfc-profile-card .mfc-player-tabs a:hover{background:rgba(255,255,255,.7);transform:none}
body .mfc-profile-card .mfc-player-tabs a.active{background:#fff;color:#1b4fc4!important;box-shadow:0 2px 8px rgba(20,48,100,.12)}
body .mfc-profile-notice,body .mfc-profile-error{margin-top:14px!important;padding:10px 14px;border-radius:10px;font-size:13px;font-weight:600}
body .mfc-profile-notice{background:#e8f8ef;color:#12724a;border:1px solid #bfe9d2}
body .mfc-profile-error{background:#fff0f0;color:#a52626;border:1px solid #f4c7c7}

/* Header banner */
body .mfc-profile-card .mfc-profile-head{display:flex;align-items:center;gap:20px;margin:18px 0 0;padding:28px var(--pad) 46px;background:radial-gradient(ellipse at 90% 0,rgba(33,103,255,.5),transparent 50%),linear-gradient(120deg,#07152b,#143a73);color:#fff;border:0;border-radius:0}
body .mfc-profile-card .mfc-profile-avatar{width:88px!important;height:88px!important;border-radius:20px!important;object-fit:cover;border:2px solid rgba(255,255,255,.55)!important;box-shadow:0 8px 22px rgba(0,0,0,.3);flex:0 0 auto}
body .mfc-profile-card .mfc-profile-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.22em;color:#ffd05c}
body .mfc-profile-card .mfc-profile-head h2{margin:4px 0 2px;font-size:clamp(21px,3vw,28px);line-height:1.15;font-weight:800;letter-spacing:-.01em;color:#fff}
body .mfc-profile-card .mfc-profile-head h2 .mfc-role-badge{margin-left:8px;position:relative;top:-2px}
body .mfc-profile-card .mfc-profile-head p{margin:0;color:#b9cdee;font-size:13px}
body .mfc-profile-card .mfc-profile-head .mfc-profile-player-id{display:inline-block;margin-top:8px;padding:3px 11px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px;color:#dbe7ff}
body .mfc-profile-card .mfc-profile-head .mfc-profile-player-id strong{color:#fff;letter-spacing:.04em}

/* Stats strip overlapping the banner */
body .mfc-profile-card .mfc-profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:-26px;margin-bottom:0;background:#e3ebf7;border:1px solid #e3ebf7;border-radius:14px;overflow:hidden;box-shadow:0 10px 26px rgba(20,48,100,.12);position:relative}
body .mfc-profile-card .mfc-stat{padding:14px 12px;background:#fff;text-align:center;border:0;border-radius:0;box-shadow:none}
body .mfc-profile-card .mfc-stat span{display:block;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7a8aa6}
body .mfc-profile-card .mfc-stat strong{display:block;margin-top:2px;font-size:22px;font-weight:800;color:#10264b;line-height:1.2}
body .mfc-profile-card .mfc-stat.is-key{background:linear-gradient(135deg,#eef4ff,#e5eeff)}
body .mfc-profile-card .mfc-stat.is-key strong{color:#1b4fc4}

/* Information */
body .mfc-profile-card .mfc-profile-h{margin-top:26px;margin-bottom:6px;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#6a7a96}
body .mfc-profile-card .mfc-profile-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 22px;margin-top:0;margin-bottom:0;padding:0;background:none;border:0;box-shadow:none}
body .mfc-profile-card .mfc-profile-details>div{padding:12px 0;background:none;border:0;border-bottom:1px solid #edf2fa;border-radius:0;box-shadow:none;min-width:0}
body .mfc-profile-card .mfc-profile-details span{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8896b0}
body .mfc-profile-card .mfc-profile-details strong{display:block;margin-top:2px;font-size:14px;font-weight:650;color:#10264b;overflow-wrap:anywhere}
body .mfc-profile-card .mfc-profile-details a{color:#1b4fc4;font-weight:700}

/* Collapsible edit area */
body .mfc-profile-card .mfc-profile-editbox{margin-top:24px;border:1px solid #e1e9f5;border-radius:12px;background:#fbfdff;transition:border-color .2s}
body .mfc-profile-card .mfc-profile-editbox[open]{border-color:#9ab8f6;background:#fff}
body .mfc-profile-card .mfc-profile-editbox summary{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;font-weight:750;font-size:14px;color:#1b4fc4;cursor:pointer;list-style:none}
body .mfc-profile-card .mfc-profile-editbox summary::-webkit-details-marker{display:none}
body .mfc-profile-card .mfc-profile-editbox summary:after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s}
body .mfc-profile-card .mfc-profile-editbox[open] summary:after{transform:rotate(225deg)}
body .mfc-profile-card .mfc-profile-edit,body .mfc-profile-card .mfc-profile-photo-form{margin:0;padding:4px 16px 18px}
body .mfc-profile-card .mfc-profile-edit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
body .mfc-profile-card .mfc-profile-edit button{grid-column:1/-1;justify-self:start}
body .mfc-profile-card .mfc-profile-photo-form{border-top:1px solid #edf2fa;padding-top:16px}
body .mfc-profile-card .mfc-profile-editbox label{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6a7a96}
body .mfc-profile-card .mfc-profile-editbox input:not([type=file]){display:block;width:100%;min-height:40px;margin-top:5px;padding:8px 12px;font-size:14px;color:#10264b;background:#fff;border:1px solid #d5e0f2;border-radius:9px;box-shadow:none;text-transform:none;letter-spacing:0;font-weight:500}
body .mfc-profile-card .mfc-profile-editbox input[type=file]{display:block;margin-top:6px;font-size:13px;text-transform:none;letter-spacing:0;font-weight:500}
body .mfc-profile-card .mfc-profile-editbox input:focus{outline:0;border-color:#5c8fff;box-shadow:0 0 0 3px rgba(33,103,255,.13)}
body .mfc-profile-card .mfc-profile-editbox button{margin-top:12px;padding:10px 20px;border:0;border-radius:999px;background:linear-gradient(110deg,#2167ff,#4939e8);color:#fff;font-size:13px;font-weight:750;cursor:pointer;box-shadow:none;transition:transform .15s,box-shadow .15s}
body .mfc-profile-card .mfc-profile-editbox button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(43,83,230,.28)}
body .mfc-profile-card .mfc-profile-back{margin-top:22px;margin-bottom:0;font-size:13px}
body .mfc-profile-card .mfc-profile-back a{color:#1b4fc4;font-weight:700;text-decoration:none}

/* Matches tab */
body .mfc-profile-card.mfc-my-matches{max-width:1000px;padding:0 0 26px;border-radius:18px;background:#fff}
body .mfc-my-matches h2{margin-top:22px;margin-bottom:4px;font-size:22px;font-weight:800;letter-spacing:-.01em;color:#10264b}
body .mfc-my-matches .mfc-match-intro{margin-top:0;margin-bottom:14px;color:#6a7a96;font-size:13px}
body .mfc-my-matches .mfc-schedule-wrap{border:1px solid #e1e9f5;border-radius:12px;overflow-x:auto;box-shadow:none;background:#fff}
body .mfc-my-matches table{width:100%;border-collapse:collapse;font-size:13px}
body .mfc-my-matches th{padding:11px 14px;background:#f3f7ff;color:#5a6c8c;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;text-align:left;white-space:nowrap;border-bottom:1px solid #e1e9f5}
body .mfc-my-matches td{padding:11px 14px;border-bottom:1px solid #edf2fa;white-space:nowrap}
body .mfc-my-matches tr:last-child td{border-bottom:0}
body .mfc-my-matches tbody tr:hover td{background:#f7faff}
body .mfc-match-status{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:capitalize;background:#eef3fc;color:#41526e}
body .mfc-match-status.mfc-status-completed{background:#e3f6ec;color:#12724a}
body .mfc-match-status.mfc-status-scheduled{background:#fff4d6;color:#8a5a00}
body .mfc-match-status.mfc-status-cancelled{background:#fdeaea;color:#a52626}

/* Profile page: the card carries its own title, so drop the theme banner */
body:has(.mfc-profile-card) .page-title{display:none}
body:has(.mfc-profile-card) .content-area{padding-top:8px}
body:has(.mfc-profile-card) .prose{max-width:none}

@media(max-width:760px){
  body .mfc-profile-card .mfc-profile-stats{grid-template-columns:repeat(2,1fr)}
  body .mfc-profile-card .mfc-profile-details{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .mfc-profile-card .mfc-profile-head{flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:42px}
}
@media(max-width:480px){
  body .mfc-profile-card .mfc-profile-details{grid-template-columns:1fr}
  body .mfc-profile-card .mfc-profile-edit{grid-template-columns:1fr}
  body .mfc-profile-card .mfc-profile-edit button{justify-self:stretch}
}

/* ---------- Registration form: grouped, calm ---------- */
.mfc-registration-form .mfc-auth-fields{gap:14px 18px}
.mfc-auth-section{display:flex;align-items:center;gap:12px;margin:14px 0 0}
.mfc-auth-section:first-child{margin-top:0}
.mfc-auth-section:after{content:"";flex:1;height:1px;background:#e3eaf6;order:3}
.mfc-auth-section>div{order:2}
.mfc-auth-section strong{display:block;font-size:14px;line-height:1.2;color:#10264b}
.mfc-auth-section small{display:block;margin-top:1px;font-size:12px;color:#7a8aa6}
.mfc-auth-step{order:1;flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#2167ff,#4939e8);color:#fff;font-size:12px;font-weight:800}
.mfc-registration-form .mfc-auth-field label{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#5a6c8c}
.mfc-registration-form .mfc-auth-terms{margin-top:20px;padding:13px 15px;background:#f6f9ff;border:1px solid #e1e9f5;border-radius:12px}
@media(max-width:640px){.mfc-registration-form .mfc-auth-form .mfc-auth-fields,.mfc-registration-form .mfc-auth-fields{grid-template-columns:1fr}}


/* ===== v0.11.0 — club role badges, Team Roles tab, Club Management widget ===== */
.mfc-role-badge.is-role{background:#e9eefc;color:#1b3a8a;border-color:#cdd9f7}
.mfc-role-badge.is-role:before{content:"◆";font-size:7px}
.mfc-role-badge.is-president{background:linear-gradient(110deg,#ffd05c,#f3a800);color:#2b1d00;border-color:transparent}
.mfc-role-badge.is-vice-president{background:#fff0c2;color:#6b4a00;border-color:#ffe08a}
.mfc-role-badge.is-captain{background:#dcebff;color:#0f48b8;border-color:#b9d4ff}
.mfc-role-badge.is-vice-captain{background:#e6f0ff;color:#2a5fc6;border-color:#cfe0ff}
.mfc-role-badge.is-referee{background:#e3f6ec;color:#12683c;border-color:#bfe8d1}

.mfc-roles-table{width:100%;border-collapse:collapse}
.mfc-roles-table th,.mfc-roles-table td{padding:10px 12px;border-bottom:1px solid var(--mfc-line,#dce6f6);text-align:left;vertical-align:middle}
.mfc-roles-table th:not(:first-child),.mfc-roles-table td.mfc-roles-cell{text-align:center;white-space:nowrap}
.mfc-roles-table input[type=checkbox]{width:18px;height:18px;cursor:pointer}

.mfc-w-club_management .mfc-mgmt-banner{margin:0 0 16px;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(7,21,43,.14)}
.mfc-w-club_management .mfc-mgmt-banner img{display:block;width:100%;height:auto}
.mfc-w-club_management .mfc-mgmt-intro{margin:0 0 16px;color:var(--mfc-ink,#10264b);font-size:15px;line-height:1.6}
.mfc-mgmt-grid{display:grid;gap:20px;grid-template-columns:repeat(var(--mfc-mgmt-cols,3),minmax(0,1fr))}
.mfc-mgmt-cols-1{--mfc-mgmt-cols:1}.mfc-mgmt-cols-2{--mfc-mgmt-cols:2}.mfc-mgmt-cols-3{--mfc-mgmt-cols:3}.mfc-mgmt-cols-4{--mfc-mgmt-cols:4}
.mfc-mgmt-card{display:flex;flex-direction:column;width:100%;max-width:var(--mfc-mgmt-max,340px);justify-self:center;background:#fff;border:1px solid var(--mfc-line,#dce6f6);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--mfc-ink,#10264b);box-shadow:0 10px 26px rgba(16,38,75,.08);transition:transform .2s ease,box-shadow .2s ease}
.mfc-mgmt-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(16,38,75,.16)}
.mfc-mgmt-photo{display:block;aspect-ratio:4/5;background:linear-gradient(145deg,var(--mfc-navy2,#102b52),var(--mfc-navy,#07152b));overflow:hidden}
.mfc-mgmt-img{display:block;width:100%;height:100%;object-fit:cover}
.mfc-mgmt-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font:800 clamp(56px,9vw,110px)/1 system-ui,sans-serif;color:var(--mfc-gold,#ffd05c)}
.mfc-mgmt-body{display:flex;flex-direction:column;gap:8px;padding:14px 16px 18px;text-align:center}
.mfc-mgmt-name{font-size:18px;line-height:1.25;color:var(--mfc-ink,#10264b)}
.mfc-mgmt-roles{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.mfc-mgmt-roles .mfc-role-badge{margin:0}
@media(max-width:900px){.mfc-mgmt-cols-3,.mfc-mgmt-cols-4{--mfc-mgmt-cols:2}}
@media(max-width:520px){.mfc-mgmt-cols-2,.mfc-mgmt-cols-3,.mfc-mgmt-cols-4{--mfc-mgmt-cols:1}.mfc-mgmt-card{max-width:none}}

/* ===== v0.12.0 — shared Fixtures-style table, Players page, competition page, registration-submitted page ===== */
.mfc-fixtures-page{max-width:1240px;margin:24px auto;color:#14213a}
.mfc-fixtures-hero{position:relative;overflow:hidden;padding:30px clamp(18px,3vw,36px);margin-bottom:22px;border-radius:22px;color:#fff;background:linear-gradient(120deg,#586fe9 0%,#7650b7 100%);box-shadow:0 14px 34px rgba(79,91,190,.2)}
.mfc-fixtures-eyebrow{font-size:11px;font-weight:900;letter-spacing:.14em;opacity:.85}
.mfc-fixtures-hero h2{margin:8px 0;font-size:clamp(25px,3vw,36px);line-height:1.2;color:#fff;font-weight:900}
.mfc-fixtures-hero p{margin:0;color:rgba(255,255,255,.88)}
.mfc-fixtures-summary{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.mfc-fixtures-summary span{display:flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid rgba(255,255,255,.22);border-radius:11px;background:rgba(255,255,255,.12);font-size:12px}
.mfc-fixtures-summary strong{font-size:18px}
.mfc-fixtures-wrap{overflow:auto;border:1px solid #e3eaf4;border-radius:17px;background:#fff;box-shadow:0 12px 30px rgba(20,40,80,.07)}
.mfc-fixtures{width:100%;min-width:780px;border-collapse:separate;border-spacing:0;font-size:13px}
.mfc-fixtures th,.mfc-fixtures td{padding:14px 12px;border:0;border-bottom:1px solid #edf1f7;text-align:center;vertical-align:middle}
.mfc-fixtures th{background:#f5f7fb;color:#64718a;font-size:10px;letter-spacing:.05em;text-transform:uppercase;font-weight:900}
.mfc-fixtures tbody tr:nth-child(even){background:#fbfcff}
.mfc-fixtures tbody tr:hover{background:#f2f7ff}
.mfc-fixture-player{display:flex;align-items:center;gap:9px;min-width:150px;text-align:left;font-weight:800;color:#1c2c47;flex-wrap:wrap}
.mfc-fixture-player img{width:34px!important;height:34px!important;min-width:34px;object-fit:cover;border-radius:50%;border:2px solid #e3ebf8;box-shadow:0 2px 6px rgba(20,50,100,.1)}
.mfc-fixture-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#edf2ff;color:#4f64b5;font-weight:900;flex:0 0 auto}
.mfc-fixture-competition{display:inline-block;padding:6px 9px;border-radius:99px;background:#eef2ff;color:#4f46e5;font-weight:800;font-size:11px}
.mfc-players-page .mfc-fixtures{min-width:720px}
.mfc-players-page .mfc-fixtures td:first-child,.mfc-players-page .mfc-fixtures th:first-child{text-align:left;padding-left:18px}
.mfc-players-page .mfc-fixture-player img{width:40px!important;height:40px!important;min-width:40px}
.mfc-players-page .mfc-fixture-player .mfc-role-badge{margin:0}
a.mfc-player-name-link{color:#1c2c47;text-decoration:none;font-weight:800}a.mfc-player-name-link:hover{color:#4f46e5}
.mfc-players-page .mfc-directory-id{font-family:ui-monospace,Menlo,monospace;letter-spacing:.02em}
.mfc-players-page .mfc-directory-profile-link{display:inline-block;padding:9px 15px;border-radius:10px;background:linear-gradient(120deg,#586fe9,#7650b7);color:#fff!important;font-weight:800;font-size:12px;text-decoration:none;box-shadow:0 6px 14px rgba(79,91,190,.22);transition:transform .18s,box-shadow .18s}
.mfc-players-page .mfc-directory-profile-link:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(79,91,190,.3)}
.mfc-players-page .mfc-player-searchbox{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:6px 8px 6px 16px;border:1px solid #e3eaf4;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(20,40,80,.06)}
.mfc-players-page .mfc-player-searchbox span{font-size:20px;color:#586fe9}
.mfc-players-page .mfc-player-searchbox input{flex:1;min-width:0;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;padding:11px 4px;font-size:14px;color:#14213a}
.mfc-players-page .mfc-player-searchbox:focus-within{border-color:#586fe9;box-shadow:0 0 0 3px rgba(88,111,233,.16)}
.mfc-players-page .mfc-player-no-results,.mfc-players-page .mfc-player-empty{padding:22px;text-align:center;color:#64718a}
@media(max-width:600px){.mfc-fixtures-hero{border-radius:16px;padding:22px 17px}.mfc-fixtures-summary{gap:7px}.mfc-fixtures-summary span{padding:8px 10px}}

/* player photo + opponent cells on the profile Matches tab */
.mfc-my-matches .mfc-fixture-player{min-width:0}

/* ---- competition page: shared player badge ---- */
.mfc-competition-player{display:inline-flex;align-items:center;gap:10px;min-width:0;text-align:left}
.mfc-competition-player img,.mfc-competition-player .mfc-profile-avatar{width:38px!important;height:38px!important;min-width:38px;border-radius:50%;object-fit:cover;border:2px solid #e0e7ff;box-shadow:0 2px 6px rgba(16,24,40,.12)}

/* ---- Overview cards ---- */
.mfc-detail .mfc-ov-card{padding:18px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.mfc-detail .mfc-ov-card p{margin:12px 0 0;color:#667085;font-size:13px}
.mfc-detail .mfc-ov-card .mfc-ov-empty{margin:14px 0 4px;line-height:1.6}
.mfc-ov-vs{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-top:14px}
.mfc-ov-vs b{padding:7px 12px;border-radius:10px;background:#eef2ff;color:#4338ca;font-size:15px;white-space:nowrap}
.mfc-ov-p{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;text-align:center}
.mfc-ov-p img{width:52px!important;height:52px!important;border-radius:50%;object-fit:cover;border:3px solid #e0e7ff;box-shadow:0 4px 10px rgba(67,56,202,.18)}
.mfc-ov-p em{font-style:normal;font-weight:800;font-size:13px;line-height:1.25;overflow-wrap:anywhere;color:#1c2c47}
.mfc-ov-stack{display:flex;flex-wrap:wrap;margin:14px 0 0 8px}
.mfc-ov-stack img{width:44px!important;height:44px!important;border-radius:50%;object-fit:cover;border:3px solid #fff;margin-left:-10px;box-shadow:0 3px 8px rgba(15,23,42,.18)}
.mfc-ov-more{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;margin-left:-10px;background:#4338ca;color:#fff;font-weight:800;font-size:13px;border:3px solid #fff}

/* ---- Points table ---- */
.mfc-std-wrap{overflow-x:auto;border:1px solid #e3eaf4;border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(20,40,80,.06)}
.mfc-detail table.mfc-std,table.mfc-std{width:100%;min-width:720px;display:table!important;border-collapse:separate;border-spacing:0;margin:0;border:0;border-radius:0;font-size:13px;white-space:normal}
.mfc-detail .mfc-std th,.mfc-std th{padding:13px 10px;background:#0f1d3a;color:#fff;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;font-weight:800;text-align:center;border:0}
.mfc-detail .mfc-std td,.mfc-std td{padding:12px 10px;text-align:center;border-bottom:1px solid #edf1f7;vertical-align:middle;color:#1c2c47;font-weight:600}
.mfc-std .c-player{text-align:left!important;min-width:190px}
.mfc-std th.c-player{padding-left:14px}
.mfc-std .c-rank{width:54px}
.mfc-std tbody tr:hover{background:#f4f7ff}
.mfc-std tr:last-child td{border-bottom:0}
.mfc-rank{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:9px;background:#f1f4fa;color:#475569;font-weight:900}
.mfc-std tr.is-top1 .mfc-rank{background:linear-gradient(135deg,#ffd75e,#f5a800);color:#3a2700}
.mfc-std tr.is-top2 .mfc-rank{background:linear-gradient(135deg,#e6ebf2,#b8c2d1);color:#25324a}
.mfc-std tr.is-top3 .mfc-rank{background:linear-gradient(135deg,#f3c9a1,#cd8a4f);color:#3b2209}
.mfc-std tr.is-top1{background:linear-gradient(90deg,#fff9e6,#fff)}
.mfc-std .is-pos{color:#15803d;font-weight:800}.mfc-std .is-neg{color:#b42318;font-weight:800}
.mfc-std .c-pts strong{display:inline-block;min-width:36px;padding:6px 10px;border-radius:9px;background:#eef2ff;color:#3730a3;font-size:14px}
.mfc-std .c-form{white-space:nowrap}
.mfc-form{display:inline-grid;place-items:center;width:22px;height:22px;margin:0 2px;border-radius:50%;font:800 10px/1 system-ui;font-style:normal;color:#fff}
.mfc-form.is-w{background:#16a34a}.mfc-form.is-d{background:#94a3b8}.mfc-form.is-l{background:#dc2626}
.mfc-std-dash{color:#94a3b8}
.mfc-std-legend{margin:10px 2px 0;color:#667085;font-size:12px}
.mfc-std-empty,.mfc-fx-none{padding:22px;border:1px dashed #cbd5e1;border-radius:14px;background:#fff;color:#667085;text-align:center}

/* ---- Fixtures & Results list ---- */
.mfc-fx-tools{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.mfc-fx-tools button{border:1px solid #e1e7f3;background:#fff;color:#475569;border-radius:99px;padding:9px 15px;font:700 12.5px/1 system-ui;cursor:pointer;transition:all .18s}
.mfc-fx-tools button span{margin-left:6px;padding:2px 7px;border-radius:99px;background:#eef2ff;color:#4338ca;font-size:11px}
.mfc-fx-tools button:hover{border-color:#a5b4fc;color:#3730a3}
.mfc-fx-tools button.is-on{background:linear-gradient(120deg,#4338ca,#6366f1);border-color:transparent;color:#fff;box-shadow:0 6px 14px rgba(67,56,202,.28)}
.mfc-fx-tools button.is-on span{background:rgba(255,255,255,.22);color:#fff}
.mfc-fx-list{display:grid;gap:12px}
.mfc-fx-card{display:grid;grid-template-columns:86px minmax(0,1fr) auto minmax(0,1fr) 110px;align-items:center;gap:14px;padding:14px 16px;border:1px solid #e4e9f3;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.05);transition:transform .18s,box-shadow .18s,border-color .18s}
.mfc-fx-card[hidden]{display:none}
.mfc-fx-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,23,42,.1);border-color:#c7d2fe}
.mfc-fx-when{text-align:center;padding:8px 6px;border-radius:12px;background:#f3f5ff;color:#3730a3;line-height:1.25}
.mfc-fx-when strong{display:block;font-size:17px}.mfc-fx-when span{display:block;font-size:11px;color:#6b7aa8;margin-top:2px}
.mfc-fx-side{display:flex;align-items:center;gap:12px;min-width:0}
.mfc-fx-side.is-away{flex-direction:row-reverse;text-align:right}
.mfc-fx-side img{width:46px!important;height:46px!important;min-width:46px;border-radius:50%;object-fit:cover;border:3px solid #e8edfb;box-shadow:0 3px 8px rgba(20,50,100,.14)}
.mfc-fx-side.is-win img{border-color:#22c55e}
.mfc-fx-name{font-weight:800;color:#1c2c47;overflow-wrap:anywhere;line-height:1.25}
.mfc-fx-side.is-win .mfc-fx-name{color:#15803d}
.mfc-fx-score{display:flex;align-items:center;gap:8px;justify-content:center;min-width:84px}
.mfc-fx-score b{display:inline-grid;place-items:center;min-width:38px;height:38px;border-radius:10px;background:#101d3b;color:#fff;font-size:18px}
.mfc-fx-score b.is-vs{width:auto;padding:0 14px;background:#eef2ff;color:#4338ca;font-size:14px}
.mfc-fx-score i{font-style:normal;color:#94a3b8;font-weight:800}
.mfc-fx-state{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.mfc-fx-chip{display:inline-block;padding:6px 11px;border-radius:99px;font-size:11px;font-weight:850}
.mfc-fx-chip.is-completed{background:#dcfce7;color:#15803d}.mfc-fx-chip.is-scheduled{background:#fff7e6;color:#b45309}.mfc-fx-chip.is-cancelled{background:#fee2e2;color:#b42318}
.mfc-fx-deadline{font-size:10.5px;color:#94a3b8;line-height:1.3}
.mfc-fx-empty{padding:18px;text-align:center;color:#667085}
@media(max-width:820px){
  .mfc-fx-card{grid-template-columns:1fr auto 1fr;grid-template-areas:"when when state" "home score away";row-gap:12px;padding:14px 12px}
  .mfc-fx-when{grid-area:when;display:flex;gap:8px;align-items:baseline;justify-content:flex-start;text-align:left;background:transparent;padding:0}
  .mfc-fx-state{grid-area:state;flex-direction:row;justify-content:flex-end}.mfc-fx-state .mfc-fx-deadline{display:none}
  .mfc-fx-card>.mfc-fx-side:nth-of-type(1){grid-area:home}.mfc-fx-card>.mfc-fx-side.is-away{grid-area:away}.mfc-fx-score{grid-area:score;min-width:0}
  .mfc-fx-side,.mfc-fx-side.is-away{flex-direction:column;text-align:center;gap:6px}
  .mfc-fx-side .mfc-fx-name{font-size:12.5px}
}

/* ---- Registration submitted page ---- */
.mfc-welcome{max-width:1100px;margin:26px auto;padding:0 clamp(12px,3vw,24px);color:#10264b;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.mfc-welcome *{box-sizing:border-box}
.mfc-welcome-hero{position:relative;overflow:hidden;text-align:center;padding:clamp(30px,5vw,56px) clamp(18px,4vw,48px);border-radius:26px;color:#fff;background:radial-gradient(circle at 85% 0,rgba(73,57,232,.55),transparent 42%),radial-gradient(circle at 10% 100%,rgba(255,208,92,.18),transparent 38%),linear-gradient(135deg,#07152b,#102b52 70%);box-shadow:0 22px 50px rgba(7,21,43,.28)}
.mfc-welcome-check{display:inline-grid;place-items:center;width:74px;height:74px;border-radius:50%;background:linear-gradient(135deg,#ffd75e,#f5a800);color:#2b1d00;font-size:38px;font-weight:900;box-shadow:0 0 0 10px rgba(255,208,92,.16),0 12px 28px rgba(0,0,0,.3);margin-bottom:18px}
.mfc-welcome-kicker{display:block;font-size:11px;font-weight:900;letter-spacing:.16em;color:#ffd05c}
.mfc-welcome-hero h2{margin:10px 0 10px;color:#fff;font-size:clamp(28px,4.4vw,44px);line-height:1.12;font-weight:900;letter-spacing:-.03em}
.mfc-welcome-msg{max-width:640px;margin:0 auto;font-size:clamp(15px,1.8vw,18px);line-height:1.65;color:#e4ecfb}
.mfc-welcome-note{margin:10px auto 0;color:#9fb3d6;font-size:13px}
.mfc-welcome-steps{list-style:none;display:flex;justify-content:center;gap:clamp(8px,2.5vw,26px);flex-wrap:wrap;margin:28px 0 0;padding:0}
.mfc-welcome-steps li{display:flex;align-items:center;gap:9px;padding:9px 15px;border:1px solid rgba(255,255,255,.18);border-radius:99px;background:rgba(255,255,255,.07);font-size:13px;font-weight:700;color:#b9c8e4}
.mfc-welcome-steps li span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.14);font-size:12px;font-weight:900}
.mfc-welcome-steps li.is-done{color:#fff}.mfc-welcome-steps li.is-done span{background:#22c55e}
.mfc-welcome-steps li.is-now{color:#fff;border-color:#ffd05c;background:rgba(255,208,92,.12)}.mfc-welcome-steps li.is-now span{background:#ffd05c;color:#2b1d00}
.mfc-welcome-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin-top:22px}
.mfc-welcome-card{padding:24px;border:1px solid #dce6f6;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(20,48,100,.08)}
.mfc-welcome-card h3{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:18px;color:#07152b;letter-spacing:-.01em}
.mfc-wc-badge{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#eef4ff,#dfe8ff);font-size:18px}
.mfc-wc-list{margin:0;padding:0;list-style:none;counter-reset:wc}
.mfc-wc-list li{position:relative;padding:11px 0 11px 38px;border-bottom:1px solid #eef2f9;font-size:14px;line-height:1.55;color:#33466b}
.mfc-wc-list li:last-child{border-bottom:0}
.mfc-wc-list li:before{position:absolute;left:0;top:11px;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#eef2ff;color:#4338ca;font-size:12px;font-weight:900}
.mfc-wc-list.is-numbered li{counter-increment:wc}.mfc-wc-list.is-numbered li:before{content:counter(wc)}
.mfc-wc-list:not(.is-numbered) li:before{content:"✓";background:#e8f8ee;color:#15803d}
.mfc-wc-contact-list{display:grid;gap:11px}
.mfc-wc-contact{display:flex;align-items:center;gap:13px;padding:12px 14px;border:1px solid #e1e9f7;border-radius:15px;background:#f8faff;color:#10264b!important;text-decoration:none!important;transition:transform .18s,box-shadow .18s,border-color .18s}
.mfc-wc-contact:hover{transform:translateY(-2px);border-color:#a9bdf0;box-shadow:0 10px 22px rgba(33,103,255,.14)}
.mfc-wc-ico{display:inline-grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:13px;color:#fff;font-size:20px;font-weight:900;overflow:hidden}
.mfc-wc-ico.has-img{background:#fff;border:1px solid #e1e9f7}.mfc-wc-ico img{width:100%;height:100%;object-fit:cover}
.mfc-wc-contact-text{display:flex;flex-direction:column;min-width:0;flex:1}
.mfc-wc-contact-text strong{font-size:15px;line-height:1.25}
.mfc-wc-contact-text small{color:#6b7c9c;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mfc-wc-go{color:#2167ff;font-weight:900}
.mfc-wc-admin-hint{margin:0;padding:12px;border-radius:12px;background:#fff8e1;color:#7a5b00;font-size:13px}
.mfc-welcome-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:26px}
.mfc-wc-btn{display:inline-block;padding:13px 24px;border-radius:13px;background:linear-gradient(120deg,#2167ff,#4939e8);color:#fff!important;font-weight:800;text-decoration:none!important;box-shadow:0 10px 22px rgba(33,103,255,.28);transition:transform .18s}
.mfc-wc-btn:hover{transform:translateY(-2px)}
.mfc-wc-btn.ghost{background:#fff;color:#10264b!important;border:1px solid #cdd9f1;box-shadow:none}

/* ---- Login / registration form pieces (navy theme) ---- */
.mfc-auth-pass{position:relative}
.mfc-auth-pass input{padding-right:48px!important}
.mfc-auth-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:10px;background:transparent;cursor:pointer;font-size:16px;opacity:.55;transition:opacity .15s,background .15s}
.mfc-auth-eye:hover,.mfc-auth-eye.is-on{opacity:1;background:#eef3ff}

/* ===== v0.13.0 — search boxes, UCL bracket, zones, UCL Builder panel ===== */
.mfc-fixtures-page .mfc-player-searchbox{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:6px 8px 6px 16px;border:1px solid #e3eaf4;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(20,40,80,.06)}
.mfc-fixtures-page .mfc-player-searchbox span{font-size:20px;color:#586fe9}
.mfc-fixtures-page .mfc-player-searchbox input{flex:1;min-width:0;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;padding:11px 4px;font-size:14px;color:#14213a}
.mfc-fixtures-page .mfc-player-searchbox:focus-within{border-color:#586fe9;box-shadow:0 0 0 3px rgba(88,111,233,.16)}
.mfc-fixtures-page .mfc-player-no-results{padding:22px;text-align:center;color:#64718a;margin:0}

.mfc-fx-search{display:flex;align-items:center;gap:8px;flex:1 1 220px;min-width:200px;margin-left:auto;padding:0 12px;border:1px solid #e1e7f3;border-radius:99px;background:#fff}
.mfc-fx-search span{color:#6366f1;font-size:17px}
.mfc-fx-search input{flex:1;min-width:0;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;padding:9px 2px;font-size:13px;color:#1c2c47}
.mfc-fx-search:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.14)}
.mfc-fx-stage{display:block;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6366f1}

.mfc-detail-panel>h3{display:flex;align-items:center;gap:10px;font-size:21px;letter-spacing:-.02em;margin:6px 0 14px!important}
.mfc-detail-panel>h3:before{content:"";width:5px;height:24px;background:linear-gradient(#6366f1,#4338ca);border-radius:5px}

.mfc-std tr.zone-direct td:first-child{box-shadow:inset 4px 0 #16a34a}
.mfc-std tr.zone-playoff td:first-child{box-shadow:inset 4px 0 #f59e0b}
.mfc-std tr.zone-out td:first-child{box-shadow:inset 4px 0 #ef4444}
.mfc-zone-legend{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.mfc-zone-legend span{padding:6px 11px;border-radius:99px;font-size:12px;font-weight:700}
.mfc-zone-legend .z-d{background:#dcfce7;color:#166534}.mfc-zone-legend .z-p{background:#fef3c7;color:#92400e}.mfc-zone-legend .z-o{background:#fee2e2;color:#991b1b}

/* ---- UCL bracket ---- */
.mfc-br-wrap{overflow-x:auto;padding:6px 2px 14px}
.mfc-br{display:flex;gap:34px;min-width:max-content;align-items:stretch}
.mfc-br-col{display:flex;flex-direction:column;width:250px;flex:0 0 250px}
.mfc-br-col h4{margin:0 0 12px;padding:9px 12px;border-radius:11px;background:#0f1d3a;color:#fff;font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;text-align:center}
.mfc-br-ties{flex:1;display:flex;flex-direction:column;justify-content:space-around;gap:14px}
.mfc-br-tie{position:relative;padding:9px 11px;border:1px solid #e0e6f2;border-radius:14px;background:#fff;box-shadow:0 6px 16px rgba(15,23,42,.06)}
.mfc-br-col:not(.mfc-br-champ) .mfc-br-tie:after{content:"";position:absolute;right:-35px;top:50%;width:34px;border-top:2px solid #cfd8ea}
.mfc-br-final .mfc-br-tie:after{width:34px}
.mfc-br-tie.is-tbd{opacity:.65;border-style:dashed}
.mfc-br-p{display:flex;align-items:center;gap:9px;padding:6px 2px;border-bottom:1px solid #eef2f9}
.mfc-br-p:last-of-type{border-bottom:0}
.mfc-br-p img{width:30px!important;height:30px!important;min-width:30px;border-radius:50%;object-fit:cover;border:2px solid #e3eaf8}
.mfc-br-name{flex:1;min-width:0;font-weight:700;font-size:13px;color:#1c2c47;overflow-wrap:anywhere;line-height:1.2}
.mfc-br-p b{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:8px;background:#eef2ff;color:#3730a3;font-size:14px}
.mfc-br-p.is-win .mfc-br-name{color:#15803d}.mfc-br-p.is-win b{background:#16a34a;color:#fff}
.mfc-br-p.is-win img{border-color:#22c55e}
.mfc-br-tbd{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f1f4fa;color:#94a3b8;font-weight:800}
.mfc-br-tie small{display:block;margin-top:6px;padding-top:6px;border-top:1px dashed #e2e8f2;font-size:10.5px;color:#7a8aa6;line-height:1.35}
.mfc-br-trophy{align-self:center;display:flex;flex-direction:column;align-items:center;gap:10px;margin:auto 0;padding:22px 14px;width:100%;border:2px dashed #d4dcec;border-radius:18px;background:#fff;text-align:center;color:#64718a}
.mfc-br-trophy.has-champ{border:2px solid #f5b928;background:linear-gradient(160deg,#fff9e6,#fff);color:#3a2700;box-shadow:0 12px 28px rgba(245,185,40,.28)}
.mfc-br-cup{font-size:42px;line-height:1}
.mfc-br-champ-photo img{width:72px!important;height:72px!important;border-radius:50%;object-fit:cover;border:4px solid #f5b928}

/* ---- Control Center: UCL Builder ---- */
.mfc-ucl-players{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px;max-height:340px;overflow:auto;padding:10px;border:1px solid #dce6f6;border-radius:12px;background:#f8faff}
.mfc-ucl-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border:1px solid #e3eaf6;border-radius:10px;background:#fff}
.mfc-ucl-row .mfc-ucl-pick{display:flex;align-items:center;gap:8px;margin:0;font-weight:700;cursor:pointer}
.mfc-ucl-row select{width:auto!important;min-width:96px;margin:0!important;padding:5px 8px!important}
.mfc-ucl-summary{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#eef4ff;color:#10264b}
.mfc-ucl-card{margin-top:14px;padding:16px;border:1px solid #dce6f6;border-radius:14px;background:#fff}
.mfc-ucl-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.mfc-ucl-stage{padding:4px 10px;border-radius:99px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:800}
.mfc-ucl-champion{margin:6px 0;font-size:16px}
.mfc-ucl-next,.mfc-ucl-tie{margin-top:12px;padding:12px;border-radius:12px;background:#f5f8ff;border:1px solid #dfe8fa}
.mfc-ucl-tie{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.mfc-ucl-tie select{width:auto!important;margin:0!important}
@media(max-width:600px){.mfc-br-col{width:220px;flex-basis:220px}.mfc-fx-search{margin-left:0;flex-basis:100%}}

/* ===== v0.14.1 — competition Overview (all competition info) ===== */
.mfc-ov-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 12px}
.mfc-ov-facts>div{padding:13px 15px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.04)}
.mfc-detail .mfc-ov-facts small{display:block;background:none;padding:0;border-radius:0;color:#667085;font-size:10.5px;letter-spacing:.09em;text-transform:uppercase}
.mfc-ov-facts strong{display:block;margin-top:4px;font-size:15px;color:#101828;overflow-wrap:anywhere}
.mfc-ov-progress{position:relative;height:26px;margin:0 0 16px;border-radius:99px;background:#e9edf5;overflow:hidden}
.mfc-ov-progress span{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#4338ca,#6366f1);border-radius:99px;transition:width .4s}
.mfc-ov-progress em{position:relative;display:block;text-align:center;line-height:26px;font:800 11.5px/26px system-ui;font-style:normal;color:#1e1b4b;mix-blend-mode:normal;text-shadow:0 0 6px rgba(255,255,255,.8)}
.mfc-ov-leader{display:flex;align-items:center;gap:12px;margin-top:14px}
.mfc-ov-leader img{width:64px!important;height:64px!important;border-radius:50%;object-fit:cover;border:3px solid #fbbf24;box-shadow:0 4px 12px rgba(245,158,11,.3)}
.mfc-ov-leader strong{font-size:17px;color:#101828;overflow-wrap:anywhere}
.mfc-ov-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:14px;margin-top:6px}
.mfc-ov-list{padding:16px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.mfc-detail .mfc-ov-list h4{margin:0 0 10px;font-size:14px;letter-spacing:.02em;color:#1e1b4b}
.mfc-ov-row{display:grid;grid-template-columns:62px minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;padding:9px 0;border-top:1px solid #eef1f6}
.mfc-ov-row:first-of-type{border-top:0}
.mfc-ov-when{font-size:10.5px;color:#667085;line-height:1.3;text-align:center}.mfc-ov-when strong{display:block;color:#3730a3;font-size:13px}
.mfc-ov-mp{display:flex;align-items:center;gap:7px;min-width:0}.mfc-ov-mp.is-right{flex-direction:row;justify-content:flex-end;text-align:right}
.mfc-ov-mp img{width:30px!important;height:30px!important;min-width:30px;border-radius:50%;object-fit:cover;border:2px solid #e3eaf8}
.mfc-ov-mp em{font-style:normal;font-weight:700;font-size:12.5px;color:#1c2c47;overflow-wrap:anywhere;line-height:1.2}
.mfc-ov-row>b{padding:5px 9px;border-radius:8px;background:#eef2ff;color:#4338ca;font-size:12.5px;white-space:nowrap}
.mfc-ov-row>b.is-score{background:#101d3b;color:#fff}
.mfc-ov-list .mfc-ov-empty{margin:6px 0 2px;color:#667085;font-size:13px}
@media(max-width:560px){.mfc-ov-row{grid-template-columns:50px minmax(0,1fr) auto minmax(0,1fr);gap:5px}.mfc-ov-mp em{font-size:11.5px}}

/* ===== v0.15.0 — Knockout tournaments: auto / custom bracket, match tools ===== */
.mfc-br-hint{margin:0 0 8px;color:#667085;font-size:12.5px}
.mfc-br-col h4 em{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:99px;background:rgba(255,255,255,.16);font-style:normal;font-size:10.5px;letter-spacing:.04em}
.mfc-br-empty{padding:16px;border:1px dashed #cbd5e1;border-radius:12px;color:#94a3b8;text-align:center;font-size:12.5px}
.mfc-br-slot{width:100%}
.mfc-br-pair{position:relative;display:flex;flex-direction:column;gap:14px}
.mfc-br-extra{margin-top:18px}
.mfc-br-extra h5{margin:0 0 8px;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#92400e}
.mfc-br-p[data-pid]{cursor:pointer}
.mfc-br-p[data-pid]:hover .mfc-br-name{color:#4338ca}
.mfc-br-p.is-tbd .mfc-br-name{color:#94a3b8;font-weight:600}
.mfc-br-seed{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:6px;background:#eef2ff;color:#3730a3;font:800 10px/1 system-ui;font-style:normal}
.mfc-br-tie.is-bye{background:#f8fafc;border-style:dashed}
.mfc-br-tie.is-path{border-color:#4338ca;box-shadow:0 0 0 3px rgba(67,56,202,.22),0 8px 20px rgba(67,56,202,.18)}
.mfc-br-tie.is-dim{opacity:.38}
/* tree connectors (auto bracket) */
.mfc-br--free .mfc-br-tie:after{display:none!important}
.mfc-br--tree .mfc-br-col:not(.mfc-br-last):not(.mfc-br-champ) .mfc-br-tie:after{right:-18px;width:17px}
.mfc-br--tree .mfc-br-pair:after{content:"";position:absolute;right:-18px;top:25%;bottom:25%;width:0;border-right:2px solid #cfd8ea}
.mfc-br--tree .mfc-br-col:not(:first-child):not(.mfc-br-champ) .mfc-br-ties>.mfc-br-slot>.mfc-br-tie:before,.mfc-br--tree .mfc-br-col:not(:first-child):not(.mfc-br-champ) .mfc-br-ties>.mfc-br-pair .mfc-br-tie:before{content:"";position:absolute;left:-18px;top:50%;width:17px;border-top:2px solid #cfd8ea}

/* ---- Control Center: Knockout Builder ---- */
#mfc-ko .mfc-ko-h{margin:26px 0 8px;padding-top:16px;border-top:1px solid #e3eaf6;font-size:16px}
#mfc-ko .mfc-ko-h:first-of-type{margin-top:14px}
.mfc-ko-inline{display:flex!important;align-items:center;gap:8px;margin:8px 0;font-weight:700;cursor:pointer}
.mfc-ko-inline input{width:auto!important;margin:0!important}
.mfc-ko-rounds{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:4px 14px;padding:10px 12px;border:1px solid #dce6f6;border-radius:12px;background:#f8faff}
.mfc-ko-round{margin:10px 0;border:1px solid #e1e9f7;border-radius:12px;background:#fff}
.mfc-ko-round>summary{padding:11px 14px;cursor:pointer;font-weight:700;list-style:none}
.mfc-ko-round>summary span{margin-left:8px;padding:2px 9px;border-radius:99px;background:#eef2ff;color:#3730a3;font-size:11px}
.mfc-ko-round[open]>summary{border-bottom:1px solid #eef2f9}
.mfc-ko-round>*:not(summary){margin-left:14px;margin-right:14px}
.mfc-ko-ties{list-style:none;margin:10px 14px;padding:0;display:grid;gap:6px}
.mfc-ko-ties li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:#f6f8fd;font-size:13px}
.mfc-ko-ties li form{margin:0}
.mfc-ko-ties button,.mfc-ko-del button{padding:5px 11px!important;font-size:12px!important;background:#fee2e2!important;color:#991b1b!important;box-shadow:none!important}
.mfc-ko-add{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 14px 14px;padding:10px;border-radius:12px;background:#f5f8ff;border:1px solid #dfe8fa}
.mfc-ko-add strong{flex:1 1 100%;font-size:13px}
.mfc-ko-add select,.mfc-ko-add input{width:auto!important;min-width:120px;margin:0!important}
.mfc-ko-add button{margin:0!important}

/* ---- Results tab: manage match ---- */
details.mfc-mt{flex:1 1 100%;margin-top:6px}
details.mfc-mt>summary{cursor:pointer;display:inline-block;padding:5px 11px;border-radius:99px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:700;list-style:none}
details.mfc-mt>summary::-webkit-details-marker{display:none}
details.mfc-mt[open]>summary{background:#4338ca;color:#fff}
.mfc-mt-body{display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid #dfe8fa;border-radius:12px;background:#f7f9fe;min-width:260px}
.mfc-mt-form{display:flex!important;flex-wrap:wrap;gap:6px;align-items:flex-end;margin:0}
.mfc-mt-form label{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:700;color:#475569}
.mfc-mt-form input[type=datetime-local]{width:auto!important}
.mfc-mt-form button{margin:0!important;padding:7px 12px!important;font-size:12px!important}
.mfc-mt-form button.is-danger{background:#fee2e2!important;color:#991b1b!important}

/* ===== v0.16.0 — searchable player picker, profile achievements, match path ===== */
.mfc-picker{border:1px solid #dce6f6;border-radius:14px;background:#f8faff;padding:12px;margin:4px 0 10px}
.mfc-pick-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mfc-pick-search{display:flex;align-items:center;gap:8px;flex:1 1 240px;min-width:200px;padding:0 12px;border:1.5px solid #d5e0f2;border-radius:12px;background:#fff}
.mfc-pick-search span{color:#2167ff;font-size:18px}
.mfc-pick-search input{flex:1;min-width:0;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;padding:11px 2px!important;margin:0!important;font-size:14px;color:#10264b}
.mfc-pick-search:focus-within{border-color:#2167ff;box-shadow:0 0 0 3px rgba(33,103,255,.14)}
.mfc-pick-bar button{margin:0!important;padding:9px 13px!important;border:1px solid #cfdcf3!important;border-radius:10px!important;background:#fff!important;color:#1b3a8a!important;font-size:12.5px!important;font-weight:700;box-shadow:none!important;cursor:pointer}
.mfc-pick-bar button:hover{background:#eef3ff!important}
.mfc-pick-bar button[aria-pressed="true"]{background:#2167ff!important;color:#fff!important;border-color:#2167ff!important}
.mfc-pick-count{margin:9px 2px 8px;color:#5b6b8c;font-size:12.5px}
.mfc-pick-count strong{color:#2167ff;font-size:14px}
.mfc-pick-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:8px;max-height:360px;overflow:auto;padding:2px}
.mfc-pick-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border:1.5px solid #e3eaf6;border-radius:12px;background:#fff;transition:border-color .15s,background .15s}
.mfc-pick-row[hidden]{display:none}
.mfc-pick-row:hover{border-color:#b9cdf2}
.mfc-pick-row.is-on{border-color:#2167ff;background:#eef4ff}
.mfc-pick-main{display:flex;align-items:center;gap:10px;flex:1;min-width:0;margin:0!important;cursor:pointer}
.mfc-pick-main input{width:auto!important;margin:0!important;flex:0 0 auto}
.mfc-pick-main img{width:34px!important;height:34px!important;border-radius:50%;object-fit:cover;flex:0 0 auto}
.mfc-pick-name{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.mfc-pick-name strong{font-size:13.5px;color:#10264b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mfc-pick-name small{font-size:11px;color:#6b7c9c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mfc-pick-row select{width:auto!important;min-width:92px;margin:0!important;padding:5px 8px!important;font-size:12px!important}
.mfc-pick-seed{width:76px!important;margin:0!important;padding:6px 8px!important;font-size:12px!important}
.mfc-pick-none,.mfc-pick-empty{margin:10px 2px 2px;padding:12px;border-radius:10px;background:#fff7e6;color:#8a5a00;font-size:13px}
.mfc-pick-none[hidden]{display:none}
.mfc-tbl-search{display:flex;align-items:center;gap:8px;margin:8px 0 12px;padding:0 12px;border:1.5px solid #d5e0f2;border-radius:12px;background:#fff}
.mfc-tbl-search span{color:#2167ff;font-size:18px}
.mfc-tbl-search input{flex:1;min-width:0;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;padding:11px 2px!important;margin:0!important;font-size:14px}
.mfc-tbl-search:focus-within{border-color:#2167ff;box-shadow:0 0 0 3px rgba(33,103,255,.14)}
tr[hidden]{display:none}

/* ---- Player profile: achievements ---- */
.mfc-tab-count{display:inline-block;min-width:20px;margin-left:5px;padding:1px 7px;border-radius:99px;background:#ffd05c;color:#2b1d00;font-size:11px;font-weight:800;line-height:1.5;text-align:center}
.mfc-pa-strip{margin:22px 0 4px}
.mfc-pa-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.mfc-pa-head h3{margin:0!important}
.mfc-pa-head a{font-size:13px;font-weight:700;color:#2167ff;text-decoration:none}
.mfc-pa-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.mfc-pa-card{display:flex;gap:13px;align-items:flex-start;padding:15px;border:1px solid #f1dfae;border-radius:16px;background:linear-gradient(150deg,#fffbed,#fff);box-shadow:0 8px 20px rgba(185,134,11,.1);transition:transform .18s,box-shadow .18s}
.mfc-pa-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(185,134,11,.18)}
.mfc-pa-icon{display:grid;place-items:center;flex:0 0 auto;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#ffd75e,#f5a800);font-size:26px;box-shadow:0 6px 14px rgba(245,168,0,.35)}
.mfc-pa-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.mfc-pa-type{font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#92400e}
.mfc-pa-body h4{margin:2px 0!important;font-size:16px!important;line-height:1.25;color:#10264b;overflow-wrap:anywhere}
.mfc-pa-body p{margin:0!important;font-size:13px;color:#475569}
.mfc-pa-body small{font-size:11.5px;color:#94a3b8}
.mfc-pa-body em{margin-top:4px;font-style:normal;font-size:12.5px;color:#5b6b8c}
.mfc-pa-empty{margin:0;padding:18px;border:1px dashed #d4dcec;border-radius:14px;background:#f8faff;color:#64718a;text-align:center;font-size:14px}

/* ---- Match path (matchday by matchday) ---- */
.mfc-mp-day{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:22px 0 10px!important;padding-bottom:8px;border-bottom:2px solid #e8edf6;font-size:16px!important;color:#101828}
.mfc-mp-day span{font-size:12.5px;font-weight:600;color:#667085}
.mfc-mp-day:first-child{margin-top:6px!important}
.mfc-br--proj .mfc-br-seed{background:#fff4d6;color:#8a5a00}

/* v0.23.0 - new club role badges */
.mfc-role-badge.is-manager{background:#ede4ff;color:#4b24a8;border-color:#d8c8ff}
.mfc-role-badge.is-head-coach{background:#ffe9d6;color:#9a3d00;border-color:#ffd0a8}
.mfc-role-badge.is-assistant-coach{background:#fff3e3;color:#a35a00;border-color:#ffdfb3}
.mfc-role-badge.is-moderator{background:#e0f4f7;color:#0b5f6f;border-color:#b6e2ea}

/* v0.24.0 - Player profile: last 10 matches form circles */
body .mfc-profile-card .mfc-pf-form{margin:14px 0 6px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
body .mfc-profile-card .mfc-pf-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}
body .mfc-profile-card .mfc-pf-head strong{font-size:14px;color:#14294b}
body .mfc-profile-card .mfc-pf-head span{font-size:11px;color:#64748b}
body .mfc-profile-card .mfc-pf-dots{display:grid;grid-template-columns:repeat(10,minmax(0,38px));gap:6px;justify-content:start}
body .mfc-profile-card .mfc-pf-dot{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border-radius:50%;border:1px solid rgba(0,0,0,.18);font:800 clamp(11px,2.6vw,15px)/1 system-ui,sans-serif;font-style:normal;color:#000;cursor:default;box-shadow:0 1px 2px rgba(0,0,0,.08)}
body .mfc-profile-card .mfc-pf-dot.is-w{background:#22c55e}
body .mfc-profile-card .mfc-pf-dot.is-d{background:#fff;border-color:#cbd5e1}
body .mfc-profile-card .mfc-pf-dot.is-l{background:#ef4444}
