.cosIdentity{position:relative;isolation:isolate;display:flex;align-items:center;gap:12px;min-width:210px;min-height:74px;padding:12px 16px;box-sizing:border-box;overflow:hidden;border:1px solid #61708466;border-radius:10px;color:#edf3ff;background:#152031;font:600 14px system-ui;text-align:left}
.cosIdentity .cosBanner{position:absolute;inset:0;z-index:-2}.cosBanner svg{width:100%;height:100%;display:block}.cosIdentity:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08101ee8,#08101e20);z-index:-1;pointer-events:none}.cosIdentity .cosPortrait{width:56px;height:56px;flex:none;border:1px solid #e5d1a080;border-radius:10px;overflow:hidden}.cosPortrait svg{width:100%;height:100%;display:block}.cosIdentity strong{display:block;overflow-wrap:anywhere}.cosIdentity small{display:block;color:#c5d4e7;font-size:11px;margin-top:5px}.cosIdentity button{background:#142135bb!important;border:1px solid #8493aa!important;color:#eef5ff!important;margin-left:auto;padding:5px 8px!important;font-size:11px!important}.cosIdentity.cosCompact{padding:6px 9px;min-height:48px;gap:8px;min-width:180px}.cosCompact .cosPortrait{width:36px;height:36px}.cosCompact small{font-size:10px;margin-top:3px}
#tcoTab .cosIdentity{max-width:360px}#tcoTab table td:has(.cosIdentity){padding:7px 3px}.wardrobe .tcPanel{padding:0;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;width:min(1160px,96vw);height:min(870px,94dvh);max-height:94dvh}.cosHeader{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px solid #39465a;background:#172134}.cosHeader h2{font-size:25px;margin:0}.cosHeader p{font-size:12px;margin:5px 0 0}.cosHeader .tcCoins{white-space:nowrap}.cosTabs{display:flex;gap:8px;padding:12px 22px;overflow:auto;flex:none}.cosTabs button{white-space:nowrap;min-height:38px}.cosTabs button[aria-selected=true]{color:#152033;background:#e7cf9c;border-color:#e7cf9c}.cosFilters{display:flex;gap:8px;flex-wrap:wrap;padding:0 22px 12px;flex:none}.cosFilters input,.cosFilters select{border:1px solid #465773;border-radius:6px;background:#0e1929;color:#e7efff;padding:9px;font:13px system-ui;min-width:0}.cosFilters input{flex:1;min-width:135px}.cosMain{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 330px;border-top:1px solid #39465a}.cosBrowse{min-height:0;display:flex;flex-direction:column}.cosGridScroll{flex:1;overflow:auto;padding:16px 18px;min-height:0;overscroll-behavior:contain}.cosGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cosCard{display:flex;flex-direction:column;align-items:stretch;min-width:0;border:1px solid #3e4c63!important;border-radius:9px;background:#192439!important;color:#edf2fa!important;padding:7px!important;cursor:pointer;min-height:145px;text-align:left!important;transition:border-color .15s}.cosCard:hover,.cosCard[aria-pressed=true]{border-color:#e6c58c!important;background:#22334b!important}.cosCard .cosThumb{height:94px;overflow:hidden;background:#0c1524;border-radius:5px;display:flex;align-items:center;justify-content:center;flex:none}.cosThumb svg{height:100%;width:100%;object-fit:contain}.cosCard[data-type=banner] .cosThumb{height:76px}.cosCard[data-type=banner] .cosThumb svg{height:100%;width:auto;min-width:100%}.cosCard b{font-size:12px;line-height:1.35;margin:8px 2px 3px;overflow-wrap:anywhere}.cosCard small{font-size:10px;letter-spacing:.04em;margin:2px;text-transform:uppercase}.cosCard .cosState{color:#b5c7df;letter-spacing:0;text-transform:none}.cosPager{padding:10px 18px;border-top:1px solid #39465a;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;font-size:12px}.cosDetail{padding:18px;overflow:auto;background:#0f1b2d;border-left:1px solid #39465a;min-height:0}.cosDetail h3{font-size:20px!important;color:#f2e2c0;margin:16px 0 9px!important}.cosDetail p{font-size:13px;line-height:1.55}.cosDetailArt{height:220px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#101d2d;border:1px solid #344963;border-radius:10px}.cosDetailArt svg{width:100%;height:100%}.cosDetailArt canvas{width:220px;height:220px}.cosDetail[data-type=banner] .cosDetailArt{height:125px}.cosDetail[data-type=avatar] .cosDetailArt svg{max-width:220px}.cosDetail .tcBtn{width:100%;margin-top:9px;min-height:40px}.cosDetail select{width:100%;padding:9px;margin-top:9px;background:#18263c;border:1px solid #465773;border-radius:6px;color:#edf2fa}.cosNotice{padding:10px 22px!important;margin:0!important;min-height:20px;border-top:1px solid #39465a;flex:none;font-size:12px!important;color:#c5d5eb!important}.cosEmpty{padding:35px 15px;text-align:center;color:#b3c6e0}.cosRarity{text-transform:uppercase;letter-spacing:.13em;font-size:10px}.cosPublic .cosIdentity{min-height:150px}.cosPublic .cosPortrait{width:92px;height:92px}.cosPublic p{line-height:1.8}#arnMenu #arnCosmetics{border-color:#c5ac7a!important}.cosMiniPreview{margin-top:15px}.cosPreviewLabel{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#aebfd5;margin:10px 0 7px}
@media(max-width:850px){.cosMain{grid-template-columns:minmax(0,1fr) 265px}.cosGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.cosHeader,.cosFilters,.cosTabs{padding-left:14px;padding-right:14px}.cosDetail{padding:12px}.cosDetailArt{height:180px}}
@media(max-width:580px){.wardrobe .tcPanel{width:98vw;height:96dvh;max-height:96dvh}.cosHeader{padding:12px}.cosHeader h2{font-size:20px}.cosHeader p{font-size:10px}.cosHeader .tcCoins{font-size:11px}.cosTabs{padding:9px}.cosTabs button{font-size:12px;padding:7px 10px}.cosFilters{padding:0 9px 9px;gap:6px}.cosFilters select{flex:1;max-width:48%}.cosFilters input{flex-basis:100%}.cosMain{display:flex;flex-direction:column}.cosBrowse{flex:1;min-height:120px}.cosGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cosGridScroll{padding:9px}.cosCard{min-height:115px}.cosCard .cosThumb{height:68px}.cosCard b{font-size:10px}.cosCard small{font-size:8px}.cosDetail{border-left:0;border-top:1px solid #39465a;max-height:31vh;display:grid;grid-template-columns:100px 1fr;gap:0 12px;flex:none}.cosDetailArt,.cosDetail[data-type=banner] .cosDetailArt{height:100px;grid-row:1/6}.cosDetailArt canvas{width:100px;height:100px}.cosDetail h3{font-size:14px!important;margin:0 0 4px!important}.cosDetail p{font-size:11px;margin:4px 0}.cosDetail .cosMiniPreview{display:none}.cosDetail .tcBtn{font-size:12px;min-height:34px;margin-top:5px}.cosPager{padding:7px 9px}.cosNotice{padding:8px 10px!important;font-size:10px!important}.cosPublic .cosIdentity{min-height:120px}}
@media(prefers-reduced-motion:reduce){.cosCard{transition:none}}

.cosIdentity>div:not(.cosBanner){min-width:0;flex:1}.cosIdentity strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cosIdentity button{flex:none}#tco .win{width:min(1480px,98vw);height:min(860px,94dvh)}#tco .body>.col:first-child{flex:0 0 300px;box-sizing:border-box}#tco .body>.col:nth-child(2){min-width:0}#tco .body>.col:nth-child(3){flex:0 0 230px;box-sizing:border-box}#tco .cosOwnHeader{flex-direction:column;gap:10px;align-items:stretch!important}#tco .cosOwnHeader>.tier{align-self:flex-start}#tco .cosOwnHeader .cosIdentity{min-width:0;width:100%}#tcoTab table:has(.cosIdentity){min-width:610px}.cosCard[data-type=banner] .cosThumb svg{width:100%;height:100%;min-width:0}.crateArt>svg{max-width:100%;max-height:100%}
@media(max-width:1180px){#tco .body>.col:nth-child(3){display:none}}
@media(max-width:700px){#tco .body{flex-direction:column;overflow:auto}#tco .body>.col:first-child{flex:none;width:100%!important;max-height:330px}#tco .body>.col:nth-child(2){flex:1;min-height:330px;overflow:visible}#tco .cosOwnHeader .cosIdentity{min-height:80px}.cosIdentity strong{font-size:12px}}

.cosCard[data-type=avatar] .cosThumb{height:146px}.cosCard[data-type=emblem] .cosThumb{height:128px}.cosCard[data-type=emote] .cosThumb{height:134px}.cosDetail[data-type=banner] .cosDetailArt{height:auto;aspect-ratio:4/1}.cosDetail[data-type=banner] .cosDetailArt svg{height:auto;aspect-ratio:4/1}.cosArtDialog .tcPanel{width:min(1120px,96vw)}.cosArtLarge{background:#0b1423;border:1px solid #465774;border-radius:10px;overflow:hidden;margin:18px 0;display:flex;justify-content:center}.cosArtLarge>svg{display:block;width:100%;max-height:70dvh}.cosArtLarge>svg[viewBox="0 0 320 320"]{max-width:560px}.cosArtLarge>svg[viewBox="0 -5 140 145"]{max-width:500px}.cosCard[data-type=banner] .cosThumb{height:auto;aspect-ratio:4/1}.cosCard[data-type=banner] .cosThumb svg{height:auto;aspect-ratio:4/1}
@media(max-width:580px){.cosCard[data-type=avatar] .cosThumb{height:95px}.cosCard[data-type=emblem] .cosThumb,.cosCard[data-type=emote] .cosThumb{height:88px}.cosCard[data-type=banner] .cosThumb{aspect-ratio:3/1}.cosDetail[data-type=banner]{display:block}.cosDetail[data-type=banner] .cosDetailArt{height:auto;aspect-ratio:4/1;grid-row:auto}.cosDetail[data-type=banner] .cosDetailArt svg{height:auto;aspect-ratio:4/1}.cosDetail[data-type=banner] .cosRarity{margin-top:7px}.cosDetail:has(#cosEnlarge){max-height:37vh}.cosArtLarge>svg{max-height:62dvh}}

/* a seasonal title (ARENOEL's "Cool as Ice"...), under the player's name on their card */
.cosIdentity .cosTitle{display:block;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-top:2px;color:#bff6ff;text-shadow:0 0 8px rgba(127,216,255,.55)}
.cosIdentity strong .cosRank{vertical-align:-3px;margin-right:5px;flex:none;filter:drop-shadow(0 0 4px rgba(0,0,0,.6))}.cosCompact .cosTitle{font-size:9px;margin-top:0}
