/* Static dressing-room boards for results and brackets. These selectors never
   reach the live court or alter bracket sizes, scrolling, seeding or results. */
#worldTour :is(.history-season:not(.rank-evolution),.record-section,.tour-draw):not(:where(.series-page *,.series-finals *,.series-home-card *)),
#bracketPath{
 --surface-ink:#f1ead5;
 color:#f1ead5;-webkit-text-fill-color:#f1ead5;
 background-color:#203732;
 background-image:repeating-linear-gradient(167deg,transparent 0 3px,#b9d5bd03 4px,transparent 5px 9px),radial-gradient(ellipse at 35% 20%,#466d581a,transparent 70%);
 border:6px solid #5c4030;border-radius:3px 5px 3px 4px;
 box-shadow:inset 0 0 0 2px #122c25,0 3px 7px #0b1f2033;
 font-family:'PWT Chalk List','Segoe Print',cursive;
 scrollbar-color:#a4bbaa #19312b;
}
#worldTour :is(.history-season:not(.rank-evolution),.record-section,.tour-draw) :is(p,span,small,strong,b,summary,h3,.tour-person):not(:where(.record-rest *,.tour-table *,.series-page *,.series-finals *,.series-home-card *)){
 color:var(--surface-ink)!important;-webkit-text-fill-color:var(--surface-ink)!important;text-shadow:none!important;
}
#worldTour :is(.history-season:not(.rank-evolution),.record-section) :is(button,summary):focus-visible,
#worldTour .tour-draw:focus-visible,#worldTour .tour-draw button:focus-visible,
#bracketPath:focus-visible{
 outline:3px solid #a5d8e4;outline-offset:3px;
}

/* A season is one board; individual results are chalk divisions on that board. */
#worldTour .history-season:not(.rank-evolution){padding:0}
#worldTour .history-season:not(.rank-evolution)>summary{
 --surface-ink:#f5d28e;
 padding:14px 18px;font:600 28px/1.25 'PWT Series Hand','Segoe Print',cursive;
 letter-spacing:0;border-bottom:1px solid #c9c4b03d;
}
#worldTour .history-season:not(.rank-evolution)>summary::marker{color:#f5d28e}
#worldTour .history-season:not(.rank-evolution) .result-empty{--surface-ink:#c9c4b0;font-size:18px}
#worldTour :is(.tournament-results,.result-feed,.final-feed){font-family:'PWT Chalk List','Segoe Print',cursive}
#worldTour :is(.result-ticket,.result-card,.final-card){
 --surface-ink:#f1ead5;
 background:#203732;color:#f1ead5;-webkit-text-fill-color:#f1ead5;
 border:1px solid #c9c4b03d;border-radius:2px 4px 3px 2px;box-shadow:none;
 font-family:'PWT Chalk List','Segoe Print',cursive;
}
#worldTour :is(.result-ticket,.result-card,.final-card) :is(span,small,strong,b,.tour-person){
 color:var(--surface-ink)!important;-webkit-text-fill-color:var(--surface-ink)!important;text-shadow:none!important;
}
#worldTour .history-season:not(.rank-evolution) :is(.result-ticket,.result-card,.final-card){background:#f1ead503}
#worldTour .result-ticket strong{font:400 21px/1.2 'PWT Chalk List','Segoe Print',cursive;overflow-wrap:anywhere}
#worldTour .result-ticket span{font-size:18px;line-height:1.3}
#worldTour .result-ticket small{--surface-ink:#c9c4b0;font-size:16px;line-height:1.35}
#worldTour .result-ticket .ticket-points{border-color:#c9c4b055}
#worldTour .result-ticket .ticket-points b{--surface-ink:#a5d8e4;font:600 30px/1.05 'PWT Series Hand','Segoe Print',cursive}
#worldTour .result-ticket .ticket-points small{font-size:15px}
#worldTour .result-ticket .tour-person{font:400 20px/1.2 'PWT Chalk List','Segoe Print',cursive;white-space:normal;overflow-wrap:anywhere;background:none;border:0;box-shadow:none}
#worldTour .result-card{border-left:3px solid #ade0c580;grid-template-columns:132px minmax(0,1fr)}
#worldTour .result-card[data-result=lost]{border-left-color:#e9af9780}
#worldTour .result-card .result-stamp{--surface-ink:#ade0c5;font:400 17px/1.2 'PWT Chalk List','Segoe Print',cursive;letter-spacing:0}
#worldTour .result-card[data-result=lost] .result-stamp{--surface-ink:#efb8a2}
#worldTour .result-card .result-score{--surface-ink:#a5d8e4;font:600 33px/1.05 'PWT Series Hand','Segoe Print',cursive;letter-spacing:0}
#worldTour .result-card .result-body>small{--surface-ink:#f5d28e;font-size:16px;line-height:1.3}
#worldTour .result-card .result-body .tour-person{font:400 22px/1.2 'PWT Chalk List','Segoe Print',cursive;background:none;border:0;box-shadow:none;overflow-wrap:anywhere}
#worldTour .result-card :is(.result-meta,.result-date){--surface-ink:#c9c4b0;font-size:16px;line-height:1.3;letter-spacing:0}
#worldTour .final-card>small{--surface-ink:#f5d28e;font-size:17px;line-height:1.3;letter-spacing:0;text-transform:none}
#worldTour .final-card .final-duel>.tour-person{font:400 21px/1.25 'PWT Chalk List','Segoe Print',cursive;overflow-wrap:anywhere;background:none;box-shadow:none}
#worldTour .final-card .final-duel>strong{--surface-ink:#a5d8e4;font:600 31px/1.1 'PWT Series Hand','Segoe Print',cursive}
#worldTour .final-card .final-duel>.tour-person:first-child{--surface-ink:#ade0c5}

/* Record holders keep their responsive podium; the winner gets a chalk frame. */
#worldTour .record-section{animation:none}
#worldTour .record-section>h3{
 --surface-ink:#f5d28e;
 font:600 clamp(27px,3vw,36px)/1.15 'PWT Series Hand','Segoe Print',cursive;
 letter-spacing:0;padding-bottom:14px;border-bottom:2px solid #c9c4b04d;
 border-radius:0 0 35% 5%;
}
#worldTour .record-section .record-champion{
 --surface-ink:#f1ead5;
 background:transparent;border:1px solid #c9c4b035;border-radius:3px 5px 4px 2px;
 box-shadow:none;
}
#worldTour .record-section .record-champion[data-place='1']{
 border:2px solid #f5d28e80;border-radius:8% 6% 9% 5% / 5% 8% 6% 9%;
 background:#f5d28e05;
}
#worldTour .record-section .record-champion .record-place{--surface-ink:#f5d28e;font:600 30px/1 'PWT Series Hand','Segoe Print',cursive}
#worldTour .record-section .record-champion[data-place='1'] .record-place{font-size:37px}
#worldTour .record-section .record-champion .tour-person{font:600 26px/1.1 'PWT Series Hand','Segoe Print',cursive;background:transparent;border:0;box-shadow:none;overflow-wrap:anywhere}
#worldTour .record-section .record-champion>strong{--surface-ink:#a5d8e4;font:600 38px/1 'PWT Series Hand','Segoe Print',cursive;letter-spacing:0}
#worldTour .record-section .record-champion>small{--surface-ink:#c9c4b0;font-size:16px;line-height:1.3}
#worldTour .record-section>.record-rest>summary{--surface-ink:#f5d28e;font:400 19px/1.3 'PWT Chalk List','Segoe Print',cursive}

/* Keep the bracket's established geometry, sticky round names and scroll area. */
#worldTour .tour-draw .tour-round>h3{
 --surface-ink:#f5d28e;
 background:#203732;font:400 22px/1.2 'PWT Chalk List','Segoe Print',cursive;
 text-transform:none;letter-spacing:0;border-bottom:2px solid #c9c4b066;
 box-shadow:none;border-radius:0 0 3% 2%;
}
#worldTour .tour-draw .tour-pair{
 --surface-ink:#f1ead5;
 background:#19312b;border:1px solid #c9c4b055;border-radius:3px 5px 4px 2px;
 box-shadow:none;font-family:'PWT Chalk List','Segoe Print',cursive;
}
#worldTour .tour-draw .tour-pair>div+div{border-top:1px solid #c9c4b026}
#worldTour .tour-draw .tour-pair>div>.tour-person,
#worldTour .tour-draw .tour-pair>div>span{font:400 19px/1.2 'PWT Chalk List','Segoe Print',cursive;background:none;border:0;box-shadow:none}
#worldTour .tour-draw .tour-pair small{--surface-ink:#c9c4b0;font:400 15px/1.2 'PWT Chalk List','Segoe Print',cursive}
#worldTour .tour-draw .tour-pair>div>b{--surface-ink:#a5d8e4;font:600 27px/1 'PWT Series Hand','Segoe Print',cursive}
#worldTour .tour-draw .tour-pair .winner{--surface-ink:#ade0c5;background:#ade0c50b;border-radius:2px}
#worldTour .tour-draw .tour-pair.human-match{border-color:#ade0c580}
#worldTour .tour-draw .tour-pair.your-match{outline:2px solid #f5d28e;outline-offset:3px}

/* The quick-tournament draw uses the same board, without touching its controls. */
#bracketPath{color:#f1ead5;-webkit-text-fill-color:#f1ead5}
#bracketPath>.tournament-column>h3{
 background:#203732;color:#f5d28e!important;-webkit-text-fill-color:#f5d28e!important;
 font:400 20px/1.1 'PWT Chalk List','Segoe Print',cursive;letter-spacing:0;
 box-shadow:0 2px 0 #c9c4b055;
}
#bracketPath .tournament-match{background:#19312b;border:1px solid #c9c4b055;border-radius:3px 5px 4px 2px;box-shadow:none;color:#f1ead5;-webkit-text-fill-color:#f1ead5}
#bracketPath .tournament-match>div{font:400 18px/1.2 'PWT Chalk List','Segoe Print',cursive;color:#f1ead5;-webkit-text-fill-color:#f1ead5}
#bracketPath .tournament-match>div+div{border-top-color:#c9c4b033}
#bracketPath .tournament-match .winner{background:#ade0c50b;color:#ade0c5;-webkit-text-fill-color:#ade0c5}
#bracketPath .tournament-match>div>b{color:#a5d8e4;-webkit-text-fill-color:#a5d8e4;font:600 25px/1 'PWT Series Hand','Segoe Print',cursive}
#bracketPath .tournament-match::after{border-top-color:#c9c4b080}
#bracketPath .tournament-match.your-match{outline:2px solid #f5d28e;outline-offset:3px}
@media(max-width:760px){
 #worldTour :is(.history-season:not(.rank-evolution),.record-section,.tour-draw),#bracketPath{border-width:5px}
 #worldTour .history-season:not(.rank-evolution)>summary{padding:13px 12px;font-size:26px}
 #worldTour .result-ticket strong{font-size:20px}
 #worldTour .result-card .result-body .tour-person{font-size:20px}
 #worldTour .result-card{grid-template-columns:112px minmax(0,1fr)}
 #worldTour .result-card .result-score{font-size:28px}
 #worldTour .result-card :is(.result-meta,.result-date){font-size:15px}
 #worldTour .final-card .final-duel>.tour-person{font-size:19px}
 #worldTour .final-card .final-duel>strong{font-size:28px}
 #worldTour .record-section .record-champion .tour-person{font-size:24px}
}
