/* 1.943 — stały szkielet mobilny, klubowy kolor i spójna typografia PPS. */
body.pps-compact-ui.pps-career-live.club-theme .topbar:after,
body.pps-compact-ui.pps-offers-live.club-theme .topbar:after{display:none!important;content:none!important}

body.pps-compact-ui.pps-offers-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-offers-live .topbar-profile{grid-column:1!important;grid-row:1!important;align-self:stretch}
body.pps-compact-ui.pps-offers-live .topbar-title{grid-column:2!important;grid-row:1!important;min-width:0;align-self:stretch}
body.pps-compact-ui.pps-offers-live .topbar-actions{grid-column:3!important;grid-row:1!important;align-self:stretch;flex-wrap:nowrap}
body.pps-compact-ui.pps-offers-live .topbar .ghost{width:100%;height:100%;min-height:42px;padding:5px 2px;font-size:7.5px}
body.pps-compact-ui.pps-offers-live .topbar-title h1{display:none}
body.pps-compact-ui.pps-offers-live .pps-top-hud{
  display:grid;height:100%;grid-template-columns:repeat(7,minmax(0,1fr));
  border:2px solid #171717;background:#fff;box-shadow:2px 2px 0 var(--theme-shadow,#171717)
}

body.pps-compact-ui .pps-top-hud>[role="button"]{cursor:pointer;outline-offset:-3px;transition:background .12s ease,color .12s ease}
body.pps-compact-ui .pps-top-hud>[role="button"]:hover{background:color-mix(in srgb,var(--theme-primary,#c9252d) 12%,#fff)}
body.pps-compact-ui .pps-top-hud>[role="button"]:focus-visible{outline:2px solid var(--theme-primary,#c9252d)}
body.pps-compact-ui .pps-build-mark{color:var(--theme-primary,#9d1721);font-size:.82em;font-style:normal;letter-spacing:0}
.pps-hud-history{display:grid;gap:7px;margin-top:10px}.pps-hud-history .timeline-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:9px;padding:9px;border:2px solid #171717;background:#fff}.pps-hud-history .timeline-age{font-size:8px;font-weight:900;color:var(--theme-primary,#9d1721)}.pps-hud-history .timeline-text{display:grid;gap:3px;min-width:0}.pps-hud-history .timeline-text strong{font-size:10px;line-height:1.3}.pps-hud-history .timeline-text span{font-size:8px;line-height:1.45;color:#5f5951}

body.pps-compact-ui .pps-season-core *,
body.pps-compact-ui .pps-top-hud *,
body.pps-compact-ui .pps-compact-nav button,
body.pps-compact-ui .pps-core-view-switch button,
body.pps-compact-ui .pps-core-cups *,
body.pps-compact-ui .proto-briefing-card *,
body.pps-compact-ui #decisionBox.market-decision *,
body.pps-compact-ui .pps-interface-control *,
body.pps-compact-ui .pps-compact-modal *{font-family:"Libre Baskerville",Georgia,serif!important}

body.pps-compact-ui .pps-compact-nav button.is-primary,
body.pps-compact-ui.pps-career-live #playSeasonBtn,
body.pps-compact-ui .pps-core-view-switch button.is-active,
body.pps-compact-ui .pps-interface-buttons button.is-active{
  border-color:var(--theme-secondary,#171717)!important;
  background:var(--theme-primary,#c9252d)!important;color:var(--theme-ink,#fff)!important;
  box-shadow:2px 2px 0 var(--theme-shadow,#171717)
}
body.pps-compact-ui .pps-season-core-head strong,
body.pps-compact-ui .pps-core-cup>header span.is-won{color:var(--theme-primary,#9d1721)}
body.pps-compact-ui .pps-core-meter-fill{background:#e3ddd2}

.pps-interface-control{
  display:grid;grid-column:1/-1;gap:7px;margin:0 0 13px;padding:12px;
  border:3px solid #171717;background:#f7f3e9;box-shadow:4px 4px 0 var(--theme-primary,#c9252d)
}
.pps-interface-caption{font-size:11px;letter-spacing:.7px}
.pps-interface-hint{color:#6b645c;font-size:7px;line-height:1.4}
.pps-interface-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.pps-interface-buttons button{
  min-height:42px;padding:8px 5px;border:2px solid #171717;background:#fff;color:#171717;
  font-size:8px!important;font-weight:900;letter-spacing:.35px
}
.pps-interface-buttons button.is-active{
  border-color:var(--theme-secondary,#171717)!important;background:var(--theme-primary,#c9252d)!important;
  color:var(--theme-ink,#fff)!important;box-shadow:2px 2px 0 var(--theme-shadow,#171717)
}
.pps-interface-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
body.pps-compact-ui .preseason-briefing:not(.hidden):not(.proto-dismissed)>.proto-briefing-card{
  position:relative;border-color:var(--theme-secondary,#171717);
  box-shadow:5px 5px 0 var(--theme-shadow,var(--theme-primary,#c9252d))
}
body.pps-compact-ui .proto-briefing-card:before{
  content:"";position:sticky;z-index:4;top:0;display:block;height:7px;
  background:linear-gradient(90deg,var(--theme-primary,#c9252d) 0 68%,var(--theme-secondary,#173d75) 68% 100%)
}
body.pps-compact-ui .proto-briefing-card .preseason-briefing-head{
  background:linear-gradient(135deg,color-mix(in srgb,var(--theme-primary,#c9252d) 10%,#f7f3e9),#f7f3e9 58%)
}
body.pps-compact-ui .proto-briefing-card .preseason-facts strong,
body.pps-compact-ui .proto-briefing-card .preseason-plan strong{color:var(--theme-primary,#9d1721)}
body.pps-compact-ui .proto-briefing-close{
  background:var(--theme-primary,#c9252d)!important;color:var(--theme-ink,#fff)!important;
  border-color:var(--theme-secondary,#171717)!important;box-shadow:4px 4px 0 var(--theme-shadow,#171717)!important
}

body.pps-compact-ui.pps-market-live #ppsSeasonCore,
body.pps-compact-ui.pps-market-live #eventBox,
body.pps-compact-ui.pps-market-live #playSeasonBtn{display:none!important}
body.pps-compact-ui.pps-market-live .season-panel{display:flex!important;min-height:0;overflow:hidden!important}
body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden){
  position:static!important;inset:auto!important;z-index:auto!important;display:flex!important;
  min-width:0;min-height:0;max-width:none;flex:1;flex-direction:column;justify-content:flex-start;
  margin:0;padding:0!important;overflow:hidden!important;border:2px solid #171717!important;background:#f7f3e9!important
}
body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>.event-kicker,
body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>h3,
body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>#decisionText{
  width:100%;max-width:none;margin:0;border:0!important;background:#f7f3e9!important
}
body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>.event-kicker{padding:10px 11px 3px!important;color:var(--theme-primary,#9d1721)}
body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>h3{padding:3px 11px 5px!important;font-size:17px}
body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>#decisionText{padding:3px 11px 8px!important;color:#6b645c;font-size:8px;line-height:1.35}
body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>.choices{
  display:grid;width:100%;max-width:none;min-height:0;flex:1;gap:9px;margin:0;padding:7px 10px 14px!important;
  overflow-x:hidden!important;overflow-y:auto!important;border:0!important;border-top:2px solid #171717!important;
  background:#fff!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y
}
body.pps-compact-ui.pps-market-live #decisionBox.market-decision .choice-btn{
  flex:0 0 auto;min-height:0;touch-action:pan-y
}

body.pps-compact-ui.pps-offers-live{height:var(--pps-viewport-height,100dvh);overflow:hidden}
body.pps-compact-ui.pps-offers-live .app-shell{height:var(--pps-viewport-height,100dvh);overflow:hidden}
body.pps-compact-ui.pps-offers-live #offersView{
  height:calc(var(--pps-viewport-height,100dvh) - var(--compact-top) - var(--compact-nav) - 13px)!important;
  min-height:0;overflow:hidden
}
body.pps-compact-ui.pps-offers-live .offers-grid{
  display:flex!important;min-height:0!important;flex:1!important;flex-direction:column!important;
  align-items:stretch!important;gap:12px!important;padding:10px 14px 24px!important;
  overflow-x:hidden!important;overflow-y:auto!important;scroll-padding-bottom:24px;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y
}
body.pps-compact-ui.pps-offers-live .pps-compact-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}

/* Ostateczny układ początkowych ofert: wysokość każdej karty wynika z treści,
   a cała lista przewija się nad dolną nawigacją. */
body.pps-compact-ui.pps-offers-live .offer-card{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:max-content!important;
  flex:0 0 auto!important;width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;
  padding:16px!important;overflow:visible!important
}
body.pps-compact-ui.pps-offers-live .offer-card>*{min-width:0;max-width:100%}
body.pps-compact-ui.pps-offers-live .offer-card h3{
  margin:4px 0 6px!important;font-size:clamp(19px,5.4vw,25px)!important;line-height:1.18!important;
  overflow-wrap:anywhere
}
body.pps-compact-ui.pps-offers-live .offer-card:not(.is-expanded) p,
body.pps-compact-ui.pps-offers-live .offer-card p{
  display:block!important;flex:none!important;margin:4px 0!important;line-height:1.42!important;overflow-wrap:anywhere
}
body.pps-compact-ui.pps-offers-live .offer-card:not(.is-expanded) button,
body.pps-compact-ui.pps-offers-live .offer-card button{
  position:static!important;inset:auto!important;display:block!important;width:100%!important;min-height:46px;
  flex:none!important;margin:12px 0 0!important;transform:none
}
body.pps-compact-ui.pps-offers-live .offer-card:not(.is-expanded)::after{display:none!important;content:none!important}

body.pps-compact-ui .pps-ovr-current{
  display:flex;align-items:end;justify-content:space-between;gap:10px;padding:12px;
  border:2px solid #171717;background:#fff;box-shadow:3px 3px 0 var(--theme-primary,#c9252d)
}
body.pps-compact-ui .pps-ovr-current small{color:#6b645c;font-size:7px;font-weight:900}
body.pps-compact-ui .pps-ovr-current strong{color:var(--theme-primary,#9d1721);font-size:22px}
body.pps-compact-ui .pps-ovr-environment{display:flex;justify-content:space-between;gap:10px;margin:10px 0 0;padding:9px;border-bottom:1px solid #8f887e;font-size:8px}
body.pps-compact-ui .pps-ovr-factors{display:grid;gap:5px;margin-top:8px}
body.pps-compact-ui .pps-ovr-factors p{margin:0;padding:8px;border-left:4px solid var(--theme-primary,#c9252d);background:#fff;font-size:8px;line-height:1.35}
body.pps-compact-ui .pps-ovr-empty{margin:10px 0 0;color:#6b645c;font-size:9px;line-height:1.45}

@media(max-width:380px){
  body.pps-compact-ui.pps-offers-live .topbar{grid-template-columns:50px minmax(0,1fr) 50px!important;gap:4px!important}
  body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>h3{font-size:14px}
}
@media(max-height:610px) and (max-width:760px){
  body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>.event-kicker{padding-top:6px!important}
  body.pps-compact-ui.pps-market-live #decisionBox.market-decision:not(.hidden)>#decisionText{display:none}
}
.pps-injury-history{display:grid;gap:7px;margin:10px 0 12px}.pps-injury-history>h4,.pps-injury-risk-history-title{margin:0;padding:7px 9px;background:#171717;color:#fff;font:900 8px/1.3 "Libre Baskerville",Georgia,serif;letter-spacing:.7px}.pps-injury-history-row{display:grid;gap:5px;padding:9px 10px;border:2px solid #8f887e;background:#fff}.pps-injury-history-row.is-active{border-color:#b51f2b;box-shadow:inset 5px 0 0 #b51f2b}.pps-injury-history-row>div{display:flex;justify-content:space-between;gap:8px;align-items:start}.pps-injury-history-row strong{font:900 10px/1.3 "Libre Baskerville",Georgia,serif}.pps-injury-history-row small{color:#6a655d;font:700 7px/1.35 "Libre Baskerville",Georgia,serif;text-align:right}.pps-injury-history-row p{margin:0!important;color:#47423b;font:700 8px/1.45 "Libre Baskerville",Georgia,serif}.pps-injury-risk-history-title{margin-top:12px}
@media(max-width:520px){.pps-injury-history-row>div{display:grid}.pps-injury-history-row small{text-align:left}}
