/* Shared profile hub, in the existing dark/gold site theme. */
body.gx-body.gx-profile-hub-page .gx-profile,
body.gx-body .gx-profile-hub-shell {background:none;border:0;padding:0;box-shadow:none;width:100%;min-width:0}
body.gx-body.gx-profile-hub-page .gx-profile__hero {position:relative;overflow:hidden;min-height:210px;border:1px solid #655322;border-radius:18px;background:radial-gradient(ellipse at 88% 0,rgba(245,197,24,.16),transparent 58%),repeating-linear-gradient(132deg,transparent 0 160px,rgba(255,255,255,.035) 161px 162px),linear-gradient(120deg,#16161e,#242127 55%,#131318);margin:0 0 12px}
body.gx-body.gx-profile-hub-page .gx-profile__hero-inner {position:relative;z-index:1;display:flex;align-items:center;gap:28px;padding:30px 34px;min-height:210px}
body.gx-body.gx-profile-hub-page .gx-profile__avatar-wrap {flex:0 0 112px;width:112px;height:112px}
body.gx-body.gx-profile-hub-page .gx-profile__hero .gx-avatar {--gx-avatar-size:112px;--gx-avatar-radius:50%}
body.gx-body.gx-profile-hub-page .gx-profile__intro {min-width:0;flex:1;padding-right:250px}
body.gx-body.gx-profile-hub-page .gx-profile__name {margin:4px 0 16px;font-size:26px;line-height:1.35;overflow-wrap:anywhere}
body.gx-body.gx-profile-hub-page .gx-profile__activity {font-size:11px;margin:0;color:#a8a6ae}
body.gx-body.gx-profile-hub-page .gx-profile__quick {display:flex;gap:26px;flex-wrap:wrap;margin-top:14px}
body.gx-body.gx-profile-hub-page .gx-profile__stat-pill {display:flex;flex-direction:column-reverse;align-items:flex-start;background:none;border:0;padding:0;gap:4px;min-width:0}
body.gx-body.gx-profile-hub-page .gx-profile__stat-pill strong {font-size:15px;color:#f5c518}
body.gx-body.gx-profile-hub-page .gx-profile__stat-pill small {font-size:10px;color:#aaa7b2}
.gx-profile__hero-brand {position:absolute;right:30px;top:48px;z-index:2;display:flex;flex-direction:column;align-items:flex-end;gap:8px;color:#f5c518;pointer-events:none}
.gx-profile__hero-brand small {font-size:9px;letter-spacing:3px;color:#b6aa87}.gx-profile__hero-brand strong{font-size:19px;font-weight:900;letter-spacing:.5px}
body.gx-body.gx-profile-hub-page .gx-profile__tabs {display:flex;justify-content:center;align-items:center;gap:4px;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;border:1px solid #544724;background:#19191f;border-radius:11px;padding:5px 8px;margin:0 0 18px;scrollbar-width:thin}
body.gx-body.gx-profile-hub-page .gx-profile__tab {position:relative;flex:0 0 auto;padding:12px 14px;color:#c4c1cb;background:none;border:0;border-radius:6px;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
body.gx-body.gx-profile-hub-page .gx-profile__tab.is-active {color:#f5c518;background:rgba(245,197,24,.08)}
body.gx-body.gx-profile-hub-page .gx-profile__tab.is-active::after {content:"";position:absolute;bottom:2px;left:14px;right:14px;height:2px;background:#f5c518;border-radius:2px}
body.gx-body.gx-profile-hub-page .gx-profile__tab:focus-visible,.gx-hub-gift:focus-visible,.gx-hub-badge:focus-visible{outline:2px solid #f5c518;outline-offset:2px}
body.gx-body.gx-profile-hub-page .gx-profile__card {background:linear-gradient(135deg,#1d1d25,#15151c);border:1px solid #514627;border-radius:13px;padding:20px;margin-bottom:16px;min-width:0;box-shadow:0 6px 20px #0002}
body.gx-body.gx-profile-hub-page .gx-profile__card h3 {font-size:14px;font-weight:800;color:#eeedf2;margin:0 0 16px}
body.gx-body.gx-profile-hub-page .gx-profile__card-head {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
body.gx-body.gx-profile-hub-page .gx-profile__card-head h3{margin:0}
.gx-hub-overview {display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:16px;align-items:start}
.gx-hub-main,.gx-hub-aside{min-width:0}.gx-hub-about-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
body.gx-body.gx-profile-hub-page .gx-profile__dl {margin:0;padding:0;list-style:none}
body.gx-body.gx-profile-hub-page .gx-profile__dl li {display:grid;grid-template-columns:minmax(90px,.85fr) minmax(0,1fr);gap:14px;align-items:start;border-bottom:1px solid #ffffff08;padding:9px 0;font-size:12px;min-width:0}
body.gx-body.gx-profile-hub-page .gx-profile__dl li>span{color:#a6a2b0}.gx-profile__dl li>strong{overflow-wrap:anywhere;font-weight:500;color:#ebe8ef}
.gx-hub-badges{display:flex;flex-wrap:wrap;gap:12px}.gx-hub-badge{width:70px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.gx-hub-badge b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:2px solid #bc8b25;background:radial-gradient(circle at 35% 25%,#fce39b,#a26e19 50%,#37260c 85%);color:#241504;font-size:24px;box-shadow:0 0 0 3px #4a3619,0 0 14px #f5c51818}
.gx-hub-badge small{font-size:9px;line-height:1.3;color:#c5b47b}
.gx-hub-badge{border:1px solid #51472a;border-radius:10px;background:#19191f;padding:10px 6px;width:96px;cursor:pointer;color:#eee}.gx-hub-badge>img{width:56px;height:63px;object-fit:contain}.gx-hub-badge.is-locked>img{filter:grayscale(1);opacity:.35}.gx-hub-badge-level{font-size:9px;color:#ac9b64}.gx-hub-badge-progress{height:3px;display:block;width:90%;background:#333039;border-radius:2px;margin-top:3px}.gx-hub-badge-progress>i{display:block;height:100%;background:#e9bd43;border-radius:2px}.gx-hub-badges{gap:10px}.gx-hub-lightbox>p{max-width:500px;color:#c2bdcf;line-height:1.7}
.gx-hub-gifts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.gx-hub-gifts--all{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}
.gx-hub-gift{border:1px solid #625029;background:#222127;border-radius:9px;aspect-ratio:1;padding:7px;cursor:pointer;min-width:0}.gx-hub-gift img{width:100%;height:100%;object-fit:contain}
.gx-hub-empty{grid-column:1/-1;color:#9d99a7;font-size:12px;padding:12px 0;margin:0}
.gx-hub-feedback{color:#d9c47b;font-size:12px;min-height:1em}
.gx-hub-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.gx-hub-photo{margin:0;min-width:0}.gx-hub-photo-open{display:block;width:100%;padding:0;border:1px solid #64532b;border-radius:10px;background:#121218;overflow:hidden;cursor:pointer}.gx-hub-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.gx-hub-photo>.gx-profile__btn{margin-top:8px}
.gx-hub-lightbox{background:#17171f;color:#eee;border:1px solid #a48931;border-radius:14px;max-width:min(94vw,1200px);padding:16px}.gx-hub-lightbox::backdrop{background:#000c}.gx-hub-lightbox>img{display:block;max-width:100%;max-height:80vh;margin:12px auto 0;object-fit:contain}
body.gx-body.gx-profile-hub-page .gx-profile__friends{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gx-hub-friend{display:flex;align-items:center;gap:12px;border:1px solid #4a4430;background:#202027;border-radius:10px;padding:14px;min-width:0}.gx-hub-friend-avatar{flex:0 0 44px}.gx-hub-friend-avatar .gx-avatar{--gx-avatar-size:44px;--gx-avatar-radius:50%}.gx-hub-friend>div{display:flex;align-items:flex-start;flex-direction:column;gap:6px;min-width:0}.gx-hub-friend>div>a:first-child{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.gx-hub-friend .gx-profile__btn{font-size:10px;padding:5px 9px}
body.gx-body.gx-profile-hub-page .gx-profile__actions,body.gx-body.gx-profile-hub-page .gx-profile__admin-bar{margin:0 0 12px;padding:10px 12px;background:#18181f;border:1px solid #494026;border-radius:10px;display:flex;flex-wrap:wrap;gap:8px}
body.gx-body.gx-profile-personal-route .gx-row>.order-is-last{display:none!important}
body.gx-body.gx-profile-personal-route .gx-row>.order-is-first{flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin:0!important}
body.gx-body.gx-profile-personal-route .gx-profile-hub-shell{margin-bottom:0}
body.gx-body.gx-profile-personal-route .profile-settings>.row{margin-left:0!important;margin-right:0!important}
body.gx-body.gx-profile-personal-route :is(#gxFriendsPanel,.block-search)>.input-search{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;left:auto!important;right:auto!important;box-sizing:border-box}
body.gx-body.gx-profile-hub-page .table-responsive{max-width:100%}
body.gx-body.gx-profile-hub-page [data-gx-stat-server]{min-height:38px;max-width:320px;background:#17171f;border:1px solid #66552a;border-radius:8px;padding:8px 12px;color:#eee}
body.gx-body.gx-profile-hub-page .gx-profile__panel[hidden]{display:none!important}
/* Override the legacy blanket gold decorations inside the compact profile UI. */
body.gx-body.gx-profile-hub-page .gx-profile__stat-pill{border:0!important;box-shadow:none!important;border-radius:0!important;background:none!important}
body.gx-body.gx-profile-hub-page .gx-profile__dl li{border:0!important;border-bottom:1px solid #ffffff0a!important;border-radius:0!important;box-shadow:none!important;background:none!important}
body.gx-body.gx-profile-hub-page .gx-profile__hero-inner{flex-direction:row!important;flex-wrap:nowrap!important}
body.gx-body.gx-profile-hub-page .gx-profile__avatar-wrap>.gx-avatar{position:relative;display:inline-flex!important}
body.gx-body.gx-profile-hub-page .gx-profile__quick .gx-profile__stat-pill>strong,body.gx-body.gx-profile-hub-page .gx-profile__quick .gx-profile__stat-pill>small{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
@media(max-width:1100px){.gx-hub-overview{grid-template-columns:minmax(0,1fr) 225px}.gx-hub-about-columns{gap:18px;grid-template-columns:1fr}body.gx-body.gx-profile-hub-page .gx-profile__friends{grid-template-columns:repeat(3,minmax(0,1fr))}body.gx-body.gx-profile-hub-page .gx-profile__tabs{justify-content:flex-start}}
@media(max-width:767.98px){.gx-hub-overview{grid-template-columns:1fr}.gx-hub-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.gx-body.gx-profile-hub-page .gx-profile__hero-inner{padding:24px 20px;gap:18px}.gx-profile__hero-brand{right:20px;top:16px}.gx-profile__hero-brand strong{font-size:12px}.gx-profile__hero-brand small{display:none}body.gx-body.gx-profile-hub-page .gx-profile__intro{padding-right:0;padding-top:10px}body.gx-body.gx-profile-hub-page .gx-profile__name{font-size:22px}body.gx-body.gx-profile-hub-page .gx-profile__friends{grid-template-columns:repeat(2,minmax(0,1fr))}body.gx-body.gx-profile-hub-page .gx-profile__card{padding:16px}.gx-hub-about-columns{grid-template-columns:1fr}}
@media(max-width:479.98px){.gx-hub-aside{grid-template-columns:1fr}body.gx-body.gx-profile-hub-page .gx-profile__hero-inner{align-items:flex-start;gap:16px;padding-top:38px}body.gx-body.gx-profile-hub-page .gx-profile__avatar-wrap{flex-basis:80px;width:80px;height:80px}body.gx-body.gx-profile-hub-page .gx-profile__hero .gx-avatar{--gx-avatar-size:80px}body.gx-body.gx-profile-hub-page .gx-profile__quick{gap:12px}body.gx-body.gx-profile-hub-page .gx-profile__friends{grid-template-columns:1fr}}
