/* The club's green chalkboard: list surfaces only. National-cup boards retain
   their wooden theme. Match canvases, controls and simulation are not selected. */
@font-face{font-family:'PWT Chalk List';font-style:normal;font-weight:400;font-display:swap;src:url('/brand/fonts/chalk/patrick-hand-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'PWT Chalk List';font-style:normal;font-weight:400;font-display:swap;src:url('/brand/fonts/chalk/patrick-hand-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Keep the one-pixel table border: fitRanking measures ten rows and accounts
   for it. The wooden surround is painted outside, without changing geometry. */
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details,#worldTour .record-rest):not(:where(.series-page *,.series-finals *,.series-home-card *)){
 --chalk-list-paper:#f1ead5;--chalk-list-muted:#c9c4b0;--chalk-list-gold:#f5d28e;--chalk-list-mint:#ade0c5;--chalk-list-blue:#a5d8e4;--chalk-list-red:#efb0a0;--chalk-list-board:#203732;--chalk-list-rule:#dde5ca35;--chalk-list-ink:var(--chalk-list-paper);--surface-ink:var(--chalk-list-paper);
 color:var(--chalk-list-ink);-webkit-text-fill-color:var(--chalk-list-ink);font-family:'PWT Chalk List','Segoe Print',cursive;font-weight:400;
 background-color:var(--chalk-list-board);background-image:radial-gradient(ellipse at 35% 40%,#dae0b910,transparent 60%),repeating-linear-gradient(170deg,#ffffff02 0 1px,transparent 1px 5px);
 border:1px solid #17251f;border-radius:3px;box-shadow:0 0 0 4px #5c4030,0 5px 10px #10191030,inset 0 0 35px #0c1b1733;scrollbar-color:#a4b8a1 #203732;
}
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details,#worldTour .record-rest):not(:where(.series-page *,.series-finals *,.series-home-card *)) :is(td,th,p,span,small,strong,b,a,summary,li,button){
 color:var(--chalk-list-ink)!important;-webkit-text-fill-color:var(--chalk-list-ink)!important;text-shadow:none!important;
 font-family:'PWT Chalk List','Segoe Print',cursive;font-weight:400;
}
/* Shared light-panel ink includes .tour-person in :is(), raising specificity
   even for ordinary spans. Match that strength for colours only, so locally
   chosen gold/blue/muted ink survives inside history and record panels. */
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details,#worldTour .record-rest):not(:where(.series-page *,.series-finals *,.series-home-card *)) :is(td,th,p,span,small,strong,b,a,summary,li,button,.tour-person){
 color:var(--chalk-list-ink)!important;-webkit-text-fill-color:var(--chalk-list-ink)!important;text-shadow:none!important;
}
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details):not(:where(.series-page *,.series-finals *,.series-home-card *)) :is(table,tr,td){background:transparent!important}
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details):not(:where(.series-page *,.series-finals *,.series-home-card *)) :is(th,td){border-color:var(--chalk-list-rule);font-size:18px;line-height:1.25}
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details):not(:where(.series-page *,.series-finals *,.series-home-card *)) th{
 --chalk-list-ink:var(--chalk-list-muted);background:#203732!important;font-size:18px;font-weight:400;text-transform:none;letter-spacing:.4px;
}
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details):not(:where(.series-page *,.series-finals *,.series-home-card *)) :is(small,summary){--chalk-list-ink:var(--chalk-list-muted)}
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details):not(:where(.series-page *,.series-finals *,.series-home-card *)) .tour-person{background:transparent;border-color:transparent;box-shadow:none;font-size:19px;line-height:1.2}
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details):not(:where(.series-page *,.series-finals *,.series-home-card *)) :is(button,a,summary):focus-visible{outline:2px solid var(--chalk-list-gold);outline-offset:2px}
:is(#worldTour .tour-table,.event-modal .tour-table,.atlas-info .tour-table,.player-event-scroll,.rank-evolution-body>details):not(:where(.series-page *,.series-finals *,.series-home-card *)) .tour-person:hover{text-decoration:underline;text-decoration-color:var(--chalk-list-blue);text-underline-offset:3px}

/* Ranking: retain its compact ten-player viewport and visible mobile ages. */
#worldTour .ranking-table th{font-size:17px;line-height:20px}
#worldTour .ranking-table td{font-size:17px;line-height:18px}
#worldTour .ranking-table td:first-child{--chalk-list-ink:var(--chalk-list-gold)}
#worldTour .ranking-table td:nth-child(3){--chalk-list-ink:var(--chalk-list-blue)}
#worldTour .ranking-table .ranking-person{font-size:17px;line-height:20px;font-weight:400}
#worldTour .ranking-table .ranking-identity{display:flex;align-items:center;gap:5px;min-width:0}
#worldTour .ranking-table .country-history-flag{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;min-height:32px;margin:0;padding:3px;background:transparent;border:1px solid #a5d8e44f;border-radius:3px;box-shadow:none}
#worldTour .ranking-table .country-history-flag:hover{background:#a5d8e41a;border-color:#a5d8e4}
#worldTour .ranking-table .country-history-flag:focus-visible{outline:2px solid #f5d28e;outline-offset:1px}
#worldTour .ranking-table .country-history-flag .country-flag{width:20px;height:15px;margin:0}
#worldTour .ranking-table .ranking-person small{--chalk-list-ink:var(--chalk-list-muted);font-size:13px;line-height:16px}
#worldTour .ranking-table .ranking-change{font-size:15px;line-height:18px}
#worldTour .ranking-table .ranking-change[data-direction=up]{--chalk-list-ink:var(--chalk-list-mint)}
#worldTour .ranking-table .ranking-change[data-direction=down]{--chalk-list-ink:var(--chalk-list-red)}
#worldTour .ranking-table .your-ranking{--chalk-list-ink:var(--chalk-list-mint);background:#2c4a3e!important;box-shadow:inset 3px 0 #ade0c5,inset 0 -1px #ade0c56b}
#worldTour .ranking-table .your-ranking :is(td,.ranking-person){--chalk-list-ink:var(--chalk-list-mint)}
#worldTour .ranking-table table.ranking-exit{background:#203732!important}

/* Major results keep their meaning without coloured spreadsheet cells. */
#worldTour .major-history :is(th,td):first-child{background:#203732!important;--chalk-list-ink:var(--chalk-list-gold)}
#worldTour .major-history th:first-child{min-width:72px;font-size:16px;white-space:nowrap}
#worldTour .major-history .major-result{background:transparent;border:1px solid #dde5ca25;--chalk-list-ink:var(--chalk-list-muted);font-weight:400}
#worldTour .major-history .major-result[data-result=W]{--chalk-list-ink:var(--chalk-list-gold);border-color:#f5d28e80}
#worldTour .major-history .major-result[data-result='2']{--chalk-list-ink:var(--chalk-list-blue)}
#worldTour .major-history .major-result[data-result='4']{--chalk-list-ink:var(--chalk-list-mint)}
#worldTour .major-history .major-result[data-result=playing]{--chalk-list-ink:var(--chalk-list-paper);outline:2px solid #f5d28e;outline-offset:-2px}
#worldTour .major-history .major-result:is([data-result=future],[data-result=absent]){border-color:transparent}

/* The event history is also used in gallery pages and dialogs outside Tour. */
.player-event-scroll{margin:13px 4px 5px}
:is(#worldTour .player-event-scroll,.player-event-scroll) :is(th,td){font-size:16px}
.player-event-scroll tr[data-result=W]{--chalk-list-ink:var(--chalk-list-gold)}
.player-event-scroll tr[data-result=playing]{--chalk-list-ink:var(--chalk-list-mint)}
.player-event-scroll :is(ol,li){background:transparent;font-size:16px!important;line-height:1.35}
:is(#worldTour .player-event-scroll,.player-event-scroll) summary{font-size:16px;--chalk-list-ink:var(--chalk-list-blue)}

/* The expanded chart moves this same details node into a body-level dialog. */
.rank-evolution-body>details{margin:18px 4px 6px;padding:12px}
:is(#worldTour .rank-evolution-body,.rank-evolution-body)>details>summary{--chalk-list-ink:var(--chalk-list-gold);font-size:20px;line-height:1.3}
.rank-evolution-body>details table{margin-top:8px;width:100%;border-collapse:collapse}
:is(#worldTour .rank-evolution-body,.rank-evolution-body)>details :is(th,td){font-size:17px;border-bottom:1px solid var(--chalk-list-rule)}
.rank-evolution-body>details td:nth-child(2){--chalk-list-ink:var(--chalk-list-gold)}
.rank-evolution-body>details td:last-child{--chalk-list-ink:var(--chalk-list-blue)}

/* Records beyond the podium are genuine ordered lists, not new cards. */
#worldTour .record-rest{margin:20px 4px 4px;padding:12px 15px}
#worldTour .record-rest>summary{--chalk-list-ink:var(--chalk-list-gold);font-family:'PWT Series Hand','PWT Chalk List',cursive;font-size:25px;font-weight:600;line-height:1.25;min-height:32px}
#worldTour .record-rest ol{margin:10px 0 0;padding:0}
#worldTour .record-rest li{border-top:1px solid var(--chalk-list-rule);background:transparent;gap:7px 14px;padding:12px 0}
#worldTour .record-rest .record-position{--chalk-list-ink:var(--chalk-list-gold);font-size:25px;min-width:25px}
#worldTour .record-rest .tour-person{--chalk-list-ink:var(--chalk-list-paper);font-size:22px;line-height:1.15;background:transparent;border:0;box-shadow:none;overflow-wrap:anywhere}
#worldTour .record-rest small{--chalk-list-ink:var(--chalk-list-muted);font-size:15px;line-height:1.25}
#worldTour .record-rest b{--chalk-list-ink:var(--chalk-list-blue);font-size:25px;line-height:1.15}
#worldTour .record-rest :is(summary,button):focus-visible{outline:2px solid var(--chalk-list-gold);outline-offset:3px}

/* The title cabinet opens outside #worldTour. Only its ordered list becomes
   a board; the dialog header and controls retain their established surfaces. */
.player-titles-modal .player-titles-season ol{background:#203732;color:#f1ead5;-webkit-text-fill-color:#f1ead5;font-family:'PWT Chalk List','Segoe Print',cursive;border:1px solid #17251f;border-radius:3px;box-shadow:0 0 0 4px #5c4030,inset 0 0 25px #0c1b1733;margin:12px 4px 16px;padding:0 12px;gap:0}
.player-titles-modal .player-titles-season li{background:transparent;border:0;border-bottom:1px solid #dde5ca35;border-radius:0;padding:12px 0;min-width:0}
.player-titles-modal .player-titles-season li:last-child{border-bottom:0}
.player-titles-modal .player-titles-season li :is(div,span,p,strong,small){font-family:'PWT Chalk List','Segoe Print',cursive;font-weight:400;color:#f1ead5!important;-webkit-text-fill-color:#f1ead5!important;text-shadow:none!important}
.player-titles-modal .player-titles-season li strong{font-size:21px;line-height:1.2;color:#f5d28e!important;-webkit-text-fill-color:#f5d28e!important}
.player-titles-modal .player-titles-season li small{font-size:16px;line-height:1.3;color:#a5d8e4!important;-webkit-text-fill-color:#a5d8e4!important}

@media(max-width:760px){
 #worldTour .ranking-table th{font-size:15px;line-height:20px}
 #worldTour .ranking-table td{font-size:15px;line-height:18px}
 #worldTour .ranking-table .ranking-person{font-size:15px;line-height:16px}
 #worldTour .ranking-table .country-history-flag{flex-basis:28px;width:28px}
 #worldTour .ranking-table .ranking-person small{display:block;font-size:12px;line-height:13px;white-space:nowrap}
 #worldTour .ranking-table .ranking-change{font-size:13px;line-height:16px}
 #worldTour .record-rest{padding:11px 12px}
 #worldTour .record-rest .tour-person{font-size:20px}
 #worldTour .record-rest small{font-size:14px}
 :is(#worldTour .player-event-scroll,.player-event-scroll) :is(th,td){font-size:15px}
 .rank-evolution-body>details{padding:10px}
}

#worldTour .tour-create .career-gender{display:flex;align-items:center;gap:10px;font:inherit;min-width:0}
#worldTour .tour-create .career-gender select{flex:1;min-width:0}
#worldTour .season-tournaments .season-events-grid[data-multiple=true]{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:12px}
#worldTour .season-events-grid[data-multiple=true] .date-final-event{padding:12px;overflow-wrap:anywhere}
@media(max-width:760px){#worldTour .season-tournaments .season-events-grid[data-multiple=true]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){#worldTour .season-tournaments .season-events-grid[data-multiple=true]{grid-template-columns:minmax(0,1fr)}}

/* Compact ranking heading and personal line; keep the toolbar grid and native
   cream controls intact, so its measured ten-row viewport still fits. */
#worldTour .ranking-toolbar .ranking-publication{background:transparent;border:0;box-shadow:none;color:#c9c4b0;-webkit-text-fill-color:#c9c4b0}
#worldTour .ranking-toolbar .ranking-publication :is(h2,h3){font-family:'PWT Series Hand','PWT Chalk List',cursive;font-size:32px;font-weight:600;line-height:24px;margin:0;color:#f5d28e!important;-webkit-text-fill-color:#f5d28e!important;text-shadow:none!important;letter-spacing:0}
#worldTour .ranking-toolbar .ranking-publication p{font-family:'PWT Chalk List','Segoe Print',cursive;font-size:14px;line-height:16px;margin:2px 0;color:#c9c4b0!important;-webkit-text-fill-color:#c9c4b0!important;text-shadow:none!important}
#worldTour .ranking-toolbar .ranking-self{background:#203732;border:1px solid #ade0c55c;border-radius:3px;box-shadow:inset 3px 0 #ade0c570;color:#f1ead5;-webkit-text-fill-color:#f1ead5;font-family:'PWT Chalk List','Segoe Print',cursive}
#worldTour .ranking-toolbar .ranking-self>strong{font-family:'PWT Series Hand','PWT Chalk List',cursive;font-size:22px;font-weight:600;line-height:22px;color:#f5d28e!important;-webkit-text-fill-color:#f5d28e!important;text-shadow:none!important}
#worldTour .ranking-toolbar .ranking-self>.tour-person{font-family:'PWT Chalk List','Segoe Print',cursive;font-size:18px;font-weight:400;line-height:20px;padding:0;color:#ade0c5!important;-webkit-text-fill-color:#ade0c5!important;text-shadow:none!important;background:transparent;border:0;box-shadow:none}
#worldTour .ranking-toolbar .ranking-self>span{font-family:'PWT Chalk List','Segoe Print',cursive;font-size:17px;font-weight:400;line-height:20px;color:#a5d8e4!important;-webkit-text-fill-color:#a5d8e4!important;text-shadow:none!important}
#worldTour .ranking-toolbar .ranking-self>.tour-person:focus-visible{outline:2px solid #f5d28e;outline-offset:2px}
@media(max-width:760px){
 #worldTour .ranking-toolbar .ranking-publication :is(h2,h3){font-size:28px;line-height:24px}
 #worldTour .ranking-toolbar .ranking-publication p{font-size:13px;line-height:16px}
}
