* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #12161c;
  color: #e8edf3;
  font: 14px/1.5 "Segoe UI", system-ui, sans-serif;
  display: flex;
  justify-content: center;
  padding: 18px;
  min-height: 100vh;
}

#wrap {
  width: min(960px, 100%);
}



#hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1b222c;
  border: 1px solid #2b3542;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 10px 14px;
}

.score {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
}

.score #score {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.team { font-size: 13px; letter-spacing: .08em; }
.team.home { color: #5fb3ff; }
.team.away { color: #ff7a6b; }

#clock {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  color: #9fb0c3;
}

#hud-right { display: flex; gap: 8px; }

button {
  background: #2b3542;
  color: #e8edf3;
  border: 1px solid #3a4757;
  border-radius: 6px;
  padding: 7px 13px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
button:hover { background: #364355; }
button:active { transform: translateY(1px); }



canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #131820;
  border: 1px solid #2b3542;
  cursor: crosshair;
}



#panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1px;
  background: #2b3542;
  border: 1px solid #2b3542;
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.stats { background: #1b222c; padding: 12px 14px; }

.stats h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #7e8fa3;
  margin-bottom: 10px;
  font-weight: 600;
}
.stats h3 small { text-transform: none; letter-spacing: 0; color: #5d6b7d; }

.bar { margin-bottom: 7px; }
.bar-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #b7c4d3;
  margin-bottom: 3px;
}
.bar-top b { color: #e8edf3; font-variant-numeric: tabular-nums; }
.bar-track { height: 5px; background: #2b3542; border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: #5fb3ff; border-radius: 3px; }

.keys { list-style: none; font-size: 12.5px; color: #9fb0c3; }
.keys li { padding: 2px 0; }
.keys b { color: #e8edf3; font-weight: 600; }
.keys li.sep { color: #ffd166; padding-top: 5px; font-size: 11.5px; }
.keys li.sep i { color: #b08d3a; }
.keys i { color: #6b7a8d; font-style: normal; }

#mystats { font-size: 13px; }
.row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid #232c38;
  color: #9fb0c3;
}
.row:last-child { border-bottom: none; }
.row b { color: #e8edf3; font-variant-numeric: tabular-nums; }
.row.hl b { color: #ffd166; }



#overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 17, .82);
  display: flex;
  align-items: center;
  justify-content: center;
}
#overlay.hidden { display: none; }

#overlay-box {
  background: #1b222c;
  border: 1px solid #3a4757;
  border-radius: 10px;
  padding: 26px 30px;
  min-width: 340px;
  text-align: center;
}
#overlay-box h2 { font-size: 22px; margin-bottom: 14px; }
#ov-body { margin-bottom: 18px; }
#ov-body .row { text-align: left; }
#ov-btn { padding: 9px 20px; background: #2f6fb5; border-color: #3d84d1; }
#ov-btn:hover { background: #3a80cc; }

@media (max-width: 780px) {
  body { padding: 8px; }
  #panel { grid-template-columns: 1fr; }
}


body.oprawa-v2 {
  background: radial-gradient(ellipse at 50% 0%, #1b3435 0%, #0c171c 65%);
  color: #f0f5f0;
}
body.oprawa-v2 #hud {
  flex-wrap: wrap;
  gap: 9px 16px;
  background: linear-gradient(125deg, #1d3034, #101c27 68%);
  border-color: #395250;
  border-top: 3px solid #5dd4ac;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}
body.oprawa-v2 .score { gap: 10px; }
body.oprawa-v2 .score #score {
  color: #f8faf3;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .015em;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .34);
}
body.oprawa-v2 .team {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
body.oprawa-v2 .team.home { color: #8bd4c4; background: #173b3b; }
body.oprawa-v2 .team.away { color: #f4a27e; background: #422d2c; }
body.oprawa-v2 #clock { color: #e2eadf; font-weight: 700; }
body.oprawa-v2 #hud-right { flex-wrap: wrap; justify-content: flex-end; }
body.oprawa-v2 canvas { background: #102d25; border-color: #395250; }
body.oprawa-v2 #panel {
  gap: 8px;
  padding: 8px;
  background: #111f27;
  border-color: #395250;
}
body.oprawa-v2 .stats {
  background: linear-gradient(160deg, #1d2c34, #18232e);
  border: 1px solid #30434b;
  border-radius: 7px;
}
body.oprawa-v2 .stats h3 { color: #94b5ad; }
body.oprawa-v2 .row { border-color: #30434b; }
body.oprawa-v2 .bar-top b { color: #f3f9f2; }
body.oprawa-v2 .bar-fill { background: #5dd4ac; }
body.oprawa-v2 .bar-track { background: #263940; }
body.oprawa-v2 button { background: #294549; border-color: #3c6865; font-weight: 600; }
body.oprawa-v2 button:hover { background: #35605e; }
body.oprawa-v2 button:focus-visible { outline: 2px solid #5dd4ac; outline-offset: 2px; }


body.oprawa-v2 #kariera.np-career:has(.np-stadium-shell) {
  overflow: hidden;
  padding: 0;
  scroll-padding: 0;
}
body.oprawa-v2 #kariera.np-career > .kar-problem {
  position: absolute; z-index: 12; inset: auto 12px 80px;
  width: fit-content; max-width: calc(100% - 24px); margin: auto;
}
body.oprawa-v2 #kariera.np-career .np-career-shell.np-stadium-shell {
  --hud-gap: clamp(9px, 1.45vw, 24px);
  --hud-ink: #f7f4e9;
  --hud-muted: #bdcace;
  --hud-surface: rgb(12 24 29 / 95%);
  --hud-edge: rgb(171 192 192 / 35%);
  --hud-accent: var(--np-ui-club, #a7caff);
  position: relative; isolation: isolate; display: grid; grid-template-rows: auto minmax(0, 1fr); width: 100%; height: 100%;
  min-height: 0; max-width: none; margin: 0; overflow: hidden;
  background: #16382c;
}
body.oprawa-v2 #kariera.np-career .np-stadium-shell {
  & [hidden] { display: none !important; }
  & .np-stadium-home, & .np-stadium-pitch, & .np-stadium-scene {
    position: absolute; inset: 0; display: block; margin: 0; padding: 0;
    width: 100%; height: 100%; min-height: 0; max-width: none; overflow: hidden;
  }
  & .np-stadium-pitch { z-index: 0; }
  & .np-stadium-pitch::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgb(5 15 23 / 12%), transparent 22%, transparent 76%, rgb(6 19 21 / 22%));
  }
  & .np-career-background, & .np-career-weather-far, & .np-career-weather { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; z-index: 0; pointer-events: none; }
  & .np-career-weather { z-index: 2; }
  & .np-stadium-scene .np-career-figure { position: absolute; z-index: 1; margin: 0; min-height: 0; transform: none; overflow: visible; pointer-events: none; }
  & .np-stadium-scene .np-career-figure .np-career-player { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; object-fit: fill; }
  & .np-stadium-scene[data-filtr] .np-career-player { filter: url(#np-swiatlo-postaci); }
  & .np-stadium-scene:is([data-powietrze="chmury"],[data-powietrze="mgla"])::before {
    content: ''; position: absolute; z-index: 1; pointer-events: none;
    top: var(--horyzont); bottom: 0; left: 0; width: 200%;
    background: radial-gradient(ellipse 36% 42% at 36% 55%, rgb(23 45 53 / 17%), transparent 100%) 0 0 / 50% 100% repeat-x;
    @media (prefers-reduced-motion: no-preference) { animation: np-powietrze 68s linear infinite; }
  }
  & .np-stadium-scene[data-powietrze="mgla"]::before {
    top: calc(var(--horyzont) - 22%); bottom: auto; height: 45%;
    background-image: radial-gradient(ellipse 38% 38% at 44% 45%, rgb(var(--kolor-mgly) / 14%), transparent 100%);
  }
  & .np-hud-you { position: absolute; left: 50%; top: 24%; transform: translate(-50%, -100%); color: #ffe3a2;
    font-size: 12px; font-weight: 700; line-height: 1.35; text-shadow: 0 1px 4px #0c201a; border-bottom: 2px solid currentColor; }
  & .np-stadium-header { position: relative; z-index: 3; grid-row: 1; display: grid; grid-template-columns: minmax(145px,1fr) minmax(0,max-content) minmax(145px,1fr);
    align-items: center; gap: var(--hud-gap); margin: max(var(--hud-gap), env(safe-area-inset-top)) var(--hud-gap) 0; pointer-events: none; }
  & .np-stadium-footer { position: absolute; z-index: 1; inset-inline: var(--hud-gap); bottom: max(var(--hud-gap), env(safe-area-inset-bottom));
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,min(530px,48%)) minmax(0,1fr); grid-template-areas: "player fixture last";
    align-items: end; gap: var(--hud-gap); pointer-events: none; }
  & .np-stadium-header button, & .np-stadium-footer button, & .np-stadium-nav { pointer-events: auto; }
  & .np-hud-chip, & .np-hud-tools, & .np-hud-score, & .np-stadium-nav, & .np-hud-fixture-meta, & .np-hud-fixture .np-career-training-context {
    border: 1px solid var(--hud-edge); border-radius: 2px; color: var(--hud-ink); background: var(--hud-surface); box-shadow: 0 2px 8px #07151a21;
  }
  & .np-hud-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; line-height: 1.1; text-align: left; }
  & .np-hud-chip > span { min-width: 0; display: grid; gap: 3px; }
  & .np-hud-chip small { color: var(--hud-muted); font-size: 12px; line-height: 1.15; }
  & .np-hud-chip strong { color: var(--hud-ink); font-size: 16px; line-height: 1.15; }
  & .np-hud-chip:hover, & .np-hud-options:hover { background: #253840; }
  & .np-hud-identity { min-width: 0; justify-self: start; }
  & .np-hud-club, & .np-hud-player { border-inline-start: 3px solid var(--hud-accent); }
  & .np-hud-club { max-width: 100%; }
  & .np-hud-club canvas { width: 28px; height: 33px; object-fit: contain; flex: none; }
  & .np-hud-tools { justify-self: end; display: flex; align-items: stretch; }
  & .np-hud-wallet { max-width: none; background: transparent; border: 0; box-shadow: none; text-align: right; }
  & .np-hud-wallet strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
  & .np-hud-options { align-self: stretch; min-width: 38px; padding: 0 8px; border: 0; border-radius: 0; background: transparent; color: var(--hud-muted); font-size: 22px; }
  & .np-hud-tools [aria-pressed=true] { box-shadow: inset 0 -2px var(--hud-accent); }
  & .np-career-news { position: absolute; top: calc(100% + 6px); left: 0; max-width: min(290px, 66%); display: grid; justify-items: start; gap: 4px; padding: 0; background: transparent; }
  & .np-career-news button { background: var(--hud-surface); border: 1px solid var(--hud-edge); color: var(--hud-ink); border-radius: 2px; min-height: 30px; padding: 5px 9px; font-size: 12px; text-align: left; }
  & .np-career-news button:hover { background: #253840; }
  & .np-career-news svg { width: 13px; height: 13px; flex: none; }
  & .np-hud-matchday { grid-area: fixture; min-width: 0; display: grid; gap: clamp(10px, 1.8vh, 18px); }
  & .np-hud-fixture { display: grid; justify-items: center; gap: 3px; text-align: center; }
  & .np-hud-score { width: 100%; min-height: 48px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 10px; padding: 8px 15px; }
  & .np-hud-team { min-width: 0; display: flex; align-items: center; gap: 9px; text-align: left; pointer-events: auto; }
  & .np-hud-team:last-child { flex-direction: row-reverse; text-align: right; }
  & .np-hud-team strong { font-size: clamp(14px,1.25vw,19px); line-height: 1.1; overflow-wrap: anywhere; }
  & .np-hud-team canvas { flex: none; width: 22px; height: 26px; object-fit: contain; }
  & .np-hud-team .nr-flag { flex: none; width: 25px; }
  & .np-hud-vs { font-size: 13px; color: var(--hud-muted); }
  & .np-hud-fixture-meta, & .np-hud-fixture .np-career-training-context { max-width: 100%; margin: 0; padding: 4px 10px; color: #ced9d8; font-size: 12px; line-height: 1.2; }
  & .np-hud-action { display: grid; justify-items: center; gap: 7px; }
  & .np-hud-action button { pointer-events: auto; }
  & .np-hud-play { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 184px; min-height: 48px; padding: 11px 17px;
    border: 1px solid color-mix(in srgb,var(--hud-accent) 76%,white); border-bottom-width: 3px; border-radius: 2px;
    background: var(--hud-accent); color: #111923; font: inherit; font-weight: 700; font-size: 17px; box-shadow: 0 3px 8px #07151a38; }
  & .np-hud-play:hover { background: color-mix(in srgb, var(--hud-accent) 82%, white); }
  & .np-hud-play svg { width: 20px; height: 20px; }
  & .np-hud-skip { padding: 5px 10px; background: var(--hud-surface); color: var(--hud-ink); border: 1px solid var(--hud-edge); font-size: 13px; }
  & .np-hud-player { grid-area: player; justify-self: start; min-width: 0; max-width: 100%; }
  & .np-hud-player > b { padding-right: 9px; border-right: 1px solid var(--hud-edge); color: var(--hud-accent); font-size: 26px; line-height: 1; }
  & .np-hud-last { grid-area: last; justify-self: end; min-width: 0; max-width: 100%; }
  & .np-hud-last canvas { flex: none; }
  & .np-hud-last strong { font-size: 14px; }
  & .np-hud-last strong b { white-space: nowrap; }
  & .np-stadium-nav { min-width: 0; width: max-content; max-width: 100%; justify-self: center; display: flex; flex-flow: row nowrap; align-items: stretch;
    justify-content: flex-start; gap: 1px; min-height: 46px; padding: 2px 3px 0; overflow: auto hidden; overscroll-behavior-x: contain; scrollbar-width: thin; }
  & .np-stadium-nav > button { flex: none; width: auto; min-height: 44px; padding: 8px clamp(8px,1.15vw,22px); border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--hud-muted); font-size: clamp(14px,calc(11px + .3vw),17px); }
  & .np-stadium-nav > button:hover, & .np-stadium-nav > button[aria-pressed=true] { background: #ffffff0b; color: var(--hud-ink); }
  & .np-stadium-nav > button[aria-pressed=true] { border-bottom-color: var(--hud-accent); }
  & .np-stadium-windows { position: relative; z-index: 2; grid-row: 2; min-width: 0; min-height: 0;
    margin: clamp(8px,1.5vh,16px) clamp(10px,3vw,64px) max(var(--hud-gap), env(safe-area-inset-bottom));
    display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); pointer-events: none; }
  & .np-stadium-window { pointer-events: auto; display: flex; flex-direction: column;
    contain: strict;
    width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; padding: 0; overflow: hidden;
    color: var(--tekst); background: color-mix(in srgb, var(--tlo) 96%, transparent); border: 1px solid var(--kreska-2); border-top: 2px solid var(--hud-accent);
    border-radius: 3px; box-shadow: 0 10px 30px #05131a38; }
  & .np-stadium-window > .np-career-detail-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 10px;
    width: 100%; margin: 0; padding: 12px clamp(14px,2.3vw,36px) 10px; border: 0; border-bottom: 1px solid var(--kreska); flex: none; }
  & .np-stadium-window h1 { min-width: 0; font-size: clamp(21px, 2vw, 30px); margin: 0; }
  & .np-stadium-window .np-hud-close { display: grid; place-items: center; padding: 0; width: 34px; height: 34px; border: 1px solid transparent; border-radius: 2px; background: transparent; color: var(--tekst-2); font-size: 23px; line-height: 1; }
  & .np-stadium-window .np-hud-close:hover { background: var(--karta); color: var(--tekst); border-color: var(--kreska); }
  & .np-stadium-window .kar-zakladki { display: flex; grid-column: 1 / -1; max-width: 100%; min-width: 0; min-height: 0; margin: 0; padding: 0; gap: 3px; flex-wrap: nowrap; overflow: auto hidden; }
  & :is(.np-stadium-nav,.kar-zakladki) > button:active { transform: none; background: #ffffff18; }
  & .np-stadium-window .kar-zakladki .kar-zakladka { flex: none; min-height: 36px; padding: 6px 10px; font-size: clamp(14px,calc(10px + .3vw),16px); }
  & .np-stadium-window > .kar-box { position: relative; width: 100%; min-height: 0; max-width: none; flex: 1 1 auto; contain: strict; padding: clamp(12px,2vh,22px) clamp(14px,2.3vw,36px) 20px; margin: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  & .np-stadium-window[inert] { pointer-events: none; }
  & .np-stadium-window > .kar-box:has(> .widoczny:is([data-panel="puchar"],[data-panel="mistrzow"])) { padding-block: clamp(5px,1vh,12px); }
  & [data-sekcja=puchar] > .np-section-body { padding: 6px 0 0; }
  & .np-stadium-window :is(.np-domestic-hero,.np-lm-hero) { min-height: 0; padding: 6px clamp(10px,1.4vw,22px); margin: 0; gap: 12px; }
  & .np-competition-hero .np-competition-cup { width: clamp(44px,8vh,80px); height: clamp(46px,8vh,80px); }
  & .np-competition-hero .np-competition-cup canvas { width: 100%; height: auto; aspect-ratio: 1; }
  & .np-competition-hero .np-competition-heading h2 { font-size: clamp(19px,2.6vh,26px); }
  & .np-competition-hero .np-competition-heading p { margin: 2px 0 0; }
  & .np-competition-hero > .np-club-crest { width: clamp(32px,5.8vh,56px) !important; height: auto !important; }
  & .nr-worldcup:has(.nr-knockout) > .nr-qualified-hero { min-height: 0; padding-block: 8px; }
  & .nr-worldcup:has(.nr-knockout) .nr-tournament-trophy canvas { width: clamp(62px,9vh,92px); height: auto; }
  & .nr-worldcup:has(.nr-knockout) .nr-stats { padding-block: 8px; margin-bottom: 9px; }
  & .nr-worldcup .nr-knockout > h3 { margin-block: 0 6px; }
  & [data-sekcja=puchar] .np-cup-legend, & .np-lm-key { margin: 4px 0; }
  & .np-lm :is(.np-lm-qualification,.np-lm-history) { padding: 5px 0; border-top: 1px solid var(--kreska); }
  & .np-bracket-zoom { flex: none; padding: 4px 9px; min-height: 30px; font-size: 13px; }
  & .nr-knockout > h3 { display: flex; align-items: center; justify-content: space-between; }
  & :is(.np-cup-scroll,.np-bracket16-scroll) { padding: 4px 0; }
  & .np-bracket16 { contain: layout style; }
}
@keyframes np-powietrze { to { transform: translateX(-50%); } }
@media (min-width: 900px), (min-width: 660px) and (max-height: 510px) {
  body.oprawa-v2 #kariera.np-career .np-stadium-shell .np-stadium-window > .np-career-detail-heading {
    grid-template-columns: minmax(0,1fr) auto auto;
    & .kar-zakladki { grid-row: 1; grid-column: 2; }
    & .np-hud-close { grid-column: 3; grid-row: 1; }
  }
}
@media (max-width: 760px) {
  body.oprawa-v2 #kariera.np-career .np-stadium-shell {
    & .np-stadium-header { grid-template-columns: minmax(0,1fr) auto; row-gap: 6px; }
    & .np-hud-tools { grid-column: 2; grid-row: 1; }
    & .np-stadium-nav { grid-column: 1 / -1; grid-row: 2; min-height: 40px; }
    & .np-stadium-nav > button { padding: 6px 10px; min-height: 38px; font-size: 13px; }
    & .np-hud-chip { min-height: 40px; padding: 5px 8px; }
    & .np-hud-club canvas { width: 22px; height: 26px; }
    & .np-hud-chip small { font-size: 11px; }
    & .np-hud-chip strong { font-size: 14px; }
    & .np-hud-score { min-height: 38px; padding: 6px 9px; gap: 6px; }
    & .np-hud-team { gap: 5px; }
    & .np-hud-team canvas { width: 17px; height: 21px; }
    & .np-stadium-footer { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "fixture fixture" "player last"; row-gap: 8px; }
    & .np-hud-matchday { justify-self: center; width: min(100%,480px); }
    & .np-stadium-window > .np-career-detail-heading { padding: 7px 10px 5px; }
  }
}
@media (max-height: 510px) and (min-width: 540px) {
  body.oprawa-v2 #kariera.np-career .np-stadium-shell {
    & .np-stadium-header { grid-template-columns: minmax(112px,1fr) minmax(0,max-content) minmax(112px,1fr); margin-top: max(5px,env(safe-area-inset-top)); gap: 6px; }
    & .np-stadium-nav { grid-row: 1; grid-column: 2; min-height: 38px; }
    & .np-stadium-nav > button { min-height: 36px; padding: 4px 8px; font-size: 13px; }
    & .np-hud-tools { grid-row: 1; grid-column: 3; }
    & .np-hud-chip { min-height: 38px; padding: 4px 6px; gap: 5px; }
    & .np-hud-club canvas { width: 20px; height: 24px; }
    & .np-stadium-footer { grid-template-columns: minmax(0,1fr) minmax(0,48%) minmax(0,1fr); grid-template-areas: "player fixture last"; }
    & .np-hud-matchday, & .np-hud-action { gap: 4px; }
    & .np-hud-play { min-height: 38px; min-width: 145px; padding: 5px 10px; font-size: 15px; }
    & .np-hud-score { min-height: 34px; padding: 3px 7px; }
    & .np-hud-chip strong, & .np-hud-team strong { font-size: 14px; }
    & .np-hud-fixture-meta { padding-block: 2px; }
    & .np-stadium-windows { margin-block: 5px max(5px,env(safe-area-inset-bottom)); }
    & .np-stadium-window > .np-career-detail-heading { padding: 3px 10px; }
    & .np-stadium-window .kar-zakladki .kar-zakladka { min-height: 32px; padding: 3px 6px; }
    & .kar-panel:is([data-panel="puchar"],[data-panel="mistrzow"]) > .np-section { display: grid; grid-template-columns: minmax(128px,20%) minmax(0,1fr); column-gap: 12px; align-items: start; }
    & .np-competition-hero:is(.np-domestic-hero,.np-lm-hero) { grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 3px; padding: 6px 8px; }
    & .np-competition-hero > .np-club-crest { position: absolute; top: 8px; right: 8px; }
    & .np-competition-hero .np-competition-champion { display: flex; gap: 4px; flex-wrap: wrap; font-size: 11px; }
    & .np-competition-hero .np-competition-champion canvas { width: 19px !important; height: auto !important; }
    & :is([data-sekcja=puchar],.np-lm) > .np-section-body { grid-column: 2; grid-row: 1; min-width: 0; }
    & .nr-worldcup:has(> .nr-knockout) { display: flex; flex-direction: column; }
    & .nr-worldcup > .nr-knockout { order: -1; }
  }
}

