.gift-tabs{display:flex;padding:5px;background:#081731;border:1px solid #3b5682;border-radius:12px;margin:0 0 22px;gap:5px}.gift-tabs button{flex:1;background:none;color:#9db7dc;font-size:11px;font-weight:900;min-height:35px;padding:7px 4px;border-radius:8px;position:relative}.gift-tabs button.active{background:linear-gradient(#355789,#294575);color:#fff;box-shadow:0 2px #030d24,inset 0 1px #7aa0cd66}.gift-tabs i{display:inline-block;width:6px;height:6px;background:#ffcf5a;border-radius:50%;margin-left:5px}.gift-buy-head{display:flex;gap:15px;align-items:center}.gift-buy-head>img{width:140px;height:150px;object-fit:contain;filter:drop-shadow(0 10px 12px #0003)}.gift-buy-head h2{font-size:22px;padding:0;line-height:1.2}.gift-buy-head p{font-size:10px;margin:8px 0}.buy-price{display:flex;align-items:center;gap:6px;font-size:24px;font-weight:1000;color:#ffe294}.buy-price img{width:26px;height:26px}.gift-demo-button{font-size:10px;font-weight:900;color:#bca9ee;background:#9972df12;border:1px solid #b29be02a;border-radius:8px;padding:10px;width:100%;margin:12px 0 2px}.gift-demo-button:hover{background:#9972df25}.gift-recipient-label{display:flex;align-items:center;justify-content:space-between}.gift-recipient-label button{color:#ffc95e;background:transparent;font-size:10px;padding-top:10px}.resolved-recipient{min-height:26px;font-size:10px;color:#a6c6eb;padding-top:7px}.modal textarea{display:block;width:100%;resize:vertical;min-height:64px;max-height:128px;border-radius:10px;border:1px solid #45618e;background:#081731;color:#fff;font:12px 'Nunito Sans',Arial,sans-serif;padding:12px;box-shadow:inset 0 2px 4px #0004}.modal textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.checkout-gift{height:160px;display:grid;place-items:center}.checkout-gift img{height:140px;width:140px;object-fit:contain}.payment-state{border:1px solid #6b8fc144;padding:16px;background:#13274a;border-radius:10px;font-size:12px;font-weight:800;color:#b6d5f5}.gift-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shelf-gift{position:relative;min-width:0;padding:12px 6px;background:linear-gradient(140deg,#263d65,#182b4e);border:1px solid #5679a74d;border-bottom:3px solid #081933;border-radius:13px;text-align:center}.shelf-gift img{display:block;width:100%;height:96px;object-fit:contain;filter:drop-shadow(0 5px 6px #030d2944);margin-bottom:8px}.shelf-gift b{font-size:10px;display:block;line-height:1.3}.shelf-gift small{display:block;color:#97b2d8;font-size:8px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-gift,.hidden-gift{position:absolute;top:5px;right:5px;font-size:7px;padding:3px 5px;background:#ffda73;color:#62440b;border-radius:4px;font-weight:1000}.hidden-gift{background:#243d61;color:#a2bddb}.shelf-gift.is-hidden{border-style:dashed}.profile-gift-section{margin:26px 0}.gift-total{font-size:13px;color:#9cbbde;margin-left:5px}.gift-empty{text-align:center;padding:24px;border:1px dashed #4f6e9d;border-radius:13px;background:#11254966}.gift-empty>img{height:96px;width:96px;object-fit:contain;opacity:.8;margin-bottom:12px}.gift-empty h3{font-size:15px}.gift-empty p{font-size:10px;line-height:1.6;margin:8px auto 14px;max-width:240px}.gift-empty .btn{font-size:10px;min-height:35px}.gift-history{border:1px solid #4d6e9d55;border-radius:13px;overflow:hidden}.gift-order{display:flex;align-items:center;padding:14px 12px;gap:12px;background:#1a3054;border-bottom:1px solid #6f90b52a}.gift-order:last-child{border:0}.gift-order>img{width:54px;height:60px;object-fit:contain}.gift-order>div{flex:1;min-width:0}.gift-order b{font-size:12px}.gift-order p{font-size:10px;margin:4px 0;color:#bfd2ec}.gift-order small{font-size:9px;color:#91b5de}.order-ref{display:block;font-size:7px;color:#6989b5;overflow-wrap:anywhere;margin-top:5px}.order-check{font-size:9px;color:#ffd778;border:1px solid #a0894833;padding:7px;border-radius:7px;background:#8b743b18}.gift-message{margin:12px 0;padding:15px 16px;background:#0e2041;border-left:2px solid #b79bd9;border-radius:0 8px 8px 0;font-size:13px;line-height:1.7;color:#f0e8fd;white-space:pre-wrap;overflow-wrap:anywhere}.reply-gift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.reply-gift-grid button{background:#11264b;border:1px solid #4c6e9e55;border-radius:12px;padding:10px 5px}.reply-gift-grid img{width:100%;height:90px;object-fit:contain}.reply-gift-grid b{font-size:9px;display:block;margin:8px 0 5px}.reply-gift-grid small{font-size:10px;color:#ffd77c;font-weight:1000}
/* A single, user-triggered opening sequence; transforms and opacity only. */
.gift-reveal-overlay{--reveal-tint:#eea4c8;position:fixed;inset:0;z-index:90;isolation:isolate;background:radial-gradient(ellipse at 50% 39%,#394c78 0%,#162445 36%,#07112aea 74%),#081128;backdrop-filter:blur(16px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;color:#fff;overflow:auto;animation:reveal-fade-in .35s ease both}.gift-reveal-overlay:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 44%,var(--reveal-tint),transparent 60%);opacity:.1;pointer-events:none}.reveal-close{position:absolute;right:max(20px,env(safe-area-inset-right));top:max(20px,env(safe-area-inset-top));height:36px;width:36px;display:grid;place-items:center;background:#ffffff0b;border:1px solid #ffffff20;border-radius:50%;font-size:24px;color:#c9d5e9;z-index:2}.reveal-head{text-align:center;flex-shrink:0;max-width:360px}.reveal-head>span{display:inline-block;font-size:10px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase;color:#f3d9a1;margin-bottom:10px}.reveal-head h2{font-size:23px;line-height:1.25;font-weight:1000;overflow-wrap:anywhere}.reveal-stage{position:relative;width:350px;height:340px;max-width:90vw;flex-shrink:0;display:grid;place-items:center;perspective:800px;margin:10px 0}.reveal-orbit{position:absolute;width:245px;height:245px;border:1px solid #cfdaee22;border-radius:50%;box-shadow:0 0 0 35px #d2dfff03,0 0 0 70px #d2dfff02;transform:rotateX(55deg) translateY(35px);opacity:.8;pointer-events:none}.reveal-burst{position:absolute;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,#fff7dfb3,transparent 65%);opacity:0;pointer-events:none}.sealed-gift{position:absolute;width:150px;height:160px;cursor:pointer;border:0;background:none;z-index:3;filter:drop-shadow(0 18px 16px #030b2866);animation:package-arrive .8s cubic-bezier(.2,.7,.25,1) both,package-wiggle 3s ease-in-out 1s 3}.package-body{position:absolute;left:13px;top:57px;width:124px;height:99px;border-radius:7px 7px 14px 14px;background:linear-gradient(110deg,#9471bf,#684b9d);box-shadow:inset -14px 0 #3921662b,inset 0 -7px #39216633,0 3px #3c286c}.package-body:after{content:'';position:absolute;left:48px;top:0;width:26px;height:100%;background:linear-gradient(90deg,#e9bc61,#ffe8aa,#d7a944)}.package-lid{position:absolute;z-index:3;left:6px;top:43px;width:138px;height:30px;border-radius:7px;background:linear-gradient(#be9ae8,#9d79cc);box-shadow:inset 0 3px #dec4ff6b,0 5px 0 #38245933}.package-lid:after{content:'';position:absolute;left:55px;top:0;width:26px;height:100%;background:linear-gradient(90deg,#ecc16c,#ffedb5,#d6aa54)}.package-bow{position:absolute;top:5px;left:27px;width:49px;height:46px;border:12px solid #f1ce83;border-radius:70% 70% 20% 70%;transform:rotate(15deg);z-index:4;box-shadow:inset 0 2px #fff3b577,0 2px #87622933}.package-bow:after{content:'';position:absolute;left:25px;top:-13px;width:25px;height:23px;border:12px solid #f5d897;border-radius:70% 70% 70% 20%;transform:rotate(-28deg)}.open-hint{position:absolute;bottom:20px;color:#bdc9e1;font-size:12px;font-weight:800;transition:opacity .2s}.revealed-item{position:absolute;width:290px;height:290px;object-fit:contain;opacity:0;transform:translateY(45px) scale(.1) rotate(-18deg);filter:drop-shadow(0 24px 18px #020a284f);pointer-events:none}.reveal-particles{position:absolute;inset:0;pointer-events:none}.particle{position:absolute;left:50%;top:47%;width:10px;height:10px;background:var(--pc);opacity:0;border-radius:2px}.particle-1{clip-path:polygon(50% 0,62% 35%,100% 50%,62% 65%,50% 100%,38% 65%,0 50%,38% 35%);width:15px;height:15px}.particle-2{width:7px;height:7px;border-radius:50%}.reveal-result{text-align:center;width:100%;max-width:345px;opacity:0;transform:translateY(16px);pointer-events:none;min-height:145px;flex-shrink:0}.reveal-result>h2{font-size:29px;font-weight:1000;letter-spacing:-.6px}.reveal-message{font-size:13px;line-height:1.6;color:#c6d5ed;margin:12px 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}.reveal-actions{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:18px}.reveal-actions .btn{min-width:210px;min-height:44px}.reveal-reply{background:transparent;color:#b8cfed;font-size:11px;font-weight:900;padding:8px}.gift-reveal-overlay[data-phase=opened] .sealed-gift{pointer-events:none;animation:package-away .5s cubic-bezier(.3,0,.6,1) forwards}.gift-reveal-overlay[data-phase=opened] .package-lid{animation:lid-away .45s ease-out forwards}.gift-reveal-overlay[data-phase=opened] .package-bow{animation:bow-away .45s ease-out forwards}.gift-reveal-overlay[data-phase=opened] .reveal-burst{animation:burst-light 1.5s ease-out forwards}.gift-reveal-overlay[data-phase=opened] .reveal-orbit{animation:orbit-expand 1.2s ease-out forwards}.gift-reveal-overlay[data-phase=opened] .revealed-item{animation:item-appear 1s cubic-bezier(.16,.8,.22,1.1) .12s both,item-float 4s ease-in-out 1.2s 2}.gift-reveal-overlay[data-phase=opened] .particle{animation:gift-particle 1.5s cubic-bezier(.1,.7,.25,1) calc(.2s + var(--delay)) both}.gift-reveal-overlay[data-phase=opened] .open-hint{opacity:0}.gift-reveal-overlay[data-phase=opened] .reveal-result{animation:result-appear .55s ease .7s both;pointer-events:auto}
@keyframes reveal-fade-in{from{opacity:0}to{opacity:1}}@keyframes package-arrive{from{opacity:0;transform:translateY(30px) scale(.7) rotate(-8deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes package-wiggle{0%,80%,100%{transform:translateY(0) rotate(0)}86%{transform:translateY(-5px) rotate(-4deg)}92%{transform:translateY(-4px) rotate(4deg)}}@keyframes package-away{0%{opacity:1;transform:scale(1)}40%{opacity:1;transform:translateY(12px) scale(1.05)}100%{opacity:0;transform:translateY(85px) scale(.7)}}@keyframes lid-away{to{transform:translateY(-100px) rotate(-22deg);opacity:0}}@keyframes bow-away{to{transform:translateY(-115px) rotate(12deg);opacity:0}}@keyframes burst-light{0%{opacity:0;transform:scale(.3)}25%{opacity:.7;transform:scale(1.1)}100%{opacity:0;transform:scale(1.7)}}@keyframes orbit-expand{0%{opacity:.8;transform:rotateX(55deg) translateY(35px) scale(1)}100%{opacity:0;transform:rotateX(30deg) scale(1.8)}}@keyframes item-appear{0%{opacity:0;transform:translateY(45px) scale(.1) rotate(-18deg)}65%{opacity:1;transform:translateY(-8px) scale(1.06) rotate(3deg)}100%{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes item-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(1.5deg)}}@keyframes gift-particle{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}12%{opacity:1}75%{opacity:.8}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--spin)) scale(.4)}}@keyframes result-appear{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-height:740px){.gift-reveal-overlay{justify-content:center;padding:24px 16px}.reveal-head h2{font-size:20px}.reveal-head>span{margin-bottom:6px}.reveal-stage{height:270px;width:300px;margin:4px 0}.revealed-item{width:235px;height:235px}.reveal-orbit{width:215px;height:215px}.open-hint{bottom:8px}.reveal-result{min-height:130px}.reveal-result>h2{font-size:25px}.reveal-message{margin:8px 0 12px;font-size:12px}.reveal-actions{margin-top:12px;gap:6px}}@media(max-width:370px){.gift-buy-head>img{width:105px;height:125px}.gift-buy-head h2{font-size:19px}.gift-tabs button{font-size:10px}.shelf-gift img{height:80px}.shelf-gift b{font-size:9px}.reply-gift-grid img{height:75px}}
@media(prefers-reduced-motion:reduce){.gift-reveal-overlay,.gift-reveal-overlay *{animation:none!important;transition:none!important}.gift-reveal-overlay[data-phase=opened] .sealed-gift,.gift-reveal-overlay[data-phase=opened] .open-hint{display:none}.gift-reveal-overlay[data-phase=opened] .revealed-item,.gift-reveal-overlay[data-phase=opened] .reveal-result{opacity:1;transform:none}.reveal-particles,.reveal-burst{display:none}}
/* Rendered gift box: an assembled still plus two independently moving atlas parts. */
.sealed-gift{width:300px;height:300px;max-width:none;padding:0;filter:drop-shadow(0 19px 15px #020b2866);background:none;border:0;overflow:visible;transform-origin:50% 70%}.box-assembly{position:absolute;display:block;inset:0;width:300px;height:300px;pointer-events:none;transform-origin:center center}.box-closed-art{position:absolute;display:block;left:10px;top:10px;width:280px;height:280px;object-fit:contain;opacity:1;z-index:3}.box-body-sprite,.box-lid-sprite{position:absolute;display:block;background-image:url('assets/gifts/box-atlas.webp');background-repeat:no-repeat;background-size:200% 100%;opacity:0;will-change:transform,opacity}.box-body-sprite{left:10px;top:45px;width:280px;height:280px;background-position:left center;z-index:1}.box-lid-sprite{left:10px;top:-49px;width:263px;height:263px;background-position:right center;transform-origin:50% 78%;z-index:2}.gift-reveal-overlay[data-phase=opened] .sealed-gift{animation:none;transform:none;pointer-events:none}.gift-reveal-overlay[data-phase=opened] .box-closed-art{animation:box-still-release .22s ease-out both}.gift-reveal-overlay[data-phase=opened] .box-body-sprite{animation:box-body-release 1.05s cubic-bezier(.22,.65,.35,1) both}.gift-reveal-overlay[data-phase=opened] .box-lid-sprite{animation:box-lid-release .95s cubic-bezier(.16,.65,.4,1) both}.gift-reveal-overlay[data-phase=opened] .revealed-item{z-index:4;animation:item-appear 1s cubic-bezier(.16,.8,.22,1.1) .27s both,item-float 4s ease-in-out 1.4s 2}.gift-reveal-overlay[data-phase=opened] .reveal-burst{z-index:3;animation:burst-light 1.5s ease-out .09s both}.gift-reveal-overlay[data-phase=opened] .reveal-particles{z-index:5}.gift-reveal-overlay[data-phase=opened] .reveal-result{animation:result-appear .55s ease .85s both}.reveal-stage>.sealed-gift:focus-visible{outline:2px solid #ffdf94;outline-offset:8px;border-radius:30px}
@keyframes box-still-release{0%{opacity:1;transform:scale(1)}35%{opacity:1;transform:translateY(4px) scale(1.025,.97)}100%{opacity:0;transform:translateY(0) scale(1)}}
@keyframes box-lid-release{0%{opacity:0;transform:translateY(0) rotate(0)}12%{opacity:1;transform:translateY(0) rotate(0)}46%{opacity:1;transform:translate(18px,-92px) rotate(14deg)}72%{opacity:.75;transform:translate(65px,-132px) rotate(28deg)}100%{opacity:0;transform:translate(105px,-158px) rotate(42deg) scale(.8)}}
@keyframes box-body-release{0%{opacity:0;transform:translateY(0) scale(1)}12%{opacity:1;transform:translateY(0) scale(1)}55%{opacity:1;transform:translateY(22px) scale(.96)}100%{opacity:0;transform:translateY(78px) scale(.75)}}
@media(max-height:740px){.box-assembly{transform:scale(.84)}.reveal-stage>.sealed-gift{width:300px;height:300px}}
@media(prefers-reduced-motion:reduce){.gift-reveal-overlay .sealed-gift{animation:none!important}.gift-reveal-overlay[data-phase=opened] .sealed-gift{display:none}.gift-reveal-overlay[data-phase=opened] .revealed-item{opacity:1;transform:none;animation:none!important}}

/* Gift ownership and private ORBIT player selection. */
.gift-purchase-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.gift-purchase-modes button{padding:13px 8px;border:1px solid #ffffff24;border-radius:13px;background:#ffffff08;color:inherit;font:inherit;cursor:pointer}.gift-purchase-modes button.selected{border-color:#f4ce80;background:#f4ce801c;color:#ffe0a4}.gift-target-card,.orbit-person{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #ffffff15;border-radius:14px;background:#ffffff06;color:inherit;margin:12px 0}.gift-target-card small,.orbit-person small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.orbit-person{width:100%;text-align:left;cursor:pointer;font:inherit;transition:background .15s,transform .15s}.orbit-person:hover{background:#ffffff12}.orbit-person:active{transform:scale(.985)}.person-arrow{margin-left:auto;color:#f4ce80}.orbit-results{max-height:45vh;overflow:auto}.orbit-own-id{display:flex;align-items:center;gap:12px;padding:12px 0;color:var(--muted);font-size:13px}.orbit-own-id b{color:var(--text);letter-spacing:1px}.orbit-own-id button{margin-left:auto;border:0;background:none;color:#f4ce80;cursor:pointer}.live-member[data-player]{color:inherit;font:inherit;text-align:left;cursor:pointer;border:1px solid #ffffff1c;background:#ffffff08;border-radius:12px;padding:12px}.gift-target-card .avatar,.orbit-person .avatar{flex-shrink:0}.gift-detail-art~.row{flex-wrap:wrap}textarea[hidden]{display:none!important}

/* Centered player identity, scoped to the own-profile hero. */
.profile-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 16px 28px;margin-bottom:8px;gap:0}
.profile-avatar-ring{padding:5px;border:1px solid #91b9f34a;border-radius:50%;background:#28457355;box-shadow:0 8px 28px #020b2240;margin-bottom:16px}
.profile-avatar-ring .profile-avatar{display:flex;width:88px;height:88px;border-radius:50%;border:2px solid #c4a1f4;background:linear-gradient(145deg,#a578e9,#683da8);box-shadow:inset 0 2px 0 #fff2,0 3px 0 #38215e;color:white;font-size:36px;font-weight:900}
.profile-avatar-ring.is-plus{border-color:#f4ce80;background:#f4ce801a}
.profile-name-row{display:flex;justify-content:center;align-items:center;gap:8px;max-width:100%;padding-left:34px}
.profile-name-row h2{font-size:25px;line-height:1.25;letter-spacing:-.4px;overflow-wrap:anywhere;min-width:0;margin:0;font-weight:900;color:#f5f8ff}
.profile-edit{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;padding:6px;border:1px solid #789bd13d;border-radius:10px;background:#ffffff06;color:#a9c3e8;cursor:pointer}
.profile-edit svg{width:17px;height:17px}.profile-edit:hover{background:#ffffff12;color:white}
.profile-id-copy{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:11px;border:1px solid #829fcb26;border-radius:9px;padding:7px 10px;background:#07162f66;color:#a1b7d8;font:inherit;font-size:11px;cursor:pointer;line-height:1.3}
.profile-id-copy b{font-size:12px;letter-spacing:1px;font-variant-numeric:tabular-nums;font-weight:700;color:#d9e6fa}.profile-id-copy svg{width:13px;height:13px;margin-left:3px;color:#e3c68b}
.profile-id-copy:hover{border-color:#e3c68b80;background:#183154}.profile-membership{margin-top:12px;color:#92abd0;font-size:11px;line-height:1.4}.is-plus~.profile-membership{color:#e3c68b}
.profile-edit:focus-visible,.profile-id-copy:focus-visible{outline:2px solid #f4ce80;outline-offset:3px}
@media(max-width:380px){.profile-hero{padding-right:4px;padding-left:4px}.profile-name-row h2{font-size:23px}}

.avatar{overflow:hidden}.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile-avatar-ring{position:relative;color:inherit;cursor:pointer;appearance:none;font:inherit}.profile-avatar-change{position:absolute;bottom:0;right:0;display:grid;place-items:center;width:25px;height:25px;background:#f2d48d;color:#453210;border:3px solid #152544;border-radius:50%;font-size:19px;font-weight:700;line-height:1}.profile-avatar-ring:focus-visible{outline:2px solid #f4ce80;outline-offset:4px}.avatar-pick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px;margin-top:22px}.avatar-option{position:relative;min-width:0;border:1px solid transparent;border-radius:13px;padding:6px 4px 8px;background:transparent;color:#c9dafa;font:inherit;cursor:pointer}.avatar-option img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%;border:2px solid #607ea14a}.avatar-option b{display:block;margin-top:7px;font-size:10px;font-weight:700}.avatar-option.selected{background:#f4ce8010;border-color:#f4ce8080}.avatar-option.selected img{border-color:#f4ce80}.avatar-check{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#f4ce80;color:#352a13;font-weight:900;font-size:12px}.avatar-source-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.avatar-source-actions .btn{font-size:11px;white-space:normal;padding:12px 7px}.avatar-upload-note{font-size:10px!important;line-height:1.5;margin:10px 0;color:#97b1d7!important}.avatar-current{display:flex;align-items:center;gap:13px;margin:18px 0}.avatar-current-face{width:54px;height:54px}.avatar-current span small{display:block;color:#93accf;font-size:10px;margin-top:5px}#avatarPhotoPreview:not([hidden]){display:flex;gap:14px;align-items:center;border:1px solid #7fa0c74a;background:#0d1e3c;padding:12px;border-radius:14px;margin:14px 0}#avatarPhotoPreview>img{width:90px;height:90px;object-fit:cover;border-radius:50%}#avatarPhotoPreview small{display:block;font-size:10px;color:#96b1d7;margin:7px 0}#avatarPhotoPreview .btn{font-size:11px}.avatar-option:focus-visible{outline:2px solid #f4ce80;outline-offset:2px}
#avatarFile[hidden]{display:none!important}

/* Header avatars must not inherit the browser's default button padding. */
.header-context>.avatar{position:relative;display:grid;place-items:center;box-sizing:border-box;flex:0 0 40px;width:40px;height:40px;min-width:40px;padding:0;line-height:1;aspect-ratio:1;border-radius:12px;overflow:hidden;appearance:none}
.header-context>.avatar>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border-radius:0;pointer-events:none}
