.profile-tab small{font:800 8px/1.2 system-ui;margin-top:4px}.profile-tabs{gap:4px}.profile-tab{min-height:48px}.profile-hero>.profile-frame{padding:0;box-sizing:border-box;width:72px;height:72px}.profile-hero .profile-frame canvas{border:0;width:100%;height:100%;background:transparent}.profile-hero .profile-cosmetic-title{font-size:10px;margin-top:5px;white-space:normal}.profile-hero .profile-hero-badge{background:transparent;padding:0;color:#775e44!important;font-weight:600}.profile-cosmetics{margin:0 0 18px;padding:12px;border:2px solid #b49a78;border-radius:16px;background:#fff9e9}.profile-cosmetics h2{margin:0 0 5px;font-size:18px}.cosmetic-help{font-size:11px;line-height:1.5;color:#725944;margin:5px 0 10px}.cosmetic-tabs{display:flex;gap:6px;margin:10px 0}.cosmetic-tabs button{flex:1;min-height:40px;border:2px solid #b79b78;border-radius:10px;background:#f2e3c4;color:#574331;font-weight:800;font-size:12px}.cosmetic-tabs button[aria-pressed=true]{border-color:#708d54;background:#e5f1d2}.cosmetic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cosmetic-item{display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:7px;padding:11px 9px;border:2px solid #c8ad88;border-radius:14px;background:#fffcf3}.cosmetic-item.is-equipped{border-color:#709657;background:#eff6e3}.cosmetic-item:focus{outline:3px solid #7b66a7;outline-offset:2px}.cosmetic-art{height:76px;display:flex;align-items:center;justify-content:center;flex:none}.cosmetic-art .wph-profile-avatar{width:60px;height:60px}.cosmetic-art .wph-profile-title{font-size:10px;white-space:normal;text-align:center;padding:5px 8px;line-height:1.3}.cosmetic-item h3{font-size:13px;line-height:1.3;margin:0;overflow-wrap:anywhere}.cosmetic-item p{font-size:10px;line-height:1.45;margin:0;color:#735b45}.cosmetic-state{display:inline-block;align-self:flex-start;font-size:9px;font-weight:800;color:#65543f;border-radius:20px;background:#f1e7d2;padding:3px 7px}.is-equipped .cosmetic-state{color:#385b2f;background:#dcecc8}.cosmetic-action,.cosmetic-link{min-height:40px;padding:7px 9px;border:2px solid #8b785b;border-radius:10px;background:#e1efce;color:#405533;font-size:11px;font-weight:850;cursor:pointer;line-height:1.3}.cosmetic-action{margin-top:auto}.cosmetic-action:disabled{cursor:default;background:#eee6d4;color:#736650;opacity:.8}.cosmetic-link{background:#fff4d8;color:#674d36}.cosmetic-action:focus-visible,.cosmetic-link:focus-visible,.cosmetic-tabs button:focus-visible{outline:3px solid #7b66a7;outline-offset:2px}.cosmetic-status{font-size:11px;line-height:1.5;color:#71513e;min-height:1.5em;margin:8px 0}.cosmetic-current{display:flex;flex-wrap:wrap;gap:5px;font-size:10px;padding:8px 10px;background:#f1e7d0;border-radius:10px;line-height:1.5}.cosmetic-current span+span::before{content:' · ';padding-right:4px}.wpsn-card h2{font-size:19px}.wpsn-card h3.wpsn-category{font-size:14px;margin:17px 0 8px}.wpsn-card{box-sizing:border-box;scroll-behavior:smooth}.wpsn-collection-head{display:flex;align-items:center;gap:8px;justify-content:space-between}.wpsn-collection-head h2{margin:0}.wpsn-collection-head .cosmetic-link{flex:none}.wpsn-card .cosmetic-grid{margin-bottom:8px}.wpsn-card .cosmetic-art-symbol{font-size:34px;color:#9972b6}.wpsn-jump{display:flex;gap:6px;margin:10px 0}.wpsn-jump button{flex:1}.wpsn-close{min-width:44px;min-height:44px}.wpsn-card [data-season-claim]{min-height:40px}.wpsn-reward.highlight{outline:3px solid #9a80b6;outline-offset:2px}.profile-customize .profile-details-heading{margin-top:22px}.profile-name-save-note{font-size:10px;line-height:1.4;color:#725944}.profile-content{scroll-padding:10px}.profile-content h2{line-height:1.2}.profile-cosmetics [hidden]{display:none!important}
@media(max-width:390px){.profile-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin:7px 0}.profile-tab{display:flex;justify-content:center;gap:5px;min-height:36px;font-size:15px}.profile-tab small{font-size:8px;margin:0}.profile-hero{padding:8px;gap:9px}.profile-hero>.profile-frame{width:58px;height:58px}.profile-hero{grid-template-columns:58px minmax(0,1fr)}.profile-hero strong{font-size:18px}.profile-cosmetics{padding:9px}.cosmetic-item{padding:9px 7px}.cosmetic-art .wph-profile-title{font-size:9px}.cosmetic-grid{gap:6px}.wpsn-card{width:100%;padding:13px}.wpsn-collection-head{flex-wrap:wrap}.profile-dashboard{height:min(650px,calc(100dvh - 72px))}}
@media(prefers-reduced-motion:reduce){.wpsn-card{scroll-behavior:auto}}
.wpsn-card{height:min(780px,93%);display:flex;flex-direction:column;overflow:hidden;padding-top:58px}.wpsn-card>#wpsnBody{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 3px 8px;scroll-padding:8px}.wpsn-card>.wpsn-close{position:absolute;right:12px;top:9px;float:none;margin:0;z-index:2}.wpsn-card h1{margin-right:0}.wpsn-card::before{content:'WOBBLE SEASON';position:absolute;left:18px;top:24px;color:#775e45;font-size:10px;font-weight:900;letter-spacing:1px}
.cosmetic-status:empty{display:none}.profile-cosmetics .cosmetic-current{padding:6px 8px;gap:2px}.profile-cosmetics .cosmetic-help{font-size:10px;line-height:1.4}
#wpSeason .wpsn-card{padding-top:58px;overflow:hidden}#wpSeason .wpsn-card h2{font-size:19px}#wpSeason .wpsn-card .wpsn-close{position:absolute}
#modalBody .profile-hero-badge{display:block!important}.cosmetic-item p:empty{display:none}.cosmetic-art{height:60px}.cosmetic-none{font-size:11px;color:#80694f;padding:6px 8px;border:1px dashed #c9b390;border-radius:9px;background:#f9f1df}
#modalBody:has(.profile-dashboard){padding:12px!important}.profile-dashboard .profile-hero{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:10px}.profile-dashboard .profile-hero>.profile-frame{width:56px;height:56px;padding:0}.profile-dashboard .profile-hero>div{padding-right:32px}.profile-dashboard .profile-hero strong{font-size:18px;overflow-wrap:anywhere}.profile-dashboard .profile-hero .profile-settings-btn{width:30px;height:30px;min-height:30px;font-size:16px;right:7px;top:7px}.profile-dashboard .profile-tabs{gap:4px;margin:8px 0}.profile-dashboard .profile-tab{font-size:16px;min-height:40px}.profile-dashboard .profile-tab small{font-size:8px}.profile-cosmetics .cosmetic-help{margin-bottom:7px}.profile-cosmetics h2{font-size:17px}
@media(max-height:700px){.profile-dashboard .profile-xp-line,.profile-dashboard .profile-xp-bar{display:none}.profile-dashboard .profile-hero{padding:8px}.profile-dashboard .profile-tab{min-height:30px;display:flex;gap:4px;font-size:13px}.profile-dashboard .profile-tab small{margin:0;font-size:8px}.profile-dashboard .profile-hero small{font-size:8px}.profile-dashboard .profile-hero-badge{margin-top:3px!important}.profile-dashboard{height:calc(100dvh - 80px)}.profile-dashboard>.profile-actions .button{font-size:17px;padding:7px 14px;min-height:40px}}

/* Profile occupies the same full game viewport as Chat and the appearance studio. */
#modal:has(.profile-dashboard){padding:0!important;align-items:stretch!important}
#modalBody:has(.profile-dashboard){box-sizing:border-box;margin:0!important;width:100%!important;max-width:none!important;height:100%!important;max-height:100%!important;min-width:0;padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;background:linear-gradient(#f8e6c7,#fff5dd 25%,#fff3d5)}
#modalBody .profile-dashboard{height:100%;min-height:0;gap:0}
.profile-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:0 0 9px;color:#634832}
.profile-topbar h1{margin:0;font-size:20px;line-height:1.2;text-align:left}
.profile-topbar button{flex:none;min-width:74px;min-height:40px;padding:6px 12px;border:2px solid #987453;border-radius:12px;background:#ffedc1;color:#61472e;font-size:12px;font-weight:850;box-shadow:0 2px #bc976b;cursor:pointer}
.profile-topbar button:focus-visible{outline:3px solid #7962a4;outline-offset:2px}
#modalBody .profile-content{padding:2px 3px 12px 0;scrollbar-gutter:stable;scroll-padding-top:8px}
#modalBody .profile-dashboard>.profile-actions{display:none}
#modalBody .profile-dashboard .profile-tabs{margin:9px 0}
#modalBody .profile-customize>.profile-actions{position:sticky;bottom:0;background:#fff4dc;padding:10px 0;margin-bottom:0;border-top:1px solid #d7bb91}
#modalBody .profile-dashboard .profile-tab{min-height:42px}
@media(max-height:650px){.profile-topbar{padding-bottom:6px}.profile-topbar h1{font-size:17px}.profile-topbar button{min-height:34px}.profile-dashboard .profile-hero{padding:7px;grid-template-columns:42px minmax(0,1fr)}#modalBody .profile-dashboard .profile-hero>.profile-frame{width:40px;height:40px}.profile-dashboard .profile-hero strong{font-size:16px}.profile-dashboard .profile-xp-line,.profile-dashboard .profile-xp-bar{display:none}#modalBody .profile-dashboard .profile-tabs{margin:6px 0}#modalBody .profile-dashboard .profile-tab{min-height:30px}}
@media(max-height:480px){#modalBody:has(.profile-dashboard){padding-top:max(5px,env(safe-area-inset-top))!important;padding-bottom:max(5px,env(safe-area-inset-bottom))!important}.profile-topbar{padding-bottom:4px}.profile-topbar button{min-height:30px}.profile-dashboard .profile-hero small,.profile-dashboard .profile-hero-badge{display:none!important}#modalBody .profile-dashboard .profile-tabs{grid-template-columns:repeat(6,minmax(0,1fr));margin:5px 0}#modalBody .profile-dashboard .profile-tab{display:flex;justify-content:center;gap:3px;min-height:30px}#modalBody .profile-dashboard .profile-tab>span{display:none}.profile-dashboard .profile-hero .profile-cosmetic-title{margin-top:3px;font-size:9px}.profile-dashboard .profile-hero{padding:6px}.profile-topbar h1{font-size:16px}}

#modalBody .profile-dashboard .profile-hero>div{padding-right:0}#wpHome .wph-top-actions{display:flex;align-items:center;gap:6px;justify-content:flex-end}#wpHome .wph-top-actions .wph-icon{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;padding:4px;font-size:24px}#wpHome #wphShopTop{order:3}#wpHome #wphSettings{order:2}#wpHome #wphMail{order:1}@media(max-width:350px){#wpHome .wph-top{gap:5px}#wpHome .wph-top-actions{gap:4px}#wpHome .wph-profile{max-width:150px!important}}

#modalBody .profile-dashboard>.profile-topbar{position:static;inset:auto;transform:none;z-index:auto;width:auto;pointer-events:auto;display:flex;flex:0 0 auto;align-items:center;justify-content:space-between}#modalBody .profile-dashboard>.profile-topbar h1{font-size:20px;margin:0}

.cosmetic-tutorial{margin:10px 0;padding:12px;border:2px solid #9c83b7;border-radius:13px;background:#f4eefc;color:#534064}.cosmetic-tutorial-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.cosmetic-tutorial-heading strong{font-size:11px}.cosmetic-tutorial h3{font-size:16px;margin:10px 0 5px}.cosmetic-tutorial p{font-size:11px;line-height:1.5;margin:6px 0}.cosmetic-tutorial-actions{display:flex;gap:7px;justify-content:flex-end;margin-top:9px}.cosmetic-tutorial .cosmetic-link,.cosmetic-tutorial .cosmetic-action{font-size:10px;min-height:36px}.cosmetic-tutorial-target{outline:2px solid #9c83b7;outline-offset:3px;border-radius:10px}.cosmetic-tutorial h3:focus{outline:0}

#modalBody .profile-customize>.profile-actions{position:static;bottom:auto;background:transparent;padding:10px 0;margin-top:14px}#modalBody .profile-topbar{padding:0 0 9px}#modalBody .profile-content{flex:1 1 0;min-height:0}

#modal #modalBody .profile-dashboard{height:100%!important;max-height:none!important}#modal #modalBody .profile-dashboard>.profile-actions{display:none!important}
