/* Soccer 411 v0.19.61: compact prediction card responsive correction.
   Scoped to predictor fixtures; button colours follow the shared CI contract.
   Use the horizontal fixture layout until the actual card container becomes mobile-narrow.
   Existing save, Banker, fixture and score-step DOM attributes remain untouched. */
.dm-matchday-predictor-page .s411-game-fixtures>.s411-predict-card {
  display:block!important;min-height:0!important;overflow:hidden;padding:0!important;
  background:var(--s411-game-surface)!important;background-image:none!important;
  border:1px solid var(--s411-game-line)!important;border-radius:13px!important;
  box-shadow:none!important;color:var(--s411-game-ink)!important;
}
.dm-matchday-predictor-page .s411-game-fixtures>.s411-predict-card:first-child.is-pre,
.dm-matchday-predictor-page .s411-game-fixtures>.s411-predict-card.is-pre:hover {
  background:var(--s411-game-surface)!important;background-image:none!important;
  border-color:var(--s411-game-line)!important;box-shadow:none!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__meta{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex-direction:row!important;flex-wrap:wrap;gap:5px 11px!important;
  width:100%;min-height:34px;min-width:0;padding:9px 13px!important;
  border:0!important;border-bottom:1px solid var(--s411-game-line)!important;
  background:var(--s411-game-inset)!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-arena-competition-crest{width:20px!important;height:20px!important;object-fit:contain;flex:none}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__league{font-size:12px!important;font-weight:900!important;line-height:1.3!important;color:var(--s411-game-ink)!important;letter-spacing:-.01em}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__round{color:var(--s411-game-sub)!important;font-size:10px!important;font-weight:750!important;line-height:1.35!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__round::before{content:'·';padding-right:10px;color:var(--s411-game-sub)}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__date{margin-left:auto;color:var(--s411-game-ink)!important;font-size:10px!important;font-weight:850!important;line-height:1.3!important;white-space:nowrap}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__pick{
  display:block!important;position:static!important;width:100%!important;min-width:0!important;
  grid-column:auto!important;grid-row:auto!important;grid-template-columns:none!important;
  border:0!important;background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__teams{
  display:grid!important;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)!important;
  align-items:center!important;gap:9px!important;min-width:0!important;
  padding:12px 13px!important;background:transparent!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__side{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:9px!important;min-width:0!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__side.is-away{flex-direction:row!important}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-team{
  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
  text-align:left!important;gap:9px!important;min-width:0!important;flex:1 1 auto!important;
}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-team img{
  width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;
  object-fit:contain!important;flex:none;
}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-team strong{
  min-width:0!important;max-width:100%!important;color:var(--s411-game-ink)!important;
  font-weight:850!important;font-size:12px!important;line-height:1.25!important;overflow-wrap:anywhere;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__versus{
  display:grid;place-items:center!important;padding:0!important;width:30px;height:27px;
  border-radius:7px;background:var(--s411-game-inset);color:var(--s411-game-sub);font-size:10px;font-weight:900;
}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control{
  display:grid!important;grid-template-columns:27px 32px 27px!important;flex:none;
  width:86px!important;max-width:86px!important;min-width:0!important;height:36px!important;
  align-items:center!important;gap:0!important;
}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control :is(button,input){
  height:36px!important;min-width:0!important;width:100%!important;min-height:36px!important;
  background:var(--s411-game-inset)!important;color:var(--s411-game-ink)!important;
  border:1px solid var(--s411-game-line)!important;border-radius:0!important;margin:0!important;padding:0!important;
  box-shadow:none!important;text-align:center!important;font-variant-numeric:tabular-nums;
}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control button{
  font-size:18px!important;font-weight:900!important;cursor:pointer;
}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control input{
  -moz-appearance:textfield;appearance:textfield;font-size:19px!important;font-weight:900!important;
  color:var(--s411-game-ink)!important;
}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control input::-webkit-inner-spin-button,
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control button:first-child{border-radius:8px 0 0 8px!important}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control button:last-child{border-radius:0 8px 8px 0!important}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control button:not(:disabled):hover{background:var(--s411-ui-surface-hover)!important}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-score-control :is(button,input):focus-visible{outline:2px solid var(--s411-ui-focus)!important;outline-offset:2px;z-index:2;position:relative}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;gap:7px 9px!important;width:100%;min-width:0;
  border-top:1px solid var(--s411-game-line)!important;padding:8px 13px!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .dm-predictor-fixture__feedback{
  position:static!important;grid-column:auto!important;grid-row:auto!important;
  flex:1 1 175px;margin:0!important;min-width:0!important;min-height:0!important;
  color:var(--s411-game-sub)!important;font-size:10px!important;line-height:1.35!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .dm-predictor-fixture__feedback.is-success{color:var(--s411-button-success)!important}
html[data-s411-effective-theme="dark"] .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .dm-predictor-fixture__feedback.is-success{color:#65ebba!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .dm-predictor-fixture__feedback.is-error{color:#f16b76!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  position:static!important;grid-column:auto!important;grid-row:auto!important;
  width:auto!important;min-width:95px!important;max-width:none!important;
  min-height:34px!important;height:34px!important;padding:4px 12px!important;
  font-size:11px!important;line-height:1.2!important;font-weight:850!important;white-space:nowrap!important;
  border-radius:8px!important;box-shadow:none!important;margin:0!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--banker{
  background:var(--s411-game-inset)!important;color:var(--s411-game-ink)!important;border:1px solid var(--s411-game-line)!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--banker span{color:var(--s411-button-special)!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--banker.is-active{
  background:var(--s411-button-special)!important;color:#261a00!important;border-color:var(--s411-button-special)!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--banker.is-active span{color:#261a00!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--primary{
  background:var(--s411-button-primary)!important;color:#fff!important;border:1px solid var(--s411-button-primary)!important;
  min-width:135px!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--primary:not(:disabled):hover{background:var(--s411-button-primary-hover)!important;border-color:var(--s411-button-primary-hover)!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button:disabled{opacity:.55!important;cursor:not-allowed!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-predict-card__match-link{
  color:var(--s411-game-ink)!important;font-size:11px!important;font-weight:800!important;
  text-decoration:none;white-space:nowrap!important;padding:8px 2px;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-predict-card__match-link:hover{text-decoration:underline}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-predict-card__match-link span{color:var(--s411-button-primary);font-size:14px}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__teams--final{padding:13px!important}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-final-score{color:var(--s411-game-ink)!important;text-align:center}
.dm-matchday-predictor-page .s411-predict-card .dm-predictor-result{grid-column:auto!important;grid-row:auto!important;margin:0 13px 9px!important;color:var(--s411-game-ink)!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__final-footer{display:block!important;grid-column:auto!important;grid-row:auto!important;text-align:right;padding:8px 13px!important;margin:0!important;border-top:1px solid var(--s411-game-line)!important}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__final-footer a{color:var(--s411-game-ink)!important;font-size:11px!important}
@container s411predictor (max-width:540px){
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__teams{grid-template-columns:minmax(0,1fr)!important;gap:5px!important;padding:10px 12px!important}
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__side{width:100%!important;min-width:0!important}
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__versus{justify-self:center;height:17px!important;background:transparent!important}
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__meta{gap:4px 9px!important}
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__date{margin-left:0}
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions{justify-content:flex-start!important}
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .dm-predictor-fixture__feedback{flex:1 1 100%}
}
@container s411predictor (max-width:420px){
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button{flex:1 1 auto}
 .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-predict-card__match-link{flex:1 1 100%;text-align:right}
}
@media(prefers-reduced-motion:reduce){.dm-matchday-predictor-page .s411-predict-card *{transition:none!important}}


/* Soccer 411 v0.19.63 — quieter Predictor save action.
   Brand red remains an accent; saving is visually primary without a vivid red fill.
   Scoped solely to active/guest save controls on Predictor fixture cards.
   Never alter score, Banker, and save-event attributes. */
.dm-matchday-predictor-page {
  --s411-predict-save-bg:#34465D;
  --s411-predict-save-bg-hover:#415570;
  --s411-predict-save-border:#607189;
  --s411-predict-save-text:#F8FAFE;
}
html:not([data-s411-effective-theme="dark"]) .dm-matchday-predictor-page {
  --s411-predict-save-bg:#2A3B54;
  --s411-predict-save-bg-hover:#3A4B64;
  --s411-predict-save-border:#334D6C;
  --s411-predict-save-text:#FFFFFF;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--primary {
  background:var(--s411-predict-save-bg)!important;
  background-image:none!important;
  color:var(--s411-predict-save-text)!important;
  border:1px solid var(--s411-predict-save-border)!important;
  border-bottom:2px solid #B64B57!important;
  box-shadow:none!important;
  text-shadow:none!important;
  transition:background-color .16s ease,border-color .16s ease!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--primary:not(:disabled):hover {
  background:var(--s411-predict-save-bg-hover)!important;
  border-color:var(--s411-predict-save-border)!important;
  border-bottom-color:#C76670!important;
  box-shadow:none!important;
}
.dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--primary:focus-visible {
  outline:2px solid var(--s411-ui-focus,#D26876)!important;
  outline-offset:2px!important;
}
@media (prefers-reduced-motion:reduce) {
  .dm-matchday-predictor-page .s411-predict-card .s411-predict-card__actions .s411-button--primary {transition:none!important;}
}
