/* Soccer 411 v0.19.58 — Matchday Predictor game experience.
   All selectors are scoped to the Predictor; the universal rails retain their geometry.
   Only verified WordPress / Predictor API figures appear in this interface. */
.dm-matchday-predictor-page,.s411-predictor-right{
 --s411-game-surface:#fff;--s411-game-inset:#f5f7fa;--s411-game-deep:#152038;
 --s411-game-ink:#18233c;--s411-game-sub:#58677b;--s411-game-line:#dce3ea;
 --s411-game-red:#d80a1a;--s411-game-rose:#fff1f2;--s411-game-green:var(--s411-ui-brand-active);
 --s411-game-hero-ink:#fff;--s411-game-shadow:0 9px 30px rgba(22,33,52,.07);
 color:var(--s411-game-ink);
}
html[data-s411-effective-theme="dark"] :is(.dm-matchday-predictor-page,.s411-predictor-right){
 --s411-game-surface:#1b2330;--s411-game-inset:#232e40;--s411-game-deep:#121b2b;
 --s411-game-ink:#f5f7fc;--s411-game-sub:#c4cfe0;--s411-game-line:#37465c;
 --s411-game-red:#ff4755;--s411-game-rose:#40212d;--s411-game-green:#26d69e;
 --s411-game-shadow:0 9px 30px rgba(0,0,0,.19);
}
.dm-matchday-predictor-page{min-width:0!important;isolation:isolate;background:var(--s411-ui-canvas)!important;color:var(--s411-game-ink)!important}
.dm-matchday-predictor-page .s411-game-hero{
 position:relative;isolation:isolate;overflow:hidden;min-height:175px;margin-bottom:14px;
 padding:22px 24px!important;border-radius:20px!important;border:1px solid #39475f!important;
 background:radial-gradient(ellipse at 86% 8%,rgba(255,64,77,.75),transparent 23%),
 radial-gradient(ellipse at 76% 110%,rgba(45,111,101,.65),transparent 44%),
 repeating-linear-gradient(98deg,transparent 0 45px,rgba(255,255,255,.025) 45px 46px),
 linear-gradient(120deg,#111927 0%,#152037 56%,#321623 100%)!important;
 box-shadow:inset 0 -2px 0 rgba(255,56,69,.38),var(--s411-game-shadow)!important;
}
.dm-matchday-predictor-page .s411-game-hero:before{
 content:"";position:absolute;pointer-events:none;z-index:-1;right:-10%;top:-130%;width:70%;height:250%;transform:rotate(-19deg);
 background:radial-gradient(ellipse at 52% 42%,rgba(255,255,255,.65) 0,rgba(255,255,255,.18) 1%,transparent 3%),
 repeating-linear-gradient(0deg,transparent 0 19px,rgba(255,255,255,.055) 20px 21px);
 opacity:.48;
}
.dm-matchday-predictor-page .s411-game-hero:after{content:"";position:absolute;pointer-events:none;z-index:-1;inset:auto 0 0;
 height:38px;background:linear-gradient(0deg,rgba(22,140,100,.23),transparent)}
.dm-matchday-predictor-page .s411-game-hero .dm-kicker{color:#ff858d!important;font-size:10px;font-weight:900;letter-spacing:.12em}
.dm-matchday-predictor-page .s411-game-hero h1{font-size:clamp(27px,3vw,38px)!important;line-height:1.1!important;letter-spacing:-.04em!important;color:#fff!important;margin:5px 0 8px!important;text-shadow:0 3px 16px rgba(0,0,0,.25)}
.dm-matchday-predictor-page .s411-game-hero p{color:#d5deea!important;font-size:12px!important;line-height:1.55!important;max-width:490px}
.dm-matchday-predictor-page .s411-game-hero .dm-predictor-context strong,.dm-matchday-predictor-page .s411-game-hero .dm-predictor-context span{color:#e1e7ee!important}
.dm-matchday-predictor-page .s411-game-hero .dm-predictor-context a{color:#ff9298!important}
.dm-matchday-predictor-page .s411-game-hero .dm-predictor-secondary{border-color:#526079!important;background:rgba(15,24,40,.65)!important;color:#fff!important}
.dm-matchday-predictor-page .s411-game-hero .dm-predictor-primary{border-color:#f44e5c!important;background:#dd172e!important;color:#fff!important}
.dm-matchday-predictor-page .s411-game-hero__copy{min-width:0!important}
/* Member identity and verified metrics form an arcade-like scoreboard, not fictional XP. */
.dm-matchday-predictor-page .s411-game-player{border:1px solid var(--s411-game-line);padding:15px;border-radius:18px;background:var(--s411-game-surface);box-shadow:var(--s411-game-shadow);gap:12px}
.dm-matchday-predictor-page .s411-game-player__identity{display:flex;align-items:center;gap:11px;min-width:0}
.dm-matchday-predictor-page .s411-game-player__avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--s411-game-line)}
.dm-matchday-predictor-page .s411-game-player__name{display:grid;gap:2px;flex:1;min-width:0}
.dm-matchday-predictor-page .s411-game-player__name span{font-size:9px;font-weight:900;letter-spacing:.11em;color:var(--s411-game-red)}
.dm-matchday-predictor-page .s411-game-player__name strong{font-size:19px;line-height:1.2;color:var(--s411-game-ink);overflow-wrap:anywhere}
.dm-matchday-predictor-page .s411-game-player__name small{font-size:11px;color:var(--s411-game-sub);line-height:1.45}
.dm-matchday-predictor-page .s411-game-player__mark{font-size:24px;color:var(--s411-game-red)}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-metrics{gap:8px}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-metrics article{padding:12px;border:1px solid var(--s411-game-line);border-radius:11px;background:var(--s411-game-inset)!important;color:var(--s411-game-ink)}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-metrics article span,.dm-matchday-predictor-page .s411-game-player .s411-predictor-metrics article small{color:var(--s411-game-sub)!important}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-metrics article strong{color:var(--s411-game-ink)!important;font-size:25px}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-progress{padding:10px 12px;border-color:var(--s411-game-line);background:var(--s411-game-inset)!important;color:var(--s411-game-ink)}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-progress :is(strong,>span){color:var(--s411-game-ink)!important}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-progress small{color:var(--s411-game-sub)!important}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-progress__track{height:8px;background:var(--s411-game-line)}
.dm-matchday-predictor-page .s411-game-player .s411-predictor-progress__track>span{background:linear-gradient(90deg,var(--s411-ui-brand-active),#47e5aa)}
/* Only display a countdown when the backend supplies a real future kickoff. */
.dm-matchday-predictor-page .s411-game-matchday-status{display:flex;align-items:center;gap:14px;justify-content:space-between;
 padding:12px 15px;margin:0 0 10px;border:1px solid var(--s411-game-line);border-left:4px solid var(--s411-game-red);
 border-radius:13px;background:var(--s411-game-surface);color:var(--s411-game-ink)}
.dm-matchday-predictor-page .s411-game-matchday-status__lead{display:flex;align-items:center;gap:10px;flex:none}
.dm-matchday-predictor-page .s411-game-matchday-status__lead>span{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:var(--s411-game-rose);color:var(--s411-game-red);font-size:21px}
.dm-matchday-predictor-page .s411-game-matchday-status__lead div{display:grid;gap:2px}
.dm-matchday-predictor-page .s411-game-matchday-status__lead small{font-size:9px;color:var(--s411-game-sub);font-weight:900;letter-spacing:.07em}
.dm-matchday-predictor-page .s411-game-matchday-status__lead strong{color:var(--s411-game-ink);font-size:18px;font-variant-numeric:tabular-nums}
.dm-matchday-predictor-page .s411-game-matchday-status p{max-width:290px;margin:0;color:var(--s411-game-sub);font-size:11px;line-height:1.5}
/* Competition picker, navigation, headings. */
.dm-matchday-predictor-page .dm-predictor-toolbar{padding:6px 0 11px}
.dm-matchday-predictor-page .dm-predictor-scope__label{color:var(--s411-game-sub)!important}
.dm-matchday-predictor-page .dm-predictor-scope__trigger{border-radius:12px!important;border-color:var(--s411-game-line)!important;background:var(--s411-game-surface)!important;color:var(--s411-game-ink)!important}
.dm-matchday-predictor-page .dm-predictor-toolbar__rules{color:var(--s411-game-red)!important;font-weight:850}
.dm-matchday-predictor-page .dm-predictor-tabs{top:12px!important;border:1px solid var(--s411-game-line)!important;background:var(--s411-game-surface)!important;box-shadow:var(--s411-game-shadow);padding:5px!important;gap:4px!important}
.dm-matchday-predictor-page .dm-predictor-tabs button{color:var(--s411-game-sub)!important;font-size:12px;min-height:46px}
.dm-matchday-predictor-page .dm-predictor-tabs button span{font-size:17px;vertical-align:-1px;margin-right:5px}
.dm-matchday-predictor-page .dm-predictor-tabs button.is-active{color:var(--s411-game-red)!important;background:var(--s411-game-rose)!important;border:1px solid color-mix(in srgb,var(--s411-game-red) 55%,transparent)!important;box-shadow:inset 0 -2px 0 var(--s411-game-red),0 3px 15px rgba(214,4,26,.1)!important}
.dm-matchday-predictor-page .dm-predictor-section-head h2{font-size:clamp(19px,2.2vw,24px)!important;color:var(--s411-game-ink)!important}
.dm-matchday-predictor-page .dm-predictor-section-head .dm-kicker{color:var(--s411-game-green)!important}
.dm-matchday-predictor-page .dm-predictor-section-head>small{color:var(--s411-game-sub)!important;font-weight:750}
/* FIXTURE CARDS: game-board look but existing score/Banker/save input contract stays intact. */
.dm-matchday-predictor-page .s411-game-fixtures{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
.dm-matchday-predictor-page .s411-game-fixture{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:3px 14px;
 padding:14px!important;background:var(--s411-game-surface)!important;color:var(--s411-game-ink)!important;
 border:1px solid var(--s411-game-line)!important;border-radius:16px!important;box-shadow:var(--s411-game-shadow)!important;min-width:0}
.dm-matchday-predictor-page .s411-game-fixture:focus-within{border-color:var(--s411-game-red)!important}
.dm-matchday-predictor-page .s411-game-fixture:has(.dm-predictor-pick.has-prediction){border-left:3px solid var(--s411-game-red)!important}
.dm-matchday-predictor-page .s411-game-fixture__flag{font-size:10px}
.dm-matchday-predictor-page .s411-game-fixture>.dm-predictor-fixture__meta{grid-column:1;grid-row:1;display:flex;flex-wrap:wrap;gap:5px 9px;min-width:0}
.dm-matchday-predictor-page .s411-game-fixture>.dm-predictor-fixture__meta span:first-child{color:var(--s411-game-ink)!important;font-weight:850}
.dm-matchday-predictor-page .s411-game-fixture>.dm-predictor-fixture__meta span:nth-child(2),.dm-matchday-predictor-page .s411-game-fixture>.dm-predictor-fixture__meta time{color:var(--s411-game-sub)!important;font-weight:700;font-size:10px;grid-area:auto}
.dm-matchday-predictor-page .s411-game-fixture>.dm-predictor-fixture__matchup{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:5px;padding:10px 0!important;min-width:0}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-team{gap:5px;min-width:0}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-team img{width:42px;height:42px;max-width:100%;object-fit:contain}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-team strong{font-size:12px;color:var(--s411-game-ink)!important;line-height:1.25;overflow-wrap:anywhere}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-versus{color:var(--s411-game-sub)!important;align-self:center}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-pick{grid-column:2;grid-row:1/3;align-content:center;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:8px!important;border:0!important;padding:4px 0 0!important;min-width:0}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-score-control{grid-template-columns:30px minmax(30px,1fr) 30px;min-width:0}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-score-control :is(button,input){height:43px!important;background:var(--s411-game-inset)!important;color:var(--s411-game-ink)!important;border-color:var(--s411-game-line)!important}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-score-control input{width:100%!important;font-size:21px!important;font-variant-numeric:tabular-nums}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-score-control button{font-size:17px;cursor:pointer}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-score-control button:disabled{cursor:not-allowed}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-score-separator{color:var(--s411-game-sub)!important;justify-self:center}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-banker{grid-column:1/3;min-width:0;height:37px;border-color:var(--s411-game-line)!important;background:var(--s411-game-inset)!important;color:var(--s411-game-ink)!important;font-size:12px}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-banker.is-active{background:#ffca47!important;color:#28200d!important;border-color:#ca9923!important}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-save{grid-column:3;grid-row:2;min-height:37px;height:37px;padding:0 6px;background:var(--s411-game-green)!important;color:#fff!important;font-size:10px}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-fixture__feedback{grid-column:1/-1;grid-row:3;margin:2px 0 0!important;color:var(--s411-game-sub)!important;font-size:10px}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-fixture__feedback.is-error{color:#ff535e!important}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-fixture__feedback.is-success{color:var(--s411-game-green)!important}
.dm-matchday-predictor-page .s411-game-fixture footer{grid-column:1/-1;grid-row:4;padding-top:7px;margin-top:3px;border-top:1px solid var(--s411-game-line)}
.dm-matchday-predictor-page .s411-game-fixture footer a{color:var(--s411-game-red)!important;font-size:11px}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-result{grid-column:2;grid-row:1/3;background:var(--s411-game-inset);min-width:0}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-result :is(span,small){color:var(--s411-game-sub)}
.dm-matchday-predictor-page .s411-game-fixture .dm-predictor-result :is(span strong,b){color:var(--s411-game-ink)}
/* Scoping to the page prevents the gaming accents from changing the site-wide sidebars. */
.dm-matchday-predictor-page :is(.dm-predictor-empty,.dm-predictor-empty-inline,.dm-predictor-pool-card,.dm-predictor-pool-tools form,.s411-predictor-national-board,.s411-predictor-mini-board){background:var(--s411-game-surface)!important;color:var(--s411-game-ink)!important;border-color:var(--s411-game-line)!important}
.dm-matchday-predictor-page .dm-predictor-empty :is(strong,p),.dm-matchday-predictor-page .dm-predictor-empty-inline{color:var(--s411-game-ink)!important}
.dm-matchday-predictor-page .dm-predictor-empty p{color:var(--s411-game-sub)!important}
.dm-matchday-predictor-page .dm-predictor-leaderboard li,.dm-matchday-predictor-page .s411-predictor-national-board li{background:var(--s411-game-surface);border-color:var(--s411-game-line);color:var(--s411-game-ink)}
.dm-matchday-predictor-page .dm-predictor-leaderboard strong,.dm-matchday-predictor-page .dm-predictor-pools-block h3{color:var(--s411-game-ink)!important}
.dm-matchday-predictor-page .dm-predictor-pool-tools form button{background:var(--s411-game-green)!important;color:#fff!important}
/* Context-specific right widgets; rendered in the existing global right-rail slot. */
.s411-predictor-right{display:grid!important;align-content:start;gap:10px;min-width:0}
.s411-predictor-right .s411-game-rail-panel{margin:0!important;padding:15px!important;border:1px solid var(--s411-game-line)!important;border-radius:15px!important;background:var(--s411-game-surface)!important;color:var(--s411-game-ink)!important;box-shadow:var(--s411-game-shadow)!important}
.s411-predictor-right .s411-game-rail-panel h2{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:var(--s411-game-ink)!important;font-size:15px;font-weight:900}
.s411-predictor-right .s411-game-rail-panel h2 span{color:var(--s411-game-red);font-size:18px}
.s411-predictor-right .s411-game-rail-panel p{margin:8px 0;color:var(--s411-game-sub)!important;font-size:12px;line-height:1.5}
.s411-predictor-right .s411-game-rail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.s411-predictor-right .s411-game-rail-stats>div{display:grid;gap:3px;min-width:0;padding:11px 4px;text-align:center;border-radius:10px;background:var(--s411-game-inset)}
.s411-predictor-right .s411-game-rail-stats strong{font-size:19px;color:var(--s411-game-ink);font-variant-numeric:tabular-nums}
.s411-predictor-right .s411-game-rail-stats small{font-size:9px;color:var(--s411-game-sub);line-height:1.3}
.s411-predictor-right .s411-game-rail-note{font-size:10px!important}
.s411-predictor-right :is(.s411-game-rail-league,.s411-game-rail-fixture,.s411-game-rail-rank){padding:9px 0;border-top:1px solid var(--s411-game-line)}
.s411-predictor-right .s411-game-rail-league{display:flex;align-items:center;gap:9px}
.s411-predictor-right .s411-game-rail-dot{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:9px;color:var(--s411-game-red);background:var(--s411-game-rose)}
.s411-predictor-right .s411-game-rail-league div{display:grid;gap:2px;min-width:0}
.s411-predictor-right .s411-game-rail-league strong,.s411-predictor-right .s411-game-rail-fixture strong{font-size:11px;color:var(--s411-game-ink)!important;line-height:1.35}
.s411-predictor-right .s411-game-rail-league small,.s411-predictor-right .s411-game-rail-fixture small{font-size:10px;color:var(--s411-game-sub)}
.s411-predictor-right .s411-game-rail-fixture{display:grid;gap:3px}
.s411-predictor-right .s411-game-rail-rank{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:7px;font-size:11px;color:var(--s411-game-ink)}
.s411-predictor-right .s411-game-rail-rank b{display:grid;place-items:center;border-radius:7px;background:var(--s411-game-inset);height:25px}
.s411-predictor-right .s411-game-rail-rank strong{color:var(--s411-game-green)}
.s411-predictor-right .s411-game-rail-link{display:inline-flex;margin-top:11px;font-size:11px;font-weight:850;color:var(--s411-game-red)!important}
/* Theme-mode focus and mobile-safe spacing */
.dm-matchday-predictor-page :is(button,a,input,select):focus-visible,.s411-predictor-right a:focus-visible{outline:2px solid var(--s411-game-red)!important;outline-offset:3px!important}
.dm-matchday-predictor-page [hidden]{display:none!important}
@media(max-width:860px){
 .dm-matchday-predictor-page .s411-game-fixture{grid-template-columns:minmax(0,1fr)!important}
 .dm-matchday-predictor-page .s411-game-fixture>.dm-predictor-fixture__meta{grid-column:1;grid-row:auto}
 .dm-matchday-predictor-page .s411-game-fixture>.dm-predictor-fixture__matchup{grid-column:1;grid-row:auto}
 .dm-matchday-predictor-page .s411-game-fixture .dm-predictor-pick{grid-column:1;grid-row:auto;max-width:100%;border-top:1px solid var(--s411-game-line)!important;padding-top:11px!important}
 .dm-matchday-predictor-page .s411-game-fixture .dm-predictor-result{grid-column:1;grid-row:auto}
 .dm-matchday-predictor-page .s411-game-fixture .dm-predictor-fixture__feedback,.dm-matchday-predictor-page .s411-game-fixture footer{grid-column:1;grid-row:auto}
}
@media(max-width:720px){
 .dm-matchday-predictor-page .s411-game-hero{padding:19px 16px!important;min-height:168px}
 .dm-matchday-predictor-page .s411-game-hero .dm-predictor-hero__actions{justify-content:flex-start;flex-wrap:wrap}
 .dm-matchday-predictor-page .s411-game-player{padding:12px}
 .dm-matchday-predictor-page .s411-game-player__name strong{font-size:17px}
 .dm-matchday-predictor-page .s411-game-player .s411-predictor-metrics article{padding:10px 7px}
 .dm-matchday-predictor-page .s411-game-player .s411-predictor-metrics article strong{font-size:20px}
 .dm-matchday-predictor-page .s411-game-matchday-status{flex-wrap:wrap}
 .dm-matchday-predictor-page .dm-predictor-tabs{top:0!important}
 .dm-matchday-predictor-page .dm-predictor-tabs button{font-size:11px}
 .dm-matchday-predictor-page .dm-predictor-tabs button span{display:none}
 .dm-matchday-predictor-page .s411-game-fixture .dm-predictor-score-control{grid-template-columns:30px minmax(30px,1fr) 30px}
}
@media(prefers-reduced-motion:reduce){.dm-matchday-predictor-page *, .s411-predictor-right *{animation:none!important;transition-duration:0s!important}}
