* { 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-strength { flex: none; color: color-mix(in srgb, var(--hud-ink) 74%, var(--hud-muted)); font-size: 13px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
  & .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; will-change: scroll-position; 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; }
  }
}



#kariera.wk-na-stadionie{position:fixed;inset:0;overflow:hidden;overflow:clip;padding:0;background:#163e35}
#kariera.wk-na-stadionie>:not(.wk-ground){display:none!important}
#kariera.wk-na-stadionie .wk-ground{
  --wk-panel:#13231fee;--wk-ink:#faf6e9;--wk-muted:#c0cec3;--wk-line:#536862;--wk-gold:#efd393;
  --wk-pad:clamp(12px,1.6vw,26px);
  position:absolute;inset:0;isolation:isolate;overflow:hidden;overflow:clip;text-align:left;
  color:var(--wk-ink);font:500 14px/1.28 Bahnschrift,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums;
}
#kariera.wk-na-stadionie .wk-ground{
  & [hidden]{display:none!important}
  & *{box-sizing:border-box}
  & canvas{display:block;background:transparent;border:0;max-width:none;max-height:none;cursor:inherit}
  & svg{width:17px;height:17px;flex:none;vertical-align:middle}
  & :where(button:not(.wk-root button)){box-shadow:none;border:0;border-radius:2px;margin:0;min-width:0;min-height:0;padding:0;
    font:inherit;letter-spacing:normal;text-transform:none;text-shadow:none;color:inherit;background:transparent;cursor:pointer}
  & button:disabled{opacity:.48;cursor:default}
  & button:focus-visible{outline:2px solid var(--wk-gold);outline-offset:2px}
  & :is(h2,h3,p,figure){margin:0}
  & .wk-world{position:absolute;left:-9%;top:-14.94%;width:118%;height:118%;overflow:hidden;z-index:0;
    transition:width 340ms,left 340ms,top 340ms,height 340ms;transition-timing-function:cubic-bezier(.21,.78,.21,1)}
  &[data-view="stadium"] .wk-world{left:0;top:0;width:100%;height:100%}
  & .wk-land,& .wk-eleven{position:absolute;inset:0;width:100%;height:100%}
  & .wk-world::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0a211e50,transparent 15%,transparent 84%,#0d1d2d3b);z-index:1}
  & .wk-eleven{z-index:2;pointer-events:none}
  & button.wk-figure{position:absolute;display:grid;place-items:center;width:calc(var(--wk-height)*.73);height:var(--wk-height);min-width:36px;
    transform:translate(-50%,-94%);overflow:visible;pointer-events:auto;transition:left 270ms ease-out,top 270ms ease-out,height 270ms ease-out;outline:0}
  &[data-view="team"] .wk-figure{height:calc(var(--wk-height)*1.18);width:calc(var(--wk-height)*.8614)}
  & .wk-figure canvas{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain;pointer-events:none;
    transition:transform .14s ease-out}
  & .wk-figure:is(:hover,:focus-visible,[aria-pressed=true]) canvas{transform:translateY(-2px)}
  & .wk-ring{position:absolute;left:50%;bottom:1%;width:62%;height:15%;transform:translateX(-50%);border:2px solid transparent;border-radius:50%;
    background:radial-gradient(ellipse at 50% 54%,#04170c7a 0%,#051b0e32 54%,transparent 76%)}
  & .wk-up-aura{position:absolute;left:50%;bottom:3%;width:124%;height:106%;z-index:0;pointer-events:none;transform-origin:50% 100%;will-change:transform,opacity;
    background:radial-gradient(ellipse 46% 62% at 50% 74%,var(--wk-up-col,#efd393) 0%,transparent 76%)}
  & .wk-up-wave{position:absolute;left:50%;bottom:1%;width:66%;height:17%;z-index:0;pointer-events:none;border-radius:50%;will-change:transform,opacity;
    border:2px solid var(--wk-up-col,#efd393);background:transparent}
  & .wk-up-mote{position:absolute;z-index:2;width:3.5px;height:10px;border-radius:99px;pointer-events:none;will-change:transform,opacity;
    background:var(--wk-up-col,#efd393)}
  & .wk-up-delta{position:absolute;left:50%;top:-16px;z-index:4;pointer-events:none;white-space:nowrap;padding:2px 7px;border-radius:2px;will-change:transform,opacity;
    background:#10211ce8;border:1px solid #ffffff26;border-bottom:2px solid var(--wk-up-col,#efd393);
    color:var(--wk-up-col,#fff5d6);font:700 13px/1.15 Bahnschrift,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums;
    letter-spacing:.03em}
  & .wk-up-delta.is-max{background:#122a20f2;border-color:#96f0b6;border-bottom-color:#68e496;color:#d2ffe4}
  & .wk-tag{position:absolute;top:99%;left:50%;transform:translateX(-50%);display:flex;align-items:center;min-height:21px;
    width:max-content;max-width:clamp(74px,11vw,150px);padding-right:6px;background:#11221ee8;border:1px solid #edf4d937;
    border-radius:2px;color:#fffbed;font:500 clamp(12px,1vw,16px)/1.34 Bahnschrift,'Segoe UI',sans-serif;
    transition:background .12s,color .12s,opacity .2s;white-space:nowrap;box-shadow:0 1px 3px #05120a54}
  & .wk-tag{margin-left:var(--wk-label-dx,0px)}
  & .wk-tag em{margin-left:6px;padding-top:1px;font-size:.86em;font-weight:700;font-style:normal;font-variant-numeric:tabular-nums;color:var(--wk-tag-ovr,#c6d6bc)}
  & .wk-figure:is([aria-pressed=true],:hover,:focus-visible) .wk-tag em{color:color-mix(in srgb,var(--wk-tag-ovr,#37472f) 44%,#111f17)}
  & .wk-tag b{display:grid;place-content:center;align-self:stretch;min-width:20px;padding:1px 3px 0;margin-right:3px;background:#ffffff12;color:#dce3c9;font-size:.88em}
  & .wk-tag span{overflow:hidden;text-overflow:ellipsis;padding:3px 2px 1px 2px;line-height:1.2}
  & .wk-figure:is([aria-pressed=true],:hover,:focus-visible) .wk-tag{color:#16271f;background:#f3dfae;border-color:#f6eacc}
  & .wk-figure:is([aria-pressed=true],:hover,:focus-visible) .wk-tag b{background:#2a3522;color:#f5df9c}
  & .wk-figure:is([aria-pressed=true],:hover,:focus-visible) .wk-ring{border-color:#f7d886}
  & .wk-own-nine:not([aria-pressed=true]) .wk-tag{border-bottom-color:var(--wk-gold)}
  &[data-view="stadium"] .wk-figure,&[data-edit] .wk-figure{pointer-events:none}
  &[data-view="stadium"] .wk-tag{opacity:0}
  &[data-view="crown"] .wk-eleven{visibility:hidden}
  &[data-view="crown"] .wk-world{left:-2%;top:-3.32%;width:104%;height:104%}
  & .wk-glass,& button.wk-glass,& .wk-popup{background:var(--wk-panel);border:1px solid #dbe8df42;color:var(--wk-ink);border-radius:2px}
  & .wk-hud{position:absolute;z-index:5;left:var(--wk-pad);right:var(--wk-pad);top:var(--wk-pad);display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:8px;pointer-events:none}
  & .wk-hud>*{pointer-events:auto}
  & .wk-glass{box-shadow:0 2px 9px #12242222}
  & .wk-identity{justify-self:start;display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;padding:8px 15px 8px 12px;border-left:3px solid color-mix(in srgb,var(--wk-kit) 55%,#fff)}
  & .wk-identity canvas{width:32px;height:38px}
  & .wk-identity>div,& .wk-venue>div{min-width:0}
  & .wk-identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px 2px 1px;font-size:clamp(17px,1.65vw,25px);font-weight:600;line-height:1.22}
  & :is(.wk-identity,.wk-wallet,.wk-venue,.wk-lineup-toggle,.wk-case-head) small,
  & .wk-detail-head>small,& .wk-prospect>small{display:block;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.095em;color:var(--wk-muted)}
  & .wk-tabs{position:absolute;top:0;left:50%;transform:translateX(-50%);display:flex;align-items:stretch;padding:2px 4px 0;gap:1px}
  & .wk-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:0 clamp(9px,1.25vw,19px);color:#d0d9d2;border-bottom:2px solid transparent;border-radius:0}
  & .wk-tabs button[aria-pressed=true]{border-color:var(--wk-gold);color:#fff1d1;background:#fff4ca0e}
  & .wk-tabs button:hover,& .wk-exit:hover,& .wk-lineup-toggle:hover,& .wk-venue button:hover{background-color:#30423a}
  & .wk-wallet{justify-self:end;padding:6px 12px;text-align:right}
  & .wk-wallet strong,& .wk-venue strong,& .wk-lineup-toggle strong{display:block;font-size:17px;font-weight:600;line-height:1.15}
  & button.wk-exit,& .wk-venue button,& button.wk-quiet{display:inline-flex;align-items:center;justify-content:center;gap:7px}
  & button.wk-exit{min-height:44px;padding:0 12px}
  & .wk-touchline{position:absolute;z-index:3;left:var(--wk-pad);right:var(--wk-pad);bottom:var(--wk-pad);display:flex;align-items:end;justify-content:space-between;pointer-events:none}
  & .wk-touchline>*{pointer-events:auto}
  & button.wk-lineup-toggle{display:grid;grid-template-columns:1fr 16px;gap:2px 12px;text-align:left;padding:8px 12px}
  & .wk-lineup-toggle small{grid-column:1}.wk-lineup-toggle strong{grid-row:2}
  & .wk-lineup-toggle i{grid-column:2;grid-row:1/3;align-self:center;font-size:19px;font-style:normal}
  & .wk-venue{display:flex;align-items:center;padding:7px 10px 7px 13px;gap:16px}
  & .wk-venue button{align-self:stretch;border-left:1px solid var(--wk-line);border-radius:0;padding-left:12px;color:var(--wk-muted);font-size:12px}
  & .wk-popup{position:absolute;z-index:4;padding:14px 16px;background:#14251ff7;box-shadow:0 7px 22px #10221d36}
  & .wk-detail{width:min(322px,calc(100% - 16px));max-height:calc(100% - 96px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border-top:2px solid var(--wk-gold);contain:layout style}
  & .wk-detail-head,& .wk-player-title,& .wk-market-head,& .wk-signing,& .wk-unlock{display:flex;align-items:center;justify-content:space-between;gap:9px}
  & .wk-detail-head{min-height:24px}
  & .wk-detail-head>strong,& .wk-market-head>strong{font-weight:500;font-size:14px}
  & button.wk-x{display:grid;place-items:center;flex:none;min-width:30px;height:28px;color:#e1e6de;font:24px/1 'Segoe UI',sans-serif}
  & button.wk-x:hover,& button.wk-quiet:hover{color:var(--wk-gold);background:#ffffff0f}
  & .wk-player-title{justify-content:space-between;margin:4px 0 2px}
  & .wk-player-title h2,& .wk-building h2{font:600 23px/1.12 Bahnschrift,'Segoe UI',sans-serif;letter-spacing:0;color:var(--wk-ink);overflow-wrap:anywhere}
  & .wk-ovr-inline{display:flex;align-items:baseline;gap:4px;flex:none}
  & .wk-ovr-inline strong{font:700 24px/1 Bahnschrift,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums}
  & .wk-ovr-inline small{font-size:10px;font-weight:600;letter-spacing:.08em;color:var(--wk-muted)}
  & .wk-rating{font-weight:600;font-size:21px;white-space:nowrap}
  & .wk-player-title .wk-rating{margin-left:auto}
  & .wk-rating small{font-size:10px;color:var(--wk-muted)}
  & .wk-upgrade-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 0;padding:10px 0;border-top:1px solid #b0bbaa28;border-bottom:1px solid #b0bbaa22}
  & .wk-row-sheen{position:absolute;inset:1px -16px;pointer-events:none;z-index:0;will-change:opacity;background:var(--wk-up-col,#efd393)}
  & .wk-upgrade-meta{position:relative;z-index:1;min-width:0;flex:1;min-height:50px;display:flex;flex-direction:column;justify-content:center}
  & .wk-upgrade-meta>small{display:block;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.095em;color:var(--wk-muted)}
  & .wk-upgrade-meta .wk-shortfall{margin-top:2px;font-size:11px;line-height:1.15}
  & .wk-upgrade-cluster{position:relative;z-index:1;display:flex;align-items:center;gap:10px;flex:none}
  & .wk-ovr-readout{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;line-height:1;min-width:36px}
  & .wk-ovr-readout strong{font:700 29px/1 Bahnschrift,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.02em;will-change:transform}
  & .wk-ovr-readout small{margin-top:2px;font-size:9px;font-weight:600;letter-spacing:.1em;color:var(--wk-muted)}
  & button.wk-ring-btn{position:relative;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;will-change:transform;
    background:#1c3129;color:var(--wk-ink);box-shadow:inset 0 0 0 1px #ffffff14;
    transition:background .15s,border-color .15s,transform .12s}
  & .wk-ring-ripple{position:absolute;inset:0;border-radius:50%;pointer-events:none;will-change:transform,opacity;
    border:2px solid var(--wk-up-col,#efd393)}
  & button.wk-ring-btn:hover:enabled{background:#243e34;box-shadow:inset 0 0 0 1.5px var(--wk-ovr-col,#efd393)}
  & button.wk-ring-btn:active:enabled{transform:scale(.93)}
  & button.wk-ring-btn:disabled:not(.is-max){opacity:.48;cursor:default}
  & button.wk-ring-btn.is-max{opacity:1;cursor:default;background:#1a3228;color:#74e49c}
  & .wk-ring-svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);pointer-events:none}
  & .wk-ring-track{fill:none;stroke:#e6f2ea22;stroke-width:4.4}
  & .wk-ring-arc{fill:none;stroke-width:4.4;stroke-linecap:round}
  & .wk-ring-icon{width:20px;height:20px;position:relative;z-index:1;will-change:transform,opacity;transition:transform .14s ease-out}
  & .wk-ring-btn .wk-ic-arrow{opacity:1}
  & .wk-ring-btn .wk-ic-check{opacity:0}
  & .wk-ring-btn.is-max .wk-ic-arrow{opacity:0}
  & .wk-ring-btn.is-max .wk-ic-check{opacity:1}
  & button.wk-ring-btn:hover:enabled .wk-ring-icon{transform:translateY(-1.5px)}
  & .wk-ring-cost{display:block;margin-top:2px;font:600 17px/1.15 Bahnschrift,'Segoe UI',sans-serif;color:#f3ecd8;white-space:nowrap}
  & .wk-ring-cost.is-short{color:#f2c9a8}
  & .wk-ring-cost.is-max{color:#74e49c;letter-spacing:.06em;font-size:15px}
  & .wk-style-name{font-size:13px;color:#cbdacb}
  & .wk-traits{margin:9px 0 0;font-size:12px;color:var(--wk-muted);text-wrap:pretty}
  & .wk-traits span{display:block;text-wrap:pretty}
  & .wk-traits span+span{margin-top:3px}
  & .wk-market-head{margin:13px 0 5px}
  & .wk-market-head small{color:#bbc9bd;font-size:11px}
  & button.wk-market-row{display:grid;width:100%;grid-template-columns:22px 1fr auto 16px;gap:10px;align-items:center;text-align:left;min-height:35px;
    padding:3px 3px;border-top:1px solid #b0bbaa30;border-radius:0}
  & .wk-market-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:1px 2px 2px 1px}
  & button.wk-market-row:hover,& button.wk-market-row:focus-visible{background:#34463b}
  & .wk-market-row b{font-weight:600;color:#e3dfbf}
  & .wk-market-row svg{width:14px}
  & .wk-pair{display:grid;grid-template-columns:1fr 1fr;margin:8px 0 12px}
  & .wk-prospect{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:5px 6px 9px;background:linear-gradient(0deg,#8caf9511,transparent)}
  & .wk-prospect+.wk-prospect{border-left:1px solid var(--wk-line);background:linear-gradient(0deg,#c0ab6422,transparent)}
  & .wk-prospect:last-child>small{color:var(--wk-gold)}
  & .wk-prospect canvas{width:76px;height:100px}
  & .wk-prospect strong{font-size:16px;font-weight:600;overflow-wrap:anywhere}
  & .wk-prospect>span{font-size:12px;color:var(--wk-muted)}
  & .wk-rating em{font-size:12px;font-style:normal;color:#b2dfbd}
  & .wk-rating .wk-minus{color:#efb3a1}
  & .wk-signing>span{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--wk-muted)}
  & button.wk-primary{min-height:37px;background:#efd393;color:#1b281f;padding:8px 13px;font-weight:600}
  & button.wk-primary:hover:enabled{background:#ffe7b5}
  & .wk-shortfall{display:block;color:#f2c9a8;font-size:12px;margin-top:6px}
  & .wk-tactics{left:var(--wk-pad);bottom:var(--wk-pad);padding:9px;max-width:calc(100% - 2 * var(--wk-pad))}
  & .wk-choices,& .wk-switch{display:flex;margin-top:8px;gap:4px}
  & .wk-choices button,& .wk-switch button{padding:7px 10px;text-align:center;background:#22382f;border:1px solid #60776b}
  & .wk-choices button[aria-pressed=true],& .wk-switch button[aria-pressed=true]{background:#e6ddbc;color:#17281e;border-color:#f7e7b2}
  & .wk-choices{margin:0;align-items:center}
  & .wk-choices .wk-x{border:0;background:transparent;font:22px/1 'Segoe UI',sans-serif}
  & .wk-choices b,& .wk-choices small{display:block}
  & .wk-choices small{font-size:10px}
  & .wk-unlock{margin-top:12px;font-size:13px}
  & .wk-building{bottom:var(--wk-pad);left:var(--wk-pad);width:min(370px,calc(100% - 2 * var(--wk-pad)));border-left:3px solid var(--wk-gold)}
  & .wk-building h2{font-size:26px;margin:6px 0 12px}
  & .wk-building p{font-size:13px;color:var(--wk-muted);margin:10px 0 2px}
  & .wk-building .wk-primary{margin-top:10px}
  & .wk-feedback:not(:empty){position:absolute;z-index:5;bottom:var(--wk-pad);left:50%;transform:translateX(-50%);max-width:70%;padding:6px 12px;text-align:center;
    border-bottom:2px solid var(--wk-gold);color:#f6f1dd;background:var(--wk-panel);font-size:13px;pointer-events:none}
  & .wk-editor{inset:clamp(66px,9vh,106px) max(var(--wk-pad),calc((100% - 960px)/2)) auto;max-height:calc(100% - 86px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
    padding:16px 22px 20px;background:#12221df7;border:1px solid #dbe8df3a;border-top:2px solid var(--wk-gold);box-shadow:0 22px 60px #04100c96}
  & .wk-editor>.wk-detail-head{border-bottom:1px solid #dbe8df22;padding-bottom:11px;margin-bottom:4px}
  & .wk-editor>.wk-detail-head>strong{font:600 17px/1.15 Bahnschrift,'Segoe UI',sans-serif;letter-spacing:.01em;color:var(--wk-ink)}
  & .wk-editor .wk-editor-wrap{border:0;padding:12px 0 0}
  & .wk-gallery{position:absolute;inset:0;z-index:2;display:grid;place-items:center;padding:96px var(--wk-pad) 26px;background:
    radial-gradient(ellipse at 50% 35%,transparent 12%,#091416a8 90%),linear-gradient(#15292ce8,#16262af0 70%,#11201cef)}
  & .wk-case{width:min(900px,100%);padding:clamp(16px,3vw,40px);border-top:2px solid #bca770;background:#142122;box-shadow:0 16px 50px #0510115e}
  & .wk-case-head{display:flex;align-items:center;gap:15px}
  & .wk-case-head>div{flex:1}.wk-case-head>span{color:#d1cbb5}
  & .wk-case-head h2{margin-top:4px;font:600 clamp(24px,3.15vw,43px)/1 Bahnschrift,'Segoe UI',sans-serif;color:var(--wk-ink);letter-spacing:-.02em}
  & .wk-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0 16px}
  & .wk-shelf figure{min-width:0;text-align:center}
  & .wk-shelf figure>div{display:grid;place-items:end center;border-bottom:6px solid #64716c;background:radial-gradient(ellipse at 50% 70%,#a1b4b218,transparent 70%)}
  & .wk-shelf canvas{width:min(100%,22vh,200px);height:auto;aspect-ratio:1;filter:grayscale(1);opacity:.46}
  & .wk-shelf .wk-won>div{border-color:#d3b66f;background:radial-gradient(ellipse at 50% 70%,#e8c2792c,transparent 74%)}
  & .wk-shelf .wk-won canvas{filter:drop-shadow(0 3px 8px #debd6d22);opacity:1}
  & .wk-shelf figcaption{padding:12px 4px;display:grid;gap:4px;background:linear-gradient(#24302e75,transparent)}
  & .wk-shelf strong{font-size:clamp(13px,1.5vw,21px);font-weight:500;line-height:1.1}
  & .wk-shelf small,& .wk-promotion-strip>span{font-size:12px;color:#adbbb5}
  & .wk-won small,& .wk-promotion-strip.wk-won>span{color:#f0ce79}
  & .wk-promotion-strip{display:flex;align-items:center;gap:12px;border-top:1px solid #5d6e6388;padding-top:12px}
  & .wk-promotion-strip>b{font-size:20px;color:#bbc8ba}
  & .wk-promotion-strip strong{font-weight:500}.wk-promotion-strip>span{margin-left:auto}
}
@media(max-width:980px){
  #kariera.wk-na-stadionie .wk-ground .wk-hud{grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
  #kariera.wk-na-stadionie .wk-ground .wk-tabs{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%)}
  #kariera.wk-na-stadionie .wk-ground .wk-detail{max-height:calc(100% - 137px)}
  #kariera.wk-na-stadionie .wk-ground .wk-editor{top:128px;max-height:calc(100% - 142px)}
}
@media(max-width:620px){
  #kariera.wk-na-stadionie .wk-ground{--wk-pad:8px}
  #kariera.wk-na-stadionie .wk-ground{
    & .wk-identity{gap:5px;padding:5px 7px}
    & .wk-identity canvas{width:22px;height:27px}
    & .wk-identity small,& .wk-wallet small,& .wk-venue small{font-size:10px}
    & .wk-identity strong{font-size:15px}
    & .wk-wallet{padding:5px 6px}
    & .wk-wallet strong{font-size:14px}
    & button.wk-exit{gap:4px;padding:5px;min-height:39px;max-width:88px;line-height:1.05;font-size:11px}
    & .wk-tabs button{min-height:34px;padding:0 12px}
    & .wk-tabs svg{width:14px}
    & .wk-tag{max-width:91px;min-height:17px;font-size:11px;padding-right:3px}
    & .wk-tag em{display:none}
    &:has(.wk-tactics:not([hidden])) .wk-venue{visibility:hidden}
    & .wk-tag b{min-width:13px;margin-right:3px;padding:0 1px}
    & .wk-detail{width:min(340px,calc(100% - 16px));max-height:min(53%,calc(100% - 108px));padding:10px 13px}
    & .wk-venue{gap:6px;padding:6px}.wk-venue strong{font-size:13px}
    & .wk-venue button{padding:0 3px 0 6px;max-width:72px;gap:3px;font-size:10px}
    & .wk-choices{gap:3px}.wk-choices button{padding:6px 4px}
    & .wk-gallery{padding-top:108px}
    & .wk-case{padding:18px 9px}.wk-shelf{margin:18px -3px 8px}
    & .wk-feedback:not(:empty){bottom:75px}
  }
}
@media(max-height:540px) and (min-width:620px){
  #kariera.wk-na-stadionie .wk-ground .wk-hud{grid-template-columns:minmax(0,1fr) auto auto auto}
  #kariera.wk-na-stadionie .wk-ground .wk-tabs{position:static;transform:none}
  #kariera.wk-na-stadionie .wk-ground .wk-tabs button{min-height:34px;padding:0 7px}
  #kariera.wk-na-stadionie .wk-ground .wk-detail{max-height:calc(100% - 78px)}
  #kariera.wk-na-stadionie .wk-ground .wk-gallery{padding:66px 14px 8px}
  #kariera.wk-na-stadionie .wk-ground .wk-case{padding:12px 20px}
  #kariera.wk-na-stadionie .wk-ground .wk-shelf{margin:8px 0}
}
@media(prefers-reduced-motion:reduce){
  #kariera.wk-na-stadionie .wk-ground *{animation-duration:0s!important;transition:none!important}
}


#kariera .np-icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 7px;
  padding: 1px 6px;
  border: 1px solid #ffd17c88;
  border-radius: 2px;
  background: linear-gradient(135deg, #ffd17c28, #dfa44214);
  color: #ffd17c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
  white-space: nowrap;
}
