/* Member identity and contribution titles. All avatar presets are local SVGs. */
.member-avatar{display:block;object-fit:cover;border:1px solid rgb(var(--accent-rgb)/.3);border-radius:24px;background:#100b13}.small-avatar{width:34px;height:34px;border-radius:10px}.member-link{display:inline-flex;align-items:center;gap:10px;min-width:0;color:var(--text)}.member-link>span{overflow-wrap:anywhere;font-size:15px}.member-link:hover>span{color:var(--accent-soft)}.account-profile{display:flex;gap:10px;align-items:center}.account-avatar{width:38px;height:38px;border-radius:11px}.comment-avatar{width:42px;height:42px;border-radius:12px}.comment-author-name{font-weight:700;color:var(--text);font-size:16px}.comment-author-name:hover{color:var(--accent-soft)}
.profile-intro{max-width:1380px;margin:auto}.profile-hero{position:relative;max-width:1380px;margin:0 auto 30px;padding:36px;display:grid;grid-template-columns:150px minmax(0,1fr) 240px;gap:32px;align-items:center;overflow:hidden;background:radial-gradient(ellipse at 20% -40%,rgb(var(--accent-rgb)/.23),transparent 70%),linear-gradient(145deg,rgb(31 19 25/var(--panel-opacity)),rgb(17 12 16/var(--panel-opacity)))}.profile-hero:before{content:'';position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:.6}.profile-hero-art{position:relative;padding:7px}.profile-hero-art>.member-avatar{position:relative;width:136px;height:136px;border-radius:30px;z-index:1;box-shadow:0 12px 42px #0004}.profile-avatar-ring{position:absolute;inset:0;border:1px solid rgb(var(--accent-rgb)/.4);border-radius:36px;transform:rotate(-6deg)}.profile-identity{min-width:0}.profile-identity h2{font-family:var(--font-heading);font-size:clamp(27px,3vw,40px);margin:8px 0 12px;line-height:1.2;overflow-wrap:anywhere;letter-spacing:-.7px}.profile-badges{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.title-badge{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--title-color,var(--muted));background:color-mix(in srgb,var(--title-color,var(--muted)) 10%,transparent);color:var(--title-color,var(--muted));border-radius:7px;font-size:14px;font-weight:750;padding:6px 10px;line-height:1.4;white-space:normal}.title-badge .icon{width:15px;height:15px;flex-shrink:0}.tier-0{--title-color:#bdaab4}.tier-1{--title-color:#eeb4c2}.tier-2{--title-color:#9ccfc1}.tier-3{--title-color:#c3aff0}.tier-4{--title-color:#e9c185}.tier-5{--title-color:#f994a6}.title-badge.tier-5{box-shadow:0 0 24px #f994a61a;background:linear-gradient(110deg,#f994a619,#b76ba623)}.member-bio{font-size:16px;line-height:1.75;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0}.profile-joined{font-size:14px;color:var(--muted)}.profile-hero-stats{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:20px;border-left:1px solid var(--border);padding-left:28px}.member-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px}.member-stats>div{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px}.member-stats .icon{width:16px;height:16px;color:var(--accent-soft)}.member-stats strong{grid-row:2;grid-column:1/-1;font-family:var(--font-heading);font-size:34px;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--text);overflow-wrap:anywhere}.member-stats span{grid-row:1;grid-column:1;font-size:14px;color:var(--muted)}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start;max-width:1380px;margin:0 auto 60px}.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0 24px}.profile-section-heading h2{font-size:28px;margin:6px 0 0;letter-spacing:-.5px}.profile-section-heading h2>span{display:inline-block;margin-left:6px;color:var(--accent-soft);font-size:18px}.profile-sort select{font-size:15px;min-height:44px;min-width:125px}.profile-thread-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.profile-thread-list>.thread-card{min-width:0}.profile-thread-list .thread-bottom{flex-wrap:wrap}.profile-thread-list .thread-title{font-size:22px}.profile-thread-list .thread-meta{flex-wrap:wrap}.profile-thread-list .thread-card{padding:24px}.profile-thread-list .recipe-chips{gap:6px}.profile-thread-list .recipe-chip{max-width:100%}#profile-thread-more{text-align:center;margin-top:24px}.profile-empty{grid-column:1/-1;text-align:center;padding:55px 25px}.profile-empty>svg{width:38px;height:38px;color:var(--accent-soft);margin-bottom:15px}.profile-empty h3{font-size:24px;margin:8px 0}.profile-empty p{font-size:16px;color:var(--muted);margin-bottom:24px}.profile-error{padding:45px;text-align:center;margin:45px auto;max-width:800px}.profile-error>.button{margin:10px}
.profile-achievements{padding:26px}.profile-title-heading{display:flex;align-items:center;gap:12px}.profile-title-heading>.icon{width:30px;height:30px;color:var(--accent-soft);flex-shrink:0}.profile-title-heading .eyebrow{font-size:11px;letter-spacing:.8px}.profile-title-heading h2{font-size:24px;margin:5px 0 0}.profile-title-intro,.profile-rules{font-size:14px;color:var(--muted);line-height:1.75}.profile-title-intro{margin:16px 0 22px}.next-title{padding:17px;border:1px solid var(--border);border-radius:12px;background:rgb(var(--accent-rgb)/.05);margin-bottom:22px}.next-title>span{font-size:14px;color:var(--muted)}.next-title>strong{display:block;font-family:var(--font-heading);font-size:21px;margin:5px 0;color:var(--accent-soft)}.next-title p{font-size:14px;line-height:1.75;margin:8px 0 0;color:var(--muted)}.next-title b{color:var(--text);font-variant-numeric:tabular-nums}.achievement{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:18px 0;border-bottom:1px solid var(--border)}.achievement-icon{width:34px;height:38px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--title-color) 35%,transparent);border-radius:9px;color:var(--title-color);background:color-mix(in srgb,var(--title-color) 6%,transparent)}.achievement-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.achievement-heading h3{font-size:16px;color:var(--title-color);margin:0;line-height:1.4}.achievement-active{font-size:12px;border:1px solid var(--border);padding:1px 6px;border-radius:5px;color:var(--accent-soft)}.achievement p{font-size:14px;color:var(--muted);margin:6px 0}.achievement p>strong{font-weight:650;color:var(--text)}.achievement small{font-size:13px;color:var(--muted)}.achievement-progress{height:4px;margin:11px 0 8px;border-radius:5px;overflow:hidden;background:#ffffff0b}.achievement-progress>span{height:100%;display:block;background:var(--title-color);transition:width .35s}.achievement.locked .achievement-icon{color:var(--muted);border-color:var(--border)}.profile-rules{margin-top:20px}
.member-thread-wrap{max-width:1360px;margin:38px auto 65px}.member-thread-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.member-thread-main{min-width:0}.member-thread-main .detail-panel{margin:0}.member-thread-main .detail-panel h1{font-size:clamp(28px,3vw,40px);overflow-wrap:anywhere}.member-thread-main .detail-body{font-size:17px;line-height:1.85}.member-thread-main .comment-panel{margin-top:24px}.member-thread-main .thread-bottom{flex-wrap:wrap}.member-author{position:sticky;top:24px;padding:25px;display:flex;flex-direction:column;align-items:center;text-align:center}.author-card-label{font-size:12px;font-weight:700;letter-spacing:1.5px;color:var(--muted);display:flex;gap:8px;align-items:center;margin-bottom:22px}.author-card-label .live-dot{width:5px;height:5px;background:var(--accent);border-radius:50%}.author-portrait .member-avatar{width:100px;height:100px;border-radius:24px;margin-bottom:17px}.author-name{font-family:var(--font-heading);font-weight:700;font-size:23px;line-height:1.3;overflow-wrap:anywhere;margin-bottom:13px;max-width:100%}.member-author .member-bio{font-size:15px;margin:19px 0 24px;max-width:100%}.member-author .member-stats{width:100%;text-align:left;padding:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:22px}.member-author .member-stats strong{font-size:30px}.author-stat-note{font-size:13px;line-height:1.6;color:var(--muted);margin:14px 0 0}.member-thread-wrap .back-link{margin-bottom:22px;display:inline-flex}
.profile-editor-modal{max-width:700px;width:calc(100% - 32px)}.profile-editor-modal h2{font-size:30px}.profile-editor-preview{display:flex;align-items:center;gap:18px;padding:18px;margin:20px 0;border:1px solid var(--border);border-radius:14px;background:rgb(var(--accent-rgb)/.06)}.profile-editor-preview>.member-avatar{width:78px;height:78px;border-radius:20px}.profile-editor-preview>span{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}.profile-editor-preview strong{font-size:22px;overflow-wrap:anywhere}.avatar-presets{padding:0;border:0;margin:22px 0}.avatar-presets legend{font-size:16px;font-weight:650;margin-bottom:12px}.avatar-presets>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.avatar-choice{position:relative;cursor:pointer;text-align:center;padding:12px 6px;border-radius:12px;border:1px solid var(--border);background:#ffffff02;transition:border-color .2s,background .2s}.avatar-choice:has(input:checked){border-color:var(--accent);background:rgb(var(--accent-rgb)/.13)}.avatar-choice>input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0}.avatar-choice:has(input:focus-visible){outline:2px solid var(--accent-soft);outline-offset:3px}.avatar-choice .member-avatar{width:60px;height:60px;border-radius:16px;margin:0 auto 9px}.avatar-choice>span{display:block;font-size:13px;color:var(--muted);line-height:1.4}.avatar-choice:has(input:checked)>span{color:var(--text)}.profile-editor-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.bio-count{font-size:14px;text-align:right;color:var(--muted);margin:-10px 0 20px}.profile-editor-modal .form-field textarea{font-size:16px}.profile-hero,.member-author{animation:araxys-enter .45s var(--ease) both}
@media(max-width:1200px){.profile-layout{grid-template-columns:minmax(0,1fr) 330px;gap:22px}.profile-thread-list{grid-template-columns:1fr}.profile-hero{grid-template-columns:120px minmax(0,1fr) 210px;padding:28px;gap:24px}.profile-hero-art>.member-avatar{width:106px;height:106px}.profile-hero-stats{padding-left:20px}.member-thread-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.member-author{padding:22px}}
@media(max-width:900px){.profile-hero{grid-template-columns:110px minmax(0,1fr)}.profile-hero-art>.member-avatar{width:96px;height:96px}.profile-hero-stats{grid-column:1/-1;border-left:0;padding:22px 0 0;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr auto;align-items:center}.profile-hero-stats>.button{width:auto}.profile-layout{grid-template-columns:1fr}.profile-achievements{max-width:none}.achievement-list{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.profile-thread-list{grid-template-columns:repeat(2,minmax(0,1fr))}.member-thread-layout{display:flex;flex-direction:column}.member-author{position:static;order:-1;width:100%;display:grid;grid-template-columns:84px minmax(0,1fr) 180px;gap:10px 20px;text-align:left;align-items:center;padding:24px}.author-card-label{grid-column:1/-1;margin:0 0 7px}.author-portrait{grid-column:1;grid-row:2/4}.author-portrait .member-avatar{width:84px;height:84px;margin:0}.author-name{grid-column:2;grid-row:2;margin:0}.member-author>.title-badge{grid-column:2;grid-row:3;justify-self:start}.member-author>.member-bio,.member-author>.moderation-note{grid-column:1/3;grid-row:4;margin:5px 0;max-width:none}.member-author .member-stats{grid-column:3;grid-row:2/4;border:0;padding:0;margin:0;gap:12px}.member-author>.button{grid-column:3;grid-row:4}.author-stat-note{grid-column:1/-1;margin:5px 0 0}.member-thread-main{width:100%}}
@media(max-width:600px){.profile-hero{padding:23px 20px;gap:18px;grid-template-columns:82px minmax(0,1fr);margin-bottom:26px}.profile-hero-art{padding:5px}.profile-hero-art>.member-avatar{width:72px;height:72px;border-radius:21px}.profile-avatar-ring{border-radius:26px}.profile-identity h2{font-size:25px;line-height:1.3;margin:8px 0}.profile-identity .eyebrow{font-size:10px;letter-spacing:.8px}.profile-identity .member-bio{font-size:15px;margin:13px 0}.profile-badges{gap:8px}.title-badge{font-size:13px;padding:5px 8px}.profile-hero-stats{grid-template-columns:1fr;padding-top:18px;gap:18px}.profile-hero-stats>.button{width:100%}.member-stats strong{font-size:32px}.profile-thread-list{grid-template-columns:1fr}.profile-section-heading{gap:10px;align-items:flex-end}.profile-section-heading h2{font-size:23px}.profile-section-heading .eyebrow{font-size:11px;letter-spacing:.6px}.profile-section-heading select{min-width:100px;max-width:135px;font-size:14px}.profile-achievements{padding:22px}.achievement-list{grid-template-columns:1fr}.profile-title-heading .eyebrow{font-size:10px}.profile-thread-list .thread-card{padding:22px}.member-thread-wrap{margin-top:25px}.member-author{padding:22px;grid-template-columns:64px minmax(0,1fr);gap:10px 14px}.author-portrait .member-avatar{width:64px;height:64px;border-radius:18px}.author-name{font-size:22px}.member-author .member-stats{grid-column:1/-1;grid-row:5;border-top:1px solid var(--border);padding-top:16px;margin-top:5px}.member-author>.member-bio,.member-author>.moderation-note{grid-column:1/-1;grid-row:4;font-size:15px;margin-top:10px}.member-author>.button{grid-column:1/-1;grid-row:6;margin-top:8px}.author-stat-note{grid-row:7}.member-thread-main .detail-panel{padding:23px 20px}.member-thread-main .comment-panel{padding:23px 20px}.member-thread-main .detail-panel h1{font-size:28px}.member-thread-main .detail-body{font-size:16px}.profile-editor-modal{padding:26px 20px}.avatar-presets>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.avatar-choice{padding:9px 3px}.avatar-choice .member-avatar{width:46px;height:46px;border-radius:12px}.avatar-choice>span{font-size:12px}.profile-editor-preview{padding:14px;gap:12px}.profile-editor-preview>.member-avatar{width:64px;height:64px}.profile-editor-preview strong{font-size:20px}.profile-editor-actions .button{flex:1;padding:11px 10px}.account-profile .username{display:none}.account-profile .account-avatar{display:block;width:32px;height:32px;border-radius:9px}.account-profile{gap:0}.account{gap:6px}}
