/* Gol kolejki */
.gk-round-controls { align-items:end; justify-content:space-between; }
.gk-round-controls select {
  min-width:0;
  width:100%;
  min-height:38px;
  padding:5px 30px 5px 9px;
  border:1px solid #505050;
  border-radius:6px;
  background:#111;
  color:#eee;
  color-scheme:dark;
  font:650 .85rem 'Inter', sans-serif;
}
.gk-round-controls label { flex:0 1 235px; }
.gk-actions { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
.gk-actions .btn-mini { min-height:34px; border-radius:6px; }
.gk-actions svg { width:14px; height:14px; }
.gk-winner-feature {
  display:grid;
  grid-template-columns:minmax(160px, .65fr) minmax(0, 1.35fr);
  align-items:center;
  gap:14px;
  margin-bottom:16px;
  padding:clamp(10px, 2.3vw, 22px);
  border:1px solid #4a4a4a;
  border-radius:11px;
  background:linear-gradient(133deg,#262626,#151515 63%);
}
.gk-winner-summary { display:grid; gap:6px; min-width:0; align-content:center; }
.gk-winner-kicker { display:flex; align-items:center; gap:6px; color:#d5d5d5; font:.78rem 'Inter', sans-serif; }
.gk-winner-kicker svg { width:16px; height:16px; }
.gk-winner-summary h2 { margin:0; color:#fff; font:850 clamp(1.9rem, 4.8vw, 3.6rem)/.98 var(--site-display); overflow-wrap:anywhere; }
.gk-winner-summary a, .gk-entry-identity a { color:inherit; text-decoration:none; }
.gk-winner-summary a:hover, .gk-entry-identity a:hover { text-decoration:underline; text-underline-offset:3px; }
.gk-winner-summary p { margin:0; color:#bfbfbf; font-size:.85rem; }
.gk-winner-summary button { justify-self:start; margin-top:5px; }
.gk-winner-media { min-width:0; }
.gk-winner-media .gk-embed { margin:0; }
.gk-round-layout { display:grid; grid-template-columns:minmax(0, 1.7fr) minmax(245px, .85fr); gap:14px; align-items:start; }
.gk-entries { min-width:0; }
.gk-section-heading { display:flex; flex-wrap:wrap; align-items:center; gap:7px; justify-content:space-between; margin-bottom:9px; }
.gk-section-heading h2 { margin:0; color:#eee; font:800 clamp(1.3rem, 2.5vw, 1.8rem)/1.1 var(--site-display); }
.gk-section-heading span, .gk-entry-won { border:1px solid #4a4a4a; border-radius:5px; padding:3px 6px; color:#dedede; background:#252525; font-size:.73rem; }
.gk-entry-sidebar { padding:12px; border:1px solid #3a3a3a; border-radius:9px; background:#151515; }
.gk-entry-sidebar .gk-section-heading { padding-bottom:8px; border-bottom:1px solid #373737; }
.gk-entry-note { margin:0; color:#c8c8c8; font-size:.83rem; line-height:1.4; }
.gk-entry-sidebar > .btn-mini { margin-top:9px; }
.gk-entry-form { display:grid; gap:7px; }
.gk-entry-form label { margin-top:4px; color:#eee; font-size:.8rem; font-weight:650; }
.gk-entry-form input { min-width:0; width:100%; padding:8px; min-height:38px; border:1px solid #484848; border-radius:5px; background:#101010; color:#eee; font:inherit; }
.gk-entry-form #gk-err:empty { display:none; }
#golContent .gk-submit {
  justify-self:start;
  min-height:36px;
  padding:5px 10px;
  border:1px solid #e9e9e9;
  border-radius:6px;
  background:#e9e9e9;
  color:#151515;
  font:750 .8rem 'Inter', sans-serif;
}
#golContent .gk-submit:disabled { opacity:.55; }
.gk-clip-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, 235px), 1fr)); gap:10px; }
.gk-entry-card .gk-embed { border:0; border-bottom:1px solid #434343; border-radius:0; }
.gk-entry-card { overflow:hidden; min-width:0; border:1px solid #434343; border-radius:8px; background:#191919; }
.gk-clip-preview, .gk-clip-missing {
  position:relative;
  display:grid;
  width:100%;
  aspect-ratio:16/9;
  min-height:105px;
  place-items:center;
  overflow:hidden;
  border:0;
  border-bottom:1px solid #464646;
  border-radius:0;
  background:repeating-linear-gradient(146deg,#1d1d1d,#1d1d1d 19px,#202020 19px,#202020 38px);
  color:#eee;
}
.gk-clip-preview img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.gk-clip-preview > span { z-index:1; }
.gk-clip-play { display:grid; place-items:center; width:42px; height:42px; border:1px solid #dadada; border-radius:50%; background:#171717df; color:#fff; font-size:.875rem; }
.gk-clip-preview:hover .gk-clip-play { background:#eee; color:#111; }
.gk-clip-preview:focus-visible { outline-offset:-3px; }
.gk-clip-label, .gk-clip-format { position:absolute; padding:4px 6px; background:#111e; border-radius:4px; font-size:.72rem; color:#eee; }
.gk-clip-format { top:7px; left:7px; }
.gk-clip-label { bottom:7px; right:7px; }
.gk-entry-identity { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 7px; padding:8px 10px; color:#eee; overflow-wrap:anywhere; }
.gk-entry-identity small { color:#c0c0c0; }
.gk-entry-actions { display:flex; gap:5px; flex-wrap:wrap; padding:0 10px 8px; }
.gk-entry-actions .btn-mini { min-height:30px; border-radius:5px; }
#golContent > .competition-empty + .btn-mini { margin-top:8px; }

/* Nagrody */
.award-directory-nav { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:15px; padding:7px; border:1px solid #363636; border-radius:8px; background:#151515; }
.award-directory-nav a { padding:6px 8px; border:1px solid #414141; border-radius:5px; color:#e2e2e2; font:.8rem 'Inter', sans-serif; text-decoration:none; }
.award-directory-nav a:hover { border-color:#767676; background:#242424; }
.award-directory-section { margin-bottom:17px; scroll-margin-block-start:90px; }
.award-directory-section > h2 { margin:0 0 8px; color:#eee; font:800 clamp(1.42rem, 3vw, 2rem)/1.1 var(--site-display); }
.award-directory-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%, 275px),1fr)); gap:9px; }
#nagrodyContent .award-directory-tile {
  display:grid;
  grid-template-rows:minmax(63px, 1fr) auto;
  min-width:0;
  min-height:0;
  padding:0;
  overflow:hidden;
  border:1px solid #434343;
  border-radius:9px;
  background:#171717;
  text-align:left;
  transform:none;
  box-shadow:none;
  cursor:default;
}
#nagrodyContent .award-directory-tile:hover { border-color:#696969; transform:none; box-shadow:none; }
#nagrodyContent .award-directory-tile.t-drag-over { border-color:#f0f0f0; }
#nagrodyContent .award-directory-tile::before { content:none; }
.award-tile-open {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  min-width:0;
  width:100%;
  padding:9px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#eee;
  text-align:left;
}
.award-tile-open:hover { background:#242424; }
.award-tile-open:focus-visible { outline-offset:-2px; }
.award-tile-icon, .award-view-icon { display:grid; width:41px; height:41px; place-items:center; overflow:hidden; border:1px solid #494949; border-radius:6px; background:#252525; color:#eee; font-size:1.05rem; }
.award-tile-icon :is(img,svg), .award-view-icon :is(img,svg) { width:24px; height:24px; object-fit:contain; }
.award-tile-label { display:grid; gap:3px; min-width:0; overflow-wrap:anywhere; }
.award-tile-label strong { font:750 1.08rem/1.13 var(--site-display); }
.award-tile-label small { color:#c0c0c0; line-height:1.3; }
.award-tile-arrow { padding-inline:3px; font:.92rem 'Inter', sans-serif; }
.award-tile-footer { display:flex; flex-wrap:wrap; gap:5px; align-items:center; padding:5px 8px; border-top:1px solid #393939; }
.award-tile-footer .nagroda-drag-handle { position:static; flex:none; display:grid; width:26px; height:25px; place-items:center; border-radius:5px; }
.award-tile-tools { display:flex; gap:4px; margin-left:auto; }
.award-tile-tools button { min-height:26px; padding:3px 5px; border:1px solid #505050; border-radius:5px; background:#202020; color:#eee; font-size:.72rem; }
.award-tile-tools button.danger { color:#ff9494; }
.award-places-summary { color:#c8c8c8; font-size:.72rem; }
.award-view-heading { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:11px; align-items:center; margin:8px 0 14px; padding:12px; border:1px solid #414141; border-radius:9px; background:#181818; }
.award-view-icon { width:50px; height:50px; }
.award-view-title h1 { margin:0; color:#eee; font:850 clamp(1.65rem, 4vw, 3.05rem)/1 var(--site-display); overflow-wrap:anywhere; }
.award-view-title p { margin:5px 0 0; color:#c6c6c6; font-size:.83rem; }
.award-view-meta { display:flex; flex-wrap:wrap; gap:5px; margin-top:7px; }
.award-view-heading > button svg { width:14px; height:14px; }
#nagrodyContent :is(.round-tabs,.cc-mode-toggle){ display:flex; flex-wrap:wrap; gap:5px; padding:6px; border:1px solid #444; border-radius:7px; background:#151515; }
#nagrodyContent :is(.round-tabs .rtab,.cc-mode-btn) { min-height:34px; border-radius:5px; }
#nagrodyContent .gablota-podium .gablota-step { border-radius:9px; box-shadow:none; }

/* Profile zawodnika i drużyny */
#profileDetailContent .detail-masthead, #druzynyContent .detail-masthead { position:relative; isolation:isolate; margin:0 0 12px; padding:0; border-color:#474747; }
#profileDetailContent .detail-masthead .team-hero-banner, #druzynyContent .detail-masthead .team-hero-banner {
  position:absolute;
  inset:0;
  height:100%;
  min-height:0;
  overflow:hidden;
  z-index:-1;
  background-position:center;
}
#profileDetailContent .detail-masthead-player .team-hero-banner { background-image:var(--profile-banner-player, url('/banner.png')); }
#druzynyContent .detail-masthead-team .team-hero-banner { background-image:var(--profile-banner-team, url('/banner.png')); }
:is(#profileDetailContent, #druzynyContent) .detail-masthead .team-hero-banner::after {
  background:linear-gradient(180deg,#1112 7%,#141414bb 57%,#141414 99%);
}
:is(#profileDetailContent,#druzynyContent) .detail-masthead .team-hero-body {
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:end;
  gap:12px;
  min-height:clamp(162px,21vw,245px);
  margin:0;
  padding:clamp(11px,2.5vw,21px);
}
:is(#profileDetailContent,#druzynyContent) .detail-masthead .team-hero-logo {
  display:grid;
  width:clamp(57px, 10vw, 88px);
  height:clamp(57px, 10vw, 88px);
  margin:0;
  place-items:center;
  overflow:hidden;
  border:1px solid #707070;
  border-radius:11px;
  background:#1a1a1a;
  color:#eee;
  font:850 1.65rem/1 var(--site-display);
}
#profileDetailContent .detail-masthead-player .team-hero-logo { border-radius:50%; }
.detail-masthead .team-hero-logo img { width:100%; height:100%; object-fit:cover; }
.detail-masthead .team-hero-info { min-width:0; }
.detail-kind { display:block; margin-bottom:4px; color:#ddd; font:700 .75rem/1 'Inter', sans-serif; }
.detail-masthead h1 { margin:0 0 6px; color:#fff; font:850 clamp(1.63rem, 5vw, 4rem)/.96 var(--site-display); overflow-wrap:anywhere; }
.detail-masthead .profile-player-name { display:flex; align-items:center; flex-wrap:wrap; gap:7px 12px; }
.profile-player-name > span:first-child { min-width:0; }
.profile-shirt-number {
  padding: .24em .4em;
  border: 1px solid #777;
  border-radius: 6px;
  background: #212121;
  color: #efefef;
  font: 750 clamp(.8rem, 2.2vw, 1.25rem)/1.1 'Inter', system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.detail-masthead .detail-handle { margin:4px 0 0; color:#c9c9c9; font-size:.8rem; overflow-wrap:anywhere; }
.detail-masthead .team-hero-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; margin:0; max-width:290px; }
.detail-masthead .team-hero-actions > button svg { width:14px; height:14px; }
.detail-masthead .team-hero-actions > .btn-mini { min-height:34px; border-radius:6px; }
.detail-masthead .pp-quick-links { justify-content:flex-end; }
.detail-masthead .pp-links-col { margin:0; }
:is(#profileDetailContent,#druzynyContent) .pp-strip { gap:7px; margin:0 0 11px; }
:is(#profileDetailContent,#druzynyContent) .pp-strip-card {
  display:grid;
  align-content:center;
  gap:3px;
  min-width:0;
  min-height:76px;
  padding:9px 11px;
  border:1px solid #3d3d3d;
  border-radius:7px;
  background:#191919;
  text-align:left;
  box-shadow:none;
}
:is(#profileDetailContent,#druzynyContent) .pp-strip-card::before { content:none; }
:is(#profileDetailContent,#druzynyContent) .pp-strip-l { color:#c8c8c8; font-size:.73rem; letter-spacing:0; text-transform:none; }
:is(#profileDetailContent,#druzynyContent) .pp-strip-v { font-size:1.68rem; overflow-wrap:anywhere; }
:is(#profileDetailContent,#druzynyContent) .pp-strip-s { color:#bfbfbf; }
.detail-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin:0 0 11px;
  padding:5px;
  border:1px solid #3d3d3d;
  border-radius:8px;
  background:#151515;
}
.detail-tabs button { min-height:36px; padding:4px 9px; border:1px solid #494949; border-radius:5px; color:#e6e6e6; background:#202020; font:700 .8rem/1.15 'Inter', sans-serif; }
.detail-tabs button:hover { background:#323232; }
.detail-tabs [aria-selected="true"], .detail-tabs [aria-selected="true"]:hover { border-color:#eee; background:#eee; color:#151515; }
.detail-tabs button:focus-visible { outline:2px solid #eee; outline-offset:2px; }
.detail-panel[hidden] { display:none !important; }
.detail-panel { min-width:0; }
.detail-panel .ps-head { margin:12px 0 8px; }
.detail-panel :is(.info-box,.ps-board,.t-empty) { border-radius:8px; box-shadow:none; }
.detail-panel .ps-key > div { border-radius:6px; }
.detail-caption { color:#bdbdbd; font-size:.78rem; }
.detail-match-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, 365px),1fr)); gap:9px; }
.detail-match-grid > .t-empty { grid-column:1/-1; }
.detail-match-item { display:grid; align-content:start; min-width:0; gap:4px; }
.detail-match-league { padding:3px 4px; color:#c4c4c4; font-size:.76rem; }
.detail-roster { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,262px),1fr)); gap:6px; margin:0; padding:0; list-style:none; }
.detail-roster li { min-width:0; }
.detail-roster a { display:flex; align-items:center; gap:7px; min-width:0; height:100%; min-height:54px; padding:6px; border:1px solid #414141; border-radius:7px; background:#191919; color:#eee; text-decoration:none; }
.detail-roster a:hover { border-color:#777; background:#222; }
.detail-roster .directory-avatar { width:35px; height:35px; }
.detail-roster-identity { display:grid; gap:3px; flex:1; min-width:0; }
.detail-roster-identity strong, .detail-roster-identity small { overflow-wrap:anywhere; }
.detail-roster-identity strong { font-size:.84rem; }
.detail-roster-identity small { color:#bdbdbd; font-size:.74rem; }
.detail-roster .club-role-tag { white-space:normal; }

@media(max-width:760px) {
  .gk-round-layout { grid-template-columns:minmax(0,1fr); }
  .gk-entry-sidebar { grid-row:1; }
  :is(#profileDetailContent, #druzynyContent) .detail-masthead .team-hero-body { grid-template-columns:auto minmax(0,1fr); }
  .detail-masthead .team-hero-actions { grid-column:1/-1; justify-content:flex-start; max-width:none; }
  .detail-masthead .pp-quick-links { justify-content:flex-start; }
}
@media(max-width:480px) {
  .gk-round-controls label { flex:1 1 100%; }
  .gk-winner-feature { grid-template-columns:minmax(0,1fr); }
  .award-view-heading { grid-template-columns:auto minmax(0,1fr); }
  .award-view-heading > button { grid-column:2; justify-self:start; }
  :is(#profileDetailContent, #druzynyContent) .pp-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .detail-masthead .team-hero-actions { padding-top:4px; }
}
