.profile-page .shell{max-width:1280px;min-height:100svh;display:flex;flex-direction:column}
body.profile-page .world-motion{opacity:.1}body.profile-page:not([data-world-motion=ready])::before{opacity:.1}
.profile-page main{width:min(100%,1040px);margin:0 auto;flex:1;padding:30px 0 64px}
.profile-page .header{justify-content:flex-start;gap:10px}.profile-page .brand{margin-right:auto}
.profile-page .quiet-button{display:inline-flex;align-items:center;min-height:40px}
.profile-page :is(button,input,textarea){font-family:var(--sans);touch-action:manipulation}
.profile-page [hidden]{display:none!important}.profile-page button:disabled{opacity:.45}
.profile-page :is(h1,h2,p){margin:0}.profile-page h2{font-size:16px;font-weight:500;letter-spacing:-.025em}
.profile-page .text-button{border:0;background:none;min-height:44px;color:#aaa;padding:8px 0;font-size:12px}.profile-page .text-button:hover{color:#eee}
.profile-page .solid-button{border:0;border-radius:11px;background:linear-gradient(145deg,#dedede,#b5b5b5);box-shadow:inset 0 1px #ffffff65,0 3px 8px #0003;color:#242424;font-size:13px;font-weight:500;min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;transition:filter .18s,transform .18s}
.profile-page .solid-button:hover{filter:brightness(1.08)}.profile-page .solid-button:active{transform:translateY(1px) scale(.985)}
.profile-page :is(input,textarea){background:#191919;border:0;box-shadow:inset 0 2px 5px #0005;border-radius:10px;color:#eee;padding:14px;min-width:0;font-size:16px}
.profile-page :is(a,button,input,textarea):focus-visible{outline:1.5px solid #bdbdbd;outline-offset:4px}
.profile-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:124px minmax(0,1fr) auto;align-items:center;gap:30px;min-height:232px;padding:40px;border-radius:22px;background:radial-gradient(ellipse at 5% 0,#ffffff08,transparent 70%),linear-gradient(130deg,#2c2c2c,#222 68%);box-shadow:inset 0 1px #ffffff08,0 12px 28px #0002}
.hero-portrait{position:relative;width:124px}
.player-avatar{display:grid;place-items:center;overflow:hidden;flex-shrink:0;color:#c7c7c7;background:radial-gradient(ellipse at 36% 18%,#ffffff12,transparent 74%),linear-gradient(150deg,#383838,#242424);border:0;border-radius:50%;aspect-ratio:1;box-shadow:inset 0 1px #ffffff0d}
.player-avatar svg{width:80%;height:80%}.player-avatar img{width:100%;height:100%;object-fit:cover}
.hero-avatar{width:124px;background:radial-gradient(circle at 36% 24%,#585858,#313131 66%);box-shadow:0 0 0 5px #1b1b1b,0 0 0 6px #ffffff12,0 8px 16px #0005,inset 0 1px #ffffff22}
.hero-avatar svg{width:74%;height:74%;filter:drop-shadow(0 2px 2px #0006)}
.portrait-edit{position:absolute;right:-2px;bottom:-1px;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:linear-gradient(145deg,#d9d9d9,#aaa);color:#292929;box-shadow:0 0 0 4px #282828,0 3px 8px #0004;transition:transform .18s}
.portrait-edit::after{content:"";position:absolute;inset:-8px;border-radius:50%}.portrait-edit:hover{transform:scale(1.06)}.portrait-edit svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hero-identity{min-width:0}.hero-identity h1{font-size:clamp(30px,4vw,42px);font-weight:500;letter-spacing:-.055em;line-height:1.2;overflow-wrap:anywhere}
.hero-identity #hero-bio{max-width:510px;margin-top:12px;font-size:13px;line-height:1.8;color:#b1b1b1;white-space:pre-wrap;overflow-wrap:anywhere}
.hero-meta{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin-top:15px;font-size:11px;color:#a0a0a0}
.hero-code{display:inline-flex;align-items:center;gap:10px;min-height:34px;padding:0 10px;border:0;border-radius:7px;background:#16161660;box-shadow:inset 0 1px 3px #0003;color:#aaa;font:11px var(--mono);letter-spacing:.06em}
.hero-code svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.25}.hero-code:hover{color:#eee}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;align-self:end;position:relative;z-index:1}.hero-actions :is(a,button){white-space:nowrap}
.profile-share{position:absolute;top:17px;right:18px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:#ffffff04;color:#b0b0b0}.profile-share svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.profile-share:hover{background:#ffffff0a;color:#eee}
.hero-etch{position:absolute;z-index:-1;right:96px;top:35px;display:grid;grid-template-columns:repeat(2,25px);gap:7px;transform:rotate(-8deg);opacity:.32;pointer-events:none}
.hero-etch i{width:25px;height:25px;border-radius:6px;background:linear-gradient(135deg,#666,#393939);box-shadow:inset 0 1px #ffffff15,0 3px 4px #0005}.hero-etch i:last-child{opacity:.5}
.profile-tabs{display:flex;gap:6px;padding:7px;margin:24px 0 0;width:fit-content;border:0;border-radius:13px;background:#12121280;box-shadow:inset 0 1px 5px #0003}
.profile-tabs button{display:flex;gap:9px;align-items:center;justify-content:center;min-height:43px;background:transparent;border:0;border-radius:9px;color:#969696;padding:0 18px;font-size:13px;transition:background .18s,color .18s,box-shadow .18s}
.profile-tabs button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.profile-tabs button small{font-size:10px;font-variant-numeric:tabular-nums;color:#888}.profile-tabs button[aria-current=page]{background:linear-gradient(150deg,#383838,#2b2b2b);box-shadow:inset 0 1px #ffffff08,0 3px 6px #0004;color:#e4e4e4}
.profile-tabs button[data-unread=true] small{display:grid;place-items:center;min-width:18px;min-height:18px;background:#ccc;color:#242424;border-radius:10px;padding:1px 5px}
.profile-panel{padding-top:28px;animation:profile-arrive .24s both}.profile-overview{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:26px;align-items:start}
#profile-content[data-owner=false] .profile-overview{grid-template-columns:1fr}#profile-content[data-owner=false] .profile-tabs{display:none}#profile-content[data-owner=false] .profile-shortcuts{grid-template-columns:1fr}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:35px;margin-bottom:14px}
.section-heading a{font-size:11px;color:#aaa;min-height:35px;display:flex;align-items:center}.section-heading a:hover{color:#eee}
.profile-bests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.best-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 96px;grid-template-areas:'identity art' 'score art';align-items:center;gap:18px 4px;padding:20px;border:0;min-height:148px;border-radius:15px;background:radial-gradient(ellipse at 5% 0,#ffffff07,transparent 76%),linear-gradient(135deg,#292929,#222);box-shadow:inset 0 1px #ffffff05,0 5px 14px #0002;transition:background .18s,transform .18s}
.best-card:hover{background-color:#303030;transform:translateY(-2px)}.best-card:active{transform:scale(.985)}
.best-art{grid-area:art;display:block;width:124px;max-width:none;height:110px;object-fit:contain;margin-left:-14px;filter:drop-shadow(0 4px 4px #0002);pointer-events:none}
.best-identity{grid-area:identity;min-width:0}.best-identity>span{font-size:13px;font-weight:450;color:#ccc;display:block;overflow-wrap:anywhere}.best-identity>small{display:block;font-size:10px;color:#909090;margin-top:6px;line-height:1.45}
.best-score{grid-area:score;display:block;min-width:0;font-weight:450}.best-score>span{display:block;font-size:29px;line-height:1.15;letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:#e0e0e0;overflow-wrap:anywhere}
.best-score>small{display:block;font-size:10px;font-weight:400;color:#969696;margin-top:5px;line-height:1.4}.best-card[data-empty=true] .best-score>span{color:#686868}.best-card[data-empty=true] .best-art{opacity:.75}
.profile-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.profile-shortcut{display:flex;align-items:center;gap:12px;min-height:62px;padding:12px 15px;border-radius:12px;background:#ffffff03;color:#b8b8b8;font-size:12px}.profile-shortcut:hover{background:#ffffff06;color:#eee}.profile-shortcut>svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:#888;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.profile-shortcut>span{min-width:0}.profile-shortcut>i{font-size:17px;font-style:normal;margin-left:auto;color:#999}
.profile-private{padding-top:49px;min-width:0}.profile-collection{padding:18px;border-radius:16px;background:linear-gradient(155deg,#2c2c2c,#242424);box-shadow:inset 0 1px #ffffff06,0 5px 18px #0002}
.profile-wallet{display:flex;align-items:center;gap:15px;padding:4px 0 21px;color:#ddd}.profile-wallet>span:nth-child(2){min-width:0}.profile-wallet small{display:block;font-size:10px;color:#a8a8a8}.profile-wallet strong{display:block;font-size:30px;line-height:1.3;font-weight:450;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.profile-wallet>i{font-style:normal;font-size:18px;color:#909090;margin-left:auto}
.profile-coin{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#c5c5c5,#8c8c8c 62%,#696969);color:#5d5d5d;box-shadow:inset 0 0 0 1px #ccc,inset 0 0 0 4px #7778,2px 3px #636363,3px 5px #383838,4px 7px 7px #0004;transform:rotate(-13deg)}.profile-coin svg{width:32px;height:32px;filter:drop-shadow(0 1px #ffffff55)}
.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 10px}.collection-heading h2{font-size:11px;font-weight:400;color:#aaa}.collection-heading a{font-size:10px;color:#aaa;min-height:32px;display:flex;align-items:center}
.profile-loadout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-object{display:flex;flex-direction:column;align-items:center;min-width:0;padding:7px 6px 12px;border-radius:11px;background:#18181880;box-shadow:inset 0 2px 5px #0003}.profile-object-art{display:block;width:100%;height:81px;transition:transform .2s}.profile-object-art svg{width:100%;height:100%;display:block}.profile-object>span:last-child{max-width:100%;font-size:10px;line-height:1.5;color:#b0b0b0;text-align:center;overflow-wrap:anywhere}.profile-object:hover .profile-object-art{transform:translateY(-3px)}
.collection-state{font-size:12px;color:#999;line-height:1.6;padding:18px 0 5px}
.profile-page .profile-email-card{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;padding:19px 16px;margin-top:12px;border-radius:14px;background:#ffffff03;box-shadow:none}.profile-page .profile-email-icon{width:32px;height:36px;background:none;box-shadow:none}.profile-page .profile-email-icon svg{width:21px;height:21px}.profile-page .profile-email-identity p{font-size:12px}.profile-page .profile-email-card>.text-button{grid-column:2;justify-self:start;min-height:30px;font-size:11px;padding:0;margin:0}.profile-page .profile-email-identity small{font-size:9px;color:#898989}
.add-friend-form{display:flex;gap:10px;max-width:470px;margin-bottom:24px}.add-friend-form input{flex:1;width:0;letter-spacing:.06em}.profile-friends{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.profile-friend{display:flex;align-items:center;gap:8px;min-height:90px;border:0;border-radius:14px;padding:16px;background:linear-gradient(130deg,#292929,#232323);box-shadow:inset 0 1px #ffffff05,0 4px 12px #0002}.profile-friend[data-incoming=true]{background:linear-gradient(130deg,#353535,#292929)}
.profile-friend .player-avatar{width:47px}.friend-person{display:flex;gap:13px;align-items:center;min-width:0;flex:1}.friend-person>div{min-width:0}.friend-person strong{font-size:13px;font-weight:450;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-person small{display:block;color:#979797;font-size:10px;margin-top:7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.profile-friend .text-button{padding:0 9px;flex-shrink:0;min-width:32px}.profile-friend .text-button:first-of-type{background:#ffffff05;border-radius:9px;font-size:11px}
.empty-copy{font-size:12px!important;line-height:1.8;color:#959595;padding:28px 0}.profile-empty-state{padding:55px 22px;text-align:center;border-radius:16px;background:#ffffff05}
.message-layout{display:grid;grid-template-columns:270px minmax(0,1fr);height:min(630px,70dvh);min-height:420px;background:#212121;border:0;border-radius:18px;box-shadow:inset 0 1px #ffffff06,0 9px 24px #0003;overflow:hidden}
.inbox{overflow:auto;padding:10px;background:linear-gradient(145deg,#292929,#242424)}.inbox-title{display:flex;justify-content:space-between;align-items:center;height:54px;padding:0 12px}.inbox-title h2{font-size:13px}.inbox-title>span{font-size:10px;color:#999}
.inbox-item{display:flex;align-items:center;gap:12px;width:100%;padding:15px 12px;min-height:80px;border:0;background:none;border-radius:11px;text-align:left}.inbox-item:hover{background:#ffffff03}.inbox-item[aria-current=true]{background:linear-gradient(135deg,#3a3a3a,#303030);box-shadow:inset 0 1px #ffffff06,0 3px 7px #0002}.inbox-item .player-avatar{width:40px}.inbox-item .inbox-identity{flex:1;min-width:0}.inbox-item strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:450}.inbox-item small{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#999;margin-top:7px}.unread-count{display:grid;place-items:center;min-width:19px;height:19px;background:#ddd;color:#222;border-radius:20px;font-size:9px;padding:0 4px}
.conversation{min-width:0;min-height:0;position:relative}.chat-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#aaa;gap:20px}.chat-empty p{font-size:12px}.chat-symbol{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;background:linear-gradient(135deg,#373737,#282828);box-shadow:inset 0 1px #ffffff0a,0 8px 15px #0003;font-size:32px;font-weight:300;color:#aaa}
#chat-content{height:100%;display:flex;flex-direction:column;min-height:0}.chat-header{display:flex;align-items:center;gap:14px;padding:10px 22px;background:#ffffff02;min-height:70px}.chat-header #chat-peer{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.chat-header #chat-play{font-size:11px;color:#aaa;margin-left:auto;white-space:nowrap;min-height:44px;display:flex;align-items:center}#chat-back{display:none}
.chat-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:24px 22px;scrollbar-width:thin;scrollbar-color:#444 transparent;overflow-anchor:none}.chat-scroll:focus-visible{outline-offset:-4px!important}#chat-messages{list-style:none;padding:0;margin:0}.chat-scroll:has(#chat-messages:empty){display:flex;flex-direction:column;align-items:center;justify-content:center}.chat-scroll:has(#chat-messages:empty)::before{content:"↗";display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:linear-gradient(135deg,#353535,#292929);box-shadow:inset 0 1px #ffffff08,0 7px 15px #0002;color:#aaa;font-size:28px;font-weight:300}.chat-scroll:has(#chat-messages:empty) #chat-note{text-align:center;padding:20px 0}.chat-message{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 20px}.chat-message.mine{align-items:flex-end}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;max-width:85%;background:#303030;color:#d0d0d0;border-radius:13px 13px 13px 4px;padding:12px 15px;font-size:13px;line-height:1.7}.mine .message-body{background:#d0d0d0;color:#202020;border-radius:13px 13px 4px 13px}.chat-message time{font-size:9px;color:#929292;margin-top:7px}
.message-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:16px 18px 12px;background:#ffffff02}.message-form textarea{resize:none;max-height:140px;min-height:48px;line-height:1.4;font-size:16px}.message-form .solid-button{align-self:end;padding:0 16px;min-height:48px}.message-form p{grid-column:1/-1;font-size:10px;color:#aaa;min-height:14px;line-height:1.5}
.profile-gate{text-align:center;padding:65px 20px 100px}.profile-gate-mark{display:grid;place-items:center;width:86px;height:86px;margin:0 auto;border-radius:24px;background:linear-gradient(140deg,#373737,#232323);box-shadow:inset 0 1px #ffffff14,0 14px 30px #0004}.profile-gate-mark img{width:40px;height:40px}.profile-gate h1{font-size:36px;font-weight:450;letter-spacing:-.055em;margin:28px 0 14px}.profile-gate p{font-size:13px;color:#aaa;margin:20px}.profile-gate .solid-button{margin-top:8px;min-width:140px}.profile-notice{font-size:12px;color:#ccc;min-height:24px;padding-top:24px;line-height:1.8;overflow-wrap:anywhere}.profile-page .profile-notice:empty{padding-top:0;min-height:0}
.profile-page dialog{color:#ddd;background:radial-gradient(ellipse at 30% 0,#ffffff07,transparent 70%),linear-gradient(145deg,#2d2d2d,#232323);border:0;border-radius:22px;padding:28px;width:min(440px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;box-shadow:inset 0 1px #ffffff0b,0 28px 80px #0008}.profile-page dialog::backdrop{background:#101010ba;backdrop-filter:blur(8px)}
.edit-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.edit-heading h2{font-size:23px}.edit-heading button{font-size:24px;min-width:40px}.edit-avatar-row{display:flex;align-items:center;gap:20px;margin-bottom:18px}.edit-avatar{width:80px;box-shadow:0 0 0 4px #19191980,inset 0 1px #ffffff0a}.upload-button{font-size:12px;display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:9px;background:#ffffff05;cursor:pointer}.edit-avatar-row p{font-size:9px;color:#969696;margin-top:9px}
.avatar-presets{display:flex;gap:15px;margin:24px 0 28px}.avatar-presets button{padding:0;width:44px;border:0;background:none;border-radius:50%;transition:transform .15s}.avatar-presets button:hover{transform:translateY(-2px)}.avatar-presets button[aria-pressed=true]{outline:1px solid #aaa;outline-offset:4px}.avatar-presets .player-avatar{width:100%}
.profile-page .avatar-presets button{flex-shrink:0;display:block;width:44px;height:44px;min-height:44px;padding:0}.profile-page .edit-heading .text-button{font-size:24px;padding:0;width:40px;height:40px}
#edit-form>label{display:block;font-size:12px;margin:20px 0 10px;color:#aaa}#edit-form>input,#edit-form>textarea{display:block;width:100%}#edit-form>textarea{resize:vertical}#edit-form .edit-public-note{font-size:10px;color:#999;line-height:1.8;margin:16px 0 0}#edit-error{font-size:12px;line-height:1.6;color:#ddd;min-height:28px;padding:10px 0}#save-profile{width:100%}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#avatar-file:focus-visible+.upload-button{outline:1.5px solid #bbb;outline-offset:3px}
@keyframes profile-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:900px){.profile-overview{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.profile-hero{padding:30px;gap:25px;grid-template-columns:110px minmax(0,1fr) auto}.hero-avatar,.hero-portrait{width:110px}.best-card{grid-template-columns:minmax(0,1fr) 60px;padding:17px;gap:16px 0}.best-art{width:100px;margin-left:-24px}.best-score>span{font-size:26px}.best-identity>span{font-size:12px}.hero-actions .solid-button{font-size:12px;padding:0 15px}}
@media(max-width:700px){
 .profile-page .shell{padding:0 16px}.profile-page main{padding:18px 0 36px}.profile-page .quiet-button{font-size:11px;padding:0 11px}
 .profile-hero{grid-template-columns:78px minmax(0,1fr);gap:20px;padding:26px 22px 21px;min-height:0;border-radius:18px;align-items:center}.hero-avatar,.hero-portrait{width:78px}.hero-avatar{box-shadow:0 0 0 4px #1b1b1b,0 0 0 5px #ffffff12,0 6px 12px #0004}.portrait-edit{width:27px;height:27px;box-shadow:0 0 0 3px #282828}.portrait-edit svg{width:14px;height:14px}.hero-identity h1{font-size:29px;padding-right:12px}.hero-identity #hero-bio{font-size:12px;margin-top:9px;line-height:1.7}.hero-meta{gap:5px 12px;margin-top:10px;font-size:10px}.hero-code{font-size:10px;gap:6px;padding:0 8px;min-height:30px}.hero-actions{grid-column:1/-1;justify-content:flex-start;padding-top:1px}.hero-actions .solid-button{min-height:41px;padding:0 18px}.profile-share{top:auto;bottom:22px;right:21px;width:37px;height:37px}.hero-etch{top:auto;bottom:24px;right:72px;grid-template-columns:repeat(2,12px);gap:4px;opacity:.25}.hero-etch i{width:12px;height:12px;border-radius:3px}
 .profile-tabs{width:100%;margin-top:17px;padding:5px;gap:3px}.profile-tabs button{flex:1;padding:0 9px;gap:8px;min-height:43px;font-size:12px}.profile-tabs button svg{width:16px;height:16px}.profile-panel{padding-top:21px}
 .profile-overview{grid-template-columns:1fr;gap:18px}.section-heading{margin-bottom:11px;min-height:32px}.section-heading h2{font-size:15px}.profile-bests{gap:9px}.best-card{grid-template-columns:1fr 46px;padding:17px 14px;gap:20px 0;min-height:145px;overflow:hidden}.best-art{width:96px;height:90px;margin-left:-32px;align-self:center}.best-identity{grid-column:1;position:relative;z-index:1}.best-identity>span{font-size:12px}.best-identity>small{font-size:9px}.best-score>span{font-size:28px}.best-score>small{font-size:9px;max-width:90px}.best-card .best-art{grid-row:1;width:84px;height:64px;margin-left:-19px}.best-card .best-score{grid-column:1/-1}.profile-shortcuts{margin-top:11px;gap:9px}.profile-shortcut{gap:9px;padding:10px 13px;font-size:11px;min-height:58px}.profile-shortcut>svg{width:19px;height:19px}
 .profile-private{padding-top:0;display:grid;grid-template-columns:1fr;gap:12px}.profile-collection{padding:17px 18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,1.05fr);column-gap:16px;align-items:center}.profile-wallet{grid-row:1/3;gap:12px;padding:0}.profile-wallet strong{font-size:27px}.profile-wallet>i{display:none}.profile-coin{width:38px;height:38px}.profile-coin svg{width:27px;height:27px}.collection-heading{margin:0 0 5px}.collection-heading h2{font-size:10px}.collection-heading a{font-size:10px}.profile-loadout{gap:6px}.profile-object{padding:3px 5px 8px;border-radius:9px}.profile-object-art{height:57px}.profile-object>span:last-child{font-size:9px}.profile-page .profile-email-card{grid-template-columns:32px minmax(0,1fr) auto;align-items:center;margin:0;padding:16px;gap:11px}.profile-page .profile-email-card>.text-button{grid-column:auto;justify-self:end}.profile-page .profile-email-identity p{font-size:12px}
 .profile-friends{grid-template-columns:1fr}.profile-friend{padding:14px;min-height:85px}.profile-friend .player-avatar{width:43px}.friend-person{gap:12px}.profile-friend .text-button{font-size:11px;padding:0 8px}.add-friend-form{gap:8px}.add-friend-form .solid-button{padding:0 15px}.profile-empty-state{padding:45px 16px}
 .message-layout{display:block;height:min(600px,72dvh);min-height:360px;border-radius:14px}.inbox{height:100%;border:0}.conversation{display:none;height:100%}.message-layout.chat-open .inbox{display:none}.message-layout.chat-open .conversation{display:block}#chat-back{display:block;min-width:32px;font-size:22px}.chat-header{padding:6px 12px;gap:10px;min-height:62px}.chat-scroll{padding:20px 14px}.message-body{max-width:90%;font-size:13px}.message-form{padding:12px 12px 8px;gap:6px 8px}.message-form .solid-button{padding:0 12px;font-size:12px}.message-form textarea{padding:12px}
 .profile-gate{padding:50px 0 75px}.profile-gate h1{font-size:29px}.profile-page dialog{padding:22px}.profile-page .edit-heading h2{font-size:21px}.edit-avatar-row{gap:16px}.edit-avatar{width:70px}
 .profile-page.chat-focused .profile-hero,.profile-page.chat-focused footer,.profile-page.chat-focused .profile-notice{display:none}.profile-page.chat-focused .shell{height:var(--chat-height,100dvh);min-height:0;overflow:hidden}.profile-page.chat-focused main{display:flex;flex-direction:column;min-height:0;padding:0 0 max(12px,env(safe-area-inset-bottom))}.profile-page.chat-focused #profile-content{display:flex;flex-direction:column;flex:1;min-height:0}.profile-page.chat-focused #messages-panel{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:12px}.profile-page.chat-focused .message-layout{flex:1;height:auto;min-height:0}.profile-page.chat-focused .header{flex-shrink:0}.profile-page.chat-focused .profile-tabs{flex-shrink:0;margin-top:6px}.profile-page.chat-focused .profile-tabs button{min-height:40px}body.profile-page.chat-focused{overscroll-behavior:none}
}
@media(max-width:360px){.profile-tabs button svg{display:none}.profile-tabs button{white-space:nowrap}.profile-page .shell{padding:0 12px}.profile-hero{padding:23px 18px 19px;gap:18px;grid-template-columns:66px minmax(0,1fr)}.hero-avatar,.hero-portrait{width:66px}.hero-identity h1{font-size:25px;padding:0}.hero-meta{font-size:9px}.hero-code{font-size:9px}.profile-tabs button{padding:0 5px;gap:6px}.best-card{padding:15px 12px;min-height:143px}.best-art{width:86px;margin-left:-27px}.best-score>span{font-size:25px}.profile-collection{grid-template-columns:1fr;gap:12px}.profile-wallet{grid-row:auto;padding-bottom:3px}.profile-wallet>i{display:block}.collection-heading{margin:0}.profile-loadout{gap:9px}.profile-object-art{height:75px}.profile-page .profile-email-card{grid-template-columns:27px minmax(0,1fr);gap:9px}.profile-page .profile-email-card>.text-button{grid-column:2;justify-self:start}.profile-shortcut{padding:10px;font-size:10px;gap:7px}.avatar-presets{gap:10px}}
@media(prefers-reduced-motion:reduce){.profile-page .profile-panel{animation:none}.profile-page :is(a,button),.profile-object-art{transition:none!important}}

.profile-page .profile-notice:not(:empty){position:fixed;z-index:40;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:13px 18px;border-radius:12px;background:linear-gradient(145deg,#383838,#292929);box-shadow:inset 0 1px #ffffff0c,0 12px 36px #0006;text-align:center;font-size:12px;line-height:1.6}
