/* ============================================================
   PPS 1.943 — opcjonalny interfejs kompaktowy pełnej gry.
   ============================================================ */
.pps-interface-control{border:3px solid #171717!important;background:#fff!important;box-shadow:4px 4px 0 #171717;padding:13px!important}
.pps-interface-control>span{font-family:"Libre Baskerville",Georgia,serif!important}
.pps-compact-nav,.pps-compact-table-launch,.pps-compact-modal{display:none}

/* Klasyczny interfejs pozostaje zwykłą, przewijaną stroną — jak w PPS 1.924. */
html.pps-classic-ui-root{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important}
body.pps-classic-ui:not(.pps-modal-open){
  position:static!important;inset:auto!important;width:auto!important;height:auto!important;min-height:100%!important;
  overflow-x:hidden!important;overflow-y:visible!important;overscroll-behavior:auto!important
}
body.pps-classic-ui:not(.pps-modal-open) .app-shell{height:auto!important;min-height:0!important;overflow:visible!important}
body.pps-classic-ui:not(.pps-modal-open) :is(#newGameView,#clubStartView,#createClubView,#coopSetupView,#setupView){
  height:auto!important;max-height:none!important;overflow:visible!important
}

body.pps-compact-ui{--compact-top:46px;--compact-nav:54px;font-family:"Libre Baskerville",Georgia,serif}
body.pps-compact-ui .topbar{
  min-height:var(--compact-top);margin:0 0 8px;padding:4px 0;align-items:center;gap:7px
}
body.pps-compact-ui .topbar-title h1{font-size:clamp(12px,3.8vw,18px);line-height:1;letter-spacing:-.35px}
body.pps-compact-ui .topbar .ghost{min-height:36px;padding:7px 9px;font:900 9px/1 "Libre Baskerville",Georgia,serif}
body.pps-compact-ui .app-footer{display:none}
body.pps-compact-ui .career-layout{gap:8px}
body.pps-compact-ui .player-card{box-shadow:3px 3px 0 #161616}
body.pps-compact-ui .shirt{display:none}
body.pps-compact-ui .compact-status,
body.pps-compact-ui .compact-national,
body.pps-compact-ui .compact-finances{display:none}
body.pps-compact-ui .legacy-market-value{display:none!important}
body.pps-compact-ui #legacySeasonHead{padding:7px 2px 4px}
body.pps-compact-ui #legacySeasonHead h2{margin:2px 0 0;font-size:18px;letter-spacing:-.35px}
body.pps-compact-ui #legacySeasonHead .eyebrow{font-size:8px}
body.pps-compact-ui #legacySeasonStats{margin:0 0 8px}
body.pps-compact-ui #legacySeasonStats div{padding:7px 5px}
body.pps-compact-ui #legacySeasonStats span{font-size:7px}
body.pps-compact-ui #legacySeasonStats strong{font-size:17px}
body.pps-compact-ui .event-box{margin:7px 0;padding:10px 11px}
body.pps-compact-ui .event-box h3{font-size:16px;margin:3px 0}
body.pps-compact-ui .event-box p{margin:0;font-size:11px;line-height:1.38}
body.pps-compact-ui #playSeasonBtn{z-index:3;min-height:45px;padding:10px 13px;font-size:11px}
body.pps-compact-ui .history-panel{display:none}

body.pps-compact-ui .season-dashboard{margin:0 0 8px;padding:9px;gap:9px;box-shadow:none}
body.pps-compact-ui .season-dashboard-head{display:block;padding-bottom:7px}
body.pps-compact-ui .season-dashboard-club-title{display:none}
body.pps-compact-ui .season-dashboard-stats{width:100%;min-width:0}
body.pps-compact-ui .season-dashboard-stats div,body.pps-compact-ui .season-dashboard-stats>.player-value-trigger{padding:6px 5px}
body.pps-compact-ui .season-dashboard-stats span{font-size:7px}
body.pps-compact-ui .season-dashboard-stats strong{font-size:16px}
body.pps-compact-ui .season-performance-focus{gap:9px}
body.pps-compact-ui .season-performance-focus>.season-meter-block:first-child{display:none}
body.pps-compact-ui .season-meter-title{font-size:8px}
body.pps-compact-ui .season-meter-title strong{font-size:12px}
body.pps-compact-ui .season-meter,.pps-compact-ui .season-meter.form,.pps-compact-ui .season-meter.grade{
  height:8px;border:1px solid #777;background:linear-gradient(90deg,#fff 0%,#f8e8e8 28%,#efb7ba 55%,#de6f75 78%,#c9252d 100%)
}
body.pps-compact-ui .season-meter-scale{font-size:7px}
body.pps-compact-ui .season-factor-text,
body.pps-compact-ui .season-context-details,
body.pps-compact-ui .season-evaluation-labels,
body.pps-compact-ui .season-outcomes,
body.pps-compact-ui .season-condition-summary,
body.pps-compact-ui .season-speed-summary,
body.pps-compact-ui .league-season-block,
body.pps-compact-ui .season-dashboard-details,
body.pps-compact-ui .round-composition{display:none}

body.pps-compact-ui .pps-compact-table-launch{
  display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center;
  width:100%;margin:7px 0;padding:8px 10px;border:2px solid var(--line);
  background:#fff;color:var(--ink);box-shadow:2px 2px 0 #161616;text-align:left
}
body.pps-compact-ui .pps-compact-table-launch>span{font:900 9px/1 "Libre Baskerville",Georgia,serif;letter-spacing:.7px}
body.pps-compact-ui .pps-compact-table-launch>b{font:900 8px/1 var(--pps-font);color:var(--accent)}
body.pps-compact-ui .pps-table-preview{grid-column:1/-1;display:grid;gap:2px}
body.pps-compact-ui .pps-table-preview i{
  display:grid;grid-template-columns:24px 1fr auto;gap:6px;padding:2px 0;border-top:1px solid #d7d0c4;
  font:800 8px/1.25 var(--pps-font);font-style:normal
}
body.pps-compact-ui .pps-table-preview i.player{color:#9d1721;font-weight:900}

body.pps-compact-ui .pps-compact-nav{
  position:fixed;z-index:8800;right:0;bottom:0;left:0;height:calc(var(--compact-nav) + env(safe-area-inset-bottom));
  padding:5px max(7px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));
  border-top:2px solid #171717;background:var(--paper);display:none;grid-template-columns:repeat(3,1fr);gap:5px
}
body.pps-compact-ui.pps-career-live .pps-compact-nav{display:grid}
body.pps-compact-ui.pps-modal-open .pps-compact-nav{visibility:hidden;pointer-events:none}
body.pps-compact-ui .pps-compact-nav button{
  min-width:0;border:2px solid #171717;background:#fff;color:#171717;padding:6px 3px;
  font:900 8px/1 "Libre Baskerville",Georgia,serif;letter-spacing:.55px
}
body.pps-compact-ui .pps-compact-nav button.is-primary{background:var(--accent);color:#fff}

body.pps-compact-ui .pps-compact-modal{
  position:fixed;z-index:9900;inset:0;display:none;align-items:flex-end;justify-content:center;
  padding:10px;background:rgba(21,21,21,.72)
}
body.pps-compact-ui .pps-compact-modal.is-open{display:flex}
body.pps-compact-ui .pps-compact-modal-card{
  width:min(760px,100%);max-height:min(82dvh,760px);overflow:auto;padding:14px;
  border:3px solid #171717;background:var(--paper);box-shadow:6px 6px 0 #c9252d
}
body.pps-compact-ui .pps-compact-modal-head{
  position:sticky;z-index:2;top:-14px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:-14px -14px 12px;padding:11px 13px;border-bottom:3px solid #171717;background:var(--paper)
}
body.pps-compact-ui .pps-compact-modal-head strong{font:900 12px/1 "Libre Baskerville",Georgia,serif;letter-spacing:.7px}
body.pps-compact-ui .pps-compact-modal-head button{border:2px solid #171717;background:#fff;padding:7px 9px;font-weight:900}
body.pps-compact-ui .pps-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
body.pps-compact-ui .pps-more-grid article{padding:10px;border:2px solid #171717;background:#fff}
body.pps-compact-ui .pps-more-grid article.wide{grid-column:1/-1}
body.pps-compact-ui .pps-more-grid span{display:block;color:var(--muted);font:900 8px var(--pps-font);text-transform:uppercase}
body.pps-compact-ui .pps-more-grid strong{display:block;margin-top:4px;font-size:12px}
body.pps-compact-ui .pps-more-actions{display:grid;gap:7px;margin-top:10px}
body.pps-compact-ui .pps-more-actions button{min-height:42px;border:2px solid #171717;background:#fff;font-weight:900}

body.pps-compact-ui .preseason-briefing:not(.hidden):not(.proto-dismissed){
  position:fixed;z-index:9700;inset:0;display:flex;flex-direction:column;justify-content:center;
  width:auto;max-height:none;margin:0;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));
  overflow:auto;border:0;background:rgba(21,21,21,.76)
}
body.pps-compact-ui .preseason-briefing:not(.hidden):not(.proto-dismissed)>*{width:min(680px,100%);margin-right:auto;margin-left:auto;background:#f7f3e9}
body.pps-compact-ui .preseason-briefing-head{border:3px solid #171717;border-bottom:2px solid #171717;padding:13px 14px}
body.pps-compact-ui .preseason-facts{grid-template-columns:1fr 1fr;border-right:3px solid #171717;border-left:3px solid #171717}
body.pps-compact-ui .preseason-facts>.preseason-environment-room-fact{grid-column:auto}
body.pps-compact-ui .preseason-facts>div{padding:10px}
body.pps-compact-ui .preseason-plan{grid-template-columns:1fr;border:3px solid #171717;border-top:2px solid #171717}
body.pps-compact-ui .preseason-plan>div{padding:10px}
body.pps-compact-ui .preseason-plan>div:first-child{border-right:0;border-bottom:1px solid #171717}
body.pps-compact-ui .preseason-previous{border:3px solid #171717;border-top:0}
body.pps-compact-ui .proto-briefing-close{
  display:block!important;width:min(680px,100%)!important;min-height:46px;margin:8px auto 0!important;
  border:3px solid #171717!important;background:#c9252d!important;color:#fff!important;
  box-shadow:4px 4px 0 #171717;font:900 11px/1 "Libre Baskerville",Georgia,serif!important
}
body.pps-compact-ui #decisionBox:not(.hidden){
  position:fixed;z-index:9800;inset:0;display:flex;flex-direction:column;justify-content:center;
  max-width:none;margin:0;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));
  overflow:auto;border:0;background:rgba(21,21,21,.76)
}
body.pps-compact-ui #decisionBox:not(.hidden)>*{width:min(680px,100%);margin-right:auto;margin-left:auto}
body.pps-compact-ui #decisionBox:not(.hidden) h3{padding:15px 15px 0;margin-bottom:0;background:var(--paper2);border:3px solid #171717;border-bottom:0}
body.pps-compact-ui #decisionBox:not(.hidden) #decisionText{padding:10px 15px;margin-bottom:0;background:var(--paper2);border-right:3px solid #171717;border-left:3px solid #171717}
body.pps-compact-ui #decisionBox:not(.hidden) .event-kicker{padding:12px 15px 0;background:var(--paper2);border:3px solid #171717;border-bottom:0}
body.pps-compact-ui #decisionBox:not(.hidden) .choices{padding:12px 15px 15px;background:var(--paper2);border:3px solid #171717;border-top:0}

body.pps-compact-ui .game-speed-card{max-height:calc(100dvh - 16px);overflow:auto;padding:17px}
body.pps-compact-ui .game-speed-card .patronite-actions{position:sticky;bottom:-17px;margin:12px -17px -17px;padding:10px 17px;background:var(--paper);border-top:2px solid #171717}

body.pps-compact-ui.pps-offers-live{overflow:hidden}
body.pps-compact-ui.pps-offers-live #offersView{
  height:calc(100dvh - var(--compact-top) - 18px);display:flex;flex-direction:column;overflow:hidden
}
body.pps-compact-ui.pps-offers-live #offersView .section-head{flex:0 0 auto;padding:13px 14px 6px}
body.pps-compact-ui.pps-offers-live #offersView h2{font-size:21px}
body.pps-compact-ui.pps-offers-live .offers-grid{
  min-height:0;overflow:auto;grid-template-columns:1fr;gap:8px;padding:9px 14px 18px
}
body.pps-compact-ui .offer-card{min-height:0;padding:13px}
body.pps-compact-ui .offer-card h3{font-size:18px;margin:2px 0}
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 ROZWINĄĆ";display:block;margin-top:5px;font:900 7px var(--pps-font);letter-spacing:.7px
}

body.pps-compact-ui .compact-history-modal{
  position:fixed;z-index:9600;inset:8px;display:block!important;margin:0;overflow:auto;background:var(--paper)
}
body.pps-compact-ui .compact-history-modal .history-summary{position:sticky;z-index:2;top:0;background:var(--paper)}
body.pps-compact-ui .compact-history-modal .history-content{display:block}
body.pps-compact-ui .proto-history-close{position:sticky;z-index:3;bottom:8px;width:calc(100% - 16px);margin:8px;min-height:44px;background:#c9252d;color:#fff;border:2px solid #171717;font-weight:900}

@media(max-width:760px){
  body.pps-compact-ui{padding:0 max(7px,env(safe-area-inset-right)) 0 max(7px,env(safe-area-inset-left))}
  body.pps-compact-ui.pps-career-live{height:100dvh;overflow:hidden}
  body.pps-compact-ui.pps-career-live .app-shell{height:100dvh;overflow:hidden}
  body.pps-compact-ui .career-layout{
    height:calc(100dvh - var(--compact-top) - var(--compact-nav) - 13px);
    display:flex;flex-direction:column;overflow:hidden
  }
  body.pps-compact-ui .player-card{
    position:static;flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) 112px;
    gap:2px 8px;padding:7px 9px
  }
  body.pps-compact-ui #playerRegionLabel{grid-column:1;grid-row:1;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.pps-compact-ui #playerNameLabel{grid-column:1;grid-row:2;min-width:0;margin:0;font-size:clamp(11px,4.2vw,16px);line-height:1.04;white-space:normal;overflow:visible;overflow-wrap:anywhere;word-break:break-word}
  body.pps-compact-ui #playerMeta{grid-column:1;grid-row:3;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.pps-compact-ui .overall-row{grid-column:2;grid-row:1/4;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0;padding:0}
  body.pps-compact-ui .overall-row>div{display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid #171717}
  body.pps-compact-ui .overall-row .stat-label{font-size:7px}
  body.pps-compact-ui .overall-row .overall,
  body.pps-compact-ui .overall-row .big-number{font-size:22px;line-height:1}
  body.pps-compact-ui .compact-club{
    grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px 8px;align-items:center;
    margin-top:3px;padding-top:5px;border-top:1px solid #171717
  }
  body.pps-compact-ui .compact-club .stat-label{font-size:7px}
  body.pps-compact-ui .compact-club .club-name{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.pps-compact-ui .compact-club .muted{display:none}
  body.pps-compact-ui .compact-club .player-card-tools{display:none}
  body.pps-compact-ui .compact-club .squad-trigger{grid-column:3;grid-row:1;margin:0;padding:5px 8px;width:auto;font-size:8px}
  body.pps-compact-ui .career-attributes{
    grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:1px 0 0;padding-top:4px;border-top:1px solid #b8b0a4
  }
  body.pps-compact-ui .career-attributes div{display:flex;flex-direction:column;gap:1px;text-align:center}
  body.pps-compact-ui .career-attributes span{font-size:6px;line-height:1}
  body.pps-compact-ui .career-attributes strong{font-size:10px}
  body.pps-compact-ui .career-main{min-height:0;display:flex;flex-direction:column;overflow:hidden}
  body.pps-compact-ui .season-panel{min-height:0;flex:1;overflow:auto;padding:7px 9px 9px;box-shadow:none}
  body.pps-compact-ui #playSeasonBtn{position:sticky;bottom:0}
  body.pps-compact-ui .squad-card{width:100%;max-height:calc(100dvh - 12px);padding:14px}
  body.pps-compact-ui .squad-summary-grid{grid-template-columns:repeat(2,1fr)}
  body.pps-compact-ui .squad-staff-grid{grid-template-columns:1fr}
  body.pps-compact-ui .squad-fixture{grid-template-columns:78px minmax(0,1fr);gap:6px}
  body.pps-compact-ui .squad-fixture>em{grid-column:1/-1}
  body.pps-compact-ui .squad-fixture-teams{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);font-size:8px}
}
@media(max-width:380px){
  body.pps-compact-ui{--compact-top:42px;--compact-nav:50px}
  body.pps-compact-ui .topbar .ghost{padding:6px;font-size:8px}
  body.pps-compact-ui .topbar-title h1{font-size:11px}
  body.pps-compact-ui .player-card{padding:5px 7px;grid-template-columns:minmax(0,1fr) 100px}
  body.pps-compact-ui #playerNameLabel{font-size:14px}
  body.pps-compact-ui .career-attributes span{font-size:5.5px}
  body.pps-compact-ui .pps-compact-nav button{font-size:7px}
}
@media(max-height:670px) and (max-width:760px){
  body.pps-compact-ui .player-card{padding-top:4px;padding-bottom:4px}
  body.pps-compact-ui #playerMeta{display:none}
  body.pps-compact-ui #playerNameLabel{grid-row:2/4}
  body.pps-compact-ui .career-attributes{padding-top:3px}
  body.pps-compact-ui .career-attributes span{display:none}
  body.pps-compact-ui #legacySeasonHead{display:none}
  body.pps-compact-ui .event-box p{display:none}
}
@media(orientation:landscape) and (max-height:520px){
  body.pps-compact-ui{--compact-top:38px;--compact-nav:46px}
  body.pps-compact-ui .topbar{min-height:38px}
  body.pps-compact-ui .career-layout{display:grid;grid-template-columns:225px minmax(0,1fr);height:calc(100dvh - 88px)}
  body.pps-compact-ui .player-card{height:100%;overflow:auto;display:block}
  body.pps-compact-ui .player-card>*{margin-bottom:4px}
  body.pps-compact-ui .career-attributes{grid-template-columns:1fr 1fr}
  body.pps-compact-ui .compact-club{display:block}
  body.pps-compact-ui .compact-club .squad-trigger{width:100%;margin-top:4px}
  body.pps-compact-ui .game-speed-choice-grid{grid-template-columns:repeat(3,1fr)}
}

/* 1.943 — górny HUD i właściwy ekran trwającego sezonu. */
.pps-top-hud,.pps-season-core{display:none}
body.pps-compact-ui.pps-career-live .topbar{
  grid-template-columns:58px minmax(0,1fr) 58px;margin-bottom:7px
}
body.pps-compact-ui.pps-career-live .topbar-title h1{display:none}
body.pps-compact-ui.pps-career-live .pps-top-hud{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;
  border:2px solid #171717;background:#fff;box-shadow:2px 2px 0 #171717
}
body.pps-compact-ui .pps-top-hud>span{
  min-width:0;padding:4px 2px;border-right:1px solid #171717;text-align:center
}
body.pps-compact-ui .pps-top-hud>span:last-child{border-right:0}
body.pps-compact-ui .pps-top-hud small{
  display:block;overflow:hidden;color:#6b645c;font:900 5.5px/1 var(--pps-font);
  letter-spacing:.25px;text-overflow:ellipsis;white-space:nowrap
}
body.pps-compact-ui .pps-top-hud b{
  display:block;overflow:hidden;margin-top:2px;font:900 9px/1 "Libre Baskerville",Georgia,serif;
  text-overflow:ellipsis;white-space:nowrap
}
body.pps-compact-ui .pps-top-hud .is-ovr b{color:#a91f27;font-size:13px}

body.pps-compact-ui #careerView .player-card{display:none}
body.pps-compact-ui.pps-career-live .career-layout{display:block}
body.pps-compact-ui.pps-career-live .career-main{height:100%;min-height:0}
body.pps-compact-ui.pps-career-live .season-panel{
  height:100%;display:flex;flex-direction:column;overflow:hidden;padding:9px;box-shadow:3px 3px 0 #161616
}
body.pps-compact-ui #careerView #legacySeasonHead,
body.pps-compact-ui #careerView #legacySeasonStats,
body.pps-compact-ui #careerView #eventBox{display:none!important}
body.pps-compact-ui.pps-career-live .pps-season-core{
  min-height:0;flex:1;display:flex;flex-direction:column;gap:8px
}
body.pps-compact-ui .pps-season-core-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  padding:2px 1px 7px;border-bottom:2px solid #171717
}
body.pps-compact-ui .pps-season-core-head span{
  font:900 10px/1 "Libre Baskerville",Georgia,serif;letter-spacing:.55px
}
body.pps-compact-ui .pps-season-core-head strong{
  min-width:0;overflow:hidden;color:#6b645c;font:900 9px/1 "Libre Baskerville",Georgia,serif;
  text-overflow:ellipsis;white-space:nowrap
}
body.pps-compact-ui .pps-season-core-stats{
  display:grid;grid-template-columns:repeat(4,1fr);border:2px solid #171717;background:#fff
}
body.pps-compact-ui .pps-season-core-stats>span{
  padding:6px 4px;border-right:1px solid #171717;text-align:center
}
body.pps-compact-ui .pps-season-core-stats>span:last-child{border-right:0}
body.pps-compact-ui .pps-season-core-stats small{
  display:block;color:#6b645c;font:900 6px/1 var(--pps-font);text-transform:uppercase
}
body.pps-compact-ui .pps-season-core-stats b{
  display:block;margin-top:3px;font:900 17px/1 "Libre Baskerville",Georgia,serif
}
body.pps-compact-ui .pps-core-meters{display:grid;gap:8px}
body.pps-compact-ui .pps-core-meter-block{display:grid;gap:4px}
body.pps-compact-ui .pps-core-meter-title{
  display:flex;justify-content:space-between;gap:10px;font:900 8px/1 var(--pps-font);letter-spacing:.55px;text-transform:uppercase
}
body.pps-compact-ui .pps-core-meter-title strong{font-family:"Libre Baskerville",Georgia,serif;font-size:10px}
body.pps-compact-ui .pps-core-meter{
  position:relative;height:9px;overflow:hidden;border:1px solid #777;
  background:linear-gradient(90deg,#fff 0%,#f8e8e8 28%,#efb7ba 55%,#de6f75 78%,#c9252d 100%)
}
body.pps-compact-ui .pps-core-meter-fill{
  position:absolute;top:0;right:0;bottom:0;left:var(--core-value,50%);
  background:#e3ddd2;border-left:1px solid #555
}
body.pps-compact-ui .pps-core-meter-scale{
  display:flex;justify-content:space-between;color:#6b645c;font:900 6px/1 var(--pps-font);text-transform:uppercase
}
body.pps-compact-ui .pps-season-core .pps-compact-table-launch{margin:0}
body.pps-compact-ui.pps-career-live #playSeasonBtn{
  position:static;flex:0 0 auto;margin-top:8px;min-height:47px
}

/* Career layout już odejmuje wysokość dolnej nawigacji od dostępnego okna.
   Przycisk pozostaje osobnym wierszem flex pod tabelą; sticky przesuwało go
   do góry i przykrywało środkowe wiersze tabeli na laptopach. */
@media(min-width:761px){
  body.pps-compact-ui.pps-career-live{height:100dvh;overflow:hidden}
  body.pps-compact-ui.pps-career-live .app-shell{
    height:calc(100dvh - var(--compact-nav) - env(safe-area-inset-bottom));overflow:hidden
  }
  body.pps-compact-ui.pps-career-live #careerView{
    height:calc(100% - var(--compact-top) - 15px);min-height:0;padding-bottom:8px;overflow:hidden
  }
  body.pps-compact-ui.pps-career-live .career-main,
  body.pps-compact-ui.pps-career-live .season-panel{height:100%;min-height:0}
  body.pps-compact-ui.pps-career-live #playSeasonBtn{position:static;z-index:auto;bottom:auto}
}

body.pps-compact-ui .compact-season-details{
  position:fixed!important;z-index:9650;inset:8px;display:grid!important;
  margin:0!important;max-height:none;overflow:auto;padding:12px!important;background:#f7f3e9
}
body.pps-compact-ui .compact-season-details .season-dashboard-head{display:flex}
body.pps-compact-ui .compact-season-details .season-dashboard-club-title{display:block}
body.pps-compact-ui .compact-season-details .season-performance-focus>.season-meter-block:first-child{display:grid}
body.pps-compact-ui .compact-season-details .season-factor-text,
body.pps-compact-ui .compact-season-details .season-context-details,
body.pps-compact-ui .compact-season-details .season-speed-summary,
body.pps-compact-ui .compact-season-details .league-season-block,
body.pps-compact-ui .compact-season-details .season-dashboard-details,
body.pps-compact-ui .compact-season-details .round-composition{display:block!important}
body.pps-compact-ui .compact-season-details .season-evaluation-labels{display:flex!important}
body.pps-compact-ui .compact-season-details .season-outcomes,
body.pps-compact-ui .compact-season-details .season-condition-summary{display:grid!important}
body.pps-compact-ui .proto-season-close{
  position:sticky;z-index:4;bottom:0;width:100%;min-height:45px;border:2px solid #171717;
  background:#c9252d;color:#fff;font-weight:900
}

/* Oferty zachowują pełną treść PPS i przewijają się we własnym obszarze. */
body.pps-compact-ui .offer-card{min-height:230px;padding:18px}
body.pps-compact-ui .offer-card h3{font-size:23px}
body.pps-compact-ui .offer-card:not(.is-expanded) p{display:block}
body.pps-compact-ui .offer-card:not(.is-expanded) button{display:block}
body.pps-compact-ui .offer-card:not(.is-expanded)::after{display:none}
body.pps-compact-ui.pps-offers-live .offers-grid{gap:13px}

@media(max-width:760px){
  body.pps-compact-ui.pps-career-live .career-layout{
    height:calc(100dvh - var(--compact-top) - var(--compact-nav) - 13px)
  }
  body.pps-compact-ui.pps-career-live .topbar .ghost{padding:6px 3px;font-size:7.5px}
  body.pps-compact-ui.pps-offers-live .offer-card{min-height:240px}
}
@media(max-width:360px){
  body.pps-compact-ui.pps-career-live .topbar{grid-template-columns:51px minmax(0,1fr) 51px;gap:4px}
  body.pps-compact-ui .pps-top-hud b{font-size:8px}
  body.pps-compact-ui .pps-top-hud .is-ovr b{font-size:12px}
  body.pps-compact-ui .pps-season-core{gap:6px}
  body.pps-compact-ui .pps-season-core-stats>span{padding:5px 3px}
  body.pps-compact-ui .pps-season-core-stats b{font-size:15px}
}
@media(max-height:610px) and (max-width:760px){
  body.pps-compact-ui .pps-season-core{gap:5px}
  body.pps-compact-ui .pps-season-core-head{padding-bottom:5px}
  body.pps-compact-ui .pps-season-core-stats>span{padding:4px 3px}
  body.pps-compact-ui .pps-core-meters{gap:5px}
  body.pps-compact-ui .pps-table-preview i{padding:1px 0}
}
body.pps-compact-ui .preseason-facts>.preseason-preparation-fact{grid-column:1/-1;border-right:0;border-top:5px solid var(--preparation-color,#8b8377)}
body.pps-compact-ui .preseason-facts>.preseason-coach-trait-fact{grid-column:1/-1;border-right:0}

/* Keep the club stripe in grid flow, below the title even when it wraps. */
body.pps-compact-ui.club-theme .topbar:after{position:static;grid-column:1/-1;display:block;height:5px;margin-top:3px;width:auto}
