/* v47 — full fixture rail, integrated league flags, locked season setup and read-only preseason review */

/* All weekly matches must share the right rail instead of one card filling it. */
@media (min-width:1181px){
  .compactOddsPanel{
    height:calc(100vh - 86px)!important;
    max-height:calc(100vh - 86px)!important;
    overflow:hidden!important;
  }
  .compactOddsPanel>.body{
    display:flex!important;
    flex-direction:column!important;
    height:calc(100% - 38px)!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .compactOddsPanel #fixtures{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:repeat(var(--fixture-count,9),minmax(0,1fr))!important;
    align-content:stretch!important;
    flex:1 1 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-top:4px!important;
    gap:3px!important;
    padding:0 2px 0 0!important;
    overflow:hidden!important;
  }
  .compactOddsPanel #fixtures>.compactFixture{
    display:grid!important;
    grid-template-rows:auto auto!important;
    align-content:center!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:2px 4px!important;
    overflow:hidden!important;
  }
  .compactFixtureMain{min-height:0!important}
  .compactFixtureTeams{font-size:9px!important}
  .compactFixtureTeams .clubText{font-size:9px!important}
  .compactFixtureTeams .teamLogo,
  .compactFixtureTeams .clubChip .teamLogo,
  #fixtures .compactFixture .teamLogo{
    width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;flex:0 0 17px!important;
  }
  .compactDetailBtn{min-height:18px!important;padding:2px 4px!important;font-size:7.5px!important}
  .compactOdds3{gap:2px!important;margin-top:2px!important}
  .compactOdds3 .odd{min-height:18px!important;padding:1px 3px!important}
  .compactOdds3 .odd b,.compactOdds3 .odd span{font-size:7.8px!important}
}

/* The flag is inside the league selector; the old detached badge is removed. */
.leagueFlagBadgeV46{display:none!important}
.leagueSelectWithFlagV46,
.leagueOnly label{
  display:block!important;
  position:relative!important;
}
.leagueSelectWithFlagV46>span:not(.leagueFlagBadgeV46),
.leagueOnly label>span{
  display:block!important;
  margin-bottom:5px!important;
}
#leagueSelect{
  grid-column:auto!important;
  padding-left:43px!important;
  background-repeat:no-repeat!important;
  background-position:12px 50%!important;
  background-size:23px 15px!important;
}
#leagueSelect:disabled,#seasonWeeksSelect:disabled{
  opacity:.67!important;
  cursor:not-allowed!important;
  background-color:#edf2f6!important;
  color:#607487!important;
}
.seasonSetupLockedV47{position:relative}
.seasonSetupLockedV47::after{
  content:"Sezon başladı • seçim kilitli";
  display:block;
  margin-top:5px;
  color:#8a5d08;
  font-size:9px;
  font-weight:900;
}
html[lang="en"] .seasonSetupLockedV47::after{content:"Season started • selection locked"}

/* Locked preseason slips can still be reviewed, but not edited. */
#preseasonBtn.lockedReviewV47{
  background:linear-gradient(135deg,#6552d8,#7b63e8)!important;
  color:#fff!important;
  opacity:1!important;
  cursor:pointer!important;
}
#preseasonOverlay.preseasonReadOnlyV47 .preseasonMarkets{display:none!important}
#preseasonOverlay.preseasonReadOnlyV47 .preseasonBody{grid-template-columns:minmax(0,1fr)!important}
#preseasonOverlay.preseasonReadOnlyV47 .preseasonSlip{width:100%!important;max-width:none!important}
#preseasonOverlay.preseasonReadOnlyV47 #preLockBtn{display:none!important}
#preseasonOverlay.preseasonReadOnlyV47 .preseasonRemove{display:none!important}
#preseasonOverlay.preseasonReadOnlyV47 .preCouponSteps button{pointer-events:none!important}
#preseasonOverlay.preseasonReadOnlyV47 .preseasonSlipList{max-height:none!important;overflow:visible!important}
#preseasonOverlay.preseasonReadOnlyV47 .preseasonDialog{overflow:auto!important}

@media(max-width:640px){
  #leagueSelect{padding-left:40px!important;background-position:10px 50%!important;background-size:22px 14px!important}
  #preseasonOverlay.preseasonReadOnlyV47 .preseasonDialog{height:100dvh!important;max-height:100dvh!important}
}
