/* Jedna końcowa warstwa hierarchii dla relacji sezonu i paneli kariery. */
.season-watch-surface .season-watch-head{
  padding:10px 12px;border:2px solid var(--theme-secondary,#171717);
  border-top:7px solid var(--theme-primary,#7c2028);background:#f7f3eb;color:#171717
}
.season-watch-surface .season-watch-head .eyebrow{color:#655d53}
.season-watch-surface .season-watch-progress{padding:0 2px;color:#171717}
.season-watch-surface .season-watch-progress>i{border-color:#171717;background:#d8d1c5}
.season-watch-surface .season-watch-progress b{background:var(--theme-primary,#7c2028)}
.season-watch-surface .season-watch-player-totals{border-color:var(--theme-secondary,#171717);box-shadow:3px 3px 0 color-mix(in srgb,var(--theme-primary,#7c2028) 65%,#171717)}
.season-watch-surface .season-watch-upcoming{
  border:3px solid #171717;background:#f7f3e9;
  color:#171717;box-shadow:5px 5px 0 #d8d1c5
}
.season-watch-surface .season-watch-upcoming-match>b{display:grid;place-items:center;min-width:42px;padding:6px;background:var(--theme-secondary,#171717);color:var(--theme-secondary-ink,#fff);border:1px solid currentColor}
.season-watch-surface .season-watch-result-line{border-color:color-mix(in srgb,currentColor 55%,transparent)}
.season-watch-surface .season-watch-actions{padding:5px;border:2px solid var(--theme-secondary,#171717);background:#eee8dc}
.season-watch-surface .season-watch-actions button{border-color:var(--theme-secondary,#171717)}
.season-watch-surface .season-watch-table-panel{border-color:var(--theme-secondary,#171717);box-shadow:3px 3px 0 var(--theme-primary,#7c2028)}
.season-watch-surface .season-watch-table-toolbar{background:var(--theme-secondary,#171717)}
.season-watch-surface .season-watch-table-switch button.active{background:var(--theme-primary,#7c2028);color:var(--theme-ink,#fff);border-bottom-color:var(--theme-secondary,#171717)}
.season-watch-surface .season-watch-result:last-child{box-shadow:inset 4px 0 0 var(--theme-primary,#7c2028)}

.player-card.panel{position:relative;overflow:hidden;border-top:8px solid var(--theme-primary,#7c2028)}
.player-card.panel:before{content:"PROFIL KARIERY";display:block;margin:-2px 0 12px;color:#6b645b;font:900 8px/1 var(--pps-font);letter-spacing:1.2px}
.player-card .overall-row{padding:12px;border:2px solid #171717;background:#171717;color:#fff;box-shadow:4px 4px 0 var(--theme-primary,#7c2028)}
.player-card .overall-row .stat-label{color:#d9d2c6}.player-card .overall-row .overall,.player-card .overall-row .big-number{color:#fff}
.player-card .club-block{padding:12px 0;border-top:1px solid #bdb5a8}.player-card .club-identity-block{margin-top:13px;border-top:0}
.player-card .club-identity-block .club-name{line-height:1.12}.player-card .player-status-block{border-left:4px solid var(--theme-primary,#7c2028);padding-left:10px}
.player-card .national-status-block{border-left:4px solid #8c8579;padding-left:10px}
.player-card-tools{grid-template-columns:1fr 1fr}.player-card-tools button{white-space:normal;line-height:1.15}
.player-card .player-finances{display:grid;gap:7px;padding:10px;border:2px solid #171717;background:#f4efe5}
.player-card .player-finances>div{display:flex;justify-content:space-between;gap:8px}.player-card .player-finances strong{text-align:right}
.player-card .career-attributes{border-top:3px solid #171717}.player-card .career-attributes>div{padding-block:8px}

.player-tab-card{border-top:8px solid var(--theme-primary,#7c2028)}
.player-tab-nav{position:sticky;top:-1px;z-index:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 14px;border:2px solid #171717;background:#171717}
.player-tab-nav button{min-height:38px;padding:7px;border:0;border-right:1px solid #777;background:#171717;color:#fff;font:900 9px/1.15 "Libre Baskerville",Georgia,serif;letter-spacing:.5px;cursor:pointer}.player-tab-nav button:last-child{border-right:0}.player-tab-nav button:hover,.player-tab-nav button:focus-visible{background:var(--theme-primary,#7c2028);color:var(--theme-ink,#fff);outline:2px solid #fff;outline-offset:-3px}
.player-profile-card{border-color:var(--theme-secondary,#171717);box-shadow:6px 6px 0 var(--theme-primary,#7c2028)}
.player-tab-metric{box-shadow:none;border-width:1px;border-top:4px solid var(--theme-primary,#7c2028)}
.player-tab-section{scroll-margin-top:54px}.player-tab-details-end{display:block;scroll-margin-top:54px}
.cm-profile-export{border-color:var(--theme-secondary,#171717);box-shadow:4px 4px 0 var(--theme-primary,#7c2028)}
.cm-profile-export button{background:var(--theme-primary,#250063);color:var(--theme-ink,#fff)}

@media(max-width:720px){
  .player-card-tools{grid-template-columns:1fr}
  .player-tab-nav button{min-height:34px;padding:6px 3px;font-size:7px;letter-spacing:.2px}
  .season-watch-surface .season-watch-head{padding:6px 7px;border-top-width:5px}
  .season-watch-surface .season-watch-upcoming{box-shadow:3px 3px 0 var(--theme-secondary,#171717)}
  .season-watch-surface .season-watch-upcoming-match>b{min-width:34px;padding:4px}
}

/* 2.029 — jedna geometria zapowiedzi i wyniku w śledzeniu sezonu. */
.season-watch-surface>.season-watch-card{
  --season-watch-match-height:146px;
  grid-template-rows:auto auto auto var(--season-watch-match-height) auto minmax(0,1fr)
}
.season-watch-surface .season-watch-upcoming{
  display:grid;height:var(--season-watch-match-height);min-height:var(--season-watch-match-height);max-height:var(--season-watch-match-height);
  grid-template-columns:minmax(150px,.52fr) minmax(0,1.48fr);grid-template-rows:minmax(44px,1fr) auto auto;
  gap:5px 12px;padding:9px 12px;overflow:hidden;box-sizing:border-box
}
.season-watch-surface .season-watch-upcoming-meta{grid-column:1;grid-row:1;min-width:0;align-content:center}
.season-watch-surface .season-watch-upcoming-match{grid-column:2;grid-row:1;min-width:0}
.season-watch-surface .season-watch-context-line,
.season-watch-surface .season-watch-phase-line{
  grid-column:1/-1;display:flex;min-width:0;align-items:center;justify-content:center;gap:7px;padding-top:4px;border-top:1px solid color-mix(in srgb,currentColor 46%,transparent)
}
.season-watch-surface .season-watch-context-line{grid-row:2;min-height:21px;overflow:hidden}
.season-watch-surface .season-watch-phase-line{grid-row:3;min-height:25px}
.season-watch-surface .season-watch-context-line>em,
.season-watch-surface .season-watch-match-ovr,
.season-watch-surface .season-watch-supporters,
.season-watch-surface .season-watch-form-room{
  display:block;min-width:0;max-width:100%;margin:0;padding:3px 6px;border:1px solid currentColor;background:rgba(255,255,255,.72);
  color:inherit;font:900 7px/1.15 var(--pps-font);font-style:normal;letter-spacing:.25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center
}
.season-watch-surface .season-watch-result-line{justify-content:space-between;border-top:1px solid color-mix(in srgb,currentColor 46%,transparent)}
.season-watch-surface .season-watch-result-line>div{display:flex;min-width:0;align-items:center;gap:7px}
.season-watch-surface .season-watch-result-line p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.season-watch-surface .season-watch-chain{flex:0 0 auto;margin:0;white-space:nowrap}
.season-watch-surface .season-watch-finished{grid-column:1/-1;grid-row:1/-1;height:100%;align-content:center}
.season-watch-surface .season-watch-upcoming-match>span{min-width:0;overflow:hidden}
.season-watch-surface .season-watch-upcoming-match .season-watch-club{min-width:0;max-width:100%;overflow:hidden}
.season-watch-surface .season-watch-upcoming-match .season-watch-club>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

body.pps-compact-ui .season-watch-surface>.season-watch-card{--season-watch-match-height:112px}
body.pps-compact-ui .season-watch-surface .season-watch-upcoming{
  height:var(--season-watch-match-height);min-height:var(--season-watch-match-height);max-height:var(--season-watch-match-height);
  grid-template-columns:105px minmax(0,1fr);grid-template-rows:minmax(34px,1fr) auto auto;gap:3px 7px;padding:5px 7px
}
body.pps-compact-ui .season-watch-surface .season-watch-upcoming>em{grid-column:auto}
body.pps-compact-ui .season-watch-surface .season-watch-context-line,
body.pps-compact-ui .season-watch-surface .season-watch-phase-line{gap:4px;min-height:17px;padding-top:2px}
body.pps-compact-ui .season-watch-surface .season-watch-context-line>em,
body.pps-compact-ui .season-watch-surface .season-watch-match-ovr,
body.pps-compact-ui .season-watch-surface .season-watch-supporters,
body.pps-compact-ui .season-watch-surface .season-watch-form-room{padding:2px 4px;font-size:5.8px}

@media(max-width:720px){
  .season-watch-surface>.season-watch-card{--season-watch-match-height:126px}
  .season-watch-surface .season-watch-upcoming{
    grid-template-columns:78px minmax(0,1fr);grid-template-rows:minmax(38px,1fr) auto auto;gap:3px 6px;padding:6px 7px
  }
  .season-watch-surface .season-watch-upcoming-meta{text-align:left}
  .season-watch-surface .season-watch-upcoming-match{font-size:8px}
  .season-watch-surface .season-watch-context-line{justify-content:flex-start}
  .season-watch-surface .season-watch-context-line>em,
  .season-watch-surface .season-watch-match-ovr,
  .season-watch-surface .season-watch-supporters,
  .season-watch-surface .season-watch-form-room{font-size:5.8px;padding:2px 3px}
  .season-watch-surface .season-watch-result-line p{font-size:6.4px}
  body.pps-compact-ui .season-watch-surface>.season-watch-card{--season-watch-match-height:104px}
}
