.account-main{background:#211510 url("/blizzard-media/bnetcmsus-a.akamaihd.net/cms/template_resource/ri/RI8Q9HOWY4U01465961118458.jpg") center top / 2560px auto no-repeat; background-image:url("/blizzard-media/bnetcmsus-a.akamaihd.net/cms/template_resource/ri/RI8Q9HOWY4U01465961118458.jpg"),url("/blizzard-media/assets-bwa.worldofwarcraft.blizzard.com/60f63f3e402d22e6bc55.jpg");background-position:center top,center top;background-size:2560px auto,auto;background-repeat:no-repeat,repeat;color:#ebdec2;min-height:80vh;padding:140px max(24px,calc((100vw - 1280px)/2)) 80px;font:16px/1.6 "Open Sans",Arial,sans-serif}.account-hero{padding:25px 0 48px}.account-hero>p{color:#c99536;font-size:12px;letter-spacing:3px;font-weight:700}.account-hero h1{color:#f8b700;font-size:clamp(34px,4vw,52px);font-weight:600;margin:8px 0 12px;scroll-margin-top:120px}.account-hero>span{font-size:18px;color:#b1997f}.account-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px}.account-nav{display:flex;flex-direction:column;gap:5px;align-self:start;position:sticky;top:100px}.account-nav a{padding:14px 16px;color:#ebdec2;border-left:2px solid #504137;text-decoration:none;font-size:14px}.account-nav a:hover,.account-nav a:focus{color:#ffd75a;background:#ffffff08;border-color:#c99536}.account-panels{min-width:0}.account-panel{padding:32px 36px;margin:0 0 24px;background:rgba(12,8,6,.84);border:1px solid #504137;border-radius:3px;box-shadow:0 8px 24px #0002;scroll-margin-top:100px}.account-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #504137;padding-bottom:18px;margin-bottom:20px}.account-panel h2{font-size:23px;font-weight:600;color:#f8b700;margin:0}.account-panel-heading>span{font-size:10px;letter-spacing:1.5px;color:#b1997f}.account-panel p{margin:12px 0 20px;font-size:14px}.account-panel .account-current{font-size:24px;color:#fff;margin-bottom:8px}.account-panel label{display:block;font-size:13px;font-weight:600;color:#ebdec2;margin:20px 0 0;max-width:100%}.account-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-panel input:not([type=hidden]){display:block;width:100%;height:46px;background:#17100c;border:1px solid #8b744e;color:white;padding:10px 12px;border-radius:3px;margin-top:8px;box-sizing:border-box;font:16px "Open Sans",Arial,sans-serif}.account-panel input:focus{border-color:#f8b700;outline:2px solid #f8b70055;outline-offset:1px}.account-panel small{display:block;color:#b1997f;font-size:12px;margin-top:12px}.account-panel button{background:#0000004d;border:1px solid #b1997f;color:#fff;font:600 14px/1.5 "Open Sans",Arial,sans-serif;padding:11px 22px;cursor:pointer;border-radius:3px;margin-top:22px;transition:background .2s}.account-panel button:hover{background:#ffffff08}.account-panel button:disabled,.account-panel input:disabled{opacity:.5;cursor:not-allowed}.account-panel [role=status]{color:#f8cc65;margin:12px 0 0;max-width:480px}.account-notice,.account-empty{padding:16px 18px;background:#0000004d;border-left:3px solid #c99536;font-size:14px}.account-character{display:flex;gap:18px;align-items:center;border-top:1px solid #504137;padding:20px 0}.account-character img{border-radius:4px;border:1px solid #8b744e;object-fit:cover;image-rendering:auto}.account-character h3{font-size:18px;color:#ebdec2;margin:0}.account-character p{margin:3px 0 0;color:#b1997f;font-size:13px}.account-character form{margin-left:auto;text-align:right}.account-character button{margin:0;background:transparent;border-color:#8b744e;color:#f8b700}.account-table-wrap{overflow:auto}.account-panel table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.account-panel th{color:#b1997f;font-weight:600;font-size:12px;padding:14px 16px;background:#17100c;white-space:nowrap}.account-panel td{padding:16px;border-bottom:1px solid #504137;white-space:nowrap}.account-panel tbody tr:hover{background:#ffffff08}@media(max-width:900px){.account-main{padding:110px 20px 40px}.account-layout{grid-template-columns:1fr;gap:20px}.account-nav{position:static;flex-direction:row;overflow:auto;white-space:nowrap}.account-nav a{border-left:0;border-bottom:2px solid #504137}.account-panel{padding:24px}.account-panel-heading>span{display:none}}@media(max-width:580px){.account-fields{grid-template-columns:1fr;gap:0}.account-character{flex-wrap:wrap}.account-character form{flex-basis:100%;text-align:left;margin-left:66px}.account-panel{padding:20px}.account-hero{padding-bottom:25px}}.account-nav{scrollbar-width:thin;scrollbar-color:#8b744e transparent}.account-table-wrap{scrollbar-width:thin;scrollbar-color:#8b744e transparent}.account-panel small a{color:#f8b700}

.account-compact{display:block;max-width:940px;margin:0 auto}.account-hero{max-width:940px;margin:auto;padding-bottom:30px}.account-main{padding-top:115px}.account-profile{padding-bottom:20px}.account-profile .account-panel-heading{margin-bottom:0}.account-details{margin:0}.account-detail{display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid #504137;min-height:32px}.account-detail dt{color:#b1997f;font-size:14px;font-weight:400}.account-detail dd{color:#ebdec2;font-size:16px;margin:0;overflow-wrap:anywhere}.account-readonly{font-size:11px;color:#b1997f}.account-password-mask{letter-spacing:3px}.account-panel button.account-edit{display:flex;align-items:center;justify-content:center;margin:0;padding:8px;min-width:38px;min-height:38px;background:transparent;border:1px solid transparent;color:#f8b700;border-radius:3px}.account-panel button.account-edit:hover{background:#ffffff08;border-color:#8b744e}.account-edit:focus-visible{outline:2px solid #f8b700;outline-offset:3px}.account-profile>small{margin-top:14px}.account-dialog.account-panel{position:fixed;inset:0;width:min(490px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:30px;box-sizing:border-box;color:#ebdec2;box-shadow:0 24px 80px #0008;border:1px solid #8b744e;z-index:10000}.account-dialog:not([open]){display:none}.account-dialog::backdrop{background:#0c0806bb;backdrop-filter:blur(5px)}.account-dialog h2{padding-right:28px;font-size:24px}.account-dialog .account-dialog-close{position:absolute;top:12px;right:14px;margin:0;padding:0;width:32px;height:32px;background:transparent;border:0;color:#ebdec2;font:28px/1 Arial}.account-dialog-actions{display:flex;justify-content:flex-end;gap:12px}.account-dialog button.account-cancel{background:transparent;border-color:#8b744e;color:#ebdec2}.account-dialog-actions button{margin-top:24px}.account-compact .account-panel{margin-bottom:20px}.account-compact .account-panel-heading{padding-bottom:14px}.account-compact .account-character{padding:14px 0}.account-compact .account-character:last-child{padding-bottom:0}.account-compact .account-panel td{padding:12px 16px}.account-dialog p[role=status]:empty{display:none}html:has(.account-dialog[open]){overflow:hidden}@media(max-width:580px){.account-main{padding-top:90px}.account-hero{padding-bottom:22px}.account-detail{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px 0}.account-detail dt{grid-column:1}.account-detail dd{grid-column:1;font-size:15px}.account-detail .account-edit,.account-detail .account-readonly{grid-column:2;grid-row:1 / 3}.account-dialog.account-panel{padding:24px}.account-hero h1{font-size:32px}.account-dialog-actions button{padding:10px 15px}}
.account-compact .account-dialog.account-panel{margin:auto}

.account-dialog.account-panel button.account-dialog-close{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0;margin:0;width:32px;height:32px;min-width:32px;min-height:32px;line-height:1;background:transparent;border:0;border-radius:4px;text-indent:0;box-shadow:none;text-shadow:none;transform:none}.account-dialog.account-panel button.account-dialog-close svg{display:block;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0;pointer-events:none}.account-dialog.account-panel button.account-dialog-close:hover{background:#ffffff08;color:#fff}.account-dialog.account-panel button.account-dialog-close:focus-visible{background:#ffffff08;color:#fff;outline:2px solid #f8b700;outline-offset:2px}

.account-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:20px;flex-wrap:wrap}.account-page-numbers{display:flex;gap:6px;align-items:center}.account-pagination a,.account-page-current{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:5px 11px;border:1px solid #8b744e;border-radius:3px;box-sizing:border-box;color:#ebdec2;font-size:13px;text-decoration:none}.account-pagination a:hover{background:#c9953626;border-color:#f8b700;color:#fff}.account-pagination a:focus-visible{outline:2px solid #f8b700;outline-offset:3px}.account-page-current{background:#c9953626;border-color:#f8b700;color:#f8cc65}.account-page-gap{color:#b1997f;padding:0 3px}@media(max-width:580px){.account-pagination{gap:10px}.account-page-numbers{gap:4px}.account-pagination a,.account-page-current{min-width:32px;padding:5px 8px}}

.account-details .account-detail:last-child{border-bottom:0}#account-characters .account-character:first-child{border-top:0}#account-history .account-panel-heading{border-bottom:0}

/* Keep the account content below the shared header, as on the legal pages. */
.account-main:has(.account-settings){position:relative;z-index:0}

@media(max-width:959.98px){
  .account-main:has(.account-settings){padding-top:24px}
  .account-settings>.account-hero{padding-top:8px}
}

.account-core-history td.account-history-text{white-space:pre-wrap;min-width:200px;max-width:360px;overflow-wrap:anywhere}.account-table-wrap:focus-visible{outline:2px solid #f8b700;outline-offset:3px}

.account-character-class{width:48px;height:48px;flex:0 0 auto}

.account-character-icons{display:flex;gap:6px;flex:0 0 auto;align-items:center}

/* Match the community typography without changing component dimensions. */
.account-hero h1,.account-panel h2,.account-character h3{text-shadow:none}
.account-panel button{color:#f8b700}
.account-panel input:not([type=hidden]){color:#ebdec2}
.account-panel button:hover{border-color:#f8b700;color:#ffd75a}
.account-nav a:focus-visible{outline-color:#f8b700}

/* Desatascar buttons: the page's type, yellow fill, brown text and brown border. */
.account-character form[data-account-action="unstuck/submit"] button[type=submit],
.account-dialog button[data-unstuck-confirm]{background:#f8b700;border:1px solid #8b744e;color:#211510;font-family:Arial,sans-serif;font-weight:600;box-shadow:none;text-shadow:none}
.account-character form[data-account-action="unstuck/submit"] button[type=submit]:hover,
.account-dialog button[data-unstuck-confirm]:hover{background:#ffd75a;border-color:#8b744e;color:#211510;box-shadow:none}

/* Artwork scoped to account settings; legal documents keep their background. */
.account-main:has(.account-settings){background:#211510 url("/blizzard-media/bnetcmsus-a.akamaihd.net/cms/template_resource/p8/P8LCY89PNXOK1466794718015.jpg") center top / cover no-repeat fixed;}
