.rw-shell {
    --rw-paper: var(--rw-aged-paper);
    --rw-paper-alt: var(--rw-aged-paper-inset);
    --rw-paper-ink: var(--rw-aged-ink);
    --rw-paper-green: var(--rw-aged-green);
}

html[data-relaxera-theme] body.relaxera-site.rw-shell {
    background: var(--rw-dusk-deep);
    color: var(--rw-dusk-cream);
}

html[data-relaxera-theme] body.rw-shell #ArtworkHelper.relaxera-artwork {
    background: var(--rw-dusk-backdrop) !important;
}

body.rw-shell .rw-classic-brand strong {
    color: #fae8b8;
    letter-spacing: .025em;
    text-shadow: 0 2px 3px #0d100d;
}

body.rw-shell .rw-classic-brand em {
    color: var(--rw-dusk-gold);
}

body.rw-shell .rw-classic-topline,
body.rw-shell .rw-classic-online,
body.rw-shell #Footer.rw-site-footer {
    border-color: var(--rw-dusk-brass);
    background-color: var(--rw-dusk-panel);
    color: var(--rw-dusk-cream);
}

body.rw-shell .rw-classic-online > span,
body.rw-shell .rw-classic-online small,
body.rw-shell .rw-sidebar-login label,
body.rw-shell .rw-nav-note {
    color: var(--rw-dusk-muted);
}

body.rw-shell .rw-classic-nav section {
    border: 1px solid var(--rw-dusk-brass);
    border-top-color: #a0895d;
    border-radius: 2px;
    margin-bottom: 4px;
    background: var(--rw-dusk-panel);
    box-shadow: inset 0 0 0 1px #101710;
}

body.rw-shell .rw-classic-nav h2 {
    border-bottom: 1px solid var(--rw-dusk-brass);
    border-radius: 0;
    background-color: var(--rw-dusk-green);
    background-image: linear-gradient(#405139, #2c3b29);
    color: var(--rw-dusk-gold);
    font: 700 12px/1.35 Georgia, serif;
    letter-spacing: .045em;
}

body.rw-shell .rw-classic-nav a {
    color: var(--rw-dusk-cream);
    font-size: 13px;
}

body.rw-shell .rw-classic-nav .rw-nav-recovery,
body.rw-shell .rw-sidebar-login label {
    font-size: 12px;
}

body.rw-shell .rw-classic-nav a:hover,
body.rw-shell .rw-classic-nav a[aria-current=page] {
    background: var(--rw-dusk-green);
    color: #fff0c4;
    box-shadow: inset 2px 0 var(--rw-dusk-gold);
}

body.rw-shell .rw-classic-nav .rw-nav-register {
    border-color: var(--rw-dusk-brass);
    color: var(--rw-dusk-gold);
}

html[data-relaxera-theme] body.rw-shell .rw-sidebar-login input:not([type='hidden']) {
    background: #131a13;
    border-color: #a39069;
    color: var(--rw-dusk-cream);
}

body.rw-shell .rw-sidebar-login input::placeholder {
    color: var(--rw-dusk-muted);
}

html[data-relaxera-theme] body.rw-shell .Content .Box {
    background: var(--rw-dusk-panel);
    border-color: var(--rw-dusk-brass);
    box-shadow: 0 8px 26px #070a0873;
}

html[data-relaxera-theme] body.rw-shell .Content .BorderTitleText {
    border-color: var(--rw-dusk-brass);
    background: var(--rw-dusk-green) var(--rw-dusk-bevel) !important;
    box-shadow: inset 0 1px #dcc58a2b;
}

html[data-relaxera-theme] body.rw-shell .rw-page-title {
    color: var(--rw-dusk-title);
    font: 700 14px/21px Georgia, serif;
    letter-spacing: .075em;
}

/* Parchment gives dense tables, older forms and long guides a consistent reading surface. */
html[data-relaxera-theme] body.rw-shell .Content .BoxContent {
    background: var(--rw-paper) !important;
    color: var(--rw-paper-ink);
    font-size: 14px;
    line-height: 1.55;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-document-title {
    border-color: var(--rw-aged-paper-line);
    color: var(--rw-paper-green);
}

body.rw-shell .rw-breadcrumbs a {
    color: var(--rw-aged-link) !important;
    text-decoration: underline;
}

body.rw-shell .rw-character-profile,
body.rw-shell .rw-character-profile .rw-character-overview > tbody > tr > td:first-child {
    font-size: 12px;
}

body.rw-shell .rw-character-profile .rwcp-explainer {
    color: var(--rw-aged-muted);
    font-size: 12px;
}

body.rw-shell .rw-login-layout {
    padding: 14px;
    border: 1px solid var(--rw-dusk-brass);
    background: var(--rw-dusk-panel);
    color: var(--rw-dusk-cream);
}

body.rw-shell .rw-login-layout :is(p, label) {
    color: var(--rw-dusk-cream);
    font-size: 14px !important;
}

body.rw-shell .rw-login-layout label.red {
    color: #ffc4b5;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-login-layout h2 {
    color: #fff0c4;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-login-layout a,
body.rw-shell .rw-login-new .rw-home-eyebrow {
    color: var(--rw-dusk-gold) !important;
}

body.rw-shell .rw-login-layout a:not(.rw-form-link) {
    font-size: 13px;
    text-decoration: underline;
}

html[data-relaxera-theme] body.rw-shell .Content .rw-login-form > input:not([type='hidden']) {
    height: 36px !important;
    border-color: #a39069;
    background: #131a13;
    color: var(--rw-dusk-cream);
}

body.rw-shell .rc-orders small,
body.rw-shell #Footer.rw-site-footer {
    font-size: 12px;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-download-hero {
    background-color: var(--rw-dusk-panel);
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-download-hero h1 {
    color: #fff0c4;
}

html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rc-shop button:disabled {
    color: #494536 !important;
}

body.rw-shell .Content .BoxContent
    :is(.rc-notice, .rc-card, .rc-premium, .rw-download-steps li, .rw-purchase-receipt, .rw-receipt-message) {
    background-color: var(--rw-aged-paper-raised);
    border-color: var(--rw-aged-paper-line);
}

body.rw-shell .Content .BoxContent .rw-receipt-details {
    background-color: var(--rw-aged-paper);
    border-color: var(--rw-aged-paper-line);
}

body.rw-shell .Content .BoxContent
    :is(.rw-receipt-seller, .rw-receipt-help, .rw-receipt-details dt, .rc-orders small) {
    color: var(--rw-aged-muted);
}

html[data-relaxera-theme] body.rw-shell.page-home .Content .BoxContent {
    background: var(--rw-dusk-panel) !important;
    color: var(--rw-dusk-cream);
}

body.rw-shell.page-home .rw-classic-welcome,
body.rw-shell.page-home .rw-daily-strip,
body.rw-shell.page-home .rw-home-feature-grid a {
    background: var(--rw-dusk-raised);
    border-color: var(--rw-dusk-brass);
    color: var(--rw-dusk-cream);
}

body.rw-shell.page-home .rw-classic-welcome {
    border: 1px solid var(--rw-dusk-brass);
    border-left: 3px solid #a48957;
}

html[data-relaxera-theme] body.rw-shell.page-home .Content .BoxContent
    :is(.rw-document-title, .rw-home-adventures h2) {
    color: #fff0c4;
}

body.rw-shell.page-home .rw-classic-welcome p {
    color: var(--rw-dusk-cream);
    font: 14px/1.55 Arial, sans-serif;
}

html[data-relaxera-theme] body.rw-shell.page-home .Content .BoxContent
    :is(.rw-home-actions a:not(.rw-classic-create), .rw-home-feature-grid a, .rw-daily-strip a) {
    color: var(--rw-dusk-gold) !important;
}

body.rw-shell.page-home .rw-home-actions a:not(.rw-classic-create) {
    text-decoration: underline;
}

html[data-relaxera-theme] body.rw-shell.page-home .Content .BoxContent .rw-home-actions .rw-classic-create {
    border: 1px solid #9f895e;
    background: var(--rw-dusk-green);
    color: #fff0c4 !important;
}

html[data-relaxera-theme] body.rw-shell.page-home .Content .BoxContent .rw-home-actions .rw-home-discord {
    background: #d5b575;
    color: #202319 !important;
}

body.rw-shell.page-home .rw-home-feature-grid span,
body.rw-shell.page-home .rw-daily-strip small {
    color: var(--rw-dusk-muted);
    font-size: 12px;
}

body.rw-shell.page-home .rw-home-feature-grid a:hover {
    border-color: var(--rw-dusk-gold);
    background: var(--rw-dusk-green);
}

body.rw-shell :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid #885d19;
    outline-offset: 2px;
}

body.rw-shell :is(.rw-classic-header, .rw-classic-nav, .rw-login-layout, .rw-download-hero, #Footer)
    :is(a, button, input):focus-visible,
body.rw-shell.page-home .BoxContent :is(a, button, input):focus-visible {
    outline-color: #f2d189;
}

@media (max-width: 640px) {
    html[data-relaxera-theme] body.rw-shell .Content .rw-login-form > input:not([type='hidden']) {
        font-size: 16px;
    }
}

body.rw-shell .rw-launch-countdown:not([hidden]) {
    display: inline-flex;
    align-items: baseline;
    gap: 4px 8px;
    max-width: 100%;
    margin: 0 0 8px;
    padding: 4px 8px;
    border: 1px solid var(--rw-dusk-brass);
    border-radius: 2px;
    background: var(--rw-dusk-panel);
    color: var(--rw-dusk-cream);
    font: 12px/1.35 Arial, sans-serif;
}

body.rw-shell .rw-launch-countdown strong {
    color: var(--rw-dusk-gold);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

body.rw-shell .rw-download-form .rw-launch-countdown {
    justify-self: start;
    margin: 0;
}
