.player-page{width:min(100%,820px);margin:16px auto 72px}.player-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.player-toolbar button{min-height:44px}.player-toolbar #player-back{padding:11px 20px}.player-toolbar [hidden]{display:none}.player-hero{isolation:isolate;position:relative;display:flex;align-items:center;gap:26px;min-height:225px;padding:38px;border:1px solid #69408a;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 95% 0,#66328d88,transparent 65%),linear-gradient(130deg,#20142d,#100c1b)}.player-hero:after{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#bb86ef60 1px,transparent 1px);background-size:37px 37px;mask-image:linear-gradient(90deg,transparent,#000)}.player-hero>.profile-avatar{width:112px;height:112px;font-size:42px;box-shadow:0 0 0 7px #c795ef12,0 0 0 8px #ad7bd75c}.player-hero-copy{min-width:0;z-index:1}.player-eyebrow{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#b79aca}.player-hero h1{font-size:clamp(24px,3.4vw,34px);line-height:1.2;margin:10px 0 8px;overflow-wrap:anywhere;outline:0}.player-hero p{color:#cdb4e3;font-size:13px;margin:0 0 12px}.player-hero small{color:#a18eaf;font-size:12px}.player-hero-flask{font-size:150px;position:absolute;right:22px;bottom:-20px;opacity:.13;transform:rotate(-15deg);color:#d29cfa}.player-hero-orbit{position:absolute;width:310px;height:310px;border:1px solid #ba7ef52b;border-radius:50%;right:-70px;top:-75px;box-shadow:0 0 0 35px #ac70e309,0 0 0 70px #ac70e305;z-index:-1}.player-best,.player-stat-panel,#player-private{margin-top:18px;padding:24px;border:1px solid #493153;border-radius:17px;background:#150f1fe8}.player-best h2,.player-stat-panel h2{font-size:11px;text-transform:uppercase;letter-spacing:1.7px;color:#aa8fbf;margin:0 0 20px}.player-best>div{display:flex;align-items:center;gap:25px;min-height:125px}.player-best img{width:135px;height:135px;object-fit:contain;filter:drop-shadow(0 9px 20px #a763ed33)}.player-best h3{font-size:23px;margin:10px 0}.player-best strong{font-size:25px;color:#d3a4fa}.player-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.player-stat-grid article{padding:20px;border:1px solid #63447466;border-radius:12px;background:linear-gradient(135deg,#30203d77,#1c1428)}.player-stat-grid span{display:block;font-size:11px;color:#bba6cc;margin-bottom:9px}.player-stat-grid strong{font-size:28px}.player-empty,.player-loading{color:#ad96bd;padding:26px 0}.player-loading{padding:40px;border:1px solid #493153;border-radius:18px}#player-private[hidden]{display:none}#player-private .profile-heading,#player-private .profile-stats{display:none}#player-private #account-signed{max-width:none}#player-private .profile-referral{margin-top:20px}#player-private .profile-wallet{margin-bottom:18px}#player-private .profile-logout{margin-top:20px}#player-private:empty{display:none}@media(max-width:600px){.player-page{margin-top:8px}.player-hero{padding:27px 22px;gap:18px;min-height:185px}.player-hero>.profile-avatar{width:76px;height:76px;font-size:30px}.player-hero-flask{font-size:115px;right:-10px}.player-best,.player-stat-panel,#player-private{padding:20px}.player-best img{width:96px;height:110px}.player-best>div{gap:16px}.player-best h3{font-size:18px}.player-stat-grid article{padding:16px 13px}.player-stat-grid strong{font-size:25px}}@media(prefers-reduced-motion:no-preference){.player-hero,.player-best,.player-stat-panel{animation:player-reveal .4s ease-out both}.player-best{animation-delay:.05s}.player-stat-panel{animation-delay:.1s}@keyframes player-reveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}

.player-other-profile .player-best h3{overflow-wrap:anywhere}
.player-other-profile .player-best small{display:block;margin-top:6px;color:#ad96bd;font-size:12px}
.player-inventory-panel{margin-top:18px;padding:20px;border:1px solid #493153;border-radius:17px;background:#150f1fe8}
.player-inventory-panel h2{margin:0 0 14px;font-size:15px;color:#e7d1f7}
.player-inventory-panel h2 span{margin-left:6px;color:#ad96bd}
.player-inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,105px),1fr));gap:9px}
.player-inventory-card{display:grid;grid-template-rows:auto 1fr auto;min-width:0;padding:8px;border:1px solid #493153;border-radius:10px;background:#1c1428}
.player-inventory-art{position:relative;height:86px}
.player-inventory-art img{width:100%;height:100%;object-fit:contain}
.player-inventory-art:has(.mutation-badge) img{padding-top:19px}
.player-inventory-art .mutation-badge{width:21px;height:21px;top:0;right:0}
.player-inventory-card strong{margin:5px 0;font-size:11px;overflow-wrap:anywhere}
.player-inventory-card>div:last-child{display:flex;justify-content:space-between;gap:4px;color:#e0b5fb;font-size:11px}
.player-inventory-more{display:block;margin:14px auto 0;min-height:44px}
.player-inventory-more[hidden]{display:none}
@media(max-width:600px){.player-inventory-panel{padding:14px}}


:is(#profile-inventory,#profile-shop){
 margin:10px 0;
 padding:clamp(10px,1.8vw,16px);
 border:1px solid #49325e;
 border-radius:14px;
 background:#171020;
}
.profile-inventory-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.profile-inventory-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;color:#bfa8d2;font-size:12px}
.profile-inventory-summary h2{margin:0;color:#f2e6ff;font-size:18px}
.profile-inventory-summary :is(#owned-value,#shop-balance){color:#e2c0fb;font-size:15px}
#profile-inventory .inventory-actions{margin:0}
#profile-inventory .inventory-actions button{width:auto;min-width:0;min-height:36px;margin:0;padding:6px 10px;font-size:12px}
#owned-sell-all{
 border-color:#754e97;
 background:#2c1d3d;
 color:#f1e2ff;
}
#owned-sell-all:is(:hover,:focus-visible):not(:disabled){background:#493064;border-color:#ab78da;color:#fff}
#player-private .market-filters{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 gap:8px;
 margin-bottom:5px;
}
#player-private .market-filters>*{min-width:0;max-width:100%}
#player-private .market-filters select{
 color-scheme:dark;
 min-height:42px;
 border-color:#684784;
 border-radius:10px;
 background:#251833;
 color:#ebdbf8;
 font-weight:650;
}
#player-private .market-filters select:hover{background:#2e1d40;border-color:#9663bc}
#player-private .market-filters select:focus-visible{outline:2px solid #d5a7fb;outline-offset:2px}
#player-private .market-filters option{color:#ebdbf8;background:#251833}
@supports(appearance:base-select){
 #player-private .market-filters select,
 #player-private .market-filters select::picker(select){appearance:base-select}
 #player-private .market-filters select::picker(select){
  margin-block:5px;
  padding:4px;
  border:1px solid #754e97;
  border-radius:10px;
  background:#20152e;
  color:#ebdbf8;
  box-shadow:0 10px 24px #09050fb3;
 }
 #player-private .market-filters option{min-height:36px;border-radius:6px;padding:6px 9px;background:transparent}
 #player-private .market-filters option:is(:checked,:hover,:focus-visible){background:#493064;color:#fff}
 #player-private .market-filters select::picker-icon{color:#cda6f2}
}
@media(max-width:440px){
 #player-private .market-filters{grid-template-columns:minmax(0,1fr)}
}
#player-private :is(#owned-grid,#shop-grid){
 grid-template-columns:repeat(auto-fill,minmax(min(100%,112px),1fr));
 grid-auto-rows:max-content;
 gap:8px;
 scrollbar-gutter:stable;
}
#player-private :is(#owned-grid,#shop-grid){max-height:clamp(210px,37dvh,340px)}
#player-private :is(#owned-grid,#shop-grid) .market-card{min-width:0;padding:7px}
#player-private :is(#owned-grid,#shop-grid) .market-card-top{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:2px;
 height:21px;padding:0
}
#player-private :is(#owned-grid,#shop-grid) .market-card-top small{
 min-width:0;margin-inline-start:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
#player-private :is(#owned-grid,#shop-grid) .market-card-top .mutation-badge{
 position:static;order:1;flex:0 0 21px;width:21px;height:21px
}
#player-private :is(#owned-grid,#shop-grid) .market-art{height:72px;margin:3px 0 5px}
#player-private :is(#owned-grid,#shop-grid) .market-art img{height:100%;max-height:72px}
#player-private :is(#owned-grid,#shop-grid) .market-card h2{min-height:2.4em;margin:3px 0 5px;font-size:11px;line-height:1.2;overflow-wrap:anywhere}
#player-private :is(#owned-grid,#shop-grid) .market-card-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding-top:5px}
#player-private :is(#owned-grid,#shop-grid) .market-card-bottom>strong{margin:0;line-height:1.15;font-size:12px}
#player-private :is(#owned-grid,#shop-grid) .market-card-bottom>button{
 width:100%;
 min-height:32px;
 padding:4px;
 text-align:center;
 font-size:11px;
}
#profile-inventory #owned-grid .market-card-bottom>.inventory-sell{background:#6533a5;border-color:#a269db;color:#fff}

.profile-item-tabs{display:flex;gap:6px;padding:4px;border:1px solid #49325e;border-radius:11px;background:#110c19}
.profile-item-tabs>[role=tab]{flex:1;min-width:0;min-height:40px;padding:6px 10px;border-radius:8px;color:#cbb4de;font-weight:750}
.profile-item-tabs>[aria-selected=true]{background:#593188;color:#fff}
.profile-item-tabs>[role=tab]:focus-visible{outline:2px solid #e1bcff;outline-offset:2px}
#player-private [role=tabpanel][hidden]{display:none}

.player-page{margin:10px auto 40px}
.player-page .player-toolbar{margin-bottom:10px}
.player-page .player-toolbar #player-back{padding:6px 12px}
.player-page .player-hero{min-height:0;padding:clamp(14px,2.8vw,22px);gap:14px;border-radius:15px}
.player-page .player-hero>.profile-avatar{width:54px;height:54px;font-size:24px}
.player-page .player-hero h1{font-size:clamp(19px,2.6vw,27px);margin:3px 0}
.player-page .player-hero p{margin-bottom:3px;font-size:12px}
.player-page .player-hero-flask{font-size:85px;bottom:-12px}
.player-page :is(.player-best,.player-stat-panel,#player-private){margin-top:10px;padding:12px;border-radius:14px}
.player-page :is(.player-best,.player-stat-panel) h2{margin-bottom:8px;font-size:10px;letter-spacing:1px}
.player-page .player-best>div{gap:10px;min-height:0}
.player-page .player-best img{flex:none;width:clamp(88px,15vw,106px);height:clamp(84px,14vw,102px)}
.player-page .player-best>div>div{min-width:0}
.player-page .player-best h3{margin:2px 0;font-size:clamp(17px,2.3vw,22px);line-height:1.2;overflow-wrap:anywhere}
.player-page .player-best strong{font-size:clamp(20px,3vw,25px)}
.player-page .player-stat-grid{gap:6px}
.player-page .player-stat-grid article{padding:7px 9px}
.player-page .player-stat-grid span{margin-bottom:2px;line-height:1.3}
.player-page .player-stat-grid strong{font-size:19px;line-height:1.15}
.player-page:has(.player-hero) #account-signed :is(.profile-heading,.profile-stats){display:none}
#page-profile #account-signed .profile-card{padding:0;margin:0}
#page-profile #account-signed .profile-wallet{
 display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;
 margin:0 0 8px;padding:11px 13px;border-radius:12px;background:linear-gradient(110deg,#261936,#1a1226);
}
#page-profile #account-signed .profile-wallet>div{display:grid;gap:3px;min-width:0;color:#bd9bd4;font-size:11px}
#page-profile #profile-new-request{width:auto;min-width:0;flex-shrink:0}
#page-profile .profile-wallet strong{font-size:clamp(16px,4vw,20px);line-height:1.2;color:#f2deff;overflow-wrap:anywhere}
#page-profile .profile-request-details>summary{justify-content:flex-start;gap:8px}
#page-profile .profile-request-details>summary>span{
 margin-inline-start:auto;padding:3px 7px;border-radius:6px;background:#31203e;color:#c9a8e0;white-space:nowrap;
}
#page-profile #account-signed .partner-panel{margin:8px 0;padding:10px}
#page-profile #account-signed .partner-panel h3{margin-bottom:6px;font-size:13px}
#page-profile #account-signed :is(.partner-muted,.profile-feedback){margin-block:6px}
#page-profile #account-signed :is(.partner-message,.profile-feedback):empty{display:none}
#page-profile #account-signed :is(.primary-button,.outline-button,.profile-demo-link,.partner-entry){
 min-height:40px;
 padding:7px 10px;
 font-size:12px;
}
#page-profile #account-signed :is(.partner-entry,.profile-demo-link,.profile-request-details){margin-top:8px}
#page-profile #profile-codes .partner-code-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
#page-profile #profile-codes .partner-code-form input{min-width:0;padding:7px 8px;margin-top:0}
#page-profile #profile-codes .partner-code-form button{width:auto;min-width:0;max-width:none;justify-content:center;white-space:nowrap}
@media(min-width:640px){
 .player-page #player-public{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:10px}
 .player-page #player-public>:is(.player-hero,.player-inventory-panel,.player-loading){grid-column:1/-1}
 .player-page :is(.player-best,.player-stat-panel){margin:0}
}
@media(max-width:639px){
 #page-profile #account-signed :is(.primary-button,.outline-button,.profile-demo-link,.partner-entry),
 .profile-item-tabs>[role=tab]{min-height:44px}
}
