/* Personal pages share the game's jade, old gold, portraits and panel artwork. */
.game-avatar{display:inline-block;position:relative;flex:none;width:40px;height:40px;overflow:hidden;vertical-align:middle;border:1px solid #b8a569;border-radius:4px;background-color:#263426;background-repeat:no-repeat;box-shadow:inset 0 0 0 2px #121e15,0 2px 7px #0008}
.game-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.game-avatar img[hidden]{display:none!important}
dialog#gameAccountDialog:is([data-view=owned],[data-view=claim]){width:min(780px,calc(100vw - 24px));padding:20px;background:linear-gradient(#142019ed,#142019f5),url('../ui/classic/pbg.png') center/cover}
dialog#gameAccountDialog[data-interrupted=true]{width:min(460px,calc(100vw - 24px))}
#gameAccountDialog:is([data-view=owned],[data-view=claim]) .account-heading{min-height:0;padding:11px 60px 10px 20px;margin:-20px -20px 14px;background:#152217;border-bottom-color:#60724d}
#gameAccountDialog:is([data-view=owned],[data-view=claim]) .account-heading .account-eyebrow{display:none}
#gameAccountDialog:is([data-view=owned],[data-view=claim]) .account-heading h2{font-size:14px;color:#c6bc93}
#gameAccountDialog:is([data-view=owned],[data-view=claim]) #gameAccountSubtitle{display:none}
#gameAccountDialog[data-view=owned] #gameAccountCharacter{display:none!important}
#gameAccountDialog .profile-hub{margin-bottom:12px}
#gameAccountDialog .profile-hero{position:relative;isolation:isolate;min-height:195px;padding:52px 22px 20px;overflow:hidden;border:1px solid #81784b;border-radius:3px;background:#0d1a14;box-shadow:inset 0 0 0 4px #c6b1700b}
#gameAccountDialog .profile-cover,.community-profile-cover{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b1915 2%,#0b1915eb 30%,#0b191526 77%),linear-gradient(0deg,#0b1915f2,transparent 80%),url('../brand/20261010-jade1/share-1200x630.jpg') right 21%/155% auto no-repeat;opacity:.92}
#gameAccountDialog .profile-hero::after{content:'';position:absolute;inset:5px;border:1px solid #d1b86a20;pointer-events:none}
#gameAccountDialog .profile-identity{position:relative;display:flex;align-items:center;gap:19px;z-index:1}
#gameAccountDialog .profile-main-avatar{width:102px;height:112px;border:2px solid #d2bd77;border-radius:3px;box-shadow:0 0 0 4px #142117,0 0 0 5px #968356,0 5px 14px #0009}
#gameAccountDialog .profile-identity-copy{flex:1;max-width:430px;padding-right:8px}
#gameAccountDialog .profile-eyebrow{font-size:9px;letter-spacing:2px;color:#b5bd9c}
#gameAccountDialog #gameProfileName{font-family:"Times New Roman","Noto Serif",serif;font-size:29px;line-height:1.3;margin:5px 0 6px;color:#f2ddaa;overflow-wrap:anywhere;text-shadow:0 2px 4px #000}
#gameAccountDialog #gameProfileBio{font-size:11px;line-height:1.6;color:#c5cbb6;margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:360px}
#gameAccountDialog .profile-save-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid #7d926642;border-radius:3px;background:#112b1de0;color:#b2d5a3;font-size:10px}
#gameAccountDialog .profile-save-badge[data-phase=conflict],#gameAccountDialog .profile-save-badge[data-phase=error]{color:#f1cc83;border-color:#ac855b}
#gameAccountDialog .profile-edit-button{position:absolute;top:13px;left:20px;z-index:2;min-height:28px;padding:4px 10px;border:1px solid #a693625e;background:#142218c9;color:#dbca9d;border-radius:2px;font-size:10px}
#gameAccountDialog .profile-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:19px 0 9px}
#gameAccountDialog .profile-section-heading h3{margin:0;font-size:13px;font-weight:500;color:#d9cb97}
#gameAccountDialog .profile-section-heading>span{font-size:9px;color:#91a286}
#gameAccountDialog .profile-character-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#gameAccountDialog .profile-character{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 10px 9px;min-height:243px;border:1px solid #596745;background:radial-gradient(ellipse at 50% 10%,#48623a44,transparent 65%),linear-gradient(#1d2e20d9,#09180fe8),url('../ui/classic/pbg.png') center/cover;box-shadow:inset 0 0 0 3px #9aab7620}
#gameAccountDialog .profile-character[data-active=true]{border-color:#bba064;box-shadow:inset 0 0 0 3px #bba06422,0 0 12px #bb993310}
#gameAccountDialog .profile-card-label{font-size:8px;line-height:1.5;letter-spacing:1.4px;color:#a5b293;margin-bottom:10px}
#gameAccountDialog .profile-character[data-active=true] .profile-card-label{color:#e0c889}
#gameAccountDialog .profile-card-avatar{width:86px;height:96px;border-color:#b5a267;box-shadow:0 0 0 3px #111d12,0 0 0 4px #667448;mask-image:linear-gradient(#000 80%,#000b)}
#gameAccountDialog .profile-character h3{max-width:100%;font-size:13px;font-weight:500;color:#e5d7ac;line-height:1.5;margin:12px 0 2px;overflow-wrap:anywhere}
#gameAccountDialog .profile-card-meta{font-size:10px;color:#a8b596;margin:0 0 11px}
#gameAccountDialog .profile-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:3px;width:100%;margin-top:auto}
#gameAccountDialog .profile-card-actions button,#gameAccountDialog .profile-character>button{min-height:30px;padding:5px 3px;font-size:10px;border:1px solid transparent;border-radius:2px;background:none;color:#b8c4a8;line-height:1.35}
#gameAccountDialog .profile-card-actions .profile-card-view,#gameAccountDialog .profile-character>.profile-card-view{grid-column:1/-1;border-color:#738054;background:linear-gradient(#364830,#1b2c1a);color:#e5d6a6;width:100%;margin-top:auto}
#gameAccountDialog .profile-card-actions button:hover{background:#4656395c;color:#f5dfa8;border-color:#8c926a}
#gameAccountDialog .profile-character-empty{border-style:dashed;background:linear-gradient(#12201680,#102017ab);box-shadow:none}
#gameAccountDialog .profile-empty-art{display:grid;place-items:center;width:86px;height:96px;font-size:32px;font-weight:200;color:#83947055;border:1px solid #46553b55;background:#20332245}
#gameAccountDialog .profile-character-empty h3{color:#92a084}
#gameAccountDialog .profile-download{display:block;margin:13px auto 0;padding:5px 10px;min-height:30px;background:none;border:0;color:#b3bb9a;font-size:10px;text-decoration:underline;text-underline-offset:3px}
#gameAccountDialog .profile-primary-actions{display:flex;gap:9px;margin-top:12px}
#gameAccountDialog .profile-primary-actions #gameProfileView{width:auto;flex:0 0 auto;font-size:12px;padding:8px 17px}
#gameAccountDialog #gameAccountContinue{width:100%;min-height:46px;font-size:14px;letter-spacing:.4px}
#gameAccountDialog #gameAccountChangeCharacter{margin:0;min-height:42px;white-space:nowrap}
#gameAccountDialog #gameAccountLogout{display:inline-flex;min-height:32px;font-size:11px;padding:5px 11px}
#gameAccountDialog .profile-status{margin:10px 0;color:#e1c885;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
#gameAccountDialog .profile-status:empty{display:none}
#gameAccountDialog .profile-download-link{display:inline-block;padding:6px 8px;border:1px solid #968356;border-radius:2px;background:#24351d;color:#f0d99b;text-decoration:underline;text-underline-offset:3px}
#gameAccountDialog .profile-editor{padding:17px;margin-top:12px;border:1px solid #8b8658;background:#0c1a11;box-shadow:inset 0 0 0 3px #a8a56b10}
#gameAccountDialog .profile-editor h3{margin:0 0 15px;color:#e2d29e;font-size:14px}
#gameAccountDialog .profile-edit-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px}
#gameAccountDialog .profile-photo-editor{display:flex;flex-direction:column;align-items:center;gap:8px}
#gameAccountDialog .profile-edit-preview{width:90px;height:90px}
#gameAccountDialog .profile-file-label{font-size:11px;color:#d3c391}
#gameAccountDialog #gameProfileFile{height:auto;min-height:34px;padding:5px;font-size:9px;width:100%}
#gameAccountDialog .profile-photo-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:center}
#gameAccountDialog .profile-photo-actions button{min-height:30px;font-size:9px;padding:4px 7px;border:1px solid #626d49;background:#24371f;color:#d5cca3;border-radius:2px}
#gameAccountDialog .profile-editor small{font-size:9px;line-height:1.6;color:#9fac92}
#gameAccountDialog .profile-fields label{display:block;font-size:11px;color:#d2c799;margin-bottom:12px}
#gameAccountDialog .profile-fields input,#gameAccountDialog .profile-fields textarea{display:block;width:100%;margin:6px 0 0;min-height:40px;background:#07110b;border:1px solid #697a50;border-radius:2px;padding:8px;color:#e2dfc7;font-size:12px;line-height:1.6;resize:vertical}
#gameAccountDialog .profile-editor-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
#gameAccountDialog .profile-editor-actions .btn{width:auto;min-width:100px;font-size:11px;min-height:36px;padding:6px 14px}
.game-avatar.social-avatar{width:38px;height:42px}.game-avatar.chat-avatar{width:23px;height:25px;margin-right:5px;border-color:#8b8959;vertical-align:-7px}.game-avatar.hall-avatar{width:29px;height:33px;margin-right:7px;vertical-align:middle}
#gameHallDialog .hall-name:has(.game-avatar){display:inline-flex;gap:0;align-items:center;text-align:left}
#gameSocialSeal.game-avatar{width:40px;height:44px}
/* The public character page remains a projection of the single requested character. */
dialog#gameCommunityDialog{width:min(780px,calc(100vw - 24px));padding:20px;background:linear-gradient(#142019ee,#142019f7),url('../ui/classic/pbg.png') center/cover;max-height:calc(100dvh - 24px);box-sizing:border-box}
#gameCommunityDialog [hidden]{display:none!important}
#gameCommunityDialog .community-profile-header{position:relative;isolation:isolate;display:flex;align-items:center;gap:20px;min-height:170px;margin:-20px -20px 17px;padding:35px 60px 22px 28px;border-bottom:1px solid #9d9056;overflow:hidden}
#gameCommunityDialog .community-profile-cover{background-position:0 0,0 0,right 20%}
#gameCommunityDialog .community-profile-avatar{width:96px;height:106px;border:2px solid #ceb778;box-shadow:0 0 0 4px #142116,0 0 0 5px #8c8053,0 5px 18px #0009}
#gameCommunityDialog .community-profile-heading{flex:1;min-width:0}
#gameCommunityDialog .community-profile-eyebrow{font-size:9px;color:#a3b196;letter-spacing:1.8px}
#gameCommunityDialog #gameCommunityName{font:26px/1.3 "Times New Roman","Noto Serif",serif;color:#f0dba6;margin:6px 0 8px;overflow-wrap:anywhere;text-shadow:0 2px 5px #000}
#gameCommunityDialog #gameCommunitySummary{font-size:12px;color:#c4cdae}
#gameCommunityDialog #gameCommunityOwner{display:block;margin-top:7px;font-size:10px;color:#a0af95}
#gameCommunityDialog #gameCommunityClose{position:absolute;right:12px;top:12px}
#gameCommunityDialog .community-profile-bio{margin:0 0 12px;font-size:12px;line-height:1.7;white-space:pre-wrap;color:#b6c2a5;border-left:2px solid #9b9159;padding:1px 12px}
#gameCommunityDialog .community-profile-bio:empty{display:none}
#gameCommunityDialog .community-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:0;border:0;margin:15px 0 19px}
#gameCommunityDialog .community-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:13px 7px;border:1px solid #606d43;background:radial-gradient(ellipse at top,#51643950,transparent),#111f15;box-shadow:inset 0 0 0 3px #a8b3790d}
#gameCommunityDialog .community-stats strong{font:25px/1.2 "Times New Roman","Noto Serif",serif;color:#e6d293}
#gameCommunityDialog .community-stats span{font-size:10px;color:#a9b497}
#gameCommunityDialog h3{font-size:12px;margin-top:18px;background:linear-gradient(90deg,#3e492d,#152319);border-color:#646b43;padding:6px 9px}
#gameCommunityDialog .community-equipment{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;padding:11px;background:linear-gradient(#0c160dcc,#0b150dea),url('../ui/classic/pbg.png') center/cover}
#gameCommunityDialog .community-equipment .community-item,#gameCommunityDialog .community-slot-empty{min-height:103px}
#gameCommunityDialog .community-equipment .community-icon{width:54px;height:61px}
#gameCommunityDialog .community-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#gameCommunityDialog .community-action{min-height:36px;padding:7px 13px;font-size:11px;margin-top:0}
#gameCommunityDialog #gameCommunityMention{margin-top:12px}
#gameCommunityDialog .community-slot-empty{opacity:.65}
@media(max-width:600px){
 dialog#gameAccountDialog:is([data-view=owned],[data-view=claim]),dialog#gameCommunityDialog{padding:12px;width:calc(100vw - 16px);max-width:calc(100vw - 16px)}
 #gameAccountDialog:is([data-view=owned],[data-view=claim]) .account-heading{margin:-12px -12px 12px;padding-left:12px}
 #gameAccountDialog .profile-hero{padding:49px 15px 19px;min-height:174px}
 #gameAccountDialog .profile-main-avatar{width:78px;height:88px}
 #gameAccountDialog .profile-identity{gap:14px}
 #gameAccountDialog #gameProfileName{font-size:24px}
 #gameAccountDialog .profile-eyebrow{font-size:8px;letter-spacing:1px}
 #gameAccountDialog #gameProfileBio{font-size:10px}
 #gameAccountDialog .profile-character-grid{gap:7px}
 #gameAccountDialog .profile-character{padding:10px 5px 7px;min-height:223px}
 #gameAccountDialog .profile-card-avatar,#gameAccountDialog .profile-empty-art{width:64px;height:78px}
 #gameAccountDialog .profile-character h3{font-size:11px}
 #gameAccountDialog .profile-card-meta{font-size:9px}
 #gameAccountDialog .profile-card-actions{grid-template-columns:1fr}
 #gameAccountDialog .profile-card-actions button{font-size:9px;min-height:32px}
 #gameAccountDialog .profile-card-label{font-size:7px;letter-spacing:1px}
 #gameAccountDialog .profile-section-heading>span{font-size:8px}
 #gameAccountDialog .profile-edit-grid{grid-template-columns:1fr;gap:14px}
 #gameAccountDialog .profile-photo-editor{max-width:250px;justify-self:center}
 #gameAccountDialog .profile-editor{padding:12px}
 #gameCommunityDialog .community-profile-header{margin:-12px -12px 13px;min-height:157px;gap:14px;padding:28px 40px 22px 20px}
 #gameCommunityDialog .community-profile-avatar{width:76px;height:86px}
 #gameCommunityDialog #gameCommunityName{font-size:24px}
 #gameCommunityDialog .community-profile-eyebrow{font-size:8px;letter-spacing:.8px}
 #gameCommunityDialog #gameCommunitySummary{font-size:10px}
 #gameCommunityDialog .community-equipment{grid-template-columns:repeat(4,minmax(0,1fr));padding:7px;gap:5px}
 #gameCommunityDialog .community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #gameCommunityDialog .community-equipment .community-icon{width:45px;height:53px}
 #gameCommunityDialog .community-equipment .community-item,#gameCommunityDialog .community-slot-empty{min-height:91px}
 #gameCommunityDialog .community-action{min-height:40px}
}
