.profile-body{background:#101116;color:#f1eee8}.profile-header{border-bottom:1px solid #ffffff19;background:#16171c}.profile-header-inner{display:flex;align-items:center;justify-content:space-between;padding:17px 0}.profile-brand{display:inline-flex;align-items:center;gap:12px;font-size:1.5rem;font-weight:850;letter-spacing:-.05em}.profile-brand img{border-radius:8px}.profile-back{color:#bdbfc9;font-size:.9rem}.profile-main{padding-top:50px;padding-bottom:100px;min-height:80vh}.profile-eyebrow{color:#fa7b84;letter-spacing:.18em;font-size:.72rem;font-weight:800;margin-bottom:12px}.profile-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.profile-intro h1{font-size:clamp(2.4rem,5vw,4.7rem);margin:0 0 8px}.profile-muted,.profile-sub{color:#aaaeb9}.profile-muted{font-size:.9rem}.profile-lock{font-size:.78rem;border:1px solid #73515a;color:#f5b1b8;border-radius:99px;padding:8px 15px;white-space:nowrap}.profile-identity{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(112deg,#2f1b22,#1d1f28 73%);border:1px solid #68424b;border-radius:15px;padding:25px;margin:30px 0}.profile-identity-info{display:flex;align-items:center;gap:19px}.profile-avatar{display:grid;place-items:center;width:67px;height:67px;border-radius:10px;background:#db4050;color:white;font-size:2.3rem;font-weight:900}.profile-identity h2{font-size:1.8rem;margin:0 0 5px}.profile-tabs{display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid #34353e;padding-bottom:19px}.profile-tabs a{border:1px solid #393944;background:#1c1e25;border-radius:6px;padding:8px 13px;color:#c7c8d0;font-size:.83rem}.profile-tabs a:hover{border-color:#d04d60;color:#fff}.profile-section{padding:34px 0 30px;border-bottom:1px solid #32343d;scroll-margin-top:20px}.profile-section h2{font-size:1.9rem;margin:0 0 16px}.profile-section h3{font-size:1.2rem;margin:27px 0 12px}.profile-section-top{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-metric{padding:18px;border-radius:10px;border:1px solid #373944;background:#1b1d24;min-width:0}.profile-metric small{color:#a9aab5;font-size:.75rem;display:block;margin-bottom:5px}.profile-metric strong{display:block;font-size:clamp(1.1rem,2vw,1.5rem);line-height:1.3;overflow-wrap:anywhere;font-weight:750}.profile-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.profile-chapter{border:1px solid #383942;border-radius:11px;background:#1c1e25;padding:18px}.profile-chapter-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.profile-chapter h3{font-size:1.15rem;margin:0 0 7px}.profile-chapter small{color:#aaaeb8}.profile-chapter progress{width:100%;height:8px;margin:14px 0 12px;accent-color:#da5664}.profile-goal{display:flex;align-items:start;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid #ffffff0e}.profile-goal strong{font-size:.85rem;display:block;font-weight:650}.profile-goal small{font-size:.73rem;line-height:1.45;display:block}.profile-goal-state{font-size:.75rem;white-space:nowrap;color:#c3c7d1}.profile-goal-state.complete{color:#8ed5ab}.profile-goal-state.incomplete{color:#f3a6b0}.profile-record-list{border:1px solid #363842;border-radius:10px;background:#1c1e25;overflow:hidden}.profile-record{display:flex;align-items:baseline;justify-content:space-between;padding:11px 15px;border-bottom:1px solid #ffffff11;gap:16px}.profile-record:last-child{border:0}.profile-record span:first-child{font-size:.88rem;overflow-wrap:anywhere}.profile-record span:last-child{font-size:.83rem;color:#c7c7cf;white-space:nowrap}.profile-search-label{display:flex;flex-direction:column;gap:7px;color:#aeb1bb;font-size:.78rem;margin-bottom:16px}.profile-search-label input,.profile-search-label select{background:#23242d;border:1px solid #555660;color:#f1eee8;padding:10px 12px;border-radius:7px;min-width:min(100%,240px);font:inherit}.profile-raw{margin-top:17px;border:1px solid #353640;border-radius:9px;padding:15px;background:#1a1b22}.profile-raw summary{cursor:pointer;font-weight:600}.profile-raw .profile-metrics{margin-top:16px}.profile-pending{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-pending>div{border:1px solid #363842;border-radius:8px;padding:14px;background:#1c1e25}.profile-pending strong{display:block;margin-bottom:5px}.profile-pending small{color:#aeb0bc}.profile-help{border:1px solid #54404a;border-radius:12px;background:#211a21;padding:28px;margin:28px 0;max-width:680px}.profile-help h2{font-size:1.7rem}.profile-help p{color:#c0bcc2}.profile-help a{color:#ff8292;font-weight:700}.profile-help code{background:#382a32;border-radius:3px;padding:3px 7px}.profile-footer{border-top:1px solid #ffffff13;padding:22px 0;background:#16171b;color:#9496a2;font-size:.8rem}.profile-footer>.container{display:flex;justify-content:space-between;gap:15px}.profile-empty{color:#a8a9b4;padding:16px}.profile-success{color:#86dbab}.profile-warn{color:#f2b4bd}@media(max-width:860px){.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-chapters,.profile-pending{grid-template-columns:1fr}.profile-identity{align-items:start;flex-direction:column}}@media(max-width:500px){.profile-main{padding-top:28px}.profile-intro{align-items:start;flex-direction:column;gap:8px}.profile-identity{padding:16px}.profile-identity h2{font-size:1.35rem}.profile-record{padding:10px}.profile-footer>.container{flex-direction:column}.profile-metric{padding:13px}.profile-metric strong{font-size:1.05rem}}
/* Historical discovery groups use the established profile cards and collapse on smaller screens. */
#profile-places .profile-chapter,#profile-collections .profile-chapter{min-width:0}
#profile-places .profile-goal,#profile-collections .profile-goal{gap:18px;align-items:center}
#profile-places .profile-goal small,#profile-collections .profile-goal small{flex:0 0 auto;text-align:right}
@media(max-width:640px){#profile-places .profile-goal,#profile-collections .profile-goal{flex-wrap:wrap}}

/* Use 8x8 face and outer hat layers from the public Mojang skin texture. */
.profile-avatar{width:80px;height:80px;position:relative;overflow:hidden;flex:0 0 80px;isolation:isolate}
.profile-face,.profile-hat{display:none;position:absolute;left:8px;top:8px;width:64px;height:64px;background-repeat:no-repeat;background-size:512px 512px;image-rendering:pixelated;pointer-events:none}
.profile-face{background-position:-64px -64px}.profile-hat{background-position:-320px -64px}
.profile-avatar.has-skin .profile-face,.profile-avatar.has-skin .profile-hat{display:block}
.profile-avatar.has-skin #profile-avatar-fallback{display:none}

/* Compact private profile: summary first; optional records remain accessible. */
.profile-main{padding-top:30px;padding-bottom:65px}
.profile-intro h1{font-size:clamp(2.1rem,4.1vw,3.4rem);line-height:1.09}
.profile-intro .profile-muted{margin:5px 0 0}
.profile-identity{margin:19px 0 18px;padding:16px 19px;border-radius:10px}
.profile-avatar{width:64px;height:64px;flex-basis:64px}
.profile-face,.profile-hat{left:0;top:0}
.profile-identity h2{font-size:1.45rem}
.profile-tabs{position:sticky;top:0;z-index:10;display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:7px;padding:10px 0 13px;background:#101116f5;backdrop-filter:blur(12px);border-bottom:1px solid #3c343e}
.profile-tabs a{flex:0 0 auto;font-weight:670;padding:8px 12px;background:#211e25}
.profile-tabs a:focus-visible,.profile-toggle:focus-visible,.profile-load-more:focus-visible{outline:2px solid #ffabb4;outline-offset:2px}
.profile-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 0 4px;color:#a7a7b2;font-size:.8rem}
.profile-toggle,.profile-load-more{font:inherit;color:#f2bdc1;background:#2b2028;border:1px solid #6b424d;padding:9px 13px;border-radius:7px;cursor:pointer}
.profile-toggle:hover,.profile-load-more:hover{background:#422b33;border-color:#b35a6c}
.profile-section{padding:22px 0;border-bottom:1px solid #32343d}
.profile-section h2{font-size:clamp(1.3rem,2.5vw,1.68rem);margin:0 0 12px}
.profile-section h3{font-size:1rem;margin:19px 0 10px}
.profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.profile-metric{padding:13px 15px;border-radius:8px}
.profile-metric strong{font-size:clamp(1.05rem,1.6vw,1.25rem)}
.profile-highlights{padding-top:12px}
.profile-extra{margin-top:10px;padding:12px 15px}
.profile-extra summary{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.85rem}
.profile-extra summary span{font-size:.74rem;color:#b0adb7;font-weight:450}
.profile-panel{margin:10px 0;border:1px solid #47404a;border-radius:9px;background:#1b1b23;scroll-margin-top:85px;overflow:clip}
.profile-panel>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:17px 20px;font-size:1.05rem;font-weight:780;color:#f3e8e7;background:#211e26}
.profile-panel>summary::-webkit-details-marker,.profile-community-panel>summary::-webkit-details-marker,.profile-fold-card>summary::-webkit-details-marker{display:none}
.profile-panel>summary:hover,.profile-community-panel>summary:hover{background:#2c222c}
.profile-panel-heading{display:flex;flex-direction:column;gap:4px}
.profile-panel-heading small{font-size:.76rem;color:#aba8b3;font-weight:440;line-height:1.4}
.profile-panel-chevron{width:11px;height:11px;flex:0 0 11px;border-right:2px solid #ed929e;border-bottom:2px solid #ed929e;transform:rotate(45deg);transition:transform .15s}
.profile-panel[open] .profile-panel-chevron{transform:rotate(225deg)}
.profile-panel-inner{padding:0 18px 18px}
.profile-panel-inner>.profile-section{padding:19px 0}
.profile-panel-inner>.profile-section:last-child{border-bottom:0;padding-bottom:0}
.profile-panel .profile-chapters{gap:9px}
.profile-fold-card{padding:0;overflow:hidden}
.profile-fold-card>summary{list-style:none;cursor:pointer;padding:13px 15px;align-items:center}
.profile-fold-card>summary h3{font-size:.95rem;margin:0;line-height:1.35}
.profile-fold-card>summary small{font-size:.72rem;text-align:right}
.profile-fold-card>summary::after{content:"+";font-size:1.25rem;color:#e89ca7;font-weight:500}
.profile-fold-card[open]>summary::after{content:"−"}
.profile-fold-card[open]>summary{border-bottom:1px solid #ffffff17;background:#28232c}
.profile-fold-card>progress,.profile-fold-card>.profile-goal,.profile-fold-card>.profile-muted,.profile-fold-card>.profile-success,.profile-fold-card>.profile-raw{margin-left:15px;margin-right:15px}
.profile-fold-card>progress{width:calc(100% - 30px)}
.profile-community-panel{border:1px solid #3e3a45;border-radius:8px;margin:9px 0;background:#1c1d25;scroll-margin-top:85px}
.profile-community-panel>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;font-weight:700}
.profile-community-panel>summary:after{content:"+";font-size:1.2rem;color:#eca1a8}
.profile-community-panel[open]>summary:after{content:"−"}
.profile-community-panel>summary small{color:#a9a9b7;font-weight:400;font-size:.72rem}
.profile-community-panel>.profile-section{padding:14px 16px 17px;border-top:1px solid #ffffff14;border-bottom:0}
.profile-standing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.profile-standing{border:1px solid #4a3a45;background:linear-gradient(150deg,#2a222c,#1b1d24);border-radius:9px;padding:15px;min-width:0}
.profile-standing-label{display:block;color:#c5b7be;font-size:.75rem;font-weight:700;margin-bottom:9px}
.profile-standing strong{display:block;font-size:clamp(1.1rem,2vw,1.65rem);line-height:1.2;overflow-wrap:anywhere}
.profile-standing .profile-standing-badge{display:inline-block;color:#f3b7b8;font-size:.8rem;font-weight:760;margin:8px 0 5px}
.profile-standing small{display:block;font-size:.72rem;color:#aeadb8}
.profile-ranking-note{font-size:.75rem;line-height:1.6;margin:11px 0 0}
.profile-filter-row{display:flex;flex-wrap:wrap;align-items:end;gap:10px}
.profile-load-more{margin-top:10px;width:100%}
.profile-record{flex-wrap:wrap}
.profile-record span:last-child{white-space:normal;text-align:right}
.profile-section:target,.profile-panel:target,.profile-community-panel:target{scroll-margin-top:85px}
@media(max-width:900px){.profile-standing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.profile-main{padding-top:24px}.profile-identity{padding:13px}.profile-avatar{width:56px;height:56px;flex-basis:56px}.profile-face,.profile-hat{left:-4px;top:-4px}.profile-tabs a{font-size:.76rem}.profile-panel>summary{padding:15px}.profile-panel-inner{padding:0 11px 12px}.profile-standing{padding:12px}.profile-fold-card>summary{gap:8px}.profile-fold-card>summary small{max-width:43%}.profile-community-panel>summary{align-items:flex-start;flex-direction:column}.profile-record span:last-child{text-align:left}.profile-identity-info{gap:11px}.profile-section-top{align-items:flex-start}}
@media(max-width:380px){.profile-standing-grid{gap:7px}.profile-standing strong{font-size:1.13rem}.profile-metric{padding:10px}.profile-extra summary span{display:none}}
@media(prefers-reduced-motion:reduce){.profile-panel-chevron{transition:none}.profile-tabs{backdrop-filter:none}}
