/* Public profile: Obsidian & Bronze. Scoped to preserve other portal pages. */
.profile-page{--profile-gold:#e8c17e;--profile-bronze:#9d7842;--profile-border:#94703b;--profile-muted:#c7b894;background:#0b0d0c;color:#eee6d4}
.profile-page .profile-site-header{position:relative;background:linear-gradient(100deg,#0b0d0c,#191811,#0b0d0c);border-bottom:1px solid var(--profile-border)}
.profile-page .profile-site-header .header-inner{justify-content:space-between;gap:16px;min-height:76px;max-width:1240px}
.profile-header-actions,.profile-languages{display:flex;align-items:center;gap:14px}.profile-header-actions a{color:#e5c18a}.profile-community-link{font-size:14px;padding:8px}.profile-languages{gap:4px}.profile-languages a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:36px;min-height:44px;padding:8px;font:12px Arial,sans-serif;border-bottom:1px solid transparent}.profile-languages img{display:block;width:26px;height:17px;object-fit:contain}.profile-languages a[aria-current=true]{border-color:var(--profile-gold);color:#ffe3a7}
.profile-page .portal-banner{min-height:170px;border-bottom:2px solid #98703b;box-shadow:0 8px 30px #0008;background-position:center 43%}.profile-page .portal-banner-inner{display:none}
.profile-page .public-profile{position:relative;isolation:isolate;max-width:1120px;margin:0 auto;padding:0 24px 26px}.profile-page .public-profile:before{content:'';position:absolute;inset:0 0 auto;height:650px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 18% 8%,#5a482e26,transparent 65%),linear-gradient(160deg,#1b1e1f,#141819 60%,#101415);opacity:1}
.profile-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;padding:17px 0 25px;font-size:13px;color:#e1d5b9}.profile-breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
.profile-introduction{padding:10px 12px 28px}.public-profile-heading{display:grid;grid-template-columns:180px minmax(0,1fr) 148px;align-items:center;gap:28px;margin:0 0 28px}
.profile-avatar-frame{position:relative;padding:6px;width:180px;aspect-ratio:1;border-radius:50%;border:2px solid #deb76d;background:linear-gradient(135deg,#24190b,#d9b773 45%,#332510 55%,#dab675);box-shadow:0 0 0 3px #0b0b08,0 0 0 4px #806338,0 10px 26px #000c,inset 0 0 0 2px #3c2b11}.profile-avatar-frame:after{content:'◆';position:absolute;left:calc(50% - 7px);bottom:-13px;color:#dcb775;font-size:17px;text-shadow:0 1px 2px #000}.profile-avatar{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;border:2px solid #211a0d;border-radius:50%}.profile-avatar-fallback{background:#171b14;padding:20px}
.profile-page .profile-identity h1{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(30px,4vw,48px);font-weight:bold;line-height:1.08;color:#fff0d4!important;margin:0 0 18px;overflow-wrap:anywhere;text-shadow:0 3px 10px #000}
.public-profile-meta{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.profile-meta-text,.profile-meta-platform{display:inline-flex;align-items:center;gap:7px;max-width:100%;font-size:14px;line-height:1.45;color:#eee2c6;border:1px solid #9a77485c;border-radius:7px;padding:4px 9px;background:#080b09bd;overflow-wrap:anywhere}.profile-meta-icon{color:#e5bd73;font-size:21px;line-height:1;flex-shrink:0}.profile-meta-platform img{width:21px;height:21px;object-fit:contain;flex-shrink:0}.profile-meta-text>span:last-child{min-width:0}.profile-meta-platform{flex-wrap:wrap}
.public-profile-count{position:relative;align-self:center;text-align:center;padding:22px 10px;border:1px solid #c79a50;border-radius:5px;background:linear-gradient(135deg,#1e1a11ed,#070a08f5);box-shadow:inset 0 0 0 4px #0a0c08,inset 0 0 0 5px #6f542b,0 6px 20px #000a}.public-profile-count:before,.profile-gallery:before{content:'◇◆◇';position:absolute;top:-11px;left:50%;transform:translateX(-50%);font-size:15px;line-height:20px;letter-spacing:2px;color:#caa364;text-shadow:0 1px 3px #000;background:#11130e;padding:0 9px}.public-profile-count>div{display:flex;justify-content:center;align-items:center;gap:8px;color:#f0ce8c}.public-profile-count svg{width:24px;height:24px;stroke-width:1.8}.public-profile-count strong{font-size:29px;line-height:1.2;overflow-wrap:anywhere;min-width:0}.public-profile-count>span{display:block;color:#e2c693;font-size:13px;margin-top:8px}
.profile-page .profile-about h2{font-family:Georgia,'Times New Roman',serif!important;color:#ebc57f!important;font-size:25px;margin:0 0 10px}.profile-biography{font-size:16px;line-height:1.75;overflow-wrap:anywhere;text-shadow:0 2px 5px #000}.profile-biography a{color:#eac47b;text-decoration:underline}
.public-profile-card{border:1px solid var(--profile-border);border-radius:5px;padding:24px;background:linear-gradient(125deg,#151812ef,#090c0af2);box-shadow:inset 0 0 0 4px #090b08,inset 0 0 0 5px #67502d55,0 12px 28px #0009}
.profile-gallery{position:relative;margin-top:3px;scroll-margin-top:24px}.profile-gallery-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:0 0 20px}.profile-page .profile-gallery-heading h2{font-family:Georgia,'Times New Roman',serif!important;color:#e9c17d!important;font-size:31px;font-weight:600;line-height:1.3;margin:0}.profile-gallery-heading h2 small{font-family:'Segoe UI',Arial,sans-serif;font-size:14px;font-weight:normal;color:#d9c9aa;margin-left:6px;white-space:nowrap}.profile-gallery-all{display:inline-flex;align-items:center;gap:12px;border:1px solid #d1a24e;border-radius:5px;padding:9px 14px;font-size:14px;color:#f2d99f;background:linear-gradient(#322613,#100f09);box-shadow:inset 0 0 0 2px #0a0c08}.profile-gallery-all:hover{background:#392b17}
.public-profile-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;scroll-margin-top:24px}.profile-image-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #9d793f;border-radius:7px;background:#070a07;box-shadow:0 4px 12px #0008}.profile-image-featured{grid-column:1/-1}.profile-image-cover{overflow:hidden;background:#171b13}.profile-image-cover img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .2s}.profile-image-featured .profile-image-cover img{aspect-ratio:21/9}.profile-image-card:hover .profile-image-cover img{transform:scale(1.025)}.profile-image-card:hover{border-color:#e6ba6e}.profile-image-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:13px 17px;background:linear-gradient(#14160d,#050704)}.profile-image-title{font-size:16px;font-weight:600;color:#f1d598;line-height:1.5;overflow-wrap:anywhere;min-width:0}.profile-image-link{display:inline-flex;flex-shrink:0;color:#ecc783}.profile-image-link svg{width:21px;height:21px;stroke-width:1.7}.profile-gallery-help{font-size:12px;line-height:1.6;color:#bcae90;margin:18px 0 0}.profile-empty-gallery{color:#d2c5a9;line-height:1.6}.profile-unavailable{margin:20px 0}
.public-profile-footer{max-width:1120px;margin:8px auto 0;padding:28px 24px;border-top:1px solid #84633466;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:#bcae92}.public-profile-footer a{color:#ddba7e}.profile-page a:focus-visible{outline:2px solid #ffe1a3;outline-offset:4px}
@media(min-width:1200px){.profile-introduction{padding-top:24px;padding-bottom:36px}.profile-page .portal-banner{min-height:210px}.profile-image-featured .profile-image-cover img{max-height:440px}}
@media(max-width:760px){.profile-page .public-profile{padding:0 18px 22px}.public-profile-heading{grid-template-columns:130px minmax(0,1fr);gap:20px}.profile-avatar-frame{width:130px}.public-profile-count{grid-column:2;justify-self:start;min-width:135px;padding:13px 20px;margin-top:-4px}.profile-introduction{padding:6px 4px 28px}.profile-page .profile-site-header .header-inner{flex-wrap:wrap;gap:8px}.profile-header-actions{margin-left:auto}.profile-page .brand-title{font-size:18px}.profile-page .brand-caption{font-size:7px;letter-spacing:1px}.profile-page .brand-mark{width:44px;height:44px}.public-profile-card{padding:20px}.public-profile-images{gap:14px}}
@media(max-width:520px){.profile-page .profile-site-header .header-inner{padding:10px 14px}.profile-page .brand-title{font-size:15px}.profile-page .brand-caption{font-size:6px;letter-spacing:.7px}.profile-page .brand-mark{width:35px;height:35px}.profile-header-actions{gap:4px}.profile-community-link{font-size:12px;padding:6px}.profile-languages a{padding:6px 4px;font-size:11px}.profile-page .portal-banner{min-height:115px}.profile-page .public-profile{padding:0 16px 18px}.profile-breadcrumb{font-size:12px;padding:13px 0 22px}.public-profile-heading{grid-template-columns:112px minmax(0,1fr);gap:18px 16px;margin-bottom:24px}.profile-avatar-frame{width:112px}.profile-page .profile-identity h1{font-size:31px;margin-bottom:12px}.profile-meta-text,.profile-meta-platform{font-size:12px;padding:3px 6px;gap:5px}.profile-meta-icon{font-size:17px}.profile-meta-platform img{width:18px;height:18px}.public-profile-count{grid-column:1/-1;justify-self:end;margin:0;padding:12px 20px;min-width:130px}.public-profile-count strong{font-size:24px}.public-profile-count>span{font-size:12px;margin-top:4px}.profile-page .profile-about h2{font-size:23px}.profile-biography{font-size:14px;line-height:1.7}.public-profile-card{padding:17px}.profile-gallery-heading{gap:10px;margin-bottom:16px}.profile-page .profile-gallery-heading h2{font-size:27px}.profile-gallery-heading h2 small{font-size:12px;margin-left:3px}.profile-gallery-all{font-size:12px;padding:8px 10px;gap:7px}.public-profile-images{gap:12px}.profile-image-featured .profile-image-cover img{aspect-ratio:16/8}.profile-image-cover img{aspect-ratio:4/3}.profile-image-caption{padding:10px 11px;gap:8px;min-height:54px}.profile-image-title{font-size:13px}.profile-image-link svg{width:18px;height:18px}.public-profile-footer{font-size:12px;padding:22px 16px;justify-content:center}.public-profile-count:before{font-size:13px}}
@media(prefers-reduced-motion:reduce){.profile-image-cover img{transition:none}.profile-image-card:hover .profile-image-cover img{transform:none}}
/* Override the shared heading typography only inside this profile layout. */
body.profile-page .public-profile .profile-identity h1{font-family:Georgia,'Times New Roman',serif!important;color:#fff0d4!important;font-weight:bold}
body.profile-page .public-profile .profile-about h2,body.profile-page .public-profile .profile-gallery-heading h2{font-family:Georgia,'Times New Roman',serif!important;color:#ebc57f!important}