:root{
  --pd-bg:#030914;
  --pd-bg-soft:#071321;
  --pd-surface:#0b1a2b;
  --pd-surface-2:#102238;
  --pd-surface-3:#142a42;
  --pd-line:#25445f;
  --pd-line-soft:#19334a;
  --pd-text:#f5f7fb;
  --pd-muted:#92a6ba;
  --pd-cyan:#20c4ed;
  --pd-cyan-soft:#0e3b4d;
  --pd-pink:#ff315e;
  --pd-green:#35d6a1;
  --pd-radius-sm:10px;
  --pd-radius:15px;
  --pd-radius-lg:22px;
  --pd-shadow:0 20px 55px rgba(0,0,0,.24);
}

html{background:var(--pd-bg)}
body{background:var(--pd-bg);color:var(--pd-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;-webkit-font-smoothing:antialiased}
body :is(h1,h2,h3,h4,h5,h6,strong,b){font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-style:normal!important}
body :is(p,li,dd,td,label,input,select,textarea){line-height:1.55}
body :is(p,.muted,small){color:var(--pd-muted)}

body .site-header{background:rgba(2,8,18,.94);border-bottom:1px solid rgba(43,76,103,.72);backdrop-filter:blur(16px)}
body .top-stripe{height:3px}
body .header-shell{min-height:74px;gap:28px}
body .brand img{max-height:54px;width:auto}
body .desktop-nav{gap:5px}
body .desktop-nav a{padding:10px 11px;border-radius:9px;color:#aebdcb;font-size:12px;font-weight:750;letter-spacing:.01em;transition:.18s ease}
body .desktop-nav a:hover,
body .desktop-nav a[aria-current="page"]{color:#fff;background:#102238}
body .desktop-nav .pd-quick-link{color:#06111a;background:var(--pd-cyan);padding-inline:15px}
body .header-actions{gap:8px}
body :is(.header-app-link,.header-search-button,.header-account,.header-login,.header-menu-button){border-radius:11px!important;border-color:var(--pd-line)!important;background:#0d1d30!important;min-height:44px;box-shadow:none!important}

body .page-wrap{width:min(1180px,calc(100% - 40px))}
body .home-hero{min-height:0;padding:70px 0 54px;background-position:center}
body .hero-grid{align-items:center;gap:58px}
body .hero-kicker,
body .eyebrow{font-size:11px;font-weight:850;letter-spacing:.2em;color:var(--pd-cyan)}
body .hero-copy h1{max-width:780px;margin:18px 0 20px;font-size:clamp(3.5rem,7.2vw,6.3rem)!important;line-height:.93!important;letter-spacing:-.055em!important;font-weight:900!important;font-style:normal!important;text-wrap:balance}
body .hero-copy h1 :is(em,i){font-style:normal!important;color:var(--pd-cyan)}
body .hero-copy>p{max-width:660px;font-size:17px;line-height:1.6}
body .hero-actions{gap:10px;margin-top:28px}
body .trust-row{gap:18px;margin-top:24px;color:#8198ab;font-size:12px}
body .hero-score{border:1px solid var(--pd-line);border-radius:var(--pd-radius-lg);background:linear-gradient(145deg,rgba(15,37,58,.92),rgba(7,20,34,.94));box-shadow:var(--pd-shadow);overflow:hidden;padding:26px}
body .hero-score h2{font-size:clamp(2rem,3.5vw,3.1rem)!important;line-height:1!important;letter-spacing:-.035em!important}

body .page-hero{min-height:0!important;padding-block:clamp(42px,5vw,68px)!important}
body .page-hero h1{max-width:980px;font-size:clamp(2.9rem,6vw,5.4rem)!important;line-height:.96!important;letter-spacing:-.05em!important;font-style:normal!important;margin:12px 0!important;text-wrap:balance}
body .page-hero p{max-width:720px!important;font-size:16px!important;margin-top:12px!important}
body .page-hero+.section{padding-top:clamp(34px,4vw,54px)!important}

body .button,
body button:not(.header-search-button):not(.header-menu-button),
body input[type="submit"]{border-radius:var(--pd-radius-sm)!important;min-height:44px;font-weight:800;letter-spacing:.015em;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
body .button:hover,
body button:hover{transform:translateY(-1px)}
body .button.primary{background:var(--pd-cyan);border-color:var(--pd-cyan);color:#03111a;box-shadow:0 10px 30px rgba(32,196,237,.18)}
body .button.ghost{background:#0b1a2b;border-color:var(--pd-line);color:#fff}

body .poldarts-proof{background:#07111e;border-block:1px solid var(--pd-line-soft)}
body .poldarts-proof>*{border-color:var(--pd-line-soft)!important}
body .proof-number{font-style:normal!important;letter-spacing:-.04em}
body :is(.section,.section-dark,.poldarts-story,.ranking-preview,.featured-players,.broadcast-public,.news-section,.home-clubs,.home-sponsors-section,.club-cta){padding-block:clamp(46px,6vw,76px)}
body .section-title{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
body .section-title h2,
body .story-heading h2{font-size:clamp(2rem,4vw,3.7rem)!important;line-height:1!important;letter-spacing:-.045em!important;font-style:normal!important;margin:.35rem 0}

body .story-heading{max-width:760px;margin-bottom:28px}
body .story-lanes{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;max-width:100%!important}
body .poldarts-story{min-height:0!important}
body .story-lanes>a{min-height:92px!important;display:grid!important;grid-template-columns:54px 34px minmax(150px,220px) minmax(250px,1fr) auto!important;align-items:center!important;gap:18px!important;padding:17px 20px!important;border:1px solid var(--pd-line)!important;border-radius:var(--pd-radius)!important;background:linear-gradient(110deg,#0d1f33,#091725)!important;overflow:hidden}
body .story-lanes>a:hover{border-color:#32708f!important;background:linear-gradient(110deg,#102941,#0b1c2e)!important}
body .story-lanes>a>span:first-child{position:static!important;inset:auto!important;transform:none!important;grid-column:1;font-size:28px!important;color:#26455f!important;font-weight:900!important;font-style:normal!important;line-height:1!important}
body .story-lanes>a>svg{position:static!important;grid-column:2;width:26px!important;height:26px!important;color:var(--pd-cyan)}
body .story-lanes h3{grid-column:3;position:static!important;font-size:clamp(1.15rem,1.8vw,1.55rem)!important;margin:0!important;font-style:normal!important;line-height:1.05!important}
body .story-lanes p{grid-column:4;margin:0!important;max-width:620px}
body .story-lanes>a>b{grid-column:5;display:flex!important;align-items:center;gap:7px;white-space:nowrap;color:#dce7ef;font-size:11px;letter-spacing:.03em}
body .story-lanes>a>b svg{width:15px;height:15px}

body :is(.panel,.card,.ranking-explainer,.ranking-list,.hero-event-empty,.empty-public,.broadcast-cards>* ,.news-grid>* ,.event-grid>* ,.results-grid>* ,.home-sponsors>* ,.featured-players>* ,.home-clubs>a){border:1px solid var(--pd-line)!important;border-radius:var(--pd-radius)!important;background:linear-gradient(145deg,var(--pd-surface-2),var(--pd-surface))!important;box-shadow:none;overflow:hidden}
body :is(.panel,.card,.empty-public){padding:22px}
body .empty-public{min-height:130px;display:grid;align-content:center;border-style:dashed!important;color:var(--pd-muted)}

body :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){border:1px solid #31516c!important;border-radius:var(--pd-radius-sm)!important;background:#071321!important;color:#fff!important;min-height:46px;outline:none;box-shadow:none!important}
body :is(input,select,textarea):focus{border-color:var(--pd-cyan)!important;box-shadow:0 0 0 3px rgba(32,196,237,.14)!important}
body label{color:#a9bac9;font-weight:700}

body :is(.filter-bar,.filters,.calendar-filters,.ranking-tabs,.tab-list,.tabs){border-radius:var(--pd-radius)!important;background:#081727!important;border:1px solid var(--pd-line)!important;padding:8px!important;gap:6px!important}
body :is(.filter-bar,.filters,.calendar-filters,.ranking-tabs,.tab-list,.tabs) :is(a,button){border:0!important;border-radius:9px!important;background:transparent!important;color:#9fb1c1!important;min-height:40px!important}
body :is(.filter-bar,.filters,.calendar-filters,.ranking-tabs,.tab-list,.tabs) :is(a,button).active,
body :is(.filter-bar,.filters,.calendar-filters,.ranking-tabs,.tab-list,.tabs) :is(a,button)[aria-current="page"],
body :is(.filter-bar,.filters,.calendar-filters,.ranking-tabs,.tab-list,.tabs) :is(a,button)[aria-selected="true"]{background:#12314a!important;color:#fff!important;box-shadow:inset 0 -2px var(--pd-cyan)!important}

body table{border-collapse:separate!important;border-spacing:0 7px!important;width:100%}
body thead th{border:0!important;color:#7890a5!important;font-size:10px!important;letter-spacing:.12em!important;text-transform:uppercase;padding:8px 13px!important}
body tbody tr{background:#0b1a2b!important}
body tbody td{padding:13px!important;border-top:1px solid var(--pd-line-soft)!important;border-bottom:1px solid var(--pd-line-soft)!important}
body tbody td:first-child{border-left:1px solid var(--pd-line-soft)!important;border-radius:10px 0 0 10px}
body tbody td:last-child{border-right:1px solid var(--pd-line-soft)!important;border-radius:0 10px 10px 0}

body .site-footer{background:#020711;border-top:1px solid var(--pd-line-soft)}

/* Profile zawodników i konta */
body :is(.player-hero,.profile-heading){min-height:0!important;padding-block:clamp(34px,5vw,64px)!important}
body :is(.player-heading,.player-profile-heading,.profile-heading) h1,
body :is(.player-heading,.player-profile-heading,.profile-heading) h2{font-size:clamp(2.5rem,5vw,4.8rem)!important;line-height:.94!important;letter-spacing:-.045em!important;font-style:normal!important;margin:8px 0!important}
body :is(.player-avatar,.player-photo,.profile-photo,.profile-figure){border-radius:var(--pd-radius-lg)!important;border:1px solid var(--pd-line)!important;overflow:hidden;background:linear-gradient(145deg,#122941,#071421)!important}
body :is(.player-kpi-grid,.profile-stat-grid,.player-stats){gap:12px!important}
body :is(.player-kpi-grid,.profile-stat-grid,.player-stats)>*{border-radius:var(--pd-radius)!important;border:1px solid var(--pd-line)!important;background:linear-gradient(145deg,var(--pd-surface-2),var(--pd-surface))!important;padding:18px!important}
body .player-record-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,360px)!important;gap:18px!important;align-items:start!important}
body :is(.player-history-panel,.player-detail-section,.player-career-card,.account-card,.account-notices,.account-proposals,.account-tools){border:1px solid var(--pd-line)!important;border-radius:var(--pd-radius)!important;background:linear-gradient(145deg,var(--pd-surface-2),var(--pd-surface))!important;overflow:hidden}
body :is(.player-record-row,.player-row,.player-match-list>a,.player-match-list>button){border:1px solid var(--pd-line-soft)!important;border-radius:11px!important;background:#0a1929!important;margin-block:7px!important;padding:13px 15px!important}
body .account-proposals{border-color:#287493!important;box-shadow:inset 3px 0 var(--pd-cyan)}
body .account-proposals h2{color:#fff!important}

/* Grupy, wyniki i faza pucharowa */
body :is(.group-grid,.group-standings){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
body :is(.group-card,.group-standing){border:1px solid var(--pd-line)!important;border-radius:var(--pd-radius)!important;background:linear-gradient(145deg,#0e2034,#091725)!important;padding:16px!important;overflow:hidden}
body :is(.group-card,.group-standing) h3{font-size:14px!important;letter-spacing:.09em!important;color:var(--pd-cyan)!important;margin:0 0 12px!important}
body .bracket-scroll{border:1px solid var(--pd-line)!important;border-radius:var(--pd-radius-lg)!important;background:#071321!important;padding:16px!important;scrollbar-color:var(--pd-cyan) #081522}
body .bracket-board{gap:18px!important}
body .bracket-column{min-width:260px!important;gap:12px!important}
body .bracket-column>h3,
body .bracket-head{position:sticky;top:0;z-index:2;border-radius:9px!important;background:#10263c!important;color:#d9f6ff!important;padding:10px 12px!important;font-size:12px!important;letter-spacing:.08em!important}
body :is(.match-summary,.match-details,.match-detail-board,.match-suggestion){border:1px solid var(--pd-line)!important;border-radius:12px!important;background:#0c1c2e!important;overflow:hidden}
body .match-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:14px!important;padding:13px 15px!important}
body .match-summary>*:last-child{text-align:right}

@media(max-width:980px){
  body .page-wrap{width:min(100% - 28px,760px)}
  body .home-hero{padding:44px 0}
  body .hero-grid{gap:28px}
  body .hero-copy h1{font-size:clamp(3rem,11vw,5rem)!important}
  body .story-lanes>a{grid-template-columns:48px 30px 1fr!important;gap:10px 14px!important}
  body .story-lanes h3{grid-column:3}
  body .story-lanes>a p{grid-column:2/4}
  body .story-lanes>a>b{grid-column:2/4}
  body .player-record-layout{grid-template-columns:1fr!important}
  body :is(.group-grid,.group-standings){grid-template-columns:1fr!important}
}

@media(max-width:680px){
  body .header-shell{min-height:64px}
  body .brand img{max-height:44px}
  body .hero-copy h1{font-size:clamp(2.65rem,13vw,4rem)!important;letter-spacing:-.045em!important}
  body .hero-copy>p{font-size:15px}
  body .hero-actions{display:grid;grid-template-columns:1fr}
  body .hero-actions .button{width:100%}
  body .trust-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  body .section-title{align-items:start;flex-direction:column}
  body .story-lanes>a{grid-template-columns:38px 28px 1fr!important;padding:17px!important}
  body .story-lanes h3{grid-column:3}
  body .story-lanes>a p{grid-column:1/4}
  body .story-lanes>a>b{grid-column:1/4}
  body .page-hero{padding-block:34px!important}
  body .page-hero h1{font-size:clamp(2.45rem,12vw,3.7rem)!important}
  body :is(.section,.section-dark,.poldarts-story,.ranking-preview,.featured-players,.broadcast-public,.news-section,.home-clubs,.home-sponsors-section,.club-cta){padding-block:38px}
}
