.avatar-decoration{position:relative;display:block;width:112px;aspect-ratio:1;flex-shrink:0;isolation:isolate}.avatar-decoration>.portrait-clip{position:absolute;inset:15%;width:70%;height:70%;aspect-ratio:auto;border-radius:16%;border:0;box-shadow:none}.avatar-decoration>.avatar-frame{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;pointer-events:none;z-index:1;filter:drop-shadow(0 3px 3px #0c172c77)}.player-profile>.avatar-decoration{width:74px;margin:-5px}.wardrobe-identity>.avatar-decoration{width:132px;margin:-7px}.profile-frame-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-top:20px}.profile-frame-card{display:flex;flex-direction:column;align-items:center;min-width:0;padding:17px 11px 13px;border:1px solid #7a938355;border-radius:16px;background:linear-gradient(160deg,#344d50,#20383e);color:#f6e8c5;text-align:center}.frame-card-tag{font-size:6px;font-weight:900;letter-spacing:1px;color:#bfd4c8;min-height:17px}.profile-frame-preview{width:100%;max-width:144px;aspect-ratio:1;display:grid;place-items:center;margin:8px auto 9px;background:radial-gradient(ellipse,#a3cfc428,transparent 70%)}.profile-frame-preview>.avatar-decoration{width:100%;height:auto}.profile-frame-preview>.portrait-clip{width:70%;height:auto}.profile-frame-card h3{font:500 20px Fredoka,sans-serif;margin:5px 0 7px;color:#fff0c7;min-height:27px}.profile-frame-card>p{font-size:9px;line-height:1.7;color:#c4d3ca;margin:0 0 15px;min-height:49px;overflow-wrap:anywhere}.profile-frame-card>.gold-btn{width:100%;padding:8px 5px;font-size:10px;margin-top:auto;white-space:normal}.profile-frame-card>small{font-size:7px;color:#bdd0c0;margin-top:9px;line-height:1.6}.profile-frame-card.frame-active{border:2px solid #dcc681;padding:16px 10px 12px;background:linear-gradient(145deg,#535b43,#2b453f)}.frame-active>.gold-btn:disabled{opacity:1;color:#fff1c5;background:#405f48;border-color:#9fa770}.profile-frame-wardrobe{margin:20px 0 27px;padding:17px;border:1px solid #b89963;border-radius:14px;background:#fff0c34d}.profile-frame-wardrobe .profile-frame-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:440px;overflow:auto;overscroll-behavior:contain;padding:3px 6px 7px 1px;margin:5px 0 14px}.profile-frame-wardrobe .profile-frame-preview{max-width:118px}.profile-frame-wardrobe .profile-frame-card h3{font-size:19px}.profile-frame-wardrobe>.gold-btn{font-size:11px;padding:10px 15px;width:100%}.profile-frame-wardrobe .frame-profile-note{font-size:10px;color:#846747;line-height:1.7;margin:11px 0 0}.rename-panel{padding:18px 20px;border:1px solid #b79b6a;border-radius:13px;background:#fff1cd66;margin:0 0 23px}.rename-panel h3{font:500 23px Fredoka,sans-serif;margin:7px 0;color:#765438}.rename-panel p{font-size:10px;line-height:1.7;margin:6px 0 12px;color:#8d7047}.rename-panel label{display:block;font-size:10px;font-weight:800;margin-bottom:6px;color:#806342}.rename-controls{display:flex;gap:10px;align-items:stretch}.rename-controls input{min-width:0;flex:1;width:100%;padding:10px 13px;font:700 14px Nunito,sans-serif;border:1px solid #ac8e58;border-radius:9px;background:#fff4d5;color:#745332}.rename-controls input:focus-visible{outline:2px solid #6a8871;outline-offset:2px}.rename-controls .gold-btn{font-size:11px;padding:9px 14px;white-space:nowrap}.rename-panel form>small{display:block;font-size:8px;color:#8b744e;margin-top:8px;line-height:1.6}.rename-panel #rename-feedback{font-size:11px;font-weight:800;color:#5d7a5e;margin:9px 0 0;min-height:0}.rename-panel #rename-feedback:empty{display:none}.frame-store{scroll-margin-top:20px}.frame-store .profile-frame-card>p{color:#c4d3ca}.frame-store .portrait-store-heading>div{min-width:0}.frame-store .portrait-store-heading h2{overflow-wrap:anywhere}
@media(max-width:1000px){.frame-store .profile-frame-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.player-profile>.avatar-decoration{width:62px;margin:-4px}.wardrobe-identity>.avatar-decoration{width:110px;margin:-6px}.wardrobe-identity:has(.avatar-decoration){gap:12px}.wardrobe-identity:has(.avatar-decoration) h2{font-size:23px}.frame-store .profile-frame-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.frame-store .profile-frame-card:last-child{grid-column:1/-1}.frame-store .profile-frame-card:last-child .profile-frame-preview{max-width:170px}.profile-frame-card{padding:15px 9px 12px}.profile-frame-card.frame-active{padding:14px 8px 11px}.frame-card-tag{font-size:6px;letter-spacing:.6px}.profile-frame-card h3{font-size:20px}.profile-frame-card>p{font-size:9px;min-height:45px}.profile-frame-wardrobe{padding:13px;margin:17px 0 22px}.profile-frame-wardrobe .wardrobe-heading{flex-wrap:wrap;margin-bottom:10px;gap:5px}.profile-frame-wardrobe .wardrobe-heading h3{margin:5px 0}.profile-frame-wardrobe .profile-frame-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:410px}.profile-frame-wardrobe .profile-frame-card h3{font-size:16px}.profile-frame-wardrobe .profile-frame-card>p{font-size:8px;min-height:40px}.profile-frame-wardrobe .profile-frame-card>.gold-btn{font-size:9px}.rename-panel{padding:15px}.rename-controls{flex-direction:column;gap:8px}.rename-controls .gold-btn{width:100%;font-size:11px;padding:9px}.rename-panel h3{font-size:23px}.rename-controls input{font-size:16px}.rename-panel p{font-size:10px}.frame-store .portrait-store-heading{flex-wrap:wrap}.profile-frame-wardrobe .profile-frame-card>small{font-size:6px}}
