.clmra-roster-wrap{margin:0 0 18px!important;display:block!important;min-height:1px!important}
.clmra-card{background:rgba(7,18,54,.86);border:1px solid rgba(255,255,255,.10);border-radius:22px;padding:16px;box-shadow:0 8px 24px rgba(0,0,0,.18);margin:0 0 18px}
.clmra-card-head{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}
.clmra-card-title{font-size:21px!important;font-weight:900;color:#fff;letter-spacing:.09em;text-transform:uppercase;line-height:1.1}
.clmra-card-sub{font-size:14px;color:rgba(255,255,255,.78)}
.clmra-card-actions{display:flex;justify-content:flex-start;margin:8px 0 14px}
.clmra-roster-btn,.clmra-auth-btn{display:inline-flex;align-items:center;justify-content:center;border:none;text-decoration:none;cursor:pointer;padding:8px 14px;border-radius:999px;background:#ffc529;color:#06112a!important;font-weight:900;font-size:13px;min-height:36px;line-height:1.1}
.clmra-roster-list{display:grid;grid-template-columns:1fr;gap:10px}
.clmra-player-row{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:17px;background:rgba(255,255,255,.07);color:#fff;width:100%;box-sizing:border-box}
.clmra-ball{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;font-size:24px;line-height:1;filter:saturate(1.15)}
.clmra-player-main{flex:1;min-width:0}.clmra-player-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.clmra-name{font-size:24px!important;font-weight:900!important;color:#fff;line-height:1.08;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clmra-meta-inline{font-size:16px!important;font-weight:700;color:rgba(255,255,255,.76)!important;white-space:nowrap}
.clmra-empty{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.05);color:#fff}.clmra-empty span{font-size:13px;color:rgba(255,255,255,.78)}
.clmra-calendar-card .clms-teamcal-list{margin-top:4px}.clmra-calendar-card .clms-teamcal-row{padding-left:0;padding-right:0}.clmra-hide-title{display:none!important}.clmra-calendar-card{margin-bottom:80px}
.clmra-modal-open{overflow:hidden}.clmra-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px}.clmra-modal-backdrop{position:absolute;inset:0;background:rgba(1,8,28,.75);backdrop-filter:blur(3px)}.clmra-modal-card{position:relative;z-index:1;width:min(560px,92vw);max-height:90vh;overflow:auto;background:#03133a;border:1px solid rgba(255,255,255,.11);border-radius:24px;padding:22px;color:#fff;box-shadow:0 20px 60px rgba(0,0,0,.45);box-sizing:border-box;margin:auto}.clmra-close{position:absolute;top:10px;right:12px;border:none;background:transparent;color:#fff;font-size:32px;cursor:pointer;line-height:1}
.clmra-form-head,.clmra-auth-head,.clmra-mvp-head{font-size:28px;font-weight:900;margin:0 42px 16px 0;line-height:1.1}.clmra-auth-copy{font-size:16px;line-height:1.45;color:rgba(255,255,255,.82);margin-bottom:18px}.clmra-auth-actions,.clmra-front-actions{display:flex;gap:12px;flex-wrap:wrap}.clmra-auth-btn{padding:10px 18px}.clmra-auth-btn.is-primary{background:#ffc529}.clmra-auth-btn:not(.is-primary){background:rgba(255,255,255,.08);color:#fff!important}
.clmra-front-form{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important;box-sizing:border-box!important}.clmra-front-form label{display:flex!important;flex-direction:column!important;gap:6px!important;font-size:15px!important;font-weight:800!important;color:#c9d3ef!important;width:100%!important;box-sizing:border-box!important}.clmra-front-form input{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:16px!important;padding:12px 14px!important;color:#fff!important;font-size:18px!important;height:50px!important;box-sizing:border-box!important}.clmra-front-actions,.clmra-front-msg{grid-column:1/-1}.clmra-front-msg{font-size:14px;color:#c8d2f0}
.clmra-mvp-holder{margin-top:10px;display:flex;justify-content:center;position:relative;z-index:3}.clmra-mvp-badge{display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:999px;background:#ffc529;color:#06112a;font-weight:900;font-size:15px;padding:10px 18px;cursor:pointer;box-shadow:0 8px 18px rgba(255,197,41,.20)}.clmra-mvp-winner-badge{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;background:#ffc529;color:#06112a;font-weight:900;font-size:14px;padding:10px 16px;box-shadow:0 8px 18px rgba(255,197,41,.20);text-transform:uppercase}.clmra-mvp-winner-badge span{opacity:.82}
.clmra-mvp-modal .clmra-modal-card{width:min(620px,94vw)!important;padding:20px!important}.clmra-mvp-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%;box-sizing:border-box}.clmra-mvp-col{display:flex;flex-direction:column;gap:10px;min-width:0}.clmra-mvp-team{font-size:18px;font-weight:900;color:#fff;padding:0 0 8px;border-bottom:1px solid rgba(255,255,255,.10);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clmra-mvp-player{display:flex;align-items:center;justify-content:space-between;gap:10px;border:none;border-radius:16px;background:rgba(255,255,255,.07);padding:12px;color:#fff;cursor:pointer;text-align:left;width:100%;box-sizing:border-box;min-width:0}.clmra-mvp-player.is-selected{outline:2px solid #ffc529}.clmra-mvp-player-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.clmra-mvp-player-name{font-size:18px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clmra-mvp-player-right{display:flex;align-items:center;gap:8px;flex:0 0 auto}.clmra-mvp-votes{font-size:15px;color:rgba(255,255,255,.78)}.clmra-empty-inline{padding:12px;border-radius:14px;background:rgba(255,255,255,.05);color:rgba(255,255,255,.76)}
@media(max-width:640px){.clmra-card{padding:15px;border-radius:22px}.clmra-name{font-size:25px!important}.clmra-meta-inline{font-size:16px!important}.clmra-player-line{align-items:center}.clmra-modal{padding:12px}.clmra-modal-card{width:94vw!important;padding:20px!important}.clmra-form-head,.clmra-auth-head,.clmra-mvp-head{font-size:24px}.clmra-mvp-grid{grid-template-columns:1fr!important}.clmra-mvp-player-name{font-size:20px}.clmra-ball{width:30px;height:30px;flex-basis:30px;font-size:25px}.clmra-roster-btn{font-size:13px;padding:8px 14px}.clmra-card-title{font-size:21px!important}}

/* v1.5 refinements */
.clmra-player-row{cursor:pointer;transition:transform .12s ease, background .12s ease}.clmra-player-row:active{transform:scale(.99)}
.clmra-player-mvp{display:inline-flex;align-items:center;gap:4px;margin-left:8px;border-radius:999px;background:rgba(255,197,41,.15);color:#ffc529;font-weight:900;font-size:14px;padding:4px 8px;white-space:nowrap}
.clmra-mvp-badge{font-size:13px!important;padding:8px 14px!important;min-height:34px!important;box-shadow:0 6px 15px rgba(255,197,41,.18)!important}.clmra-mvp-holder{margin-top:7px!important}
#clms-matchdetails-page .clms-md-big{font-size:clamp(34px,6vw,56px)!important;line-height:1.05!important;font-weight:900!important}
#clms-matchdetails-page .clms-md-date,#clms-matchdetails-page .clms-md-info{font-size:clamp(20px,3.8vw,32px)!important;font-weight:900!important;line-height:1.15!important}

.clmra-mvp-modal .clmra-modal-card{width:min(560px,92vw)!important}.clmra-mvp-grid{grid-template-columns:1fr!important}.clmra-mvp-player{max-width:100%!important;min-width:0!important}.clmra-mvp-player-name{max-width:100%!important}
.clms-teamcal-back,.clms-tc-back,.clms-teamcal-card .clms-back,.clms-teamcal-card .clms-back-btn,.clms-teamcal-card [data-clms-back]{background:#06112a!important;color:#fff!important;border-radius:22px!important;width:64px!important;height:64px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 8px 20px rgba(0,0,0,.25)!important;border:1px solid rgba(255,255,255,.07)!important}
@media(max-width:640px){.clmra-player-mvp{font-size:13px;padding:3px 7px}.clmra-mvp-badge{font-size:12px!important;padding:7px 12px!important}.clmra-mvp-modal .clmra-modal-card{width:90vw!important}.clmra-mvp-player-name{font-size:19px!important}}


/* v1.6 real fixes */
.clmra-player-row{cursor:pointer}
.clmra-player-mvp{display:inline-flex!important;align-items:center!important;gap:4px!important;margin-left:8px!important;border-radius:999px!important;background:rgba(255,197,41,.15)!important;color:#ffc529!important;font-weight:900!important;font-size:14px!important;padding:3px 8px!important;vertical-align:middle!important;white-space:nowrap!important}
.clmra-mvp-badge{font-size:12px!important;padding:7px 13px!important;min-height:32px!important}


.clmra-front-form{max-width:100%!important}
.clmra-front-form label{min-width:0!important}
.clmra-front-form input{max-width:100%!important}
.clmra-mvp-modal .clmra-modal-card{width:min(540px,90vw)!important}
.clmra-mvp-grid{grid-template-columns:1fr!important}
@media(max-width:640px){
 .clmra-modal-card{width:90vw!important;left:auto!important;right:auto!important}
 .clmra-front-form input{height:46px!important;font-size:16px!important}
 .clmra-name{font-size:24px!important}
}


/* v1.7 fixes */
.clmra-mvp-tabs{display:flex;gap:8px;margin:0 0 14px;width:100%;}
.clmra-mvp-tab{flex:1;min-width:0;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);color:#fff;border-radius:999px;padding:10px 12px;font-size:14px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;}
.clmra-mvp-tab.is-active{background:#ffc529;color:#06112a;border-color:#ffc529;}
.clmra-mvp-modal .clmra-mvp-grid{grid-template-columns:1fr!important;}
.clmra-mvp-modal .clmra-mvp-col{width:100%;}
/* non alterare più le dimensioni dei loghi del match details: lascia gestione al plugin principale */
@media(max-width:640px){.clmra-mvp-tabs{gap:6px}.clmra-mvp-tab{font-size:13px;padding:9px 10px}.clmra-mvp-modal .clmra-modal-card{width:90vw!important}}

/* v1.8 - desktop logo normalization + MVP badge in results */
@media (min-width: 700px){
  #clms-matchdetails-page .clms-md-logo{
    width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;object-fit:contain!important;border-radius:0!important;
  }
  #clms-matchdetails-page .clms-md-poll-logo{
    width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;object-fit:contain!important;flex:0 0 30px!important;
  }
  #clms-matchdetails-page .clms-md-form-home,
  #clms-matchdetails-page .clms-md-form-away,
  #clms-matchdetails-page .clms-md-form-opp{
    width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;object-fit:contain!important;flex:0 0 34px!important;border-radius:10px!important;
  }
  #clms-matchdetails-page .clms-md-h2h-logo,
  #clms-matchdetails-page .clms-md-stand-logo{
    width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;object-fit:contain!important;flex:0 0 24px!important;
  }
  #clms-matchdetails-page .clms-md-next3-logo{
    width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;object-fit:contain!important;flex:0 0 38px!important;
  }
}
.clmra-result-mvp-pill{
  position:absolute;
  right:2px;
  top:50%;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 8px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  letter-spacing:.3px;
  color:#06112a;
  background:#ffc529;
  border:0;
  z-index:3;
  cursor:pointer;
  line-height:1.2;
}
.clmra-result-mvp-pill:active{ transform:translateY(-50%) scale(.97); }
#clm-scores-app[data-current-view="champ"] .clmra-result-mvp-pill{ display:none!important; }
.clmra-empty-inline{display:flex;flex-direction:column;gap:10px;align-items:flex-start;}
.clmra-inline-add-player{border:0;border-radius:999px;background:#ffc529;color:#06112a;font-weight:900;font-size:13px;padding:9px 13px;cursor:pointer;}
@media (max-width:390px){.clmra-result-mvp-pill{right:2px;font-size:11px;padding:2px 7px;}}

/* v2.1 - MVP only in match details, no result-card MVP badge */
.clmra-result-mvp-pill{display:none!important;}
.clmra-mvp-add-wrap{margin-top:10px;}
.clmra-inline-add-player{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#ffc529;color:#06112a;font-weight:900;font-size:14px;padding:10px 16px;cursor:pointer;}


/* v2.2 - MVP solo match details + riga risultati centrata con FP */
.clmra-result-mvp-pill{display:none!important;}
#clm-scores-app .clms-match-row:has(.clms-fp-pill){position:relative!important;padding-left:0!important;padding-right:0!important;}
#clm-scores-app .clms-match-row:has(.clms-fp-pill) .clms-match-teams{width:100%!important;margin-left:0!important;margin-right:0!important;transform:none!important;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr)!important;}
#clm-scores-app .clms-match-row:has(.clms-fp-pill) .clms-score,
#clm-scores-app .clms-match-row:has(.clms-fp-pill) .clms-time,
#clm-scores-app .clms-match-row:has(.clms-fp-pill) .clms-live{justify-self:center!important;}
