/* Shared, scoped player pass. No private progress or invented chart values. */
#modal.player-pass-dialog,#profile-modal.player-pass-dialog{width:min(660px,calc(100vw - 24px));max-height:92vh;max-height:92dvh;padding:0;background:#0a1424;border:1px solid #435670;border-radius:18px;overflow:auto;overscroll-behavior:contain}
.player-pass-dialog>.modal-close{display:none}.pp-player-pass{color:#e9f1ff;font-size:13px;line-height:1.5;min-width:0;isolation:isolate}.pp-player-pass h2,.pp-player-pass h3,.pp-player-pass h4,.pp-player-pass p{margin:0}.pp-player-pass button,.pp-player-pass select{font:inherit}.pp-player-pass button:focus-visible,.pp-player-pass select:focus-visible,.pp-player-pass summary:focus-visible{outline:2px solid #8ad1ed;outline-offset:3px}.pp-player-pass button svg{width:15px;height:15px;flex-shrink:0}.pp-player-pass small{color:#97adc9}
.pp-topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 17px;position:sticky;top:0;z-index:10;background:#142238f5;border-bottom:1px solid #4e5b7344;backdrop-filter:blur(8px)}.pp-topbar>span{font-size:9px;font-weight:600;letter-spacing:1.7px;color:#b6c8e1}.pp-topbar .pp-close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;padding:0;border:1px solid #596f8a55;border-radius:50%;font-size:25px;font-weight:400;background:#24364a3a;color:#b3cbe4;line-height:1}.pp-topbar .pp-close:hover{background:#36506b}
.pp-hero{display:block;position:relative;margin:0;padding:28px 24px 0;overflow:hidden;background:linear-gradient(115deg,#20334f,#16243a 75%);border-bottom:1px solid #53627966}.pp-board{position:absolute;width:270px;height:270px;right:-120px;top:4px;opacity:.12;pointer-events:none}.pp-board circle,.pp-board path{fill:none;stroke:#b4c9e5;stroke-width:1}.pp-avatar{padding-top:23px;margin-bottom:16px;position:relative}.pp-avatar .dart-avatar{width:72px;height:72px;font-size:25px;background:linear-gradient(135deg,#385673,#172d47)}.pp-avatar .dart-avatar>img{max-width:none}.pp-rank{position:absolute;right:26px;top:26px;text-align:right;color:#d1b881}.pp-rank span{font-size:8px;letter-spacing:1.4px}.pp-rank b{display:block;line-height:1.2;font-size:43px;font-weight:400;color:#f0dca8}.pp-hero h2,#profile-modal .pp-hero h2{font-size:29px;letter-spacing:-.7px;line-height:1.2;position:relative;overflow-wrap:anywhere;margin:0 0 8px;padding:0;color:#f0f5ff}.pp-hero>p{font-size:12px;color:#b2c4dc;position:relative;overflow-wrap:anywhere}.pp-hero .pp-members{font-size:11px;color:#91a6c3;margin-top:5px}.pp-hero-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:23px;padding:15px 0 19px;border-top:1px solid #c7aa6f30;position:relative}.pp-hero-numbers>div{min-width:0}.pp-hero-numbers>div+div{border-left:1px solid #c7aa6f30;padding-left:13px}.pp-hero-numbers b{display:block;font-size:23px;font-weight:600;color:#ecdbb4;line-height:1.2}.pp-hero-numbers small{font-size:10px;display:block;margin-top:3px;overflow-wrap:anywhere}
.pp-body{padding:0 20px 23px}.pp-card-heading,.pp-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.pp-card-heading h3,.pp-section-heading h3{font-size:13px;font-weight:600;letter-spacing:-.15px}.pp-card-heading>small,.pp-section-heading>small{font-size:10px;text-align:right;overflow-wrap:anywhere;max-width:55%}.pp-section-heading{margin:23px 0 16px}.pp-section-heading h3{font-size:18px;letter-spacing:-.3px}
.pp-trophy{border:1px solid #89734f77;border-radius:13px;padding:15px 12px 16px;background:radial-gradient(ellipse at 50% 0,#27384c,#132139 80%);position:relative}.pp-trophy::before{content:'';position:absolute;top:-1px;left:20px;right:20px;height:1px;background:linear-gradient(90deg,transparent,#c9af77,transparent)}.pp-trophy .pp-card-heading{margin-bottom:3px}.pp-trophy h3{color:#ecd6a5}.pp-trophy h3 small{color:#c9b184;font-size:9px;font-weight:400;margin-left:5px;border:1px solid #8d794b6b;padding:2px 5px;border-radius:12px}.pp-trophy [data-pass-gallery]{display:flex;align-items:center;gap:5px;font-size:10px;padding:7px 4px;min-height:44px;background:none;border:0;color:#d2bd8d;text-align:right;flex-shrink:0}.pp-award-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.pp-award-grid .pp-badge{background:none;border:0;min-width:0;padding:0;display:flex;align-items:center;flex-direction:column;text-align:center;color:#e2eaf5;border-radius:8px}.pp-badge:hover{background:#4f67801c}.pp-badge>.award-art{height:102px;width:100%;min-width:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.pp-badge .award-art .badge{transform:scale(.52)}.pp-badge>b{font-size:11px;font-weight:600;overflow-wrap:anywhere;line-height:1.4;max-width:100%;margin-top:4px}.pp-badge>.pp-tier{font-size:10px;color:#c1a078;margin-top:4px}.pp-tier.pp-tier-2{color:#b7cbdc}.pp-tier.pp-tier-3{color:#e7ce86}.pp-award-grid.pp-expanded{row-gap:17px;margin-top:8px}.pp-no-badges{grid-column:1/-1;text-align:center;padding:20px 8px 12px;color:#a4b8d0;font-size:12px}.pp-badge-detail{border-top:1px solid #5e5c5566;margin-top:15px;padding:16px 40px 0 0;position:relative}.pp-badge-detail h4{font-size:12px;color:#dac89e;margin-bottom:6px}.pp-badge-detail p{color:#aac1da;font-size:11px;line-height:1.6}.pp-badge-detail button{position:absolute;right:0;top:8px;width:36px;height:44px;padding:0;border:0;background:transparent;color:#c1d4ea;font-size:22px}
.pp-rings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:13px}.pp-ring-card,.pp-quotient{min-width:0;border:1px solid #6b634966;border-radius:12px;background:radial-gradient(ellipse at 50% 45%,#29364a,#142239 80%);padding:14px 5px 16px;text-align:center}.pp-ring-card h3{font-size:11px;font-weight:400;color:#c7d2e3;margin-bottom:8px}.pp-ring-card h3 i{display:inline-block;background:#e7cf96;width:4px;height:4px;border-radius:50%;margin:0 5px 2px 0}.pp-ring{width:118px;height:118px;position:relative;margin:auto}.pp-ring svg{width:100%;height:100%}.pp-ring circle{fill:none}.pp-ring-halo{stroke:#dac28d40;stroke-width:.7;stroke-dasharray:1 5}.pp-ring-track{stroke:#344559;stroke-width:7}.pp-ring-value{stroke:#e6ce94;stroke-width:7;stroke-linecap:round}.pp-ring-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.pp-ring-text b{font-size:26px;font-weight:600;letter-spacing:-.8px;line-height:1.1;color:#eddbb3}.pp-ring-text b small{font-size:12px;color:inherit;font-weight:400;margin-left:1px}.pp-ring-text>span{font-size:8px;color:#9fadc0;letter-spacing:.7px;margin-top:7px}.pp-ring-card p{font-size:10px;color:#a6b8cf;margin-top:8px;overflow-wrap:anywhere}.pp-cyan.pp-ring-card{background:radial-gradient(ellipse at 50% 45%,#203c4a,#142239 80%);border-color:#48708566}.pp-cyan .pp-ring-value{stroke:#78d0df}.pp-cyan .pp-ring-halo{stroke:#78d0df40}.pp-cyan .pp-ring-text b{color:#afe4ec}.pp-cyan h3 i{background:#78d0df}
.pp-scoring,.pp-balance{border:1px solid #3a4d68;border-radius:12px;background:linear-gradient(125deg,#1a2b42,#142137);padding:16px;margin-bottom:13px}.pp-score-row>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;gap:12px}.pp-score-row span{font-size:12px;color:#c4d1e4}.pp-score-row b{font-size:21px;letter-spacing:-.4px;font-weight:600;color:#ead5a6;line-height:1.2}.pp-score-track{height:8px;border-radius:5px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(33.333% - 1px),#7b8fa72c calc(33.333% - 1px),#7b8fa72c 33.333%),#09162a;position:relative}.pp-score-track i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#a58a53,#e8d2a0);position:relative}.pp-score-track i:not(.pp-missing)::after{content:'';position:absolute;width:6px;height:6px;right:-3px;top:50%;transform:translateY(-50%);border-radius:50%;background:#f1dba9;border:1px solid #f7e7c4;box-shadow:0 0 6px #dfc38333}.pp-score-row>small{display:block;font-size:9px;color:#8da4c0;margin-top:7px}.pp-score-row+.pp-score-row{margin-top:17px}.pp-score-row.pp-cyan b{color:#a2dfeb}.pp-score-row.pp-cyan .pp-score-track i{background:linear-gradient(90deg,#3e7395,#85d6e2)}.pp-score-row.pp-cyan .pp-score-track i::after{background:#a2e4ec;border-color:#d5f7ff}.pp-score-scale{display:flex;justify-content:space-between;color:#8ca2bc;font-size:9px;margin-top:10px}.pp-balance{margin-bottom:20px}.pp-balance-track{display:flex;gap:3px;height:8px;overflow:hidden;border-radius:5px;background:#0b192c;margin-bottom:13px}.pp-balance-track i{display:block;height:100%;min-width:0}.pp-result-0{background:#8bd0b1}.pp-result-1{background:#8b9bb9}.pp-result-2{background:#bc8097}.pp-balance-legend{display:flex;justify-content:space-between;gap:7px}.pp-balance-legend>span{display:flex;align-items:center;gap:4px;color:#adc0d8;font-size:10px;min-width:0}.pp-balance-legend i{width:4px;height:4px;flex-shrink:0;border-radius:50%}.pp-balance-legend b{font-size:12px;font-weight:600;color:#d7e4f5}.pp-quotient{display:flex;flex-direction:column;align-items:center;justify-content:center}.pp-quotient h3{font-size:12px;color:#c7d2e3}.pp-quotient b{font-size:32px;color:#b0dce8;line-height:1.3;margin:12px 0}.pp-quotient p{font-size:10px;color:#a6b8cf}
.pp-details{border-top:1px solid #354b66;margin-top:3px;padding-top:10px}.pp-details summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;color:#dac292;font-size:12px;padding:9px 0;list-style:none;min-height:44px}.pp-details summary::-webkit-details-marker{display:none}.pp-details summary>span{font-size:20px}.pp-details[open] summary>span{transform:rotate(45deg)}.pp-stat-list{margin:15px 0}.pp-stat-list>div{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #3a526c55}.pp-stat-list dt{font-size:12px;color:#a8bfd8;min-width:0}.pp-stat-list dd{margin:0;font-size:13px;font-weight:600;white-space:nowrap;color:#e1ecfa;flex-shrink:0}.pp-details h4{margin-top:21px;font-size:13px;color:#c8d9ed}.pp-player-pass .pp-note{font-size:10px;line-height:1.65;color:#8aa2bd;margin-top:14px}
@media(min-width:600px){.pp-hero{padding-left:29px;padding-right:29px}.pp-body{padding-left:28px;padding-right:28px}.pp-ring{width:142px;height:142px}.pp-ring-text b{font-size:31px}.pp-ring-card h3{font-size:12px}.pp-ring-card p{font-size:11px}.pp-badge>.award-art{height:131px}.pp-badge .award-art .badge{transform:scale(.68)}.pp-badge>b{font-size:12px}.pp-stat-list dt{font-size:13px}}
@media(max-width:370px){.pp-body{padding-left:14px;padding-right:14px}.pp-hero{padding-left:20px;padding-right:20px}.pp-hero h2,#profile-modal .pp-hero h2{font-size:26px}.pp-rings{gap:8px}.pp-ring{width:105px;height:105px}.pp-ring-text b{font-size:24px}.pp-ring-text>span{font-size:7px}.pp-ring-card p{font-size:9px}.pp-badge>.award-art{height:83px}.pp-badge .award-art .badge{transform:scale(.43)}.pp-badge>b{font-size:10px}.pp-badge>.pp-tier{font-size:9px}.pp-trophy{padding-left:8px;padding-right:8px}.pp-card-heading{gap:7px}.pp-trophy .pp-card-heading h3{font-size:12px}.pp-balance-legend>span{font-size:8px}.pp-balance-legend b{font-size:11px}.pp-stat-list dt{font-size:11px}.pp-stat-list dd{font-size:12px}}
@media(prefers-reduced-motion:reduce){.pp-player-pass *{transition:none;scroll-behavior:auto}}

.pp-player-pass .pp-badge-scope{font-size:9px;color:#91a8c2;text-align:center;margin-top:12px}

/* The same initialized pass works in dialogs and the personal statistics page. */
.pp-player-pass{touch-action:pan-y}
.pp-embedded{border:1px solid #435670;border-radius:16px;overflow:hidden;background:#0a1424}
.pp-value-navigation{display:flex;align-items:center;gap:10px;margin:18px 0 10px;min-width:0}
.pp-value-navigation>button{width:44px;flex:none;padding:0;font-size:25px}
.pp-value-navigation>div{flex:1;min-width:0;text-align:center}
.pp-value-navigation span{display:block;font-size:12px;color:#d4e2f3;overflow-wrap:anywhere}
.pp-value-navigation small{display:block;margin-top:5px;font-size:10px}
.pp-value-navigation:focus-visible{outline:2px solid #8ad1ed;outline-offset:4px;border-radius:9px}
.pp-overview-button,.pp-share{display:block;width:100%;margin:0 0 18px;font-size:12px;padding:9px}
.pp-scope-overview{border:1px solid #435670;border-radius:12px;padding:12px;margin-bottom:20px}
.pp-scope-overview[hidden]{display:none}
.pp-scope-overview h4{margin:8px 0;color:#9fb6d2;font-size:11px}
.pp-scope-overview button{width:100%;margin:3px 0;padding:9px;text-align:left;overflow-wrap:anywhere;min-width:0}
.pp-scope-overview button[aria-current=true]{border-color:#d2b980;color:#efd7a2;background:#24364a}
.pp-section-heading{flex-wrap:wrap;align-items:flex-start}
.pp-section-heading h3{flex:1 1 190px;min-width:0;overflow-wrap:anywhere}
.pp-section-heading>small{max-width:100%;overflow-wrap:normal;flex:0 1 auto}
.pp-card-heading{flex-wrap:wrap}
.pp-card-heading h3{min-width:0;overflow-wrap:anywhere}
.pp-award-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,90px),1fr))}
.pp-hero-numbers b{overflow-wrap:anywhere}
.pp-ring{width:min(118px,100%);height:auto;aspect-ratio:1;container-type:inline-size}
.pp-ring svg{display:block;width:100%;height:auto}
.pp-ring-text b{font-size:clamp(16px,17cqw,24px);white-space:nowrap;font-variant-numeric:tabular-nums}
.pp-ring-text b small{font-size:.45em;margin-left:2px}
.pp-score-track i,.pp-balance-track i{width:0}
.pp-balance-track{gap:0}
@media(min-width:600px){.pp-ring{width:min(142px,100%);height:auto}.pp-award-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,114px),1fr))}}
@media(max-width:370px){.pp-ring{width:min(105px,100%);height:auto}.pp-section-heading>small{font-size:11px}}
