.v30{color:#edf1f7;max-width:1250px;margin:auto}.v30-head{background:linear-gradient(120deg,#1b222e,#121720);padding:28px;border-left:5px solid #d62e3d;border-radius:8px}.v30-kicker{color:#f25360;letter-spacing:2px;font-size:11px;font-weight:800}.v30-head h1{font-size:clamp(24px,4vw,40px);margin:8px 0}.v30-head h1 span{color:#ef3b4d}.v30-head p,.v30-panel p{color:#a8b3c2}.v30-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.v30-stats>div,.v30-panel{background:#161e2a;border:1px solid #2b3543;border-radius:8px;padding:17px}.v30-stats strong{display:block;font-size:28px}.v30-stats small{color:#94a1b0;font-size:11px}.v30-panel{margin:15px 0}.v30-panel h2{font-size:16px;letter-spacing:1px;margin:0 0 12px}.v30-toolbar,.v30-actions,.v30-edit{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.v30 input,.v30 select,.v30 textarea{background:#0b121b;border:1px solid #3a4656;color:#edf1f7;border-radius:5px;padding:10px;min-width:100px}.v30 textarea{width:100%;min-height:70px}.v30 button{background:#d52b40;color:white;border:0;border-radius:5px;padding:10px 14px;cursor:pointer;font-weight:700}.v30 button:hover{background:#f04254}.v30-table-wrap{overflow:auto;max-height:650px}.v30 table{border-collapse:collapse;width:100%;font-size:13px}.v30 th,.v30 td{padding:9px;border-bottom:1px solid #2b3543;text-align:left}.v30 th{color:#9da9b9;font-size:11px;position:sticky;top:0;background:#161e2a}.v30 td select{max-width:180px}.v30 td button{padding:7px}.v30-ok,.v30-error{padding:12px;margin:10px 0;border-left:3px solid #47bf88;background:#182b29}.v30-error{border-color:#ee5360;background:#301d25}@media(max-width:650px){.v30-stats{grid-template-columns:1fr}.v30-head{padding:16px}}

/* V31 player search and profile */
.v31-searchbox{position:relative;min-width:230px;flex:1}.v31-searchbox>input{width:100%;box-sizing:border-box}#v31-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:100;background:#171c27;border:1px solid #475064;border-radius:8px;max-height:420px;overflow:auto;box-shadow:0 16px 32px #0009}#v31-suggestions[hidden],.v31-overlay[hidden]{display:none!important}#v31-suggestions button{display:flex;align-items:center;gap:12px;width:100%;padding:9px 12px;background:transparent;color:#fff;border:0;border-bottom:1px solid #303747;text-align:left;cursor:pointer}#v31-suggestions button:hover,#v31-suggestions button:focus{background:#343d51}#v31-suggestions img{width:42px;height:42px;object-fit:cover;border-radius:50%;background:#303747}#v31-suggestions small{display:block;color:#b6becd;margin-top:4px}.v31-noresults{padding:14px;color:#b6becd}.v31-playerlink{background:none;border:0;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-align:left}.v31-playerlink:hover{text-decoration:underline;color:#f14d57}.v31-overlay{position:fixed;inset:0;z-index:9999;background:#000b;display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.v31-card{position:relative;width:min(760px,100%);max-height:90vh;overflow:auto;background:#161b25;color:#fff;border:1px solid #41495a;border-radius:14px;padding:24px;box-shadow:0 20px 70px #000b}.v31-close{position:absolute;right:15px;top:10px;background:none;color:white;border:0;font-size:32px;cursor:pointer}.v31-hero{display:flex;gap:20px;align-items:center;border-bottom:2px solid #d52c38;padding-bottom:20px}.v31-hero img{width:130px;height:130px;object-fit:contain;background:#293142;border-radius:12px}.v31-hero h2{margin:6px 0;font-size:28px}.v31-hero p{color:#c2cad6}.v31-hero strong{font-size:34px;color:#f64e5a}.v31-hero strong small{font-size:13px}.v31-kicker{color:#f64e5a;font-size:11px;letter-spacing:2px;font-weight:800}.v31-card h3{margin-top:24px}.v31-attributes{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px}.v31-attributes>div{background:#262e3d;border-radius:6px;padding:10px;display:flex;justify-content:space-between;gap:12px}.v31-attributes b{color:#f64e5a}.v31-history p{border-bottom:1px solid #343b49;padding:8px 0}.v31-note{font-size:12px;color:#aeb7c6;margin-top:20px}

/* V32 Player upgrades */
.v32-area{padding:15px 0;border-top:1px solid #36404c;margin-top:12px}.v32-upgrade-button{background:#c5212c;color:#fff;border:0;border-radius:5px;padding:10px 16px;cursor:pointer;font-weight:700}.v32-upgrade-button:disabled{opacity:.5}.v32-history,.v32-review{padding:8px;border-bottom:1px solid #353d49;font-size:13px}.v32-review button,#v32-review-list{margin:4px;padding:6px 10px;cursor:pointer}

/* League player workspace */
#shell .v30-head{background:#151a22;border:1px solid #303844;border-left:0;border-radius:12px}
#shell .v30-head h1{font-family:Inter,sans-serif;font-size:28px;text-transform:none;letter-spacing:-1px}
#shell .v30-head h1 span,#shell .v30-kicker,#shell .v31-kicker,#shell .v31-hero strong,#shell .v31-attributes b{color:#f4f6fa}
#shell .v30 button{background:#303b49;border:1px solid #465264;color:#f5f7fa}
#shell .v30 button:hover{background:#414f61}#shell .v30 button:disabled{opacity:.4;cursor:default}
.v30-tools{margin:16px 0;border:1px solid #333e4b;border-radius:8px;padding:14px}.v30-tools>summary{cursor:pointer;font-weight:600}
.v30-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.v30-pagination span{margin-right:auto;color:#b4c0cf;font-size:12px}
.v30-person{display:flex;align-items:center;gap:8px}.v30-avatar{width:42px;height:42px;object-fit:contain;border-radius:6px;background:#202835}.v30-person>a{font-size:10px;white-space:nowrap}.v30-photo-btn{font-size:10px!important;padding:5px!important}
.v31-age{font-size:13px}.v31-card{box-sizing:border-box}.v31-hero{border-bottom-color:#465264}.v31-attributes>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){.v30-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.v30-stats>div{padding:10px}.v30-stats strong{font-size:18px}.v30-stats small{font-size:8px}.v31-overlay{padding:10px}.v31-card{padding:16px}.v31-hero{gap:12px;align-items:flex-start}.v31-hero img{width:75px;height:90px}.v31-hero h2{font-size:22px}.v31-hero>div{min-width:0}.v30-edit>*{max-width:100%;box-sizing:border-box}.v30-toolbar>*{max-width:100%}.v30{min-width:0}.v30-panel{min-width:0}.v30-table-wrap{width:100%}}
