/* PesLig Player Detail V8 — all selectors scoped, does not change card search or hub. */
body.pl8-present{--pl8-bg:#080d1e;--pl8-line:rgba(118,148,227,.26);--pl8-fg:#f5f7ff;--pl8-muted:#b0bdd8;--pl8-pink:#ff5bd6;--pl8-blue:#5467fa;--pl8-gold:#ffd36e;background:#080d1a;color:#e8f0ff}
body.pl8-present .pml-shell{max-width:1360px;width:min(96%,1360px);margin-inline:auto}
body.pl8-present .pl8-app{isolation:isolate;color:var(--pl8-fg);font-family:inherit;margin:14px auto 28px;min-width:0}
body.pl8-present .pl8-app *{box-sizing:border-box}
body.pl8-present .pl8-app a{color:inherit;text-decoration:none}
body.pl8-present .pl8-app button{font-family:inherit}
body.pl8-present .pl8-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:6px 0 14px;color:#aab9e1;font-weight:800;font-size:12px}
body.pl8-present .pl8-toolbar-label{letter-spacing:.16em;text-transform:uppercase;font-size:10px;white-space:nowrap}
body.pl8-present .pl8-toolbar-label span{color:#52628e;margin:0 7px}
body.pl8-present .pl8-back,body.pl8-present .pl8-secondary-action{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(132,157,226,.25);border-radius:12px;padding:10px 13px;background:rgba(20,29,57,.95);transition:background .2s,border-color .2s}
body.pl8-present .pl8-back:hover,body.pl8-present .pl8-secondary-action:hover{background:#263665;border-color:#8096e8}
body.pl8-present .pl8-hero{position:relative;display:grid;grid-template-columns:minmax(188px,245px) minmax(0,1fr) minmax(210px,270px);align-items:center;gap:clamp(17px,2.6vw,44px);padding:clamp(18px,3vw,40px);min-height:362px;border:1px solid rgba(104,129,244,.47);border-radius:25px;overflow:hidden;background:radial-gradient(ellipse 50% 80% at 17% 16%,rgba(38,57,153,.34),transparent 90%),radial-gradient(ellipse at 92% 78%,rgba(125,39,175,.18),transparent 65%),linear-gradient(123deg,#0c152d 0%,#0b1329 58%,#11132b 100%);box-shadow:0 22px 65px rgba(1,3,16,.33)}
body.pl8-present .pl8-hero:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;background:linear-gradient(125deg,transparent 25%,rgba(41,81,241,.5) 25.2%,transparent 25.5%,transparent 62%,rgba(85,103,250,.6) 62.1%,transparent 62.4%),linear-gradient(0deg,transparent calc(100% - 2px),rgba(87,109,252,.7) 100%);background-size:100% 100%,100% 76px}
body.pl8-present .pl8-card-wrap,body.pl8-present .pl8-identity,body.pl8-present .pl8-analysis{position:relative;z-index:1;min-width:0}
body.pl8-present .pl8-card-wrap{display:flex;flex-direction:column;align-items:center;gap:9px}
body.pl8-present .pl8-card-halo{position:absolute;top:30px;left:8%;width:84%;height:74%;filter:blur(34px);background:rgba(91,77,255,.25);pointer-events:none}
body.pl8-present .pl8-card-frame{position:relative;width:min(100%,220px);aspect-ratio:210/287;border-radius:15px;border:1px solid rgba(254,213,119,.5);padding:5px;background:linear-gradient(130deg,rgba(208,145,84,.7),rgba(86,83,245,.5),rgba(92,41,114,.7));box-shadow:0 18px 34px rgba(0,0,0,.4)}
body.pl8-present .pl8-card-frame:after{content:"";position:absolute;inset:5px;border:1px solid rgba(255,255,255,.18);pointer-events:none;border-radius:9px}
body.pl8-present .pl8-card-frame img{width:100%;height:100%;object-fit:contain;display:block;border-radius:10px;background:linear-gradient(140deg,#152654,#34133e)}
body.pl8-present .pl8-card-family{font-size:10px;font-weight:900;letter-spacing:.13em;color:#eacfa4;text-transform:uppercase}
body.pl8-present .pl8-kicker{font-size:10px;letter-spacing:.17em;font-weight:1000;color:#a8b8ff;text-transform:uppercase}
body.pl8-present .pl8-kicker i{color:var(--pl8-pink)}
body.pl8-present .pl8-kicker span{margin:0 5px;color:#7085a9}
body.pl8-present .pl8-identity h1{font-size:clamp(27px,3.4vw,48px);line-height:1.08;letter-spacing:-.035em;overflow-wrap:anywhere;margin:12px 0 8px;color:#fff;font-weight:1000;text-shadow:0 2px 25px rgba(73,107,255,.25)}
body.pl8-present .pl8-position-subtitle{font-size:13px;color:#c7d3f4;font-weight:700}
body.pl8-present .pl8-position-subtitle span{color:var(--pl8-pink);margin:0 5px}
body.pl8-present .pl8-hero-metrics{display:flex;gap:20px;align-items:center;margin:19px 0 20px}
body.pl8-present .pl8-hero-metrics>div{min-width:59px;display:flex;flex-direction:column;gap:2px;align-items:flex-start;padding-right:15px;border-right:1px solid rgba(139,166,249,.28)}
body.pl8-present .pl8-hero-metrics>div:last-child{border-right:0}
body.pl8-present .pl8-hero-metrics strong{font-weight:1000;font-size:27px;line-height:1;color:#fff}
body.pl8-present .pl8-overall strong{font-size:47px;color:#fff}
body.pl8-present .pl8-form-grade strong{color:#a7e676}
body.pl8-present .pl8-form-grade strong.pl8-grade-c,body.pl8-present .pl8-form-grade strong.pl8-grade-d{color:#ffde8b}
body.pl8-present .pl8-form-grade strong.pl8-grade-e{color:#ff929b}
body.pl8-present .pl8-hero-metrics span{font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#b5c4e0}
body.pl8-present .pl8-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:12px 0 15px;border-top:1px solid rgba(134,156,255,.29);padding-top:13px}
body.pl8-present .pl8-facts>div{border-right:1px solid rgba(128,143,206,.35);padding:0 8px;min-width:0}
body.pl8-present .pl8-facts>div:first-child{padding-left:0}
body.pl8-present .pl8-facts>div:last-child{border-right:0}
body.pl8-present .pl8-facts small{display:block;color:#aebcdb;font-size:10px;font-weight:850;margin-bottom:4px}
body.pl8-present .pl8-facts strong{font-size:16px;color:#f7f9ff;word-break:break-word}
body.pl8-present .pl8-facts em{font-size:11px;font-style:normal;color:#b1c0e8}
body.pl8-present .pl8-world{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
body.pl8-present .pl8-world>a,body.pl8-present .pl8-world>span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;color:#dae4ff;background:rgba(110,134,216,.12);border:1px solid rgba(124,148,229,.19)}
body.pl8-present .pl8-world i{color:#fac9eb}
body.pl8-present .pl8-analysis{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;border-left:1px solid rgba(133,154,218,.23);padding-left:12px}
body.pl8-present .pl8-analysis-top{width:100%;display:flex;justify-content:space-between;align-items:center;color:#c6bafc;font-size:10px;font-weight:950;letter-spacing:.14em}
body.pl8-present .pl8-radar{width:min(100%,218px);height:auto;overflow:visible;margin:3px auto 0}
body.pl8-present .pl8-ring{fill:none;stroke:rgba(197,208,255,.32);stroke-width:1}
body.pl8-present .pl8-axis{stroke:rgba(197,208,255,.24);stroke-width:1}
body.pl8-present .pl8-radar-fill{fill:rgba(244,93,210,.21);stroke:#ff5bdb;stroke-width:2.9;stroke-linejoin:round}
body.pl8-present .pl8-radar-text{font-size:8px;fill:#f0eaff;font-weight:850;letter-spacing:.02em}
body.pl8-present .pl8-pitch-label{width:100%;font-size:9px;font-weight:850;letter-spacing:.15em;text-align:center;margin:0 0 7px;color:#b6c1eb}
body.pl8-present .pl8-pitch{position:relative;width:108px;height:92px;background:repeating-linear-gradient(90deg,#104940 0,#104940 28px,#165b48 28px,#165b48 56px);border:2px solid #8cdbb1;border-radius:4px;overflow:hidden}
body.pl8-present .pl8-pitch:after{content:"";position:absolute;inset:8px;border:1px solid rgba(255,255,255,.45);pointer-events:none}
body.pl8-present .pl8-pitch-mid{position:absolute;top:50%;width:100%;border-top:1px solid rgba(255,255,255,.7);z-index:1}
body.pl8-present .pl8-pitch-circle{position:absolute;top:calc(50% - 13px);left:calc(50% - 13px);width:26px;height:26px;border:1px solid rgba(255,255,255,.7);border-radius:50%;z-index:1}
body.pl8-present .pl8-pitch-box{position:absolute;left:calc(50% - 24px);width:48px;height:14px;border:1px solid rgba(255,255,255,.65);z-index:1}
body.pl8-present .pl8-pitch-top{top:0;border-top:0}body.pl8-present .pl8-pitch-bottom{bottom:0;border-bottom:0}
body.pl8-present .pl8-pitch-marker{position:absolute;left:var(--pos-x);top:var(--pos-y);transform:translate(-50%,-50%);background:#eafffa;border:2px solid #70eac8;color:#09372b;font-size:8px;font-weight:950;min-width:21px;height:20px;display:grid;place-items:center;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.35);z-index:3}
body.pl8-present .pl8-tab-scroll{position:sticky;top:0;z-index:30;background:#0b1123;padding:10px 0 0;margin-top:10px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #2b3860}
body.pl8-present .pl8-tabs{display:flex;gap:8px;align-items:center;min-width:max-content}
body.pl8-present .pl8-tabs button,body.pl8-present .pl8-tab-link{display:inline-flex;align-items:center;gap:8px;justify-content:center;padding:13px 17px;color:#b4c5ed;font-size:12px;font-weight:900;background:none;border:0;border-bottom:3px solid transparent;border-radius:10px 10px 0 0;cursor:pointer;white-space:nowrap;transition:.17s}
body.pl8-present .pl8-tabs button[aria-selected="true"]{color:#fff;background:rgba(99,114,237,.15);border-bottom-color:#fa66df}
body.pl8-present .pl8-tabs button:hover,body.pl8-present .pl8-tab-link:hover{color:#fff;background:rgba(99,114,237,.17)}
body.pl8-present .pl8-tabs button:focus-visible,body.pl8-present .pl8-tab-link:focus-visible{outline:2px solid #f5b9eb;outline-offset:-4px}
body.pl8-present .pl8-panel{min-height:340px;margin-top:13px;background:linear-gradient(135deg,#111a32,#0d1428 75%);border:1px solid var(--pl8-line);border-radius:21px;padding:clamp(15px,2.6vw,28px);color:#e8eeff}
body.pl8-present .pl8-panel[hidden]{display:none!important}
body.pl8-present .pl8-section-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:18px}
body.pl8-present .pl8-section-heading span{font-size:10px;font-weight:950;color:#ff66d6;letter-spacing:.13em}
body.pl8-present .pl8-section-heading h2{margin:4px 0 0;font-weight:1000;letter-spacing:-.025em;font-size:clamp(20px,2.3vw,29px);color:#fefeff}
body.pl8-present .pl8-grade-legend{color:#bcc6e6;font-size:11px;font-weight:800;white-space:nowrap}
body.pl8-present .pl8-grade-legend i{display:inline-block;width:7px;height:7px;background:#73e8a3;border-radius:2px;margin:0 4px 0 10px}
body.pl8-present .pl8-grade-legend i:nth-of-type(2){background:#fce58c}body.pl8-present .pl8-grade-legend i:nth-of-type(3){background:#c3d1ff}
body.pl8-present .pl8-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.pl8-present .pl8-stat-group{min-width:0;border:1px solid rgba(150,169,248,.23);background:rgba(14,22,44,.87);border-radius:15px;overflow:hidden}
body.pl8-present .pl8-stat-group h3{font-weight:1000;font-size:12px;color:#ff72db;letter-spacing:.02em;margin:0;padding:14px 15px 12px;border-bottom:1px solid rgba(164,183,248,.35)}
body.pl8-present .pl8-stat-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:7px;align-items:center;min-height:35px;padding:4px 12px;border-bottom:1px solid rgba(150,169,236,.21);font-size:11px;font-weight:800;color:#e6eaff}
body.pl8-present .pl8-stat-row:last-child{border-bottom:0}
body.pl8-present .pl8-stat-row span{min-width:0;overflow-wrap:break-word}
body.pl8-present .pl8-stat-row .build-delta{display:block;font-size:9px;color:#56dda5}
body.pl8-present .pl8-stat-row b{text-align:right;font-size:16px;font-weight:1000;color:#9fb5ff}
body.pl8-present .pl8-stat-row b.pl8-val-high{color:#77efab}body.pl8-present .pl8-stat-row b.pl8-val-good{color:#e8eaa9}body.pl8-present .pl8-stat-row b.pl8-val-normal{color:#f6d98a}body.pl8-present .pl8-stat-row b.pl8-val-low{color:#ff837f}
body.pl8-present .pl8-trait{min-height:66px;border-bottom:1px solid rgba(151,169,236,.22);padding:10px 14px;display:flex;flex-direction:column;gap:4px}
body.pl8-present .pl8-trait:last-child{border:0}
body.pl8-present .pl8-trait small{font-size:10px;color:#aebbe1;font-weight:800}
body.pl8-present .pl8-trait b{font-size:13px;color:#fff;overflow-wrap:anywhere}
body.pl8-present .pl8-skill-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
body.pl8-present .pl8-skill-col{border:1px solid rgba(139,165,246,.25);border-radius:16px;background:rgba(11,19,39,.75);padding:16px}
body.pl8-present .pl8-skill-col h3{color:#ff76e0;font-size:14px;margin:0 0 14px}body.pl8-present .pl8-skill-col h3 em{float:right;font-size:11px;color:#93aaff;font-style:normal}
body.pl8-present .pl8-skill-items{display:grid;gap:3px}
body.pl8-present .pl8-skill-items span{display:flex;align-items:center;gap:10px;border-bottom:1px solid rgba(123,143,202,.2);min-height:36px;padding:8px 3px;color:#edf2ff;font-size:13px;font-weight:750}
body.pl8-present .pl8-skill-items i{width:15px;color:#76d8f0;font-size:10px}
body.pl8-present .pl8-empty{font-size:13px;color:#b3c0df}
body.pl8-present .pl8-boost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.pl8-present .pl8-boost{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;min-height:180px;padding:18px;border-radius:15px;border:1px solid rgba(159,150,247,.36);background:linear-gradient(140deg,#2a2f62,#292b51)}
body.pl8-present .pl8-boost-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:#7f75e3;color:#fff;font-size:20px}
body.pl8-present .pl8-boost small{color:#b1b6f5;font-size:10px;font-weight:900;letter-spacing:.14em}
body.pl8-present .pl8-boost h3{font-weight:950;font-size:18px;color:#fff;margin:6px 0 10px}
body.pl8-present .pl8-boost p{font-size:12px;line-height:1.65;color:#e2e3ff;margin:6px 0;overflow-wrap:anywhere}
body.pl8-present .pl8-effect{color:#7ce9d6;font-size:14px}
body.pl8-present .pl8-dev-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.pl8-present .pl8-dev-facts>div{border:1px solid rgba(147,159,240,.3);border-radius:14px;background:#192140;padding:18px;display:flex;flex-direction:column;gap:8px}
body.pl8-present .pl8-dev-facts span{color:#abb9df;font-size:12px;font-weight:800}
body.pl8-present .pl8-dev-facts b{color:#fff;font-size:25px}
body.pl8-present .pl8-builder{margin-top:14px;border:1px solid #5363a5;border-radius:13px;overflow:hidden;background:#121d3a;color:#f2f5ff}
body.pl8-present .pl8-builder>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:17px;font-size:13px;font-weight:900;color:#eaf0ff}
body.pl8-present .pl8-builder>summary span{display:flex;gap:10px;align-items:center}
body.pl8-present .pl8-builder-content{background:#f2f6f8;color:#1a2637;padding:10px;border-radius:0 0 12px 12px;overflow-x:auto}
body.pl8-present .pl8-builder[open]>summary{background:#243259}
/* Existing community and related player modules retained and visually integrated */
body.pl8-present .community-detail,body.pl8-present .versions-panel,body.pl8-present .similar-panel{margin-top:16px;border-radius:18px;overflow:hidden}
body.pl8-present .community-detail,body.pl8-present .versions-panel,body.pl8-present .similar-panel{scroll-margin-top:76px}
body.pl8-present .community-detail .community-box{min-width:0}
body.pl8-present .versions-panel,body.pl8-present .similar-panel{background:#141d36;border:1px solid rgba(149,172,249,.25);color:#eaf1ff}
body.pl8-present .versions-panel h2,body.pl8-present .similar-panel h2{color:#fff}
body.pl8-present .versions-panel small,body.pl8-present .similar-panel small{color:#b5c1dc}
body.pl8-present .versions-panel .version-card,body.pl8-present .similar-panel .similar-card{color:#0f2031}
@media(max-width:1120px){body.pl8-present .pl8-hero{grid-template-columns:190px minmax(0,1fr) 210px;gap:16px;padding:22px}body.pl8-present .pl8-identity h1{font-size:32px}body.pl8-present .pl8-analysis{padding-left:8px}body.pl8-present .pl8-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){body.pl8-present .pml-shell{width:min(100% - 20px,700px)}body.pl8-present .pl8-toolbar-label{display:none}body.pl8-present .pl8-hero{grid-template-columns:118px minmax(0,1fr);align-items:start;gap:15px;padding:16px;border-radius:17px}body.pl8-present .pl8-card-frame{width:118px}body.pl8-present .pl8-card-wrap{grid-column:1;grid-row:1}body.pl8-present .pl8-identity{grid-column:2;grid-row:1}body.pl8-present .pl8-analysis{grid-column:1/-1;grid-row:2;display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;justify-content:space-around;align-items:center;border-left:0;border-top:1px solid rgba(133,154,218,.23);padding:12px 0 0}body.pl8-present .pl8-analysis-top{width:100%}body.pl8-present .pl8-radar{max-width:220px;width:190px}body.pl8-present .pl8-pitch-label{width:auto}body.pl8-present .pl8-identity h1{font-size:clamp(24px,5.5vw,35px);margin:7px 0}body.pl8-present .pl8-position-subtitle{font-size:11px}body.pl8-present .pl8-hero-metrics{gap:9px;margin:13px 0}body.pl8-present .pl8-hero-metrics>div{min-width:45px;padding-right:8px}body.pl8-present .pl8-hero-metrics strong{font-size:20px}body.pl8-present .pl8-overall strong{font-size:35px}body.pl8-present .pl8-facts{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:10px}body.pl8-present .pl8-facts>div:nth-child(2){border-right:0}body.pl8-present .pl8-facts strong{font-size:12px}body.pl8-present .pl8-world{gap:4px}body.pl8-present .pl8-world>a,body.pl8-present .pl8-world>span{font-size:10px;padding:5px 7px}body.pl8-present .pl8-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.pl8-present .pl8-tab-scroll{top:0}}
@media(max-width:500px){body.pl8-present .pl8-hero{grid-template-columns:98px minmax(0,1fr);gap:10px;padding:12px}body.pl8-present .pl8-card-frame{width:98px}body.pl8-present .pl8-kicker{font-size:8px}body.pl8-present .pl8-identity h1{font-size:clamp(20px,6vw,30px)}body.pl8-present .pl8-card-family{font-size:8px}body.pl8-present .pl8-hero-metrics strong{font-size:19px}body.pl8-present .pl8-overall strong{font-size:31px}body.pl8-present .pl8-hero-metrics span{font-size:8px}body.pl8-present .pl8-radar{width:160px}body.pl8-present .pl8-pitch{width:95px;height:88px}body.pl8-present .pl8-tab-scroll{margin-inline:-2px}body.pl8-present .pl8-tabs button,body.pl8-present .pl8-tab-link{padding:12px 14px;font-size:11px}body.pl8-present .pl8-panel{padding:12px;border-radius:14px}body.pl8-present .pl8-stat-grid,body.pl8-present .pl8-skill-grid,body.pl8-present .pl8-boost-grid{grid-template-columns:1fr}body.pl8-present .pl8-stat-row{font-size:12px}body.pl8-present .pl8-dev-facts{grid-template-columns:1fr 1fr}body.pl8-present .pl8-dev-facts>div{padding:11px}body.pl8-present .pl8-grade-legend{display:none}}
@media(prefers-reduced-motion:reduce){body.pl8-present .pl8-app *{transition:none!important;scroll-behavior:auto!important}}
