/* Final compact profile. Existing inventory, rewards and audio handlers are shared. */
.v59-theme #profile.v83-profile{max-width:1120px;margin-inline:auto;--v88-edge:#2b4658;--v88-soft:#9ab8ca;--v88-surface:#0d202e}
.v59-theme #profile.v83-profile.active{display:block}
#profile .v88-profile-header{display:flex;align-items:center;gap:17px;margin:4px 0 24px;min-width:0}
.v88-profile-header>div{min-width:0}
#profile .v88-profile-header h1{font-size:34px;line-height:1.2;font-weight:680;letter-spacing:-.04em;margin:7px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#profile .v71-eyebrow{font-size:10px;line-height:1.5;letter-spacing:.12em;color:#8db6c8}
.v88-profile-avatar{display:grid;place-items:center;width:64px;height:64px;flex:none;border:1px solid #456a7d;border-radius:20px;background:radial-gradient(ellipse at 20% 0,#39677955,transparent 70%),#122e3f;color:#b5dce7;box-shadow:inset 0 1px #daf7ff0b}
.v88-profile-avatar svg{width:37px;height:37px}
#profile .v88-stats{display:grid;grid-template-columns:minmax(120px,.32fr) minmax(0,1fr);gap:0;margin:0 0 24px;padding:0;border:1px solid var(--v88-edge);border-radius:20px;background:linear-gradient(115deg,#153244,#0c1d2b);overflow:hidden}
#profile .v83-opens{padding:22px 25px;border-right:1px solid var(--v88-edge);margin:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
#profile .v83-profile-stats>div>span{font-size:12px;line-height:1.4;color:var(--v88-soft)}
#profile .v83-opens>strong{font-size:35px;font-weight:650;letter-spacing:-.04em;line-height:1.2;margin:8px 0 3px}
#profile .v83-opens>small{color:#86a6b8;font-size:11px;line-height:1.5}
#profile .v83-topdrop{padding:19px 26px;min-width:0;display:grid;align-content:center}
#profile .v83-topdrop-item{gap:18px;min-height:65px;margin-top:7px}
.v88-best-art{width:116px;height:70px;flex:none;display:grid;place-items:center;border-radius:14px;background:radial-gradient(ellipse,#8ac6d31a,transparent 70%)}
.v88-best-art>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 9px #0005)}
.v88-best-placeholder{width:36px;height:36px;color:#6f97ae}
.v88-best-art.has-drop .v88-best-placeholder,.v88-best-art>img[hidden]{display:none}
#profile .v83-topdrop-item>div:last-child{display:grid;gap:7px;min-width:0}
#profile .v83-topdrop-item strong{font-size:25px;line-height:1.25;letter-spacing:-.02em;color:#d5ecf4;display:flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums;flex-wrap:wrap}
#profile .v83-topdrop-item small{font-size:12px;line-height:1.5;color:#a0bece;overflow-wrap:anywhere}
.v88-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
.v88-profile-aside{min-width:0;display:grid;gap:16px}
.v59-theme #profile #inventory.v84-profile-inventory{margin:0;padding:24px;min-width:0;border:1px solid var(--v88-edge);border-radius:20px;background:linear-gradient(160deg,#102735bb,#0c1c29)}
#profile .v84-inventory-head h2{font-size:25px;line-height:1.2;font-weight:650;letter-spacing:-.03em;margin:6px 0 19px}
.v59-theme #profile #inventory .v37-inventory-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:16px 10px;margin:0 0 18px;padding:0 0 20px;border:0;border-bottom:1px solid var(--v88-edge);border-radius:0;background:none;box-shadow:none;align-items:center}
#profile #inventory .v37-inventory-summary{grid-template-columns:minmax(70px,.7fr) minmax(0,1.3fr);gap:12px}
#profile #inventory .v37-stat-main{padding:0;min-width:0}
#profile #inventory .v37-stat-main:first-child{border:0}
#profile #inventory .v37-stat-main small{font-size:11px;color:var(--v88-soft);letter-spacing:0;line-height:1.5;text-transform:none}
#profile #inventory .v37-stat-main strong{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:23px;font-weight:650;line-height:1.3;margin:6px 0 0;color:#e0edf3;letter-spacing:-.03em}
.v59-theme #profile #inventory #sellAllBtn{min-width:122px;min-height:46px;font-size:12px;padding:11px 16px;gap:3px;border-radius:11px}
.v59-theme #profile #inventory #sellAllHint{font-size:10px;max-width:145px;line-height:1.45}
#profile #inventory .v37-inventory-details{grid-column:1/-1;margin:0;padding:0;border:0}
#profile #inventory .v37-inventory-details>summary{font-size:11px;min-height:30px;padding:0;color:#8fbbce;cursor:pointer}
#profile #inventory[data-empty=true] .v37-inventory-details{display:none}
#profile .v84-inventory-items{border:0;border-radius:0;background:none}
#profile .v84-inventory-items>summary{padding:0 0 14px;min-height:34px;font-size:13px;color:#abc7d5;font-weight:550}
#profile .v84-inventory-body{padding:0}
#profile .v31-inventory-filters{margin:0 0 15px;padding:0;border:0;background:none;gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,.85fr)}
#profile .v31-inventory-filters label>span{font-size:11px;color:var(--v88-soft)}
#profile .v31-inventory-filters input,#profile .v31-inventory-filters select{font-size:12px;min-height:42px;border-radius:10px;background:#091b28;border:1px solid #345367;color:#cee1eb;padding:10px;max-width:100%;width:100%;box-sizing:border-box}
#profile .v31-inventory-count{font-size:11px;margin:0 0 14px;color:#8eafc1}
.v59-theme #profile #inventory #items,.v59-theme #profile #dailyRewardItems{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px}
#profile .v66-owned{min-width:0}
#profile .v66-skin-card{border-radius:14px;border:1px solid #34546685;background:linear-gradient(160deg,#16324288,#0b1b29);box-shadow:none;overflow:hidden;padding:0;transition:border-color .18s,background .18s;text-align:left;display:block;width:100%;height:100%}
#profile .v66-skin-card:hover{border-color:#76adc0;background:#153342}
#profile .v66-skin-top{padding:11px 10px 0;gap:6px}
#profile .v66-skin-top small{font-size:11px;line-height:1.4;color:#aac4d3}
#profile .v66-skin-top svg{width:14px;height:14px;flex:none}
#profile .v66-skin-art{height:100px;padding:3px}
#profile .v66-skin-art img{max-width:100%;width:100%;height:100%;object-fit:contain}
#profile .v66-skin-copy{padding:0 10px 13px}
#profile .v66-skin-copy b{font-size:13px;line-height:1.4;min-height:36px;max-height:36px;margin-bottom:7px;font-weight:600}
#profile .v66-skin-rarity{font-size:10px;line-height:1.5}
#profile .v66-skin-copy>small{font-size:11px;line-height:1.5;min-height:33px;margin:5px 0 8px;color:#9eb9ca}
#profile .v66-skin-copy strong{font-size:15px;line-height:1.4;color:#d6eaf3}
#profile .v87-inventory-empty{padding:10px 0 8px;flex-direction:column;gap:0;align-items:center;text-align:center}
.v88-empty-art{width:92px;height:92px;display:grid;place-items:center;background:radial-gradient(ellipse,#5098ac22,transparent 72%);color:#93c3d4;margin-bottom:10px}
.v88-empty-art>svg{width:64px;height:64px}
#profile .v87-inventory-empty>strong{font-size:18px;line-height:1.4;font-weight:600;color:#d6e9f2}
#profile .v87-inventory-empty>p{font-size:12px;line-height:1.6;color:#91afc2;max-width:270px;margin:8px 0 19px}
#profile .v87-inventory-empty>.button{width:auto;min-width:195px;min-height:44px;font-size:13px;gap:20px}
#profile .v83-available{border:1px solid var(--v88-edge);border-radius:20px;background:linear-gradient(140deg,#122b3c,#0c1d29);padding:20px;margin:0}
#profile .v83-available h2{font-size:20px;line-height:1.3;margin:7px 0 16px;letter-spacing:-.025em;font-weight:600;gap:10px}
#profile .v83-available h2>span{font-size:11px;border-radius:7px;min-width:23px;height:23px;line-height:23px;background:#244653;color:#bbdfe9;border-color:#476d7d}
#profile .v83-free-card{padding:12px 0;margin:0;border:0;border-bottom:1px solid #345063;border-radius:0;background:none;box-shadow:none;gap:10px}
#profile .v83-free-card:last-child{border:0;padding-bottom:0}
#profile .v83-free-card>img{width:62px;height:66px;flex:none}
#profile .v83-free-card small{font-size:9px;letter-spacing:.06em;color:#8fb7c8;line-height:1.5}
#profile .v83-free-card strong{font-size:14px;line-height:1.4;font-weight:600}
#profile .v83-free-card em{font-size:11px;line-height:1.5;color:#a7d8cf}
#profile .v83-free-empty{padding:5px 0 0;border:0;border-radius:0;background:none;text-align:left}
#profile .v83-free-empty>span{display:none}
#profile .v83-free-empty>strong{font-size:14px;line-height:1.4;font-weight:500;color:#b2cddc}
#profile .v83-free-empty>p{font-size:12px;line-height:1.65;color:#8daec1;margin:8px 0 15px;max-width:none}
#profile .v83-free-empty>button{font-size:12px;min-height:36px;padding:0;color:#b7dfe9}
#profile .v78-sound-panel{margin:0;padding:0 20px;border:1px solid var(--v88-edge);border-radius:17px;background:#0d202d;min-width:0}
#profile .v78-sound-panel>summary{min-height:64px;padding:0;display:flex;align-items:center;gap:10px;font-size:15px;list-style:none;box-sizing:border-box}
.v88-sound-title{display:inline-flex;gap:10px;align-items:center;flex:1;color:#c4dee9;font-weight:550}
.v88-sound-caption{font-size:11px;color:#8db3c5;font-weight:400}
#profile .v78-sound-panel[open] .v88-sound-caption{display:none}
#profile .v78-sound-settings{padding:0 0 17px}
#profile .v78-sound-settings>p{font-size:12px;line-height:1.5;margin:0 0 12px;color:#9cb8ca}
#profile .v78-sound-row{min-height:63px}
#profile .v78-sound-row small{font-size:11px;line-height:1.5;color:#91b0c2}
#profile .v78-sound-preview button{font-size:12px;min-height:44px}
#profile .v78-sound-volume input:focus-visible{outline:2px solid #b4e3ec;outline-offset:2px;border-radius:6px}
/* New currency portrait is a cached raster at UI size, larger in the wallet. */
.v59-theme img.v40-coin{border-radius:50%!important;image-rendering:auto;filter:none!important}
.v59-theme .v41-balance-value img.v40-coin{width:28px!important;height:28px!important;max-width:28px!important;margin-left:5px!important;vertical-align:-.3em!important}
.v59-theme .v41-wallet-coin{width:82px;height:82px;object-fit:contain;filter:drop-shadow(0 5px 12px #0005)}
.v59-theme #profile #inventorySellableValue img.v40-coin,.v59-theme #profile #statBest img.v40-coin{width:26px!important;height:26px!important;max-width:26px!important;margin-left:2px!important;vertical-align:middle!important}
@media(min-width:1024px) and (max-width:1199px){
 .v88-profile-grid{grid-template-columns:minmax(0,1fr) 260px;gap:18px}
 .v59-theme #profile #inventory.v84-profile-inventory{padding:20px}
 .v59-theme #profile #inventory #items{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v59-theme #profile #inventory .v37-inventory-toolbar{grid-template-columns:1fr}
 #profile #inventory .v37-inventory-actions{width:100%}
 #profile #inventory #sellAllBtn{width:100%}
 #profile .v31-inventory-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #profile .v31-filter-search{grid-column:1/-1}
}
@media(max-width:1023px){
 .v88-profile-grid{grid-template-columns:1fr}
 .v88-profile-aside{grid-template-columns:1fr 1fr;align-items:start}
 #profile .v88-profile-header{margin-top:8px}
}
@media(max-width:700px){
 #profile .v88-profile-header{gap:13px;margin:2px 0 18px}
 .v88-profile-avatar{width:52px;height:52px;border-radius:16px}
 .v88-profile-avatar svg{width:31px;height:31px}
 #profile .v88-profile-header h1{font-size:27px;margin-top:5px}
 #profile .v71-eyebrow{font-size:9px;letter-spacing:.1em}
 #profile .v88-stats{grid-template-columns:105px minmax(0,1fr);margin-bottom:18px;border-radius:17px}
 #profile .v83-opens{padding:17px 14px}
 #profile .v83-profile-stats>div>span{font-size:11px}
 #profile .v83-opens>strong{font-size:29px;margin:7px 0 4px}
 #profile .v83-opens>small{font-size:10px}
 #profile .v83-topdrop{padding:16px 13px}
 #profile .v83-topdrop-item{gap:9px;margin-top:8px;min-height:50px}
 .v88-best-art{width:58px;height:50px}
 .v88-best-placeholder{width:29px;height:29px}
 #profile .v83-topdrop-item strong{font-size:19px}
 #profile .v83-topdrop-item small{font-size:11px;line-height:1.45}
 #profile .v83-topdrop-item>div:last-child{gap:4px}
 .v88-profile-grid{gap:16px}
 .v88-profile-aside{grid-template-columns:1fr;gap:14px}
 .v59-theme #profile #inventory.v84-profile-inventory{padding:19px 15px 20px;border-radius:18px}
 #profile .v84-inventory-head h2{font-size:23px;margin:5px 0 17px}
 .v59-theme #profile #inventory .v37-inventory-toolbar{grid-template-columns:1fr;gap:14px;margin-bottom:16px;padding-bottom:16px}
 #profile #inventory .v37-inventory-summary{grid-template-columns:minmax(75px,.7fr) minmax(0,1.3fr);gap:12px}
 #profile #inventory .v37-stat-main strong{font-size:23px}
 #profile #inventory .v37-stat-main small{font-size:11px}
 #profile #inventory .v37-inventory-actions,#profile #inventory #sellAllBtn{width:100%}
 .v59-theme #profile #inventory #sellAllBtn{flex-direction:row;justify-content:space-between;gap:8px;font-size:13px;min-height:46px;padding:11px 13px}
 .v59-theme #profile #inventory #sellAllHint{font-size:10px;max-width:60%;text-align:right}
 .v59-theme #profile #inventory #items,.v59-theme #profile #dailyRewardItems{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
 #profile .v39-inventory-mobile-tools{margin:0 0 13px}
 #profile .v39-mobile-filter{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;font-size:12px;padding:10px;border-radius:10px;background:#112c3b;color:#c0d9e6;border-color:#355468}
 #profile .v39-mobile-filter>svg{flex:none}
 #profile .v39-mobile-filter strong{font-size:10px;margin-left:auto;color:#96bbce}
 #profile .v66-skin-art{height:108px}
 #profile .v66-skin-copy b{font-size:13px}
 #profile .v87-inventory-empty{padding:5px 0 0}
 .v88-empty-art{width:72px;height:72px;margin-bottom:8px}
 .v88-empty-art>svg{width:52px;height:52px}
 #profile .v87-inventory-empty>strong{font-size:17px}
 #profile .v87-inventory-empty>p{margin:7px 0 17px;font-size:12px}
 #profile .v87-inventory-empty>.button{width:auto;min-width:185px;min-height:44px}
 #profile .v83-available{padding:18px;border-radius:18px}
 #profile .v83-available h2{font-size:20px;margin:6px 0 14px}
 #profile .v83-free-card>img{width:62px;height:64px}
 #profile .v83-free-card small{font-size:10px}
 #profile .v83-free-card em{font-size:12px}
 #profile .v78-sound-panel{padding:0 18px}
 #profile .v78-sound-panel>summary{min-height:60px}
 .v59-theme .v41-balance-value img.v40-coin{width:24px!important;height:24px!important;max-width:24px!important}
 .v59-theme #profile #inventorySellableValue img.v40-coin,.v59-theme #profile #statBest img.v40-coin{width:23px!important;height:23px!important;max-width:23px!important}
}
@media(max-width:360px){
 #profile .v88-stats{grid-template-columns:89px minmax(0,1fr)}
 #profile .v83-opens{padding:15px 11px}
 #profile .v83-topdrop{padding:15px 10px}
 .v88-best-art{width:40px;height:45px}
 #profile .v83-topdrop-item{gap:6px}
 #profile .v83-topdrop-item strong{font-size:17px}
 #profile .v83-topdrop-item small{font-size:10px}
 .v59-theme #profile #inventory.v84-profile-inventory{padding:17px 12px}
 #profile .v39-mobile-filter{font-size:11px}
 #profile .v39-mobile-filter strong{font-size:9px}
}
@media(prefers-reduced-motion:reduce){#profile .v66-skin-card{transition:none}}
#profile #inventory[data-unpriced=false] .v37-inventory-details{display:none}
.v59-theme #profile #inventory .owned.v66-owned{padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
.v39-inspect .v39-sheet-actions [data-v39-action=upgrade-source]{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.v39-inspect .v39-sheet-actions [data-v39-action=upgrade-source] .dd-icon{width:17px!important;height:17px!important;flex:none}
.v39-confirm-mark .dd-icon{width:38px!important;height:38px!important;vertical-align:middle}
