/* 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}/* Profile cards and regular gallery rhythm; shared navigation/banner stay untouched. */
html body.profile-page .public-profile{max-width:1320px;padding-bottom:40px}
html body.profile-page .profile-introduction{padding:26px!important;margin:0 0 24px;border:1px solid #8e6d40!important;border-radius:10px!important;background:radial-gradient(ellipse at 5% 0,#6c4d252e,transparent 65%),linear-gradient(125deg,#202622,#111719)!important;box-shadow:0 12px 30px #0003!important}
html body.profile-page .public-profile-heading{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:24px;align-items:center;margin:0 0 18px}
html body.profile-page .profile-avatar-frame{width:180px;padding:5px;background:#101415;border:1px solid #ad874e;border-radius:12px;box-shadow:0 5px 18px #0005}
html body.profile-page .profile-avatar{display:block;width:168px;height:168px;object-fit:cover;border-radius:8px}
html body.profile-page .profile-identity h1{font-size:clamp(30px,4vw,52px);line-height:1.15;margin:0 0 16px;color:#e5bd78;overflow-wrap:anywhere}
html body.profile-page .public-profile-meta{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}
html body.profile-page :is(.profile-meta-text,.profile-meta-platform){display:inline-flex;align-items:center;gap:7px;margin:0;padding:8px 11px;border:1px solid #745b37;border-radius:5px;background:#12191a;font:14px/1.4 Georgia,serif;max-width:100%;overflow-wrap:anywhere}
html body.profile-page .public-profile-count{padding:16px!important;min-width:140px;background:#101719!important;border-radius:7px!important;align-self:center;justify-self:end;margin:0}
html body.profile-page .public-profile-count strong{font-size:28px}
.profile-stat-strip{display:flex;gap:10px;flex-wrap:wrap;padding:0 0 18px}
.profile-stat-strip>span{display:inline-flex;align-items:center;gap:9px;padding:9px 14px;border:1px solid #715735;border-radius:5px;background:#111819;font:14px/1.4 Georgia,serif;color:#cfc5b3}
.profile-stat-strip strong{font-size:20px;color:#e5bd78}
html body.profile-page .profile-about{padding:20px!important;margin:16px 0 0;border:1px solid #70583a!important;border-radius:7px!important;background:#12191ad9!important}
html body.profile-page .profile-about h2{font-size:24px;color:#e5bd78;margin:0 0 12px}
html body.profile-page .profile-biography{font-size:16px;line-height:1.8;color:#d4cec0;overflow-wrap:anywhere}
html body.profile-page .profile-gallery{padding:22px!important}
html body.profile-page .profile-gallery-heading{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:0 0 20px}
html body.profile-page .public-profile-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
html body.profile-page .cw-profile-image-wrap{min-width:0;overflow:hidden;border:1px solid #715735;border-radius:8px;background:#141b1b;grid-column:auto;grid-row:auto}
html body.profile-page .profile-image-card{display:block;border:0!important;border-radius:0!important;overflow:hidden;grid-column:auto;grid-row:auto;background:transparent!important}
html body.profile-page .profile-image-cover{aspect-ratio:16/10;overflow:hidden}
html body.profile-page .profile-image-cover img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;transition:transform .2s ease}
html body.profile-page .profile-image-card:hover .profile-image-cover img{transform:scale(1.025)}
html body.profile-page .profile-image-caption{min-height:58px;padding:12px!important;display:flex;align-items:center;gap:10px}
html body.profile-page .profile-image-title{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:1050px){html body.profile-page .public-profile-images{grid-template-columns:repeat(2,minmax(0,1fr))}html body.profile-page .public-profile-heading{grid-template-columns:150px minmax(0,1fr)}html body.profile-page .profile-avatar-frame{width:150px}html body.profile-page .profile-avatar{width:138px;height:138px}html body.profile-page .public-profile-count{grid-column:1/-1;justify-self:start;min-width:0;display:flex;align-items:center;gap:14px}html body.profile-page .public-profile-count>span{margin:0}}
@media(max-width:600px){html body.profile-page .public-profile{padding-inline:14px}html body.profile-page .profile-introduction{padding:18px!important}html body.profile-page .public-profile-heading{grid-template-columns:100px minmax(0,1fr);gap:14px}html body.profile-page .profile-avatar-frame{width:100px}html body.profile-page .profile-avatar{width:88px;height:88px}html body.profile-page .profile-identity h1{font-size:28px;margin-bottom:10px}html body.profile-page :is(.profile-meta-text,.profile-meta-platform){font-size:12px;padding:6px 8px}html body.profile-page .profile-gallery{padding:14px!important}html body.profile-page .public-profile-images{grid-template-columns:minmax(0,1fr);gap:16px}html body.profile-page .profile-about{padding:16px!important}.profile-stat-strip>span{font-size:12px;padding:8px 10px}html body.profile-page .profile-gallery-all{min-height:44px;display:inline-flex;align-items:center}}
@media(prefers-reduced-motion:reduce){html body.profile-page .profile-image-cover img{transition:none;transform:none!important}}
@media(max-width:600px){
 html body.profile-page .public-profile-heading{display:flex;flex-direction:column;align-items:center;gap:16px}
 html body.profile-page .profile-identity{width:100%;text-align:center;min-width:0}
 html body.profile-page .profile-identity h1{font-size:30px;overflow-wrap:break-word}
 html body.profile-page .public-profile-meta{justify-content:center}
 html body.profile-page .public-profile-count{align-self:center;justify-self:auto;padding:12px 16px!important}
 html body.profile-page .profile-stat-strip{justify-content:center}
}
@media(max-width:600px){html body.profile-page .profile-stat-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html body.profile-page .profile-stat-strip>span{display:flex;flex-direction:column;gap:4px;text-align:center;justify-content:center}}
