.pp-view{display:grid;gap:1rem;min-width:0}
.pp-view h1,.pp-view h2,.pp-view h3{margin:0}
.pp-view h2{font-size:1.14rem;line-height:1.3}
.pp-view h3{font-size:1rem;margin:.7rem 0 .3rem}
.pp-view .sx-panel{display:grid;gap:.75rem;min-width:0}
.pp-view .sx-note,.pp-view .pp-count{margin:0;line-height:1.5}
.pp-actions,.pp-room-info,.pp-switch,.pp-vs,.pp-pair>span{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.pp-label{display:grid;gap:.4rem;font-weight:650}
.pp-view input,.pp-view select{background:var(--card,#fff);color:var(--ink,#152e3b);border:1px solid #aabdc4;border-radius:.65rem;min-height:44px;padding:.55rem .75rem;font:inherit;max-width:100%;width:100%;box-sizing:border-box}
.pp-switch{width:fit-content;background:#eaf0f2;border-radius:.75rem;padding:.2rem;gap:.1rem}
.pp-switch button{border:0;border-radius:.58rem;background:transparent;color:#23434e;padding:.6rem .85rem;min-height:42px;font:inherit;cursor:pointer}
.pp-switch button[aria-pressed=true]{background:#174857;color:white;font-weight:650}
.pp-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:.33rem;max-height:260px;overflow:auto;padding:2px}
.pp-person{display:flex;align-items:center;justify-content:space-between;gap:.55rem;min-height:44px;border:1px solid #cedade;border-radius:.62rem;background:var(--card,#fff);color:var(--ink,#173642);text-align:left;padding:.5rem .65rem;font:inherit;cursor:pointer}
.pp-person b{font-size:1rem;color:#386271}
.pp-person[aria-pressed=true]{background:#e1f4ee;color:#174838;border-color:#39816c}
.pp-person[hidden],.pp-no-results[hidden]{display:none}
.pp-pair{display:flex;gap:.6rem;align-items:baseline}
.pp-pair>small,.pp-item small,.pp-fixture small,.pp-table small{color:#46616b;line-height:1.4}
.pp-pair>small{min-width:2.5rem}
.pp-pair button{border:1px solid #bed0d7;border-radius:1rem;background:#f1f6f7;color:#214853;padding:.42rem .65rem;min-height:36px;font:inherit;cursor:pointer}
.pp-pair em{font-size:.85rem}
.pp-count{display:flex;align-items:center;gap:.45rem}
.pp-count b{font-variant-numeric:tabular-nums}
.pp-groups{font-size:.9rem}.pp-groups summary{cursor:pointer;padding:.4rem 0}.pp-groups p{line-height:1.45}
.pp-item{color:inherit;text-decoration:none;display:flex;justify-content:space-between;align-items:center;gap:.65rem;min-width:0;border-bottom:1px solid #dbe4e7;padding:.55rem 0}
.pp-item:last-child{border-bottom:none}.pp-item>span:first-child{display:grid;gap:.18rem;min-width:0;overflow-wrap:anywhere}
.pp-status,.pp-room-info>span,.pp-result{font-size:.8rem}
.pp-status,.pp-room-info>span{border-radius:1rem;background:#edf2f4;color:#274855;padding:.22rem .55rem;white-space:nowrap}
.pp-win,.pp-champion{background:#e4f3ed!important;color:#204d3e}
.pp-result{max-width:40%;text-align:right}
.pp-view .pp-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.pp-metrics{margin:0;display:flex;flex-wrap:wrap;gap:.75rem 1rem}
.pp-metrics dt{font-size:.8rem;color:#465e67}.pp-metrics dd{margin:.1rem 0 0;font-size:1.35rem;font-weight:700}
.pp-fixture{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem 0;border-bottom:1px solid #dbe4e7}
.pp-fixture:last-child{border:0}.pp-fixture .sx-btn{flex-shrink:0}
.pp-vs{align-items:baseline;line-height:1.4;overflow-wrap:anywhere}
.pp-vs span{font-size:.8rem;color:#526c76}
.pp-champion,.pp-answer{border-inline-start:4px solid #3c856a!important}
.pp-tableblock{max-width:100%;overflow-x:auto}
.pp-table{width:100%;border-collapse:collapse;font-size:.9rem}
.pp-table th,.pp-table td{text-align:right;padding:.4rem .3rem;border-bottom:1px solid #dbe4e7}
.pp-table th:first-child{text-align:left}.pp-table tbody th{font-weight:550}
.pp-view button:focus-visible,.pp-view a:focus-visible,.pp-view input:focus-visible,.pp-view select:focus-visible,.pp-view summary:focus-visible{outline:3px solid #40809a;outline-offset:2px}
.pp-view button:disabled{opacity:.6;cursor:default}
@media(max-width:540px){.pp-people{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-fixture{align-items:flex-start;flex-direction:column;gap:.4rem}.pp-person{font-size:.9rem}.pp-result{font-size:.76rem}.pp-table{font-size:.82rem}}

/* Table-green court, off-white lines and the amber of the ball. */
.pp-view{--pp-deep:#123f39;--pp-green:#216e55;--pp-line:#d8e4dd;--pp-cream:#f5f9f3;--pp-lime:#d5ee97;--pp-gold:#ffc46e;color:#173d32;gap:16px}
.pp-view>.sx-back{justify-self:start;padding:5px 0;color:#366452}
.pp-view .sx-panel{margin:0;border-color:var(--pp-line);border-radius:17px}
.pp-view .sx-panel h2,.pp-view .sx-panel h3{margin:0}
.pp-view .sx-btn{color:#19503d;background:#ecf5ed;border-color:#b3cfba}
.pp-view .sx-btn.primary{background:var(--pp-deep);border-color:var(--pp-deep);color:white}
.pp-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:154px;padding:24px clamp(20px,3vw,38px);border-radius:19px;background:#143f38;color:#fff}
.pp-hero>div:first-child{position:relative;z-index:1;max-width:67%}
.pp-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.04;letter-spacing:-.05em;overflow-wrap:anywhere}
.pp-hero p{margin-top:10px;max-width:45ch;font-size:.92rem;color:#d5e7d9;line-height:1.45}
.pp-court-art{position:absolute;inset:0 0 0 auto;width:34%;max-width:390px;isolation:isolate;overflow:hidden;pointer-events:none;background:linear-gradient(120deg,transparent,#1c5143)}
.pp-board{position:absolute;left:5%;top:-73%;width:97%;height:240%;transform:rotate(29deg);border:2px solid #7aab8e;background:#23634e}
.pp-board:before,.pp-board:after,.pp-board i{content:'';position:absolute;background:#93bba0}
.pp-board:before{left:50%;top:0;width:1px;height:100%}.pp-board:after{left:0;top:50%;width:100%;height:3px;box-shadow:0 3px 0 #173d32}
.pp-racket{position:absolute;width:59px;height:68px;right:32%;top:28%;border-radius:52% 52% 44% 44%;background:#ddef9f;transform:rotate(36deg);box-shadow:3px 3px 0 #cada86,7px 9px 0 #143f3855}
.pp-racket:after{content:'';position:absolute;width:14px;height:34px;left:22px;top:60px;border-radius:2px 2px 5px 5px;background:#f2d5a4;box-shadow:2px 2px 0 #bb986b}
.pp-ball{position:absolute;right:22%;top:22%;height:16px;width:16px;border-radius:50%;background:#ffd18a;box-shadow:3px 5px 0 #143f3866}
.pp-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pp-shortcuts a{min-width:0;display:flex;align-items:center;gap:12px;padding:16px 13px;background:#fff;color:var(--pp-deep);border:1px solid var(--pp-line);border-radius:14px;text-decoration:none}
.pp-shortcuts a:hover{background:#f4f8ee;border-color:#aac3ab}.pp-shortcuts a:first-child{background:#f1f7e8;border-color:#bdd4ab}
.pp-shortcuts strong,.pp-shortcuts small{display:block}.pp-shortcuts strong{font-size:1rem}.pp-shortcuts small{margin-top:3px;font-size:.78rem;line-height:1.35;color:#4d6356}.pp-arrow{margin-left:auto;font-size:22px;color:#45705b}
.pp-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;background:#e9f2e7;color:#296347;border-radius:11px}
.pp-icon i{position:relative;display:block}.pp-icon-tree i{width:13px;height:13px;border:2px solid currentColor;border-left:0}.pp-icon-tree i:after{content:'';position:absolute;height:2px;width:6px;background:currentColor;right:-7px;top:4px}
.pp-icon-ball i{width:17px;height:17px;border:2px solid currentColor;border-radius:50%;background:linear-gradient(145deg,#fff 45%,#d9e7d0 46%)}
.pp-icon-bars i{height:15px;width:4px;background:currentColor;box-shadow:-6px 4px 0 -0.5px currentColor,6px -3px 0 -.5px currentColor}
.pp-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pp-section-head>span,.pp-match-result,.pp-key{font-size:.8rem;color:#53695b}.pp-view .pp-key{margin:0}
.pp-tree{--gap:28px;--card:216px;--slot:112px}
.pp-round-jump{display:flex;gap:5px;flex-wrap:wrap}.pp-round-jump[hidden]{display:none}.pp-round-jump button{border:1px solid #c7d9ca;background:#fff;color:#27553f;padding:6px 11px;min-height:44px;border-radius:9px;font:inherit;font-size:.8rem;cursor:pointer}
.pp-round-jump [aria-pressed=true]{background:#e9f4de;border-color:#83aa83;color:#19462c}
.pp-tree-scroll{overflow:auto;border:1px solid #d7e4d9;background:#f6f9f4;border-radius:12px;max-width:100%;max-height:min(70vh,800px);overscroll-behavior:contain;scrollbar-color:#a3bba9 #eef2eb}
.pp-tree-scroll:focus-visible,.pp-matrix-scroll:focus-visible{outline:3px solid #387e63;outline-offset:2px}
.pp-tree-grid{position:relative;display:grid;grid-template-columns:repeat(var(--cols),var(--card));column-gap:var(--gap);padding:0 14px 10px;min-width:max-content;isolation:isolate}
.pp-round{min-width:0;display:grid;grid-template-rows:auto 1fr}
.pp-view .pp-round h3{position:sticky;top:0;z-index:2;background:#f6f9f4;padding:12px 2px 8px;font-size:.85rem;font-weight:750;color:#335b43}
.pp-round-body{height:calc(var(--first)*var(--slot));display:grid;grid-template-rows:repeat(var(--rows),minmax(0,1fr))}
.pp-branch{position:relative;min-width:0;display:flex;align-items:center}
.pp-branch:before,.pp-branch:after{content:'';position:absolute;pointer-events:none;border-color:#8baa91;border-style:solid;border-width:0}
.pp-round:not(:first-child) .pp-branch:before{width:calc(var(--gap)*.5);left:calc(var(--gap)*-.5);top:50%;border-top-width:2px}
.pp-round:not(:last-child) .pp-branch:after{width:calc(var(--gap)*.5);height:50%;right:calc(var(--gap)*-.5);border-right-width:2px}
.pp-round:not(:last-child) .pp-branch:nth-child(odd):after{top:50%;border-top-width:2px;border-top-right-radius:5px}
.pp-round:not(:last-child) .pp-branch:nth-child(even):after{bottom:50%;border-bottom-width:2px;border-bottom-right-radius:5px}
.pp-node{display:block;width:100%;border:1px solid #cad9cd;background:white;border-radius:9px;box-shadow:0 2px 4px #173d3209;overflow:hidden;text-align:left;font:inherit;color:#264335;padding:0}
.pp-node-open{border-color:#6c9c78;cursor:pointer}.pp-node-open:hover{outline:1px solid #689870}
.pp-node-label{display:flex;justify-content:space-between;gap:5px;align-items:center;background:#edf3eb;color:#47624f;padding:4px 8px;font-size:.66rem;font-weight:700;font-variant-numeric:tabular-nums}
.pp-node-label small{color:#46664a;font-weight:550;font-size:.64rem}.pp-node-open .pp-node-label small{color:#185b37}
.pp-side{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:5px 8px;font-size:.82rem;line-height:1.16;min-height:27px;font-weight:620}
.pp-side>span{min-width:0;overflow-wrap:anywhere}.pp-side+.pp-side{border-top:1px solid #e0e9df}.pp-side-pending{font-weight:450;color:#526456}.pp-side-won,.pp-node-done .pp-side-won{background:#e6f4dc;color:#22532f}
.pp-standing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(265px,100%),1fr));gap:20px}
.pp-view .pp-tableblock h3{font-size:.87rem;padding-bottom:7px;color:#3f644d}
.pp-group-filter{display:flex;align-items:center;gap:8px;font-size:.85rem;font-weight:600}.pp-group-filter select{width:64px}
.pp-group-round h3{background:#eff4ed;color:#375944;padding:7px 10px;border-radius:7px;font-size:.84rem}
.pp-schedule-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 2px;border-bottom:1px solid #e3ece3}
.pp-schedule-row:last-child{border-bottom:0}.pp-schedule-row>span:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 8px;overflow-wrap:anywhere}.pp-schedule-row b{font-size:.87rem;font-weight:620}.pp-schedule-row i,.pp-duel i{font-style:normal;color:#5c7064;font-size:.78rem}
.pp-schedule-row .sx-btn{white-space:nowrap;font-size:.79rem;padding:6px 10px}.pp-match-result{text-align:right;max-width:46%}
.pp-matrix-scroll{max-width:100%;overflow:auto}.pp-matrix table{border-collapse:separate;border-spacing:2px;width:100%;text-align:center;color:var(--pp-deep);font-size:.85rem}
.pp-matrix thead th{font-size:.8rem;color:#53695b}.pp-matrix tbody th,.pp-matrix thead th:first-child{text-align:left}.pp-matrix tbody th{width:44%;overflow-wrap:anywhere;font-weight:600}
.pp-matrix tbody th small{color:#526d59;margin-right:4px}.pp-matrix td{height:44px;min-width:36px;background:#f2f6f0;border-radius:6px}
.pp-matrix td button,.pp-matrix td>span:not(.pp-self span){display:grid;place-items:center;height:100%;width:100%}
.pp-matrix td button{height:44px;min-width:36px;color:#215c3c;background:#eef6e9;border:1px solid #bcd7bb;border-radius:6px;font:inherit;font-weight:700;cursor:pointer}
.pp-matrix td.pp-self{color:#9aaca0;background:transparent}.pp-cell-win{background:#dcefcf;color:#235a32;border-radius:6px;font-weight:750}.pp-cell-loss{color:#57685c}.pp-key{line-height:1.45}
.pp-duel{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;text-align:center;background:var(--pp-cream);border-radius:12px;padding:22px 10px}
.pp-duel b{overflow-wrap:anywhere}
@media(max-width:800px){.pp-shortcuts{grid-template-columns:1fr}.pp-shortcuts a{padding:11px 14px}.pp-shortcuts small{margin-top:1px}}
@media(max-width:540px){.pp-hero{min-height:131px;padding:18px}.pp-hero p{font-size:.8rem}.pp-court-art{width:32%}.pp-racket{scale:.73}.pp-ball{height:11px;width:11px;right:14%}.pp-tree{--card:184px;--gap:22px;--slot:120px}.pp-tree-grid{padding-left:9px;padding-right:9px}.pp-schedule-row>span:first-child{display:grid;gap:1px}.pp-view .pp-matrix{padding-inline:11px}.pp-matrix tbody th{font-size:.75rem}.pp-section-head>span{font-size:.75rem}.pp-tree-scroll{max-height:65vh}.pp-duel{gap:6px}}
@media(prefers-reduced-motion:reduce){.pp-view *{scroll-behavior:auto!important}}
