/* Three-part data-driven home dashboard. No stage or HTML page generation. */
body.pgd-ready #nextup,body.pgd-ready #banner,body.pgd-ready #sched{display:none!important}
body.pgd-ready #dash{display:none!important}
body.pgd-ready .wrap>header{display:none!important}
body.pgd-ready .topnav .tn-in{max-width:1360px;padding-inline:20px}
body.pgd-ready .hubpage>.wrap{max-width:1360px}
body.pgd-ready .wrap{max-width:1360px}
#pgd-dashboard{margin:0 0 28px;color:#f4f6f5}
.pgd-status{display:flex;align-items:center;gap:9px;margin:13px 0 10px;color:#cfebe0;font-size:13px;font-weight:850}
.pgd-status:before{content:'';width:8px;height:8px;border-radius:50%;background:#6cdec0;box-shadow:0 0 11px #6cdec0}
.pgd-head .pgd-status{margin:0 0 0 auto;flex:none;font-size:12px;white-space:nowrap}
@media(max-width:560px){.pgd-head .pgd-status{font-size:11px;gap:5px}.pgd-head .pgd-status:before{width:6px;height:6px}}
.pgd-shell{border:1px solid #718b8b;border-radius:15px;overflow:hidden;background:#172a33;box-shadow:0 22px 48px #0008,inset 0 1px #ffffff25;margin-bottom:20px}
.pgd-banner{padding:18px 22px 16px;background:radial-gradient(circle at 80% 8%,#4c826a55,transparent 37%),linear-gradient(110deg,#243932,#1a2d36)}
.pgd-league{display:inline-block;padding:3px 7px;border-radius:5px;background:#74ddbe;color:#142623;font-size:11px;font-weight:950;letter-spacing:.1em}
.pgd-banner h2{margin:9px 0 5px;font-size:clamp(21px,2.6vw,31px);line-height:1.17;letter-spacing:-.04em;text-transform:uppercase;overflow-wrap:anywhere}
.pgd-banner p{margin:0;color:#c1d5d3;font-size:12px}
.pgd-region{padding:17px 21px;background:#172a33;border-top:1px solid #58727b}.pgd-region:nth-of-type(3){background:#15252e}
.pgd-head{display:flex;align-items:center;gap:10px;min-height:31px;margin-bottom:12px}
.pgd-step{display:inline-grid;place-items:center;width:27px;height:23px;border-radius:5px;border:1px solid #ffe2a1;background:#ffcf6f;box-shadow:0 2px 0 #986b2d;color:#1b2522;font-size:11px;font-weight:950;flex:none}
.pgd-head h3{margin:0;font-size:16px;font-weight:850;line-height:1.2}.pgd-head .pgd-note{margin-left:auto;font-size:11px;color:#bdd2d7}
.pgd-today{display:flex;align-items:center;gap:14px;min-height:47px}.pgd-clock{border-right:1px solid #69808a;padding-right:16px;flex:none}.pgd-clock small{display:block;color:#b3c8cd;font-size:10px}.pgd-clock strong{color:#ffcf69;font-size:23px;line-height:1.2;font-variant-numeric:tabular-nums}.pgd-info{display:flex;flex-direction:column;min-width:0;flex:1}.pgd-info strong{font-size:15px}.pgd-info small{font-size:11px;color:#b2c7d0}
.pgd-actions,.pgd-weeks{width:min(100%,480px);max-width:480px;flex:0 0 min(100%,480px);margin-left:auto;display:grid;gap:7px;align-items:stretch}.pgd-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.pgd-weeks{grid-template-columns:repeat(4,minmax(0,1fr))}
.pgd-actions a,.pgd-actions button,.pgd-weeks a,.pgd-weeks button{height:43px;width:100%;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:8px;text-align:center;line-height:1.16;padding:5px;color:inherit;text-decoration:none;font:inherit;font-size:11px;cursor:pointer}
.pgd-actions a,.pgd-actions button{border:1px solid #ffe1a0;background:linear-gradient(#ffdc90,#edb447);color:#281d0e;font-weight:950;box-shadow:0 4px 0 #99692a,0 9px 15px #0005}
.pgd-actions [disabled]{filter:grayscale(.75);opacity:.67;cursor:default;box-shadow:none}
.pgd-weeks a,.pgd-weeks button{border:1px solid #667d87;background:#20333d;color:#e9f3f1;font-weight:850;box-shadow:inset 0 1px #ffffff16}.pgd-weeks .active{border-color:#ffdc88;background:#f9c565;color:#221c14;box-shadow:0 4px 0 #986930}.pgd-weeks small{font-size:10px;font-weight:600;opacity:.84}
.pgd-schedule-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.pgd-schedule-head .pgd-head{margin-bottom:0}.pgd-days{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 7px;scrollbar-color:#657785 transparent}.pgd-day{flex:1 0 145px;text-align:left;min-height:65px;padding:8px 11px;border-radius:9px;border:1px solid #607684;background:#20313c;color:#d0e1e6;cursor:pointer}.pgd-day span,.pgd-day em{display:block;font-size:10px;font-style:normal;color:#afc7d0}.pgd-day strong{display:flex;justify-content:space-between;gap:9px;font-size:14px;color:#f5f8f7}.pgd-day time{font-size:11px;font-weight:650;color:#bdd0d6}.pgd-day.active{background:linear-gradient(#ffda87,#f5bd55);border-color:#ffe09c;box-shadow:0 4px 0 #996929;color:#271e16}.pgd-day.active strong,.pgd-day.active span,.pgd-day.active em,.pgd-day.active time{color:#342719}
.pgd-selected{margin-top:9px;min-height:32px;border:1px solid #4a6570;border-radius:8px;background:#20343d;padding:8px 12px;display:flex;align-items:center;gap:9px;color:#bcd1d8;font-size:11px}.pgd-selected b{color:#fff;font-size:12px}.pgd-selected a{margin-left:auto;color:#ffd080;font-weight:850;text-decoration:none;white-space:nowrap}
.pgd-teams .pgd-head{margin-bottom:10px}.pgd-teamgrid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.pgd-team{display:flex;align-items:center;gap:4px;min-width:0;min-height:46px;padding:5px 6px;border:1px solid #637989;border-left:2px solid #eebc60;border-radius:7px;background:#20343d;color:#fff;cursor:pointer;text-align:left}.pgd-team:hover{border-color:#ffda90}.pgd-rank{flex:0 0 16px;text-align:center;font-size:11px;color:#fbd089;font-weight:900}.pgd-logo{width:25px;height:27px;flex:0 0 25px;object-fit:contain}.pgd-monogram{display:grid;place-items:center;clip-path:polygon(15% 0,85% 0,100% 18%,100% 76%,50% 100%,0 76%,0 18%);background:#567b85;color:#fff;font-size:9px;font-weight:900}.pgd-tag{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.pgd-points{font-size:13px;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}.pgd-points small{color:#f1c874;font-size:10px}.pgd-empty{padding:9px 12px;border:1px solid #5a717b;border-radius:8px;font-size:12px;color:#c7d8d9}.pgd-caption{margin-top:8px;color:#b8cbd1;font-size:10px}
.pgd-nextleague{display:flex;align-items:center;gap:7px;border:1px solid #5d7583;border-radius:9px;padding:7px 10px;background:#1a2d38;color:#fff;font-size:11px;white-space:nowrap;text-decoration:none}.pgd-nextleague:hover{border-color:#ffd080}.pgd-nextleague .date{color:#ffd080;font-weight:900}.pgd-nextleague .name{font-weight:800;text-transform:uppercase;max-width:225px;overflow:hidden;text-overflow:ellipsis}.pgd-nextleague .label{background:#ffffff13;padding:3px 5px;border-radius:4px;font-size:10px}.pgd-nextleague .arrow{color:#ffd080}.pgd-ready #tnLive{display:none!important}
.pgd-teamgrid>.pgd-empty{grid-column:1/-1;width:100%}
.pgd-shell>.pgd-region:first-child{border-top:0;background:linear-gradient(110deg,#243932,#1a2d36)}
.pgd-head h3{font-size:19px;font-weight:900;letter-spacing:-.02em}
.pgd-info .pgd-tournament{color:#b8e4d3;font-size:12px;font-weight:800;letter-spacing:.02em;line-height:1.35}
.pgd-info strong{font-size:20px;line-height:1.28}
.pgd-actions a,.pgd-actions button{font-size:13px;line-height:1.15}
.pgd-day{min-height:56px}
.pgd-stage-link{text-align:right;margin-top:6px;font-size:12px;font-weight:850}
.pgd-stage-link a{color:#ffd080;text-decoration:none}
.pgd-stage-link a:hover{text-decoration:underline}
@media(max-width:760px){.pgd-head h3{font-size:17px}.pgd-info strong{font-size:18px}.pgd-actions a,.pgd-actions button{font-size:12px}}
@media(max-width:1120px){.pgd-today,.pgd-schedule-head{flex-wrap:wrap}.pgd-actions,.pgd-weeks{width:100%;max-width:none;flex:1 1 100%;margin-left:0}.pgd-teamgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.pgd-nextleague .name{max-width:160px}}
@media(max-width:760px){.pgd-region{padding:15px 16px}.pgd-banner{padding:16px}.pgd-actions a,.pgd-actions button,.pgd-weeks a,.pgd-weeks button{height:46px;font-size:10px;white-space:normal}.pgd-weeks{gap:4px}.pgd-actions{gap:5px}.pgd-nextleague .label{display:none}.pgd-nextleague .name{max-width:105px}.pgd-head h3{font-size:14px}.pgd-head .pgd-note{font-size:10px}}
@media(max-width:460px){.pgd-teamgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.pgd-nextleague .name{max-width:70px}.pgd-nextleague .arrow{display:none}}
/* Dashboard 11: compact controls, stage context and readable mobile roster. */
#pgd-dashboard{margin-top:-6px}
.pgd-status{margin-top:3px}
.pgd-series-name{margin-left:12px;min-width:0;font-size:15px;font-weight:850;color:#b8e4d3;line-height:1.3;overflow-wrap:anywhere}
.pgd-head .pgd-series-name{flex:1}
.pgd-actions,.pgd-weeks{gap:5px}
.pgd-actions a,.pgd-actions button,.pgd-weeks button{height:37px;font-size:11px;padding:4px 5px}
.pgd-schedule-head .pgd-select-action{flex:none;border:1px solid #ffe09c;border-radius:7px;background:#f5c365;color:#252019;text-decoration:none;font-size:12px;font-weight:900;padding:9px 11px;box-shadow:0 3px 0 #986930}
.pgd-teamgrid{grid-template-columns:repeat(8,minmax(0,1fr))}
@media(max-width:1120px){.pgd-teamgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.pgd-schedule-head .pgd-select-action{margin-left:auto}}
@media(max-width:760px){.pgd-head{flex-wrap:wrap}.pgd-series-name{margin-left:0;flex-basis:100%!important;font-size:14px}.pgd-schedule-head .pgd-select-action{order:2}.pgd-schedule-head .pgd-weeks{order:3}.pgd-actions a,.pgd-actions button,.pgd-weeks button{height:39px;font-size:11px}.pgd-head h3{font-size:17px}}
@media(max-width:460px){.pgd-teamgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.pgd-team{min-height:43px}.pgd-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.pgd-actions>:last-child{grid-column:1/-1}}
/* Dashboard navigation and readable action hierarchy (v13). */
.pgd-series-name{font-size:clamp(13px,1.25vw,18px);line-height:1.25;letter-spacing:-.015em}
.pgd-actions a,.pgd-actions button{font-size:clamp(12px,1vw,14px);font-weight:850;line-height:1.2;min-height:44px;height:auto;padding:8px 5px}
.pgd-actions a:hover,.pgd-actions a:focus-visible,.pgd-result-action:hover,.pgd-result-action:focus-visible{filter:brightness(1.09);outline:2px solid #fff2c6;outline-offset:2px}
.pgd-result-link{display:flex;justify-content:flex-end;padding-top:10px}
.pgd-result-action{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 18px;border:1px solid #fdd789;border-radius:8px;background:#f6c66c;color:#221b13;font-weight:850;font-size:13px;text-decoration:none;box-shadow:0 3px 0 #8d6534}
@media(max-width:700px){.pgd-series-name{font-size:14px}.pgd-actions a,.pgd-actions button{font-size:12px}.pgd-result-action{width:100%}}
/* Stage-results layout: two readable standings of eight PWS finalists. */
.pgd-teamgrid{display:block}
.pgd-team-caption{margin:0 0 10px;color:#c6d5dd;font-size:12px;font-weight:700}
.pgd-standings-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pgd-standings{min-width:0;overflow:hidden;border:1px solid #526976;border-radius:9px;background:#1a2932}
.pgd-standings-head,.pgd-standing{display:grid;grid-template-columns:32px minmax(125px,1fr) 39px 38px repeat(var(--pgd-days),minmax(43px,.5fr)) 77px;align-items:center;gap:3px;min-width:0;text-align:center}
.pgd-standings-head{height:35px;padding:0 5px;color:#d4e4ec;font-size:10px;font-weight:800;border-bottom:1px solid #526976}
.pgd-standings-head>:nth-child(2){text-align:left;padding-left:34px}
.pgd-standings-head>:last-child,.pgd-standing-total{color:#ffd06c}
.pgd-standing{width:100%;height:44px;padding:0 5px;border:0;border-bottom:1px solid #ffffff0c;background:transparent;color:#f4f6f5;font:inherit;font-size:11px;font-weight:750;cursor:pointer}
.pgd-standing:last-child{border-bottom:0}.pgd-standing:hover,.pgd-standing:focus-visible{background:#344149;outline:2px solid #ffce76;outline-offset:-2px}
.pgd-standing-no{font-weight:900;color:#cfe3ec}.pgd-standing-name{display:flex;align-items:center;gap:7px;min-width:0;text-align:left;font-size:12px;white-space:nowrap}
.pgd-standing-name>span:last-child{overflow:hidden;text-overflow:ellipsis}.pgd-standing-name .pgd-logo{width:25px;height:27px;flex:0 0 25px}
.pgd-standing span small,.pgd-standing-total small{color:#9eb0c3;font-size:9px;font-weight:650}
.pgd-standing-total{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.pgd-teamgrid>.pgd-empty{width:100%}
@media(max-width:1160px){.pgd-standings-pair{overflow-x:auto}.pgd-standings{min-width:555px}}
@media(max-width:700px){.pgd-standings-pair{grid-template-columns:1fr}.pgd-standings{min-width:555px}}
/* Keep the monogram hidden while a team logo is visible; free space for full names. */
.pgd-standing-name .pgd-monogram[hidden],.pgd-standing-name .pgd-logo[hidden]{display:none!important}
.pgd-standings-head,.pgd-standing{grid-template-columns:29px minmax(145px,1fr) 34px 34px repeat(var(--pgd-days),minmax(40px,.48fr)) 68px;gap:2px}
.pgd-standing-name{gap:5px;font-size:11px}
/* Date-selected home results show matches and totals; DAY breakdown lives in Total Result. */
.pgd-summary .pgd-standings-head,.pgd-summary .pgd-standing{grid-template-columns:29px minmax(145px,1fr) 43px 43px 40px 82px;gap:3px}
.pgd-summary .pgd-standing-name{font-size:12px}
@media(max-width:1160px){.pgd-summary{min-width:500px}}
/* Two top actions: athlete records and latest completed stage result. */
.pgd-actions{grid-template-columns:repeat(2,minmax(0,1fr));max-width:380px;flex-basis:min(100%,380px)}
@media(max-width:460px){.pgd-actions>:last-child{grid-column:auto}}
/* Schedule selection is restrained; amber identifies the selected match day. */
.pgd-weeks .active{background:#294a53;border-color:#8ed7da;color:#f4ffff;box-shadow:inset 0 0 0 1px #8ed7da66}
.pgd-weeks .active small{color:#c7f1f2}
.pgd-weeks button:hover,.pgd-weeks button:focus-visible{border-color:#8ed7da;outline:2px solid #8ed7da77;outline-offset:1px}
.pgd-teams .pgd-head h3{font-size:21px;font-weight:950;letter-spacing:0;line-height:1.28}
.pgd-team-caption{font-size:13px;font-weight:800}
/* Seven fixed columns keep each group of eight readable on narrow screens. */
.pgd-summary .pgd-standings-head,.pgd-summary .pgd-standing{grid-template-columns:25px minmax(90px,1fr) 32px 34px 30px 34px 56px;gap:2px}
.pgd-summary .pgd-standings-head{font-size:11px}
.pgd-summary .pgd-standing{min-height:46px;height:auto;font-size:12px}
.pgd-summary .pgd-standing-name{gap:4px;font-size:12px}
.pgd-summary .pgd-standing-total{font-size:13px}
@media(max-width:1100px){.pgd-standings-pair{grid-template-columns:1fr;overflow:visible}.pgd-summary{width:100%;min-width:0}}
@media(max-width:760px){
  .pgd-teams .pgd-head h3{font-size:20px}
  .pgd-standings-pair{grid-template-columns:1fr;gap:9px;overflow:visible}
  .pgd-summary{width:100%;min-width:0;overflow:hidden}
  .pgd-summary .pgd-standings-head,.pgd-summary .pgd-standing{grid-template-columns:21px minmax(65px,1fr) 27px 27px 25px 28px 43px;gap:1px;padding-inline:2px}
  .pgd-summary .pgd-standing{min-height:45px;font-size:11px}
  .pgd-summary .pgd-standing-name{font-size:11px;line-height:1.13;white-space:normal;overflow:hidden}
  .pgd-summary .pgd-standing-name>span:last-child{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow:hidden;text-overflow:ellipsis}
  .pgd-summary .pgd-standing-name .pgd-logo{width:18px;height:20px;flex-basis:18px}
  .pgd-summary .pgd-standings-head{font-size:10px}
  .pgd-summary .pgd-standings-head>:nth-child(2){padding-left:20px}
  .pgd-summary .pgd-standing-total{font-size:12px}
}
/* When the two desktop columns stack, present one uninterrupted ranking. */
@media(max-width:1100px){
  .pgd-standings-pair{gap:0}
  .pgd-standings-pair>.pgd-standings:first-child:not(:last-child){border-bottom:0;border-radius:9px 9px 0 0}
  .pgd-standings-pair>.pgd-standings:not(:first-child){border-top:0;border-radius:0 0 9px 9px}
  .pgd-standings-pair>.pgd-standings:not(:first-child)>.pgd-standings-head{display:none}
  .pgd-standings-pair>.pgd-standings:not(:first-child)>.pgd-standing:first-of-type{border-top:1px solid #526976}
}
/* The two home actions share the schedule's quiet surface; gold stays on the day. */
.pgd-actions a,.pgd-actions button{background:#25404a;border:1px solid #7397a2;color:#eef8f7;box-shadow:inset 0 1px #ffffff18;font-weight:850;border-radius:8px}
.pgd-actions a:hover,.pgd-actions a:focus-visible{background:#315762;border-color:#a8e0dd;filter:none;outline:2px solid #a8e0dd77}
.pgd-day-compact{display:none!important}
@media(max-width:760px){
  .pgd-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;overflow:visible;padding:2px 0 6px}
  .pgd-day{min-width:0;min-height:57px;flex:none;padding:5px 2px;text-align:center;border-radius:6px;box-shadow:none}
  .pgd-day strong{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:2px;font-size:10px;line-height:1.1}
  .pgd-day-full{display:none!important}.pgd-day-compact{display:block!important;font-size:9px!important;white-space:nowrap;letter-spacing:-.04em}
  .pgd-day time{font-size:10px}.pgd-day em{font-size:9px;line-height:1.1}
  .pgd-actions{max-width:none;gap:5px}.pgd-actions a,.pgd-actions button{min-height:39px;padding:5px 3px;font-size:11px}
}
/* 04 uses the same two eight-row panels as the team standings in 03. */
.pgd-players .pgd-head h3{font-size:21px;font-weight:950;line-height:1.28}
.pgd-playergrid>.pgd-empty{width:100%}
.pgd-player-row.pgd-standings-head,.pgd-player-row.pgd-standing{grid-template-columns:28px minmax(112px,1fr) 39px 58px 40px 65px;gap:3px}
.pgd-player-row.pgd-standing{cursor:default;min-height:46px;height:auto;font-size:12px}
.pgd-player-row .pgd-standing-name{gap:6px;min-width:0}
.pgd-player-id{display:flex;flex-direction:column;min-width:0;overflow:hidden;line-height:1.13}
.pgd-player-id b,.pgd-player-id small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pgd-player-id small{color:#9fbcc7;font-size:10px;margin-top:2px}
.pgd-player-sort{background:transparent;border:0;color:#d4e4ec;font:inherit;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer;padding:4px 0}
.pgd-player-sort.active{color:#f6c875}.pgd-player-sort:hover,.pgd-player-sort:focus-visible{color:#fff0b6;outline:1px solid #7fbac4}
.pgd-player-row.pgd-standings-head>:nth-child(2){padding-left:31px}
.pgd-player-row.pgd-standing>span:nth-last-child(4){color:#f9d37b;font-weight:900}
@media(max-width:760px){
  .pgd-players .pgd-head h3{font-size:20px}
  .pgd-player-table{min-width:0;width:100%}
  .pgd-player-row.pgd-standings-head,.pgd-player-row.pgd-standing{grid-template-columns:21px minmax(68px,1fr) 24px 44px 27px 43px;gap:1px;padding-inline:2px}
  .pgd-player-row.pgd-standing{min-height:45px;font-size:10px}
  .pgd-player-row .pgd-standing-name{gap:3px}
  .pgd-player-row .pgd-standing-name .pgd-logo{width:18px;height:20px;flex-basis:18px}
  .pgd-player-id b{font-size:11px}.pgd-player-id small{font-size:9px}
  .pgd-player-row.pgd-standings-head>:nth-child(2){padding-left:19px}
  .pgd-player-sort{font-size:9px;letter-spacing:-.04em}
}
/* One type scale and badge from sections 01 through 05. */
.pgd-shell .pgd-head h3,.pgd-teams .pgd-head h3,.pgd-players .pgd-head h3{font-size:20px;font-weight:900;line-height:1.28;letter-spacing:-.02em}
.pgd-shell .pgd-step{width:27px;height:23px;font-size:11px}
.pgd-live-flag{display:inline-flex;align-items:center;gap:5px;border:1px solid #5b8879;border-radius:99px;padding:3px 7px;background:#17382f;color:#9ff7c8;font-size:10px;font-weight:900;letter-spacing:.04em}
.pgd-live-flag i{width:6px;height:6px;background:#58efad;border-radius:50%;box-shadow:0 0 9px #58efad}
.pgd-ready #view .archsec{display:none!important}
.pgd-ready #view .lgsec[data-lg="PGS"]{display:none!important}
.pgd-archive{margin-top:0}
.pgd-archive-body{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pgd-archive-body p{margin:0;color:#b8cbd1;font-size:12px}
.pgd-archive-body a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:38px;padding:8px 14px;background:#25404a;border:1px solid #7397a2;border-radius:8px;color:#eef8f7;text-decoration:none;font-size:12px;font-weight:850}
.pgd-archive-body a:hover,.pgd-archive-body a:focus-visible{border-color:#a8e0dd;background:#315762;outline:2px solid #a8e0dd77}
@media(max-width:760px){.pgd-shell .pgd-head h3,.pgd-teams .pgd-head h3,.pgd-players .pgd-head h3{font-size:18px}.pgd-archive-body a{width:100%}}

/* PUBGIN home polish v16 */
.pgd-weeks button.pgd-ended:not(.active),.pgd-day.pgd-ended:not(.active){background:#15242c;color:#9aaeb7;border-color:#425761;box-shadow:inset 0 0 0 1px #0002}
.pgd-weeks button.pgd-ended:not(.active) small,.pgd-day.pgd-ended:not(.active) em{color:#8398a1}
.pgd-weeks button.pgd-upcoming:not(.active),.pgd-day.pgd-upcoming:not(.active){border-color:#6e969c;background:#24404a;color:#f0f7f6}
.pgd-summary .pgd-standing,.pgd-summary .pgd-standings-head{font-size:13px;font-weight:850}
.pgd-summary .pgd-standing-name{font-size:13px}.pgd-summary .pgd-standing-total{font-size:14px}
.pgd-archive-body{display:block}.pgd-archive-body p{margin:0 0 10px}.pgd-archive-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
.pgd-archive-series{min-width:0;background:#20333d;border:1px solid #667d87;border-radius:9px;overflow:hidden}
.pgd-archive-series[open]{border-color:#8ed7da}.pgd-archive-series summary{cursor:pointer;list-style:none;min-height:60px;padding:10px;display:flex;gap:5px;align-items:flex-start;flex-direction:column}
.pgd-archive-series summary::-webkit-details-marker{display:none}.pgd-archive-series strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.pgd-archive-series small{color:#b9cdd3}.pgd-archive-league{color:#9be1d9;font-size:10px;font-weight:900}
.pgd-archive-stages{padding:5px;display:grid;gap:4px;border-top:1px solid #526974}
.pgd-archive-stages a{display:flex;min-height:38px;align-items:center;justify-content:space-between;padding:6px 8px;border:1px solid #526974;background:#152932;font-size:11px;border-radius:6px}
.pgd-archive-stages a:hover{background:#315762}.pgd-archive-all{margin-top:10px}
.pgd-ready .findbar{width:38px;height:38px;margin:0 0 14px auto;padding:0;justify-content:center;border:1px solid #7397a2;border-radius:9px;background:#25404a}
.pgd-ready .findbar .findbar-ic{width:32px;height:32px;display:grid;place-items:center;background:transparent}
.pgd-ready .findbar .findbar-tx,.pgd-ready .findbar .findbar-kbd{display:none}
.pgd-ready .tn-search,.pgd-ready .tn-menu{height:32px;padding:0 8px;font-size:11px;gap:5px}
@media(max-width:760px){.pgd-region:first-child .pgd-head{flex-wrap:wrap;justify-content:center;text-align:center}.pgd-region:first-child .pgd-series-name{flex-basis:100%;margin:0;text-align:center}.pgd-region:first-child .pgd-info{text-align:center}.pgd-region:first-child .pgd-today{justify-content:center}.pgd-archive-list{grid-template-columns:1fr}.pgd-summary .pgd-standing,.pgd-summary .pgd-standings-head{font-size:12px}.pgd-summary .pgd-standing-name{font-size:12px}.pgd-summary .pgd-standing-total{font-size:13px}}
/* v17: align section labels and keep the series immediately above the match. */
.pgd-info .pgd-series-name{display:block;flex:none;margin:0 0 3px;font-size:13px;line-height:1.3;color:#b8e4d3}
.pgd-info>strong{display:block}.pgd-info>small{display:block}
@media(max-width:760px){
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-head{justify-content:flex-start;text-align:left;flex-wrap:nowrap}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-head h3{flex:none}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-info{text-align:left;min-width:0}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-series-name{margin:0 0 4px;text-align:left;font-size:11px;line-height:1.3;letter-spacing:-.01em;overflow-wrap:anywhere}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-today{justify-content:flex-start;align-items:center;gap:11px}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-clock{padding-right:10px}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-info>strong{font-size:clamp(15px,4.2vw,19px);line-height:1.22;overflow-wrap:anywhere}
  #pgd-dashboard .pgd-archive .pgd-region:first-child .pgd-head{justify-content:flex-start;text-align:left}
}

/* V22 current-match controls and linked player rows. */
.pgd-match-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 10px}
.pgd-match-tabs button{border:1px solid #65838a;background:#203640;color:#eaf5f3;border-radius:7px;padding:7px 10px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.pgd-match-tabs button.active{border-color:#ffdd91;background:#f5c66b;color:#241b12}
.pgd-weeks button.pgd-locked{opacity:.47;filter:grayscale(.5);cursor:not-allowed}
a.pgd-player-row{text-decoration:none;color:inherit;cursor:pointer!important}
a.pgd-player-row:hover,a.pgd-player-row:focus-visible{background:#2b4b54;outline:2px solid #8ed7da;outline-offset:-2px}
@media(max-width:700px){.pgd-match-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.pgd-match-tabs button{padding:8px 2px;font-size:10px}}
/* v23: chronological schedule and compact match selector. */
.pgd-weeks{max-width:none;width:auto;flex:1 1 480px;overflow-x:auto;scrollbar-width:thin}
.pgd-weeks button{flex:1 0 100px}
.pgd-archive-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pgd-archive-series summary{min-height:44px;flex-direction:row;align-items:center;flex-wrap:nowrap;gap:7px;padding:8px}
.pgd-archive-series summary>*{flex:none;white-space:nowrap}
.pgd-archive-series summary strong{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pgd-archive-series summary time{font-size:11px;color:#b9cdd3}
.pgd-player-row.pgd-standings-head,.pgd-player-row.pgd-standing{grid-template-columns:24px minmax(98px,1fr) 31px 39px 49px 34px 55px;gap:2px}
.pgd-player-row.pgd-standing>span:nth-last-child(5){color:#f9d37b;font-weight:900}
.pgd-player-row.pgd-standing>span:nth-last-child(4){color:inherit;font-weight:700}
.pgd-player-table{overflow-x:auto;min-width:0}
@media(max-width:700px){
  .pgd-player-row.pgd-standings-head,.pgd-player-row.pgd-standing{grid-template-columns:18px minmax(64px,1fr) 20px 30px 37px 23px 39px;gap:1px;min-width:270px;font-size:9px}
  .pgd-player-sort{font-size:8px}
  .pgd-match-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
  .pgd-match-tabs button{min-width:0}
  .pgd-archive-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}
  .pgd-archive-series{flex:0 0 82%;scroll-snap-align:start}
}

/* v24: one event selector controls all five home sections. */
.pgd-series-switch{display:inline-flex;align-items:center;gap:8px;max-width:100%;border:1px solid #6b958f;border-radius:7px;background:#25433f;color:#d2fae5;padding:5px 9px;text-align:left;font:inherit;font-size:inherit;font-weight:900;cursor:pointer;line-height:1.25}
.pgd-series-switch:hover,.pgd-series-switch:focus-visible{border-color:#ffda83;outline:2px solid #ffda8355}
.pgd-series-switch span{color:#ffcf70;flex:none}
.pgd-status-ended{color:#adbdc3}.pgd-status-ended:before{background:#839ca3;box-shadow:none}
.pgd-scope-dialog{width:min(94vw,540px);max-height:min(80vh,680px);overflow:auto;border:1px solid #8db9b4;border-radius:14px;background:#152832;color:#f4faf8;padding:18px;box-shadow:0 25px 75px #000b}
.pgd-scope-dialog::backdrop{background:#061319d9}
.pgd-scope-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:20px}
.pgd-scope-top button{border:1px solid #63818a;border-radius:6px;background:#263d47;color:#fff;padding:5px 10px;cursor:pointer}
.pgd-scope-dialog section{padding:12px 0;border-top:1px solid #506873}
.pgd-scope-dialog h3{font-size:12px;color:#a7dccc;margin:0 0 8px}
.pgd-scope-dialog section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.pgd-scope-dialog [data-pgd-scope]{border:1px solid #67818b;border-radius:8px;background:#203842;color:#f5faf8;min-height:40px;text-align:left;padding:8px;font:inherit;font-size:12px;cursor:pointer}
.pgd-scope-dialog [data-pgd-scope]:hover,.pgd-scope-dialog [data-pgd-scope].active{background:#2b504d;border-color:#9be3ce}
/* Six metrics after player name: kills, throwable, damage, knocks, headshot %, survival. */
.pgd-player-row.pgd-standings-head,.pgd-player-row.pgd-standing{grid-template-columns:23px minmax(90px,1fr) 30px 42px 53px 30px 57px 52px;gap:2px}
.pgd-player-row.pgd-standing>span:nth-last-child(6){color:#f9d37b;font-weight:900}
.pgd-player-row.pgd-standing>span:nth-last-child(5){color:#d8ede8;font-weight:750}
.pgd-player-row .pgd-standing-name{min-width:0}
@media(max-width:700px){
  .pgd-series-switch{font-size:11px;padding:5px 7px}
  .pgd-scope-dialog section>div{grid-template-columns:1fr}
  .pgd-player-row.pgd-standings-head,.pgd-player-row.pgd-standing{grid-template-columns:17px minmax(73px,1fr) 19px 29px 35px 21px 43px 37px;gap:1px;min-width:0;padding-inline:2px;font-size:9px}
  .pgd-player-sort{font-size:8px;white-space:nowrap;letter-spacing:-.04em}
  .pgd-player-id b{font-size:10px}
}
/* The match number selects its score; the map opens that match's replay. */
.pgd-match-choice{display:flex;flex-direction:column;min-width:0;gap:2px;border:1px solid #597780;border-radius:7px;overflow:hidden;background:#1a313b}
.pgd-match-choice>button{border:0;border-radius:0;min-height:32px;white-space:nowrap}
.pgd-match-map{display:block;max-width:100%;padding:4px 7px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#aee1dc;text-align:center;text-decoration:none;font-size:10px;font-weight:850}
a.pgd-match-map:hover,a.pgd-match-map:focus-visible{background:#315460;color:#fff;outline:2px solid #ffcf70;outline-offset:-2px}
.pgd-match-map.unavailable{color:#91a6aa;cursor:default}
.pgd-match-tabs>button[data-index="0"]{align-self:stretch;min-height:54px;padding-inline:14px}
@media(max-width:700px){
  .pgd-match-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .pgd-match-choice>button{min-height:28px;font-size:10px}
  .pgd-match-map{font-size:9px;min-height:25px;padding:4px 2px 5px}
  .pgd-match-tabs>button[data-index="0"]{min-height:53px}
}
/* One readable header scale across today's, previous, and upcoming cards. */
#pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-series-switch{max-width:100%;font-size:15px;line-height:1.28}
#pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-series-switch-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-info>strong{font-size:clamp(22px,2.1vw,28px);line-height:1.18;font-weight:900;letter-spacing:-.025em}
#pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-info>small{font-size:13px;line-height:1.35}
#pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-clock small{font-size:11px}
#pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-clock strong{font-size:25px}
#pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-actions a,
#pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-actions button{font-size:13px}
@media(max-width:760px){
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-series-switch{font-size:12px}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-info>strong{font-size:clamp(18px,4.5vw,22px)}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-info>small{font-size:11px}
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-actions a,
  #pgd-dashboard .pgd-shell>.pgd-region:first-child .pgd-actions button{font-size:12px}
}

/* PUBGIN_HOME_READABILITY_V70: retain panel and row sizes. */
#pgd-dashboard .pgd-standing:not(.pgd-player-row),
#pgd-dashboard .pgd-standing:not(.pgd-player-row) .pgd-standing-name{font-size:14px!important}
#pgd-dashboard .pgd-standing:not(.pgd-player-row) .pgd-standing-total{font-size:17px!important}
#pgd-dashboard .pgd-standings-head:not(.pgd-player-row){font-size:12px!important}
#pgd-dashboard .pgd-standing.pgd-player-row,
#pgd-dashboard .pgd-standing.pgd-player-row .pgd-standing-name,
#pgd-dashboard .pgd-standing.pgd-player-row .pgd-player-id b{font-size:13px!important}
#pgd-dashboard .pgd-standings-head.pgd-player-row,
#pgd-dashboard .pgd-standings-head.pgd-player-row .pgd-player-sort{font-size:11px!important}
#pgd-dashboard .pgd-standing,#pgd-dashboard .pgd-standings-head{padding-inline:3px;gap:2px}
#pgd-dashboard .pgd-standing-name{gap:3px}
#pgd-dashboard .pgd-standing-name>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#pgd-dashboard .pgd-standing>span,#pgd-dashboard .pgd-standings-head>span{white-space:nowrap}

/* PWS Final AP: TOTAL includes AP; per-match view intentionally omits this column. */
#pgd-dashboard .pgd-summary.has-ap .pgd-standings-head,
#pgd-dashboard .pgd-summary.has-ap .pgd-standing{
  grid-template-columns:25px minmax(90px,1fr) 32px 34px 30px 34px 38px 56px;
}
#pgd-dashboard .pgd-standing-ap{color:#9fe8d4;font-weight:900;font-variant-numeric:tabular-nums}
@media(max-width:700px){
  #pgd-dashboard .pgd-summary.has-ap .pgd-standings-head,
  #pgd-dashboard .pgd-summary.has-ap .pgd-standing{
    grid-template-columns:20px minmax(58px,1fr) 25px 25px 24px 26px 28px 39px;
  }
}
