.profile-hero>.profile-gifts .received-gifts-preview{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start}.received-gift-preview{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:60px;height:60px;min-width:60px;padding:8px;border:1px solid #d68e5373;border-radius:12px;background:linear-gradient(145deg,#ebba900a,#08090b);color:#ebba90;cursor:pointer;transition:border-color .18s ease,background .18s ease}.received-gift-preview:hover{border-color:#ebba90;background:linear-gradient(145deg,#ebba901c,#14100c)}.received-gift-preview:focus-visible{outline:2px solid #ebba90;outline-offset:3px}.received-gift-preview .point-gift-art{width:42px;height:42px;background:none}.profile-hero>.profile-gifts .received-gift-preview .point-gift-art svg{width:36px;height:36px}.received-gift-detail{text-align:center;padding:14px 8px 6px}.received-gift-kicker{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#ebba90;margin-bottom:20px}.received-gift-large{display:flex;align-items:center;justify-content:center;width:140px;height:140px;max-width:100%;margin:0 auto 22px;border:1px solid #d68e5373;border-radius:18px;background:radial-gradient(circle at center,#ebba9018,#08090b 75%)}.received-gift-large .point-gift-art{width:100px;height:100px;background:none}.received-gift-large .point-gift-art svg{width:86px;height:86px}.received-gift-detail h2{font-size:26px;margin:0 0 14px;overflow-wrap:anywhere}.received-gift-description{font-size:14px;line-height:1.7;color:var(--muted,#aaa);margin:10px 0 22px}.received-gift-facts{margin:0;padding-top:8px;border-top:1px solid #ebba901c}.received-gift-facts>div{display:flex;justify-content:space-between;gap:18px;text-align:left;padding:12px 0}.received-gift-facts dt{color:#aaa;font-size:12px}.received-gift-facts dd{margin:0;text-align:right;overflow-wrap:anywhere;font-size:13px}.received-gift-facts a{color:#ebba90;text-underline-offset:3px}.received-gift-facts time{font-size:12px}@media(max-width:420px){.received-gift-facts>div{flex-direction:column;gap:6px}.received-gift-facts dd{text-align:left}}
.profile-hero>.profile-gifts .received-gifts-preview,.profile-achievements-preview{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;max-width:100%}
.profile-hero>.profile-gifts .received-gifts-preview>.received-gift-preview,.profile-achievements-preview>.chilim-badge{flex:0 1 60px;min-width:0;width:60px;height:60px;padding:6px;border-radius:12px}
.profile-achievements-preview>.chilim-badge{justify-content:center;gap:0}
.profile-achievements-preview .chilim-emblem{width:44px;height:44px;max-width:100%;margin:0}
.profile-achievements-preview>.chilim-badge>span:last-child:not(.achievement-placeholder){display:none}
.profile-preview-more{display:flex;flex:1 1 58px;min-width:0;max-width:76px;min-height:60px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:linear-gradient(90deg,transparent,#ebba900b);border-radius:10px;color:#b5a18e;cursor:pointer;padding:4px;font:inherit}
.profile-preview-more>span{font-size:16px;color:#e3c6aa}
.profile-preview-more>small{font-size:10px;line-height:1.3;text-align:center}
.profile-preview-more svg{width:11px;height:11px;vertical-align:middle}
.profile-preview-more:hover{background:#ebba9012;color:#f2dac4}
.profile-preview-more:focus-visible{outline:2px solid #ebba90;outline-offset:3px}
.profile-achievements-all{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.achievement-placeholder{font-size:30px;color:#ebba90}


.profile-hero>.profile-gifts .received-gift-preview .point-gift-art{max-width:100%;min-width:0}
.profile-hero>.profile-gifts .received-gift-preview .point-gift-art svg{max-width:100%}
.profile-achievements-preview .chilim-emblem{flex-shrink:1}
.profile-preview-more{flex:0 0 52px}
.profile-feed{min-width:0;align-self:start;padding:4px 0 0 22px;border-left:1px solid #ffffff12;max-height:330px;overflow:auto;scrollbar-width:thin}
.profile-feed h2{font-size:18px;margin:0 0 14px;letter-spacing:-.5px}.profile-feed ul{list-style:none;padding:0;margin:0}.profile-feed li{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #ffffff0a}.profile-feed li:first-child{padding-top:0}.profile-feed li>div{min-width:0}.profile-feed p{font-size:12px;line-height:1.6;margin:0;overflow-wrap:anywhere}.profile-feed a{color:#eee;text-underline-offset:3px}.profile-feed a:hover{text-decoration:underline}.profile-feed time{font-size:10px;color:#85858c}.profile-feed-symbol{color:#c6ab90;flex:none;font-size:17px}.profile-feed>.dm-muted{color:#999;font-size:12px}
@media(min-width:1250px){.profile-top-layout>.profile-hero:has(>.profile-feed),.profile-top-layout>.public-profile-hero:has(>.profile-feed){display:grid;grid-template-columns:90px minmax(170px,1fr) minmax(320px,370px) minmax(240px,300px);align-items:start;gap:24px}.profile-hero:has(>.profile-feed)>.profile-account-actions,.profile-hero:has(>.profile-feed)>.public-profile-actions{grid-column:2 / -1;justify-self:start;flex-direction:row;flex-wrap:wrap}.profile-hero:has(>.profile-feed)>.profile-gifts{width:100%;margin:0}}
@media(max-width:1249px){.profile-top-layout>.profile-hero:has(>.profile-feed){display:flex;flex-wrap:wrap}.profile-hero:has(>.profile-feed)>.profile-gifts{width:min(370px,100%);margin:0}.profile-feed{flex:1 1 260px;margin:0;max-width:100%}}
@media(max-width:760px){.profile-feed{flex-basis:100%;border-left:0;border-top:1px solid #ffffff12;padding:18px 0 0;margin-top:12px;max-height:300px}.profile-hero:has(>.profile-feed)>.profile-gifts{width:100%}}
.profile-feed{display:flex;flex-direction:column;overflow:hidden;height:260px}.profile-feed-scroll{min-height:0;overflow:auto;scrollbar-width:thin;flex:1}.profile-feed-expand{flex:none;align-self:center;margin:8px 0 0;font-size:11px}.profile-feed-expand[hidden]{display:none}.profile-feed-dialog .profile-feed{height:auto;max-height:65dvh;overflow:auto;border:0;padding:0}.profile-feed-dialog h2{margin-bottom:20px}
@media(min-width:1250px){.profile-top-layout:has(.profile-feed){position:relative}.profile-hero>.profile-feed{position:absolute;right:0;top:0;bottom:-62px;width:300px;height:auto;max-height:none}.profile-hero:has(>.profile-feed)>.profile-account-actions,.profile-hero:has(>.profile-feed)>.public-profile-actions{grid-column:2 / 4}}
@media(min-width:1250px){.profile-hero>.profile-feed{bottom:auto;height:calc(100% + 86px);box-sizing:border-box;align-self:stretch}.public-profile-hero>.profile-feed{height:100%}}
@media(min-width:1250px){.profile-top-layout>.profile-hero:has(>.profile-feed),.profile-top-layout>.public-profile-hero:has(>.profile-feed){grid-template-columns:90px minmax(180px,340px) minmax(280px,320px) minmax(210px,1fr) max-content;gap:24px}.profile-hero>.profile-feed,.public-profile-hero>.profile-feed{position:static;grid-column:4;grid-row:1;width:auto;height:260px;max-height:260px;align-self:start}.profile-hero:has(>.profile-feed)>.profile-account-actions,.profile-hero:has(>.profile-feed)>.public-profile-actions{grid-column:5;grid-row:1;justify-self:end;align-self:start;flex-direction:column;flex-wrap:nowrap;align-items:flex-end}}
@media(min-width:1250px){.profile-top-layout>.public-profile-hero:has(>.profile-feed){grid-template-columns:90px minmax(180px,420px) minmax(280px,320px) minmax(210px,1fr)}.public-profile-hero:has(>.profile-feed)>.public-profile-actions{grid-column:2 / -1;grid-row:2;justify-self:start;align-self:center;flex-direction:row;flex-wrap:wrap;align-items:center}}
/* Closed profiles have no gifts grid: keep actions on their own flex row. */
.public-profile-hero:not(:has(>.profile-gifts)){flex-wrap:wrap}
.public-profile-hero:not(:has(>.profile-gifts))>.avatar{flex-shrink:0}
.public-profile-hero:not(:has(>.profile-gifts))>.avatar+div{flex:1 1 240px;min-width:0;max-width:100%}
