.match-center{--mc-blue:#1664a5;--mc-ink:#12324d;--mc-border:#dce7ef;max-width:1180px;margin:auto;color:var(--mc-ink)}
.match-live-header{background:linear-gradient(125deg,#102e4b,#1664a5);color:#fff;border-radius:24px;padding:24px;margin-bottom:18px;box-shadow:0 16px 40px #12324d18}.match-live-heading,.event-toolbar,.match-center-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.match-live-heading a{color:#e3f2ff}.match-live-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);align-items:center;gap:14px;text-align:center;padding:22px 0}.match-side{display:grid;justify-items:center;gap:10px}.match-side img,.crest-fallback{width:78px;height:78px;object-fit:contain;background:#fff;border-radius:19px;padding:8px}.crest-fallback svg{width:100%;height:100%;color:var(--mc-blue)}.match-side h2{margin:0;font-size:22px;overflow-wrap:anywhere}.match-side small{font-size:11px;color:#d5e8f8}.score-number,.score-button{font-size:44px;font-weight:900;line-height:1.2;font-size:44px!important;color:#fff!important}.score-button{background:#ffffff1c!important;min-width:78px;border:1px solid #ffffff55!important;border-radius:14px!important;padding:3px 18px!important;cursor:pointer}.score-button:hover{background:#ffffff32!important}.match-clock{display:grid;gap:10px;justify-items:center;font-size:12px}.match-clock strong{font-size:28px;letter-spacing:1px;font-variant-numeric:tabular-nums}.match-clock [data-feed-status]{font-size:10px;color:#d5e8f8}.match-center-nav{justify-content:flex-start;padding:12px 2px 20px}.match-center-nav a{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--mc-border);border-radius:12px;background:#fff}.match-center-nav svg{width:20px;height:20px}
.match-lineups,.match-events-section{border:1px solid var(--mc-border);border-radius:22px;background:#fff;padding:22px;margin-bottom:22px}.match-lineup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.match-lineup-grid article{min-width:0}.event-lineup-pitch{display:flex;flex-direction:column-reverse;gap:24px;position:relative;overflow:hidden;background:repeating-linear-gradient(0deg,#164b76 0 20%,#1c5683 20% 40%);border:2px solid #a6cde488;border-radius:18px;padding:28px 8px 45px}.event-lineup-pitch:before{content:"";position:absolute;inset:12px;border:1px solid #c5e3f777;pointer-events:none}.event-lineup-pitch:after{content:"";position:absolute;width:25%;aspect-ratio:1;border:1px solid #c5e3f777;border-radius:50%;top:42%;left:37%;pointer-events:none}.event-lineup-row{display:flex;justify-content:space-around;gap:4px;z-index:1}.event-lineup-player{position:relative;display:grid;justify-items:center;gap:4px;flex:1;min-width:0;color:white}.event-lineup-player>img,.event-lineup-player>span{width:44px;height:44px;object-fit:cover;background:#eaf4fc;border:2px solid white;border-radius:50%;display:grid;place-items:center;color:#1664a5}.event-lineup-player svg{width:26px;height:26px}.event-lineup-player b{position:absolute;top:28px;right:calc(50% - 28px);font-size:10px;background:#fff;color:#12324d;border-radius:10px;padding:1px 5px}.event-lineup-player small{font-size:10px;line-height:1.4;text-align:center;overflow-wrap:anywhere}.event-formation{position:absolute;bottom:12px;left:16px;color:#fff;font-weight:800}
.event-toolbar h2{margin:3px 0 10px}.event-toolbar button{background:#1664a5;color:#fff;padding:12px 20px;border:0;border-radius:12px;cursor:pointer;font:inherit;font-weight:700}.event-filter{display:flex!important;align-items:center;gap:7px;font-size:12px}.event-filter input{width:auto!important}.event-team-headings,.match-event-row{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);gap:12px;align-items:center}.event-team-headings{margin-top:20px;padding:16px 10px;background:#edf5fb;border-radius:12px;text-align:center;font-size:13px}.event-team-headings>span{font-size:10px;color:#5c7890}.match-event-row{position:relative;min-height:86px;padding:14px 0;border-bottom:1px solid #edf2f6}.match-event-row:last-child{border:0}.event-minute{display:grid;justify-items:center;gap:7px;text-align:center}.event-minute b{font-size:13px;font-variant-numeric:tabular-nums}.event-minute>span{display:grid;place-items:center;width:30px;height:30px;background:#edf5fb;border-radius:50%;font-size:17px}.event-card{display:flex;align-items:center;gap:10px;padding:10px;border-radius:13px;min-width:0;color:inherit;text-decoration:none!important}.event-card.editable{background:#f5f9fc;border:1px solid #e3edf5;cursor:pointer}.event-card.editable:hover{border-color:#1664a5}.event-avatar{width:38px;height:38px;object-fit:cover;border-radius:50%;flex:none}.event-copy{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}.event-copy strong{font-size:13px}.event-copy span{font-size:12px}.event-copy small{font-size:10px;color:#698094}.event-in{color:#1664a5}.event-empty{text-align:center;padding:30px 12px;color:#698094}.event-fallback{margin:12px 0;border:1px solid var(--mc-border);border-radius:16px;padding:16px;background:white}.event-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.match-center form{display:grid;gap:16px}.match-center form label{display:grid;gap:8px}.match-center input,.match-center select{box-sizing:border-box;width:100%;max-width:100%;padding:11px;border:1px solid #c8d9e6;border-radius:10px;font:inherit;background:#fff;color:#12324d}.match-center input[type=checkbox]{width:auto}.event-form-actions{display:flex;gap:10px;justify-content:flex-end}.match-center dialog{border:0;border-radius:22px;padding:26px;width:min(580px,calc(100% - 32px));max-height:85vh;box-sizing:border-box;overflow:auto;color:#12324d}.match-center dialog::backdrop{background:#071c35a8;backdrop-filter:blur(4px)}.match-center form button{padding:11px 18px;border-radius:10px;border:1px solid #dce7ef;font:inherit;cursor:pointer}.match-center form button[type=submit],.match-center [data-score-form]>button:first-of-type{background:#1664a5;color:white}.match-center [hidden]{display:none!important}.match-center .hint{font-size:12px;line-height:1.8;color:#607b90}.match-public-page{margin:0;background:#f1f6fa;font-family:Cairo,Tahoma,sans-serif;padding:24px}.match-public-page .public-brand{max-width:1180px;margin:0 auto 20px;display:flex;align-items:center;gap:12px;color:#12324d;text-decoration:none}.public-brand img{width:45px;height:45px;object-fit:contain}
@media(max-width:650px){.match-public-page{padding:12px}.match-live-header{padding:16px}.match-live-scoreboard{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:6px}.match-side img,.crest-fallback{width:55px;height:55px}.match-side h2{font-size:15px}.match-clock strong{font-size:21px}.match-clock{font-size:10px}.match-side small{font-size:9px}.match-lineups,.match-events-section{padding:14px}.match-lineup-grid{grid-template-columns:1fr}.event-team-headings,.match-event-row{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:5px}.event-card{gap:5px;padding:7px;flex-wrap:wrap}.event-avatar{width:30px;height:30px}.event-copy strong{font-size:12px}.event-copy span{font-size:11px}.event-form-grid{grid-template-columns:1fr 1fr}.event-form-grid>label:first-child{grid-column:1/-1}.match-center dialog{padding:18px}.event-team-headings{font-size:11px}.match-live-heading{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.match-event-row{animation:event-arrive .25s ease-out}@keyframes event-arrive{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

.crest-fallback{display:grid;place-items:center;color:#1664a5}.crest-fallback .league-icon{width:46px;height:46px}

.match-live-scoreboard .match-side h2 a{color:inherit}.event-copy>a{font-size:12px;color:inherit;text-decoration:none}.event-copy>a:hover{text-decoration:underline}

/* A shared, balanced scoreboard for the public page and staff workspace. */
.match-center .match-live-header{background:#fff;color:#102a43;border:1px solid #dce5ee;border-top:4px solid #1664a5;border-radius:22px;padding:20px 26px;margin-bottom:14px;box-shadow:0 8px 28px #102a4307}
.match-center .match-live-heading{font-size:12px;color:#6c8094;gap:10px}
.match-center .match-live-heading a{color:#42617c;font-weight:700}
.match-center .match-live-scoreboard{grid-template-columns:minmax(0,1fr) minmax(130px,190px) minmax(0,1fr);gap:18px;padding:30px 0 12px;align-items:start}
.match-center .match-side{gap:12px;min-width:0;align-content:start;grid-template-rows:92px minmax(50px,auto) auto}
.match-center .match-side>img,.match-center .match-side>.crest-fallback{width:88px;height:88px;border-radius:18px;padding:7px;background:#f4f7fa;border:1px solid #e6edf3;object-fit:contain}
.match-center .match-side h2{font-size:20px;line-height:1.6;align-self:center;margin:0;max-width:100%}
.match-center .match-side [data-star-compact]{min-width:0;max-width:100%}
.match-center .match-star-compact{margin:0;max-width:240px;padding:6px 9px;font-size:11px!important;background:#f7f9fc;border-color:#e3eaf1;text-align:start}
.match-center .match-score-center{display:grid;justify-items:center;gap:13px;padding-top:12px;min-width:0}
.match-center .match-scoreline{display:flex;align-items:center;justify-content:center;gap:13px;direction:rtl;font-variant-numeric:tabular-nums}
.match-center .score-number,.match-center .score-button{font-size:48px!important;line-height:1.2;color:#102a43!important;font-weight:900}
.match-center .score-button{min-width:60px;background:#edf4fa!important;border:1px solid #cbddea!important;border-radius:12px!important;padding:5px 10px!important}
.match-center .score-button:hover{background:#deecf6!important}
.match-center .match-score-divider{font-size:28px;color:#a4b4c3;line-height:1}
.match-center .match-clock{gap:6px;font-size:12px;text-align:center;color:#48647d}
.match-center .match-clock [data-clock-label]{background:#edf4fa;color:#1664a5;border-radius:7px;padding:4px 11px;font-weight:800}
.match-center .match-clock strong{font-size:20px;line-height:1.3;color:#102a43}
.match-center .match-clock [data-clock-remaining],.match-center .match-clock [data-feed-status],.match-center .match-score-help{color:#70869a;font-size:10px;line-height:1.6}
.match-center .match-clock [data-clock-remaining]:empty{display:none}
.match-center .match-watch-live{display:flex;align-items:center;gap:16px;min-height:82px;width:100%;padding:15px 22px;margin-bottom:18px;border:1px solid #173e61;border-radius:16px;background:#102f4c;color:#fff;text-decoration:none;box-shadow:0 7px 20px #102a4312}
.match-center .match-watch-live:hover{background:#16496f}
.match-watch-play{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #ffffff65;border-radius:50%;background:#ffffff12}
.match-watch-play svg{width:25px;height:25px}
.match-watch-live>span:nth-child(2){display:grid;gap:3px}
.match-watch-live strong{font-size:18px;line-height:1.5}
.match-watch-live small{font-size:11px;color:#c1d4e4;line-height:1.6}
.match-watch-arrow{font-size:25px;margin-inline-start:auto}
.match-public-tabs{display:flex;align-items:stretch;gap:26px;white-space:nowrap;overflow-x:auto;scrollbar-width:none;background:#fff;border-block:1px solid #dfe7ee;padding:0 18px;margin-bottom:20px;border-radius:10px}
.match-public-tabs::-webkit-scrollbar{display:none}
.match-public-tabs a{display:flex;align-items:center;min-height:54px;padding:12px 2px;border-bottom:3px solid transparent;font-size:13px;font-weight:800;color:#5f7488;text-decoration:none}
.match-public-tabs a:hover,.match-public-tabs a:focus-visible{color:#1664a5;border-bottom-color:#1664a5}
.match-center a:focus-visible,.match-center button:focus-visible{outline:3px solid #1976b9;outline-offset:3px}
.match-public-page>main{max-width:1180px;margin:auto;min-width:0}
.match-public-page .match-lineups,.match-public-page .match-events-section,.match-public-page .club-section{box-shadow:none;scroll-margin-top:20px}
@media(max-width:650px){
 .match-center .match-live-header{padding:15px 12px;border-radius:17px}
 .match-center .match-live-scoreboard{grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr);gap:7px;padding:24px 0 8px}
 .match-center .match-side{gap:8px;grid-template-rows:64px minmax(46px,auto) auto}
 .match-center .match-side>img,.match-center .match-side>.crest-fallback{width:62px;height:62px;padding:5px;border-radius:13px}
 .match-center .match-side h2{font-size:14px;line-height:1.7}
 .match-center .match-score-center{gap:10px;padding-top:7px}
 .match-center .score-number,.match-center .score-button{font-size:34px!important}
 .match-center .match-scoreline{gap:8px}
 .match-center .score-button{min-width:38px;padding:4px 7px!important}
 .match-center .match-score-divider{font-size:20px}
 .match-center .match-clock{font-size:10px;gap:5px}
 .match-center .match-clock strong{font-size:17px}
 .match-center .match-clock [data-clock-label]{padding:3px 6px}
 .match-center .match-clock [data-feed-status]{font-size:9px}
 .match-center .match-star-compact{font-size:10px!important;padding:5px 6px;gap:3px}
 .match-center .match-star-compact>span:first-child{font-size:17px}
 .match-center .match-live-heading{font-size:10px}
 .match-center .match-watch-live{min-height:78px;padding:13px 16px;gap:12px;border-radius:14px}
 .match-watch-live strong{font-size:16px}
 .match-watch-live small{font-size:10px}
 .match-watch-play{width:42px;height:42px}
 .match-public-tabs{gap:22px;padding-inline:12px;margin-bottom:16px}
 .match-public-tabs a{font-size:12px;min-height:50px}
}
/* Compact public incident rows: portrait beside name, event type beneath. */
.match-event-row{min-height:58px;padding:8px 0}.match-event-row .event-card{flex-wrap:nowrap;align-items:center;gap:8px;padding:4px 2px}.match-event-row .event-avatar{width:32px;height:32px}.match-event-row .event-copy{gap:2px;flex:1}.match-event-row .event-player{font-size:12px;font-weight:700;line-height:1.35}.match-event-row .event-type{font-size:11px;color:#698094;line-height:1.3}.match-event-row .event-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.match-event-row .event-minute{gap:4px}.match-event-row .event-minute>span{width:24px;height:24px;font-size:15px}