body.rw-shell .rw-account-overview,
body.rw-shell .rw-account-social,
body.rw-shell .rw-account-panel {
    margin: 0 0 10px;
    border: 1px solid var(--rw-aged-paper-line);
    padding: 10px 12px;
    background: var(--rw-aged-paper-inset);
    color: var(--rw-aged-ink);
}

body.rw-shell .rw-account-overview {
    border-color: var(--rw-dusk-brass);
    background: var(--rw-dusk-raised);
    color: var(--rw-dusk-cream);
}

body.rw-shell .Content .BoxContent :is(.rw-account-overview, .rw-account-social) h2 {
    margin: 0;
    padding: 0;
    border: 0;
    font: bold 18px/1.2 Georgia, serif;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-overview h2 {
    color: var(--rw-dusk-title) !important;
}

body.rw-shell .Content .BoxContent .rw-account-overview p {
    color: var(--rw-dusk-cream);
}

body.rw-shell .Content .BoxContent .rw-account-summary h2 span {
    color: #ffd7bc !important;
}

body.rw-shell .Content .BoxContent :is(.rw-account-overview, .rw-account-social, .rw-account-panel) p {
    margin: 0;
}

body.rw-shell .Content .BoxContent .rw-account-panel p + p {
    margin-top: 6px;
}

.rw-account-summary,
.rw-account-actions,
.rw-account-social .rw-classic-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 9px;
    align-items: center;
}

.rw-account-summary {
    justify-content: space-between;
}

.rw-account-actions {
    margin-top: 8px;
}

.rw-account-summary > .rw-account-actions,
.rw-account-actions > form {
    margin: 0;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-button,
html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid var(--rw-dusk-brass);
    background: #d5b575 !important;
    color: #202319 !important;
    font: bold 13px/1.25 Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-button-secondary {
    background: var(--rw-dusk-green) !important;
    color: var(--rw-dusk-cream) !important;
}

body.rw-shell .rw-account-verify-callout {
    margin-top: 9px;
    padding: 8px;
    border: 1px solid var(--rw-dusk-brass);
    background: var(--rw-dusk-panel);
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-verify-callout a {
    color: var(--rw-dusk-gold) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rw-account-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 9px 0 0;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-tools a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 9px;
    border: 1px solid var(--rw-dusk-brass);
    background: var(--rw-dusk-panel);
    color: var(--rw-dusk-gold) !important;
    font: 700 13px/1.25 Arial, sans-serif;
    text-decoration: none;
}

body.rw-shell .rw-account-social .rw-classic-socials {
    margin-top: 7px;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-social a.rw-classic-social {
    color: #fff !important;
    text-decoration: none;
}

.rw-account-social .rw-classic-socials .rw-classic-social span {
    display: inline;
}

body.rw-shell .Content .BoxContent .rw-account-records {
    margin: 0 0 10px;
    padding: 0;
    border: 3px double var(--rw-aged-paper-line);
    background: var(--rw-aged-paper-raised);
    color: var(--rw-aged-ink);
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-records > :is(h2, summary) {
    margin: 0;
    padding: 7px 10px;
    border: 0;
    background:
        url('../images/content/box-frame-edge.gif') top left no-repeat,
        url('../images/content/box-frame-edge.gif') top right no-repeat,
        url('../images/content/box-frame-edge.gif') bottom left no-repeat,
        url('../images/content/box-frame-edge.gif') bottom right no-repeat,
        url('../images/content/table-headline-border.gif') top repeat-x,
        url('../images/content/table-headline-border.gif') bottom repeat-x,
        url('../images/content/box-frame-vertical.gif') left repeat-y,
        url('../images/content/box-frame-vertical.gif') right repeat-y,
        var(--rw-dusk-green);
    color: var(--rw-dusk-cream) !important;
    font: bold 15px/1.3 Georgia, serif;
}

body.rw-shell .rw-account-logs summary {
    cursor: pointer;
}

body.rw-shell .rw-account-scroll {
    max-width: 100%;
    overflow-x: auto;
}

body.rw-shell .Content .BoxContent .rw-account-records table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-records table :is(th, td) {
    height: auto;
    padding: 5px 9px;
    border: 0;
    border-bottom: 1px solid #bba67e;
    background: var(--rw-aged-paper-raised);
    color: var(--rw-aged-ink) !important;
    font: 13px/1.35 Arial, sans-serif;
    text-align: left;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-records table tbody tr:nth-child(even) > :is(th, td),
html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-records table thead th {
    background: var(--rw-aged-paper);
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-records table th {
    color: var(--rw-aged-green) !important;
    font-weight: bold;
}

body.rw-shell .rw-account-general th[scope="row"] {
    width: 34%;
}

body.rw-shell .rw-account-records .rw-account-actions {
    margin: 0;
    padding: 7px 9px;
    background: var(--rw-aged-paper);
}

.rw-account-col-name { width: 35%; }
.rw-account-col-level { width: 32%; }
.rw-account-col-status { width: 17%; }
.rw-account-col-actions { width: 16%; }

body.rw-shell .rw-account-character-table small {
    color: var(--rw-aged-muted);
    font-size: 11px;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-records .rw-account-positive {
    color: var(--rw-aged-link) !important;
    font-weight: bold;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-character-edit {
    display: inline-block;
    color: var(--rw-aged-link) !important;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 550px) {
    html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-account-records table :is(th, td) {
        padding: 5px 6px;
        font-size: 12px;
    }

    .rw-account-col-status { width: 18%; }
    .rw-account-col-actions { width: 20%; }
    .rw-account-col-level { width: 27%; }
}

body.rw-shell .rw-login-layout {
    gap: 10px;
    padding: 12px;
}

body.rw-shell .rw-login-new a:not(.rw-form-link) {
    display: inline-block;
    margin-top: 6px;
}

body.rw-shell .Content .BoxContent .rw-account-panel a:is(:hover, :focus-visible),
body.rw-shell .Content .BoxContent .rw-account-tools a:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.rw-shell .Content .BoxContent .rw-downloads .rw-download-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 11px;
    padding: 11px 12px;
}

body.rw-shell .Content .BoxContent .rw-downloads .rw-download-intro h2 {
    font-size: 20px;
}

.rw-downloads .rw-download-intro .rw-launch-countdown {
    margin: 0;
}

.rw-downloads .rw-download-access {
    padding: 9px 12px;
}

.rw-downloads .rw-download-requirements {
    padding: 0 12px 9px;
}

body.rw-shell .Content .BoxContent .rw-downloads .rw-download-steps li {
    padding: 7px 7px 7px 30px;
    border: 1px solid var(--rw-aged-paper-line);
    background: var(--rw-aged-paper-inset);
}

body.rw-shell .Content .BoxContent .rw-downloads .rw-download-steps li::before {
    top: 7px;
    left: 7px;
}

@media (max-width: 720px) {
    .rw-account-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    body.rw-shell .Content .BoxContent .rw-downloads .rw-download-intro {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .rw-downloads .rw-download-intro .rw-launch-countdown {
        grid-column: 1 / -1;
        justify-self: start;
    }

    body.rw-shell .Content .BoxContent :is(#createaccount input:not([type="hidden"], [type="checkbox"], [type="radio"]), #createaccount select) {
        min-height: 38px;
        font-size: 16px;
    }

    body.rw-shell #createaccount .LabelV {
        width: 34% !important;
    }

    .rw-account-social .rw-classic-socials a.rw-classic-social {
        flex: 1 1 38%;
    }
}
