dialog:has(.profile-page){width:min(760px,94vw)}
.social-controls{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:8px}.social-counts{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:14px}.social-counts strong{font-size:24px}.social-controls [hidden]{display:none!important}.social-controls button{min-height:44px}.social-controls [data-social-status]{font-size:14px;line-height:1.5}.social-feed-link{display:block;margin-top:14px}.following-feed article{padding:18px 0;border-bottom:1px solid var(--line)}.following-feed h3{line-height:1.3}.following-feed p{line-height:1.6}
[data-form-error]{border:1px solid #a51d22;border-left:4px solid #a51d22;background:#fff0ed;color:#82151a;padding:12px;font-size:14px;line-height:1.5;margin:0}[data-form-error][hidden]{display:none}
.profile-page{overflow-wrap:anywhere}.profile-head>div:last-child{min-width:0}.profile-page .profile-head h2{font-size:clamp(25px,5vw,40px)}
.profile-rank{display:inline-block;margin-top:10px;padding:7px 12px;border-radius:99px;background:var(--ink);color:var(--yellow);font-size:13px;font-weight:700}
.profile-since{font-size:12px;color:var(--muted)}.profile-page .profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;font-size:12px}.profile-page .profile-stats strong{font-size:28px}
.profile-page section.rank-progress{padding:18px;background:var(--paper);border:1px solid var(--line);margin-bottom:24px}.rank-progress h3{margin:0 0 12px;font-size:21px}.rank-progress p{font-size:13px;line-height:1.6}.rank-progress progress{display:block;width:100%;height:12px;accent-color:var(--red)}
.rank-rules summary,.profile-edit summary,.profile-item summary{cursor:pointer;padding:8px 0;font-weight:700;font-size:13px}.rank-rules li{font-size:12px;line-height:1.8}.rank-rules ul{padding-left:18px}
.trophy-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.trophy-heading h3{font-size:25px;margin:0 0 12px}.trophy-heading>span{font-size:12px}
.trophy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:24px}.trophy{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);padding:15px 12px;background:white}.trophy.unlocked{border:2px solid var(--ink);background:var(--yellow)}.trophy-icon{font-size:28px}.trophy.locked .trophy-icon{filter:grayscale(1)}.trophy strong{font-size:14px}.trophy small{font-size:12px;line-height:1.5}.trophy-state{margin-top:auto;font-size:11px;font-weight:700;padding-top:5px}.profile-edit{border-block:1px solid var(--line);padding:10px 0;margin-bottom:22px}.profile-new-review{margin-top:14px}
.profile-item .spoiler-box strong,.detail-reviews .spoiler-box strong{color:var(--ink)}.profile-item .spoiler-box,.detail-reviews article>.spoiler-box{display:block}.profile-item details p{white-space:pre-wrap}.like:disabled{cursor:default;opacity:.7}
@media(max-width:520px){.trophy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-page .profile-head{gap:10px}.profile-page .profile-head h2{font-size:20px;line-height:1.15}.profile-page .avatar{width:40px;height:40px;font-size:24px}.profile-page .profile-stats{grid-template-columns:1fr 1fr 1.25fr;gap:6px;font-size:10px}.trophy{padding:12px 10px}.trophy-heading{align-items:baseline}.profile-page .profile-stats strong{font-size:24px}}
