:root{--players-green:#204f37;--players-ink:#1d2c23;--players-muted:#526259;--players-soft:#e5eee6;--players-line:#dce5dd;--players-ground:#f3f7f3;--players-white:#fff;--players-lime:#d6ee72;--players-red:#9b4339}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scrollbar-color:#91a99a var(--players-ground)}
body{margin:0;background:var(--players-ground);color:var(--players-ink);font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
::selection{background:#d6ee72;color:#183a29}
a{color:inherit;text-underline-offset:3px}button,input{font:inherit}
.players-top{background:#e3eee4;border-bottom:1px solid #d6e2d8}
.players-top-inner{max-width:1160px;min-height:66px;margin:auto;padding:0 30px;display:flex;align-items:center;gap:42px}
.players-logo{display:flex;align-items:center;gap:9px;color:var(--players-green);font-weight:680;font-size:17px;text-decoration:none;white-space:nowrap}
.players-logo :is(svg,img){width:30px;height:30px}
.players-top nav{display:flex;align-self:stretch;gap:27px}
.players-top nav a{display:flex;align-items:center;color:#465b4d;text-decoration:none;border-bottom:2px solid transparent;padding-top:2px;font-size:14px}
.players-top nav a[aria-current=page]{color:#1d4d33;border-color:var(--players-green);font-weight:650}
.players-account{margin-left:auto;font-size:13px;color:#344b3a;text-decoration:none}
.players-account span{padding-left:4px;color:var(--players-green)}
.players-main{max-width:1160px;min-height:calc(100vh - 66px);margin:auto;padding:39px 30px 20px;display:flex;flex-direction:column}
.players-hero{min-height:248px;padding:31px 34px 27px;border-radius:14px;background:var(--players-green);color:#f5f8f1;display:grid;grid-template-columns:minmax(310px,1fr) minmax(260px,.85fr);align-items:center;overflow:hidden;position:relative}
.hero-copy{position:relative;z-index:1}
.players-hero h1{font-size:clamp(36px,5vw,54px);line-height:1.03;letter-spacing:-.035em;margin:0;font-weight:660}
.players-hero p{margin:10px 0 0;color:#d5e4d7}
.search-box{margin-top:22px;display:flex;align-items:center;gap:10px;max-width:480px;min-height:48px;background:#f8faf6;border:1px solid #dce8dd;border-radius:8px;padding:0 12px;color:#213e2c}
.search-box:focus-within{outline:3px solid #cfe77a;outline-offset:2px}
.search-box input{width:100%;min-width:0;height:44px;border:0;outline:0;background:transparent;color:#213e2c;font-size:15px}
.search-box input::placeholder{color:#607165;opacity:1}
.search-box kbd{font:12px/1 system-ui,sans-serif;border:1px solid #bbcbbd;border-radius:4px;padding:4px 6px;color:#54665a}
.search-icon{width:16px;height:16px;border:1.8px solid #47644f;border-radius:50%;position:relative;flex:none}
.search-icon:after{content:"";position:absolute;width:6px;height:1.8px;background:#47644f;right:-4px;bottom:-2px;transform:rotate(48deg);border-radius:2px}
.players-hero .hero-count{font-size:12px;margin-top:10px;color:#d8e6d9}
.hero-court{align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;color:#d9e8db;min-height:172px}
.court-graphic{width:min(100%,410px);height:auto;overflow:visible}
.court-graphic rect,.court-graphic path{stroke:currentColor;stroke-width:1.4;opacity:.76}
.court-graphic .court-net{stroke-dasharray:3 5;opacity:.52}
.court-graphic .court-ball{fill:var(--players-lime);stroke:#244530;stroke-width:1.5}
.hero-court>span{font-size:12px;letter-spacing:.02em;color:#d5e4d7;margin-top:2px}
.players-directory{margin-top:29px}
.directory-heading,.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.directory-heading{margin-bottom:12px}
.directory-heading h2,.section-title h2{margin:0;font-size:20px;line-height:1.25;letter-spacing:-.02em;font-weight:650}
.directory-heading span,.section-title>span{font-size:12px;color:var(--players-muted)}
.players-list{border-top:1px solid var(--players-line)}
.player-row{min-height:76px;display:grid;grid-template-columns:40px minmax(0,1fr) auto 18px;align-items:center;gap:14px;padding:11px 8px;border-bottom:1px solid var(--players-line);text-decoration:none;transition:background-color .16s ease}
.player-row:hover{background:#eaf1eb}
.player-avatar,.profile-mark{display:grid;place-items:center;border-radius:50%;background:#dce9dd;color:#244d34;font-weight:700}
.player-avatar{width:38px;height:38px;font-size:15px;object-fit:cover}
.player-summary{display:grid;min-width:0;gap:3px}
.player-summary b{font-size:15px;font-weight:630;overflow-wrap:anywhere}
.player-summary small{font-size:12px;color:var(--players-muted);overflow-wrap:anywhere}
.player-summary .player-rank{color:var(--players-ink);font-variant-numeric:tabular-nums}
.player-summary .player-ball{font-size:11px;color:#43574a}
.row-arrow{color:var(--players-green);font-size:17px}
.players-empty,.players-loading,.players-message{padding:24px 4px;color:var(--players-muted)}
.players-empty h2,.players-empty h3,.players-message h1,.players-message h2{margin:0;color:var(--players-ink);font-size:17px;letter-spacing:-.01em}
.players-empty p,.players-message p{margin:5px 0 0;max-width:62ch}
.players-message{max-width:700px;margin:34px auto;padding:36px;background:#fff;border:1px solid var(--players-line);border-radius:12px}
.players-message h1,.players-message h2{font-size:25px}
.players-button{min-height:42px;margin-top:20px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;background:var(--players-green);color:#fff;border-radius:7px;text-decoration:none;font-weight:620}
.players-back{display:inline-block;margin:-12px 0 22px;color:var(--players-muted);font-size:13px;text-decoration:none}
.players-back:hover{text-decoration:underline}
.profile-heading{display:flex;align-items:center;gap:17px;padding-bottom:24px;border-bottom:1px solid var(--players-line)}
.profile-mark{width:62px;height:62px;font-size:23px;flex:none;background:#dbe9dc}
.profile-title{min-width:0}
.profile-title h1{margin:0;font-size:clamp(27px,4vw,38px);line-height:1.12;letter-spacing:-.035em;overflow-wrap:anywhere}
.profile-title p{margin:7px 0 0;color:var(--players-muted);font-size:13px}
.profile-title .player-ball{margin-top:5px;color:#405748;font-size:12px}
.form-strip{height:112px;position:relative;overflow:hidden;display:flex;align-items:center;margin:21px 0 3px;padding:15px 21px;border-radius:10px;background:var(--players-green);color:#edf4ec}
.form-court-graphic{position:absolute;width:100%;height:auto;inset:50% auto auto 50%;transform:translate(-50%,-50%);opacity:.34}
.form-court-graphic rect,.form-court-graphic path{stroke:#dbe9d8;stroke-width:1.4}
.form-court-graphic .court-net{stroke-dasharray:3 5;opacity:.7}
.form-court-graphic .court-ball{fill:var(--players-lime);stroke:#244530;stroke-width:1.5}
.form-content{position:relative;z-index:1;display:flex;align-items:center;gap:17px}
.form-content>span{font-size:12px;color:#e0ebdc}
.form-results{display:flex;gap:8px}
.form-result{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d8e5d8;border-radius:50%;background:#eff5e8;color:#244b32;font-size:13px;font-weight:700}
.form-result.is-loss{background:#f4ece8;color:#8b453c}
.form-empty{font-size:12px;color:#e0ebdc}
.profile-columns{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:42px;padding-top:27px}
.profile-primary{min-width:0}
.stats-section{padding-bottom:28px;border-bottom:1px solid var(--players-line)}
.section-title{margin-bottom:16px}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--players-line);border-left:1px solid var(--players-line)}
.stats-grid>div{min-height:82px;padding:14px 15px;border-right:1px solid var(--players-line);border-bottom:1px solid var(--players-line);display:flex;flex-direction:column;justify-content:center;gap:3px}
.stats-grid b{font-size:24px;line-height:1.05;font-variant-numeric:tabular-nums;font-weight:640;letter-spacing:-.025em}
.stats-grid b small{font-size:15px;font-weight:550;color:#52675a;letter-spacing:0}
.stats-grid span{font-size:11px;color:var(--players-muted)}
.history-section{padding-top:27px}
.history-list{border-top:1px solid var(--players-line)}
.history-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:15px;align-items:center;padding:13px 2px;border-bottom:1px solid var(--players-line)}
.history-outcome{display:flex;align-items:center;gap:8px;font-size:11px;color:#536359}
.history-outcome span{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#e3eee5;color:#245237;font-size:11px;font-weight:700}
.is-loss .history-outcome span{background:#f2e8e6;color:#86473e}
.history-main{min-width:0}
.history-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px}
.history-title a{font-weight:640;text-decoration:none;overflow-wrap:anywhere}
.history-title a:hover{text-decoration:underline}
.history-title span{color:#526259;font-size:11px}
.history-main p{margin:3px 0;color:#435248;font-size:12px;overflow-wrap:anywhere}
.history-main small{color:var(--players-muted);font-size:11px}
.history-score{display:grid;gap:3px;justify-items:end;white-space:nowrap}
.history-score strong{font-size:13px;font-variant-numeric:tabular-nums}
.history-score a{color:#45614c;font-size:11px;text-decoration:none}
.history-score a:hover{text-decoration:underline}
.all-history{margin-top:15px;color:var(--players-green);font-size:13px}
.all-history summary{cursor:pointer;padding:7px 0}
.all-history .history-list{margin-top:8px}
.profile-aside{min-width:0}
.achievement-section{padding-bottom:24px;border-bottom:1px solid var(--players-line)}
.achievement-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--players-line)}
.achievement-list li{display:flex;gap:11px;padding:13px 0;border-bottom:1px solid var(--players-line)}
.achievement-dot{display:grid;place-items:center;width:29px;height:29px;flex:none;border-radius:50%;background:#e3edc5;color:#526721}
.achievement-dot svg{width:15px;height:15px;fill:currentColor}
.achievement-list b{font-size:13px}
.achievement-list p{margin:2px 0 0;color:var(--players-muted);font-size:12px}
.aside-empty{margin:0;padding:14px 0;color:var(--players-muted);font-size:13px}
.players-foot{display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:34px;color:#65746a;font-size:11px}
.players-foot span{color:#77847b}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:3px solid #6a9a72;outline-offset:3px}
@media(max-width:760px){.players-top-inner{padding:0 19px;gap:24px}.players-top nav{gap:17px}.players-main{padding:25px 19px 18px}.players-hero{grid-template-columns:1fr;padding:25px 23px 20px;min-height:0}.hero-court{position:absolute;width:46%;right:-4%;bottom:5px;opacity:.31;pointer-events:none}.hero-court .court-graphic{width:100%}.hero-court>span{display:none}.players-hero h1{font-size:42px}.hero-copy{max-width:480px}.search-box{max-width:100%}.profile-columns{grid-template-columns:1fr;gap:28px}.form-court-graphic{width:140%;max-width:none}}
@media(max-width:520px){.players-top-inner{min-height:58px;padding:0 15px;gap:17px}.players-logo{font-size:15px;gap:6px}.players-logo :is(svg,img){width:26px;height:26px}.players-top nav{gap:12px}.players-top nav a{font-size:12px}.players-account{font-size:0}.players-account span{font-size:17px}.players-main{padding:18px 15px}.players-hero{padding:22px 18px 18px;border-radius:10px}.players-hero h1{font-size:37px}.players-hero p{font-size:13px}.hero-court{width:54%;right:-11%;opacity:.24}.search-box{min-height:46px;margin-top:18px}.search-box input{height:42px;font-size:14px}.directory-heading h2,.section-title h2{font-size:18px}.directory-heading span,.section-title>span{font-size:11px}.player-row{grid-template-columns:36px minmax(0,1fr) 17px;gap:10px;padding:10px 3px}.player-avatar{width:34px;height:34px}.player-summary small{font-size:11px}.profile-heading{gap:12px;padding-bottom:19px}.profile-mark{width:48px;height:48px;font-size:19px}.profile-title h1{font-size:27px}.profile-title p{font-size:11px}.profile-columns{padding-top:21px}.form-strip{height:92px;margin-top:16px;padding:12px}.form-content{gap:10px}.form-content>span{font-size:11px}.form-results{gap:5px}.form-result{width:29px;height:29px;font-size:11px}.form-court-graphic{width:190%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid>div{min-height:71px;padding:10px 8px}.stats-grid b{font-size:20px}.stats-grid b small{font-size:12px}.stats-grid span{font-size:10px;line-height:1.3}.history-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:12px 0}.history-outcome{grid-column:1/-1}.history-score{grid-column:2;grid-row:2}.history-main{grid-column:1;grid-row:2}.history-title{gap:4px}.history-title a{font-size:12px}.history-title span{font-size:10px}.history-main p{font-size:11px}.history-main small{font-size:10px}.players-message{padding:25px 20px;margin:18px 0}.players-foot{padding-top:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.player-row{transition:none}}

/* Seasonal ranking */
.ranking-section{margin-top:30px}
.rank-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0 17px;border-bottom:1px solid var(--players-line)}
.rank-controls>label{display:flex;align-items:center;gap:9px;color:var(--players-muted);font-size:13px}
.rank-controls select{min-height:40px;padding:0 34px 0 12px;border:1px solid #b8c9ba;border-radius:6px;background:#fff;color:var(--players-ink);font:inherit}
.rank-switch{display:flex;padding:3px;border-radius:7px;background:#e3ebe4}
.rank-switch button{min-height:36px;padding:0 13px;border:0;border-radius:5px;background:transparent;color:#43584a;font:600 13px system-ui;cursor:pointer}
.rank-switch button[aria-pressed=true]{background:#fff;color:var(--players-green);box-shadow:0 1px 3px #1d2c231c}
.rank-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 30px;margin-top:20px}
.rank-division{min-width:0}.rank-division h3{margin:0 0 9px;font-size:16px;font-weight:650}.rank-empty{margin:0;padding:16px 0;color:var(--players-muted);font-size:13px;border-top:1px solid var(--players-line)}
.rank-table-wrap{width:100%;overflow-x:auto;border-top:1px solid var(--players-line);overscroll-behavior-inline:contain}
.rank-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;font-variant-numeric:tabular-nums}
.rank-table th,.rank-table td{padding:10px 9px;border-bottom:1px solid var(--players-line);white-space:nowrap}
.rank-table thead th{color:var(--players-muted);font-size:11px;font-weight:600}
.rank-table tbody th{font-weight:620}.rank-table tbody a{text-decoration:none}.rank-table tbody a:hover{text-decoration:underline}
.rank-place{width:52px;color:var(--players-green);font-weight:700}.rank-table td:nth-last-child(-n+2){text-align:right}
.strategies{margin-top:34px;padding-top:22px;border-top:1px solid var(--players-line)}
.strategy-note{max-width:75ch;color:var(--players-muted);font-size:13px;margin:8px 0 14px}
.strategy-table{min-width:720px}.strategy-points{display:flex;gap:5px;justify-content:flex-end!important}
.strategy-points span{display:grid;justify-items:center;min-width:44px;padding:4px 5px;border-radius:5px;background:#e9f0e9;color:#294832}
.strategy-points small{font-size:9px;color:#58695d}.strategy-points b{font-size:12px;font-weight:650}
@media(max-width:760px){.rank-sections{grid-template-columns:1fr;gap:20px}.strategies{margin-top:28px}}
@media(max-width:520px){.ranking-section{margin-top:24px}.rank-controls{align-items:flex-start;flex-direction:column;gap:10px}.rank-switch{width:100%}.rank-switch button{flex:1}.rank-table{font-size:12px}.rank-table th,.rank-table td{padding:9px 7px}.strategy-table{min-width:680px}.strategy-points span{min-width:40px}}
.level-guide{margin-top:34px;padding-top:22px;border-top:1px solid var(--players-line)}
.level-table{max-width:650px}
.level-guide .strategy-note{margin-top:10px}
.level-guide a{color:var(--players-green);font-weight:620}
.strategy-table{min-width:940px}
.strategy-table th:first-child{min-width:180px}
.rank-table tr.is-unranked{color:#66736a}
.rank-table tr.is-unranked .rank-place{color:#7b887e}
.rank-controls>span{color:var(--players-muted);font-size:12px}
.rank-controls{justify-content:flex-start;flex-wrap:wrap;gap:12px;padding:12px 0}
.rank-view-switch{display:flex;gap:3px;padding:3px;border-radius:7px;background:#e3ebe4}
.rank-view-switch button,.rank-division-switch button{min-height:36px;padding:0 13px;border:0;border-radius:5px;background:transparent;color:#43584a;font:600 13px system-ui;cursor:pointer}
.rank-view-switch button[aria-pressed=true],.rank-division-switch button[aria-pressed=true]{background:#fff;color:var(--players-green);box-shadow:0 1px 3px #1d2c231c}
.rank-filter-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:13px 0;border-bottom:1px solid var(--players-line)}
.rank-filter-row>label{display:flex;align-items:center;gap:8px;color:var(--players-muted);font-size:13px}
.rank-filter-row select{min-height:39px;padding:0 32px 0 11px;border:1px solid #b8c9ba;border-radius:6px;background:#fff;color:var(--players-ink);font:inherit}
.rank-division-switch{display:flex;gap:3px;padding:3px;border-radius:7px;background:#e3ebe4}
.rank-filter-row>span{margin-left:auto;color:var(--players-muted);font-size:12px}
.rank-current-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:22px 0 10px}
.rank-current-title h3{margin:0;font-size:19px;letter-spacing:-.02em}
.rank-current-title span{color:var(--players-muted);font-size:12px}
.rank-sections{display:block;margin-top:0}
.rank-table-wrap{border:1px solid var(--players-line);border-radius:9px;background:#fff;box-shadow:0 5px 18px #1e392308}
.rank-table{min-width:700px}
.rank-table th,.rank-table td{padding:12px 13px}
.rank-table thead th{background:#f5f8f4;color:#485a4d;position:sticky;top:0}
.rank-table tbody tr:hover{background:#f5f8f3}
.rank-table tbody tr:first-child .rank-place{font-size:16px}
.rank-table .rank-place{font-variant-numeric:tabular-nums}
.rank-table .numeric{text-align:right}
.rank-table th:nth-child(2){min-width:170px}
.rank-movement{display:inline-flex;min-width:56px;justify-content:center;padding:3px 7px;border-radius:12px;font-weight:650;font-size:11px}
.rank-movement.is-up{background:#e3f0e3;color:#236138}.rank-movement.is-down{background:#f5e9e6;color:#914a3e}.rank-movement.is-flat,.rank-movement.is-quiet{background:#edf1ed;color:#5e6a61}
.last-points{max-width:230px;white-space:normal!important;color:#344a3a;font-weight:600}
.last-points:not(:has(+ td)){font-variant-numeric:tabular-nums}
.rank-empty{padding:28px 22px;border:1px solid var(--players-line);border-radius:9px;background:#fff}
.rank-empty h3{margin:0;color:var(--players-ink);font-size:17px}.rank-empty p{margin:5px 0 0;max-width:60ch;color:var(--players-muted);font-size:13px}
.ranking-section{margin-top:0}
.ranking-section>.directory-heading h1{margin:0;font-size:clamp(30px,4vw,40px);line-height:1.08;letter-spacing:-.035em}
.ranking-section>.strategy-note{margin:7px 0 12px;max-width:72ch;font-size:12px}
.rank-comparison-note{margin:0 0 8px;color:var(--players-muted);font-size:11px}
.rank-table .rank-place{width:auto;min-width:82px;white-space:nowrap}
.rank-place>span{font-size:15px;margin-right:5px}
.rank-place .rank-movement{min-width:0;padding:2px 5px;font-size:10px;vertical-align:middle}
.ranking-rules{margin-top:12px;border-bottom:1px solid var(--players-line)}
.ranking-rules summary{cursor:pointer;padding:12px 2px;color:var(--players-green);font-size:13px;font-weight:650}
.ranking-rules[open]{padding-bottom:10px}
.ranking-rules .level-guide,.ranking-rules .strategies{margin-top:0;padding-top:10px;border-top:0}
.ranking-rules .section-title{display:none}
.ranking-rules .strategy-table{min-width:940px}
.ranking-hero{margin-top:36px;min-height:180px}
.ranking-masthead{position:relative;min-height:118px;display:flex;align-items:center;overflow:hidden;margin-bottom:18px;padding:22px 28px;border-radius:11px;background:var(--players-green);color:#f5f8f1}
.ranking-masthead h1{margin:0;font-size:clamp(38px,5vw,56px);line-height:1;letter-spacing:-.035em;font-weight:670}
.ranking-masthead p{margin:7px 0 0;color:#dce8db;font-size:14px}
.ranking-court-graphic{position:absolute;width:min(47%,430px);height:auto;right:2%;top:50%;transform:translateY(-50%);color:#d9e8db;opacity:.48}
.ranking-court-graphic rect,.ranking-court-graphic path{stroke:currentColor;stroke-width:1.4}
.ranking-court-graphic .court-net{stroke-dasharray:3 5;opacity:.65}
.ranking-court-graphic .court-ball{fill:var(--players-lime);stroke:#244530;stroke-width:1.5}
.rank-table thead th.numeric{text-align:right}
.rank-table td.last-points{text-align:right;max-width:140px;font-variant-numeric:tabular-nums}
.average-note{margin:8px 0;color:var(--players-muted);font-size:12px}
.directory-search{max-width:540px;margin-top:14px}.directory-count{margin:8px 0 10px;color:var(--players-muted);font-size:12px}
.ranking-rules .strategies .section-title{display:flex}
@media(max-width:520px){.ranking-masthead{min-height:96px;padding:19px 20px}.ranking-masthead h1{font-size:40px}.ranking-masthead p{font-size:12px}.ranking-court-graphic{width:58%;right:-14%;opacity:.34}.rank-table thead th.numeric{white-space:normal;min-width:76px}.rank-table td.last-points{max-width:130px}}
@media(max-width:760px){.rank-filter-row{align-items:flex-start}.rank-filter-row>span{width:100%;margin-left:0}.rank-division-switch{width:100%}.rank-division-switch button{flex:1}.rank-table-wrap{border-radius:7px}.rank-table th,.rank-table td{padding:10px 11px}}
@media(max-width:520px){.rank-controls{align-items:flex-start}.rank-view-switch{width:100%}.rank-view-switch button{flex:1}.rank-filter-row{gap:10px}.rank-filter-row>label{width:100%;justify-content:space-between}.rank-filter-row select{min-width:150px}.rank-current-title{margin-top:18px}.rank-table{font-size:12px}.rank-table th,.rank-table td{padding:9px}.last-points{min-width:170px}}
