/* ============================================================
   PPS 1.943 — kompaktowe puchary, nagrody i pełny HUD.
   ============================================================ */
body.pps-compact-ui.pps-career-live .topbar{
  grid-template-columns:58px minmax(0,1fr) 58px!important;
  grid-template-rows:1fr!important;align-items:center!important;gap:6px!important;
  min-height:48px;margin-bottom:7px;padding:3px 0
}
body.pps-compact-ui.pps-career-live .topbar-profile{grid-column:1!important;grid-row:1!important;align-self:stretch}
body.pps-compact-ui.pps-career-live .topbar-title{grid-column:2!important;grid-row:1!important;min-width:0;align-self:stretch}
body.pps-compact-ui.pps-career-live .topbar-actions{grid-column:3!important;grid-row:1!important;align-self:stretch;flex-wrap:nowrap}
body.pps-compact-ui.pps-career-live .topbar .ghost{width:100%;height:100%;min-height:42px;padding:5px 2px;font-size:7.5px}
body.pps-compact-ui.pps-career-live .pps-top-hud{height:100%;box-shadow:2px 2px 0 #171717}
body.pps-compact-ui .pps-top-hud>span{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:3px 1px}
body.pps-compact-ui .pps-top-hud small{font-size:5px;letter-spacing:.12px}
body.pps-compact-ui .pps-top-hud b{font-size:8.5px}
body.pps-compact-ui .pps-top-hud .is-ovr b{font-size:12px}

body.pps-compact-ui .preseason-briefing.proto-dismissed{display:none!important}
body.pps-compact-ui .preseason-briefing:not(.hidden):not(.proto-dismissed){
  display:flex!important;align-items:center;justify-content:center;overflow:hidden!important;padding:10px!important
}
body.pps-compact-ui .preseason-briefing:not(.hidden):not(.proto-dismissed)>.proto-briefing-card{
  display:block;width:min(680px,100%);max-height:calc(100dvh - 20px);overflow:auto;
  margin:0;background:#f7f3e9;border:3px solid #171717;box-shadow:5px 5px 0 #c9252d
}
body.pps-compact-ui .proto-briefing-card>.preseason-briefing-head,
body.pps-compact-ui .proto-briefing-card>.preseason-facts,
body.pps-compact-ui .proto-briefing-card>.preseason-plan,
body.pps-compact-ui .proto-briefing-card>.preseason-previous{width:100%;border-right:0;border-left:0}
body.pps-compact-ui .proto-briefing-card>.preseason-briefing-head{border-top:0}
body.pps-compact-ui .proto-briefing-card>.proto-briefing-close{
  position:sticky;z-index:3;bottom:0;width:calc(100% - 16px)!important;margin:8px!important
}
body.pps-compact-ui .proto-briefing-card>.preseason-launch-choice{
  position:sticky;z-index:3;bottom:0;width:100%;box-sizing:border-box;border-right:0;border-left:0;
  box-shadow:0 -5px 0 rgba(23,23,23,.16)
}

body.pps-compact-ui.pps-career-live .season-panel{overflow:hidden;padding:8px}
body.pps-compact-ui.pps-career-live .pps-season-core{gap:7px}
body.pps-compact-ui .pps-season-core-head{flex:0 0 auto}
body.pps-compact-ui .pps-season-core-head strong{color:#9d1721;text-align:right}
body.pps-compact-ui .pps-season-core-stats{flex:0 0 auto}
body.pps-compact-ui .pps-core-meters{flex:0 0 auto}
body.pps-compact-ui #ppsCoreTableSlot{display:flex;min-height:0;flex:1;flex-direction:column}
body.pps-compact-ui #ppsCompactTableLaunch{display:none!important}
body.pps-compact-ui .pps-core-table-empty{
  display:flex;min-height:82px;flex:1;align-items:center;justify-content:center;padding:12px;
  border:2px dashed #8f887e;color:#6b645c;text-align:center;font:900 9px/1.35 "Libre Baskerville",Georgia,serif
}
body.pps-compact-ui .pps-core-table-viewport{
  min-height:86px;flex:1;overflow:auto;border:2px solid #171717;background:#fff;overscroll-behavior:contain
}
body.pps-compact-ui .pps-core-table-viewport .league-table{min-width:590px;font-size:9px}
body.pps-compact-ui .pps-core-table-viewport .league-table th,
body.pps-compact-ui .pps-core-table-viewport .league-table td{padding:5px 6px}
body.pps-compact-ui .pps-core-table-viewport .league-club-ovr{display:none}
body.pps-compact-ui.pps-season-result #ppsCoreTableSlot:before{
  content:"KOŃCOWA TABELA — PRZEWIŃ W PIONIE I POZIOMIE";display:block;margin-bottom:4px;
  color:#6b645c;font:900 6.5px/1 var(--pps-font);letter-spacing:.45px
}
body.pps-compact-ui.pps-season-result #playSeasonBtn{background:#c9252d;color:#fff}

/* Oferty ponownie są zwarte; pełne informacje otwiera się tylko dla wybranego kafla. */
body.pps-compact-ui .offer-card{min-height:0;padding:13px}
body.pps-compact-ui .offer-card h3{font-size:18px}
body.pps-compact-ui .offer-card:not(.is-expanded) p,
body.pps-compact-ui .offer-card:not(.is-expanded) button{display:none}
body.pps-compact-ui .offer-card:not(.is-expanded)::after{
  content:"DOTKNIJ, ABY ZOBACZYĆ PEŁNĄ OFERTĘ";display:block;margin-top:6px;font:900 7px var(--pps-font);letter-spacing:.55px
}
body.pps-compact-ui.pps-offers-live .offer-card{min-height:0}

/* Oglądanie sezonu: płaskie wyniki i dominująca tabela. */
body.pps-compact-ui .season-watch-overlay{padding:5px}
body.pps-compact-ui .season-watch-card{
  width:min(1180px,100%);height:calc(100dvh - 10px);padding:8px;gap:6px
}
body.pps-compact-ui .season-watch-head{gap:8px;padding-bottom:5px;border-bottom-width:2px}
body.pps-compact-ui .season-watch-head p{margin:0!important;font-size:8px}
body.pps-compact-ui .season-watch-head h3{font-size:18px;line-height:1.05}
body.pps-compact-ui .season-watch-head button{min-height:34px;padding:6px 9px}
body.pps-compact-ui .season-watch-progress{gap:7px;font-size:8px}
body.pps-compact-ui .season-watch-progress>i{height:7px;border-width:1px}
body.pps-compact-ui .season-watch-upcoming{
  grid-template-columns:minmax(120px,.52fr) minmax(0,1.65fr) auto;gap:8px;
  min-height:0;padding:5px 8px;border-width:2px;box-shadow:none
}
body.pps-compact-ui .season-watch-upcoming-meta{gap:1px}
body.pps-compact-ui .season-watch-upcoming-meta span{font-size:7px;letter-spacing:.55px}
body.pps-compact-ui .season-watch-upcoming-meta strong{font-size:10px}
body.pps-compact-ui .season-watch-upcoming-meta small{font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pps-compact-ui .season-watch-upcoming-match{gap:5px;font-size:10px;line-height:1.05}
body.pps-compact-ui .season-watch-upcoming>em{grid-column:auto;white-space:nowrap;font-size:7px}
body.pps-compact-ui .season-watch-finished{grid-column:1/-1;min-height:34px}
body.pps-compact-ui .season-watch-finished strong{font-size:14px}
body.pps-compact-ui .season-watch-layout{
  grid-template-columns:minmax(260px,.64fr) minmax(0,1.36fr);gap:6px
}
body.pps-compact-ui .season-watch-results-panel,
body.pps-compact-ui .season-watch-table-panel{border-width:2px}
body.pps-compact-ui .season-watch-results-panel>h4,
body.pps-compact-ui .season-watch-table-panel>h4{padding:5px 7px;font-size:8px}
body.pps-compact-ui .season-watch-results,
body.pps-compact-ui .season-watch-table{height:calc(100% - 25px)}
body.pps-compact-ui .season-watch-results{gap:0;padding:0}
body.pps-compact-ui .season-watch-result{
  grid-template-columns:minmax(68px,.55fr) minmax(135px,1.25fr) auto;gap:5px;
  min-height:38px;padding:3px 5px;border:0;border-bottom:1px solid #aaa;background:#fff
}
body.pps-compact-ui .season-watch-result:last-child{
  border-bottom-color:var(--theme-primary,var(--red));box-shadow:inset 3px 0 0 var(--theme-primary,var(--red))
}
body.pps-compact-ui .season-watch-result-meta{gap:1px}
body.pps-compact-ui .season-watch-result-meta span,
body.pps-compact-ui .season-watch-result-meta small{font-size:6.5px}
body.pps-compact-ui .season-watch-result-score{gap:4px;font-size:8px;line-height:1.05}
body.pps-compact-ui .season-watch-result-score strong{padding:3px 5px;font-size:12px}
body.pps-compact-ui .season-watch-result-player{gap:4px}
body.pps-compact-ui .season-watch-result-player p{display:none}
body.pps-compact-ui .season-watch-result .player-rating-tile.is-compact{
  min-width:58px;padding:2px 4px;border-width:2px;box-shadow:none
}
body.pps-compact-ui .season-watch-result .player-rating-tile.is-compact small,
body.pps-compact-ui .season-watch-result .player-rating-tile.is-compact em{display:none}
body.pps-compact-ui .season-watch-result .player-rating-tile.is-compact strong{font-size:14px}
body.pps-compact-ui .season-watch-table .league-table{font-size:9px}
body.pps-compact-ui .season-watch-table .league-table th,
body.pps-compact-ui .season-watch-table .league-table td{padding:5px 4px}

body.pps-compact-ui .season-watch-card{grid-template-rows:auto auto auto auto minmax(0,1fr)}
body.pps-compact-ui .season-watch-upcoming{min-height:44px}
body.pps-compact-ui .season-watch-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:3px}
body.pps-compact-ui .season-watch-results-panel{max-height:104px}
body.pps-compact-ui .season-watch-results-panel:not([open]){height:24px}
body.pps-compact-ui .season-watch-results-panel>summary{padding:4px 6px;font-size:7px}
body.pps-compact-ui .season-watch-results-panel[open] .season-watch-results{height:78px}
body.pps-compact-ui .season-watch-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:2px}
body.pps-compact-ui .season-watch-result{grid-template-columns:minmax(0,1fr) auto;min-height:32px;padding:2px 4px}
body.pps-compact-ui .season-watch-result-player p{display:block;font-size:6.5px;white-space:nowrap}
body.pps-compact-ui .season-watch-table-panel{min-width:0}
body.pps-compact-ui .season-watch-table{height:100%;min-height:0;overflow:auto}
body.pps-compact-ui .season-watch-table-toolbar{padding:2px 5px}
body.pps-compact-ui .season-watch-table-switch button{min-height:20px;padding:2px 6px;font-size:6px}
body.pps-compact-ui .season-watch-actions{position:relative;z-index:4;gap:3px;min-height:36px;padding:3px;border:2px solid #171717;background:#eee9df}
body.pps-compact-ui .season-watch-actions:not(.hidden){display:grid!important}
body.pps-compact-ui .season-watch-actions button{min-height:28px;padding:4px;font-size:7px}
body.pps-compact-ui .season-watch-action-reason{padding:2px 4px;font-size:6px;line-height:1.2}

@media(max-width:760px){
  body.pps-compact-ui .season-watch-card{height:calc(100dvh - 8px);padding:6px;gap:4px}
  body.pps-compact-ui .season-watch-head h3{font-size:14px}
  body.pps-compact-ui .season-watch-head button{min-height:30px;padding:4px 6px;font-size:7px}
  body.pps-compact-ui .season-watch-upcoming{
    grid-template-columns:72px minmax(0,1fr) auto;gap:4px;padding:3px 5px
  }
  body.pps-compact-ui .season-watch-upcoming-meta small{display:none}
  body.pps-compact-ui .season-watch-upcoming-meta strong{font-size:8px}
  body.pps-compact-ui .season-watch-upcoming-match{font-size:8px}
  body.pps-compact-ui .season-watch-upcoming>em{font-size:6px}
  body.pps-compact-ui .season-watch-layout{
    grid-template-columns:1fr;grid-template-rows:auto minmax(280px,1fr);gap:3px
  }
  body.pps-compact-ui .season-watch-result{grid-template-columns:minmax(0,1fr) auto;min-height:34px;padding:2px 4px}
  body.pps-compact-ui .season-watch-result-meta{display:none}
  body.pps-compact-ui .season-watch-result .player-rating-tile.is-compact{min-width:52px}
  body.pps-compact-ui .season-watch-table .league-table{min-width:500px}
}

/* 9G: rozmiar meczu nie zależy od treści wyniku. */
body.pps-compact-ui .season-watch-card{--season-watch-match-height:74px;grid-template-rows:auto auto var(--season-watch-match-height) auto minmax(0,1fr)}
body.pps-compact-ui .season-watch-upcoming{height:var(--season-watch-match-height);min-height:var(--season-watch-match-height);max-height:var(--season-watch-match-height);overflow:hidden}
body.pps-compact-ui .season-watch-table-toolbar{display:block;padding:0}
body.pps-compact-ui .season-watch-table-switch{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:0}
body.pps-compact-ui .season-watch-table-switch button{min-height:27px;padding:3px 2px;border:0;border-right:1px solid #777;border-bottom:2px solid #171717;font-size:6.5px}
body.pps-compact-ui .season-watch-table-switch button.active{border-bottom-color:var(--theme-primary,var(--red));background:#fff;color:#171717}
body.pps-compact-ui .season-watch-result{display:grid;grid-template-columns:1fr;min-height:0;padding:0}
body.pps-compact-ui .season-watch-result-player{display:flex!important;padding:2px 5px;background:#f7f5ef}
body.pps-compact-ui .season-watch-result-player p{display:block;font-size:6.5px;white-space:normal}
body.pps-compact-ui .season-watch-rating{color:var(--season-watch-rating-color,#777);background:none!important;border:0!important;box-shadow:none!important;font-size:7px}
@media(max-width:760px){body.pps-compact-ui .season-watch-card{--season-watch-match-height:70px}}

body.pps-compact-ui .season-watch-form-room{padding:1px 3px;font-size:5.8px}
body.pps-compact-ui .season-watch-chain{font-size:5.8px;line-height:1.15}
body.pps-compact-ui .season-watch-production{font-size:5.8px;line-height:1.15}
body.pps-compact-ui .season-match-discipline{gap:.38em;margin-left:.3em}
body.pps-compact-ui .season-match-discipline .season-card-mark{width:.58em;height:.82em}

/* 9H: każdy mecz zajmuje dwa własne rzędy; nazwy nigdy nie poszerzają panelu. */
body.pps-compact-ui .season-watch-head-controls{gap:4px}
body.pps-compact-ui .season-watch-speed-control{width:92px;padding:3px 4px;border-width:1px}
body.pps-compact-ui .season-watch-result{
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;
  width:100%;min-width:0;min-height:0;padding:0;overflow:hidden
}
body.pps-compact-ui .season-watch-result-score{
  display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);
  width:100%;min-width:0;gap:3px;padding:3px 5px;box-sizing:border-box
}
body.pps-compact-ui .season-watch-result-score>span{min-width:0;overflow:hidden}
body.pps-compact-ui .season-watch-result-score .season-watch-club{min-width:0;max-width:100%;overflow:hidden}
body.pps-compact-ui .season-watch-result-score .season-watch-club>span:last-child{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
body.pps-compact-ui .season-watch-result-player{
  grid-column:1;display:flex!important;width:100%;min-width:0;padding:2px 5px;box-sizing:border-box
}
body.pps-compact-ui .season-watch-result-player p{
  min-width:0;margin:0!important;font-size:6.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
body.pps-compact-ui .season-watch-rating{flex:0 0 auto}
@media(max-width:760px){
  body.pps-compact-ui .season-watch-head{display:grid;grid-template-columns:minmax(0,1fr) auto}
  body.pps-compact-ui .season-watch-head-controls{display:grid;grid-template-columns:82px auto}
  body.pps-compact-ui .season-watch-speed-control{width:82px}
}

/* 9I: lista przewija pełne dwurzędowe mecze zamiast ściskać je do wysokości
   samego wyniku. Suwak dziedziczy kompaktową wysokość, nie styl pól formularza. */
body.pps-compact-ui .season-watch-results>.season-watch-result{
  flex:0 0 auto;overflow:visible
}
body.pps-compact-ui .season-watch-result-player{min-height:16px;box-sizing:border-box}
body.pps-compact-ui .season-watch-speed-control{width:82px;box-sizing:border-box}
body.pps-compact-ui .season-watch-speed-control input[type="range"]{
  display:block;width:100%;min-width:0;min-height:0!important;height:11px!important;
  margin:0!important;padding:0!important;border:0!important;box-shadow:none!important
}

/* 9J: pełna szerokość na opis meczu, nota zawsze przy prawej krawędzi. */
body.pps-compact-ui .season-watch-result-player{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto;
  width:100%;max-width:none!important;align-items:center;column-gap:8px
}
body.pps-compact-ui .season-watch-result-player p{
  width:auto;max-width:none;white-space:normal;overflow:visible;
  overflow-wrap:normal;text-overflow:clip
}

@media(max-width:380px){
  body.pps-compact-ui.pps-career-live .topbar{grid-template-columns:50px minmax(0,1fr) 50px!important;gap:4px!important}
  body.pps-compact-ui .pps-top-hud small{font-size:4.5px}
  body.pps-compact-ui .pps-top-hud b{font-size:7.5px}
  body.pps-compact-ui .pps-season-core-stats b{font-size:14px}
}
@media(max-height:650px) and (max-width:760px){
  body.pps-compact-ui.pps-career-live .topbar{min-height:42px}
  body.pps-compact-ui .pps-season-core-head{padding-bottom:4px}
  body.pps-compact-ui .pps-core-meter-scale{display:none}
  body.pps-compact-ui .pps-core-meters{gap:4px}
  body.pps-compact-ui .pps-core-meter-block{gap:2px}
  body.pps-compact-ui.pps-career-live #playSeasonBtn{min-height:42px;margin-top:5px}
}

/* 9K: właściwy ekran GRA zachowuje HUD i dolną nawigację. Przewija się
   wyłącznie treść aktywnej zakładki terminarza, tabeli lub pucharów. */
body.pps-compact-ui.pps-career-live .season-panel.is-season-watch-live{padding:6px;overflow:hidden}
body.pps-compact-ui .season-watch-surface{height:100%;min-height:0;overflow:hidden}
body.pps-compact-ui .season-watch-surface>.season-watch-card{
  width:100%;height:100%;min-height:0;padding:0;gap:4px;
  grid-template-rows:auto auto auto var(--season-watch-match-height,70px) auto minmax(0,1fr)
}
body.pps-compact-ui .season-watch-surface .season-watch-layout,
body.pps-compact-ui .season-watch-surface .season-watch-table-panel{height:100%;min-height:0;overflow:hidden}
body.pps-compact-ui .season-watch-surface .season-watch-schedule-panel,
body.pps-compact-ui .season-watch-surface .season-watch-table{min-height:0;height:auto;overflow:auto}
body.pps-compact-ui .season-watch-player-totals{border-width:1px}
body.pps-compact-ui .season-watch-player-totals>span,body.pps-compact-ui .season-watch-player-totals>button{padding:3px 1px}
body.pps-compact-ui .season-watch-player-totals small{font-size:4.8px;letter-spacing:0}
body.pps-compact-ui .season-watch-player-totals b{margin-top:2px;font-size:8px}
body.pps-compact-ui .season-watch-speed-scale{font-size:5px}
body.pps-compact-ui .season-watch-surface.is-paused .season-watch-upcoming:after{right:3px;top:3px;padding:3px 4px;font-size:6px;letter-spacing:.5px}
@media(max-height:650px) and (max-width:760px){
  body.pps-compact-ui .season-watch-surface>.season-watch-card{--season-watch-match-height:62px;grid-template-rows:auto auto auto 62px auto minmax(0,1fr)}
  body.pps-compact-ui .season-watch-player-totals small{display:block;font-size:4px}
  body.pps-compact-ui .season-watch-player-totals b{margin-top:1px;font-size:8px}
}

/* 9F: w kompaktowym dominuje mecz i wybrana zakładka, domyślnie terminarz. */
body.pps-compact-ui .season-watch-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);gap:3px}
body.pps-compact-ui .season-watch-table-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0}
body.pps-compact-ui .season-watch-schedule-panel,
body.pps-compact-ui .season-watch-table{height:auto;min-height:0;overflow:auto}
body.pps-compact-ui .season-watch-results{height:100%;display:flex;flex-direction:column;gap:2px;padding:2px}
body.pps-compact-ui .season-watch-result{display:block;min-height:0;padding:0;border:0;border-bottom:1px solid #aaa}
body.pps-compact-ui .season-watch-result>summary{display:block;padding:3px 5px}
body.pps-compact-ui .season-watch-result-player{padding:3px 5px}
body.pps-compact-ui .season-watch-result-player p{display:block;font-size:6.5px;white-space:normal}
body.pps-compact-ui .season-watch-result-phase{grid-template-columns:110px minmax(0,1fr);gap:3px 7px}
body.pps-compact-ui .season-watch-result-line{gap:5px;padding-top:3px}
body.pps-compact-ui .season-watch-result-line p{font-size:7px}
body.pps-compact-ui .season-watch-result-line .player-rating-tile.is-compact{min-width:55px;padding:2px 4px}
body.pps-compact-ui .season-watch-table-switch button{min-height:24px;padding:3px 7px;font-size:6.5px}
@media(max-width:760px){
  body.pps-compact-ui .season-watch-result-phase{grid-template-columns:74px minmax(0,1fr)}
  body.pps-compact-ui .season-watch-result-phase .season-watch-upcoming-meta small{display:block}
  body.pps-compact-ui .season-watch-result-line p{font-size:6.5px}
}
