.profile-item-tabs{display:flex;gap:32px;position:relative;border-bottom:1px solid var(--choco-400);margin-bottom:42px}
.profile-item-tabs>button{appearance:none;border:0;background:none;padding:0 0 18px;display:flex;gap:6px;align-items:center;position:relative;font:600 20px/22px var(--font-ui);color:var(--choco-800);cursor:pointer}
.profile-item-tabs>button[aria-selected=true],.profile-item-tabs>button:is(:hover,:focus-visible){color:var(--cream-900)}
.profile-item-tabs>button[aria-selected=true]:after{content:"";position:absolute;height:2px;background:var(--cream-900);left:0;right:0;bottom:-1px}
.profile-item-count{font-weight:500}
.profile-unfinished,.profile-used{display:flex;align-items:center;gap:8px;padding-left:8px;flex:none;white-space:nowrap;font:500 18px/20px var(--font-ui);color:var(--cream-900);cursor:pointer}
.profile-inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;align-items:start}
.profile-inventory-item{position:relative;min-width:0;display:flex;flex-direction:column;gap:1px}
.inventory-item-art{position:relative;height:180px;display:grid;place-items:center;isolation:isolate}
.inventory-item-frame{position:absolute;inset:0;pointer-events:none;z-index:-1;background:var(--choco-300);margin:5px}
.inventory-item-frame:before,.inventory-item-frame:after{content:"";position:absolute;background:var(--choco-300);left:0;right:0;height:5px}
.inventory-item-frame:before{top:-5px}.inventory-item-frame:after{bottom:-5px}
.inventory-item-frame>img{position:absolute;max-width:none}
.inventory-corner-top-left{left:-5px;top:-5px}.inventory-corner-top-right{right:-5px;top:-5px}
.inventory-corner-bottom-left{left:-5px;bottom:-5px}.inventory-corner-bottom-right{right:-5px;bottom:-5px}
.inventory-item-frame{box-shadow:5px 0 var(--choco-300),-5px 0 var(--choco-300)}
.inventory-item-art>.collection-card-face{width:93px;height:140px;aspect-ratio:auto}
.profile-inventory-grid .collection-card-face{translate:0 0;transition:none}
.inventory-item-art>.collection-card-face>img{filter:drop-shadow(2px 2px 0 rgb(0 0 0/.25))}
.inventory-rarity{position:absolute;left:0;top:0;width:34px;height:34px;max-width:none;pointer-events:none}
.inventory-in-use{position:absolute;right:10px;bottom:10px;width:20px;height:20px;max-width:none;pointer-events:none}
.inventory-material{position:absolute;left:10px;bottom:8px;width:20px;height:20px;max-width:none;pointer-events:none;visibility:hidden}
.profile-inventory-item:hover .inventory-material{visibility:visible}
.inventory-item-info{position:relative;isolation:isolate;padding:7px 13px 8px;min-width:0;font:500 15px/18px var(--font-ui)}
.inventory-item-info>p{font:inherit;line-height:18px;margin:0;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--cream-900)}
.inventory-item-info>p:first-of-type{color:var(--choco-800)}
.inventory-item-menu{position:absolute;right:9px;top:4px;z-index:35;visibility:hidden}
.profile-inventory-item:is(:hover,:focus-within)>.inventory-item-menu,.inventory-item-menu[open]{visibility:visible}
.inventory-item-menu summary{display:block;width:24px;height:24px;list-style:none;cursor:pointer;outline:0}
.inventory-item-menu summary::-webkit-details-marker{display:none}
.inventory-item-menu summary img{display:block;width:24px;height:24px;max-width:none}
.inventory-item-menu .tables-dropdown-list{left:auto;right:0;top:30px;min-width:230px}
.profile-progress-card .tables-button{width:100%;margin:0;min-height:48px;font:600 18px/20px var(--font-ui)}
.card-piece-progress{position:relative;width:100%;aspect-ratio:108/163}
.card-piece-board{position:absolute;width:108px;height:163px;left:0;top:0;transform:scale(var(--piece-scale,1.6666667));transform-origin:0 0}
.card-fragment{position:absolute;display:block;left:var(--piece-x);top:var(--piece-y);width:var(--piece-width);height:var(--piece-height)}
.card-fragment-cut{position:relative;display:block;width:100%;height:100%;overflow:hidden;mask-image:var(--piece-mask);mask-mode:alpha;mask-repeat:no-repeat;mask-size:var(--piece-width) var(--piece-height)}
.card-fragment-cut>img{position:absolute;display:block;left:calc(-1 * var(--piece-x));top:calc(-1 * var(--piece-y));width:108px;height:163px;max-width:none;object-fit:fill}
.card-fragment.is-missing{opacity:.2;filter:grayscale(1)}
.card-fragment.is-found{filter:drop-shadow(2px 2px 0 rgb(0 0 0/.25))}
.card-pieces-missing,.card-pieces-found{position:absolute;inset:0}
.inventory-fragment .card-fragment{position:relative;left:auto;top:auto}
.public-profile-gallery>.collection-toolbar{position:relative;z-index:40}
.public-profile-gallery.search-open .profile-unfinished{display:none}
.profile-items-more{display:block;width:auto;margin:32px auto 0;padding:12px 18px;background:var(--choco-400)}
.public-profile-gallery>[data-profile-more-cards][hidden]{display:none}
.profile-item-error{color:var(--red-500);font:500 18px/24px var(--font-ui)}
.profile-item-dialog{width:min(580px,calc(100% - 48px));margin:42px auto;max-height:calc(100vh - 84px)}
.profile-item-dialog-content{max-height:calc(100vh - 168px);overflow:auto}
.profile-item-dialog-content>p{font:500 18px/24px var(--font-ui);color:var(--choco-800)}
@media(max-width:900px){.profile-inventory-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.profile-unfinished{min-height:48px}}
