.PageHeader-module__HZea0q__header {
    z-index: 1;
    aspect-ratio: 6114/289;
    background: url(../images/otwars-header-editable-v31.png) 50%/100% 100% no-repeat;
    align-items: center;
    width: calc(100% + 18px);
    margin-left: -9px;
    margin-right: -9px;
    display: flex;
    position: relative
}

.PageHeader-module__HZea0q__headerContent {
    align-items: center;
    width: 100%;
    padding-top: 3px;
    padding-left: 28px;
    padding-right: 46px;
    display: flex
}

.PageHeader-module__HZea0q__title {
    min-width: 0;
    font-family: var(--font-medieval);
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #f0e6d2;
    text-shadow: 1px 1px 2px #000c;
    flex: 1;
    align-items: center;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    display: flex
}

.PageHeader-module__HZea0q__title>span,.PageHeader-module__HZea0q__title>div {
    align-items: center;
    gap: 8px;
    width: 100%;
    display: flex
}

.PageHeader-module__HZea0q__titleIcon {
    color: #f0e6d2;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    margin-right: 6px;
    display: flex
}

.PageHeader-module__HZea0q__headerAction {
    color: #f0e6d2;
    cursor: pointer;
    background: #00000040;
    border: 1px solid #b8860b80;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    text-decoration: none;
    transition: all .15s;
    display: flex;
    box-shadow: inset 0 1px #ffffff1a
}

.PageHeader-module__HZea0q__headerAction:hover {
    color: #fff;
    background: #0006;
    border-color: #b8860bcc;
    transform: scale(1.05)
}

.PageHeader-module__HZea0q__editButton {
    color: #f0e6d2;
    cursor: pointer;
    background: #00000040;
    border: 1px solid #b8860b80;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    margin-left: auto;
    padding: 0;
    text-decoration: none;
    transition: all .15s;
    display: flex;
    box-shadow: inset 0 1px #ffffff1a
}

.PageHeader-module__HZea0q__editButton:hover {
    color: #fff;
    background: #0006;
    border-color: #b8860bcc;
    transform: scale(1.05)
}

.PageBody-module__OAJIWq__body {
    z-index: 0;
    background: linear-gradient(#f5e6c8,#efe0be,#e8d5ac);
    border: 3px solid #b8860b;
    border-top: none;
    border-radius: 0 0 6px 6px;
    width: calc(100% - 2px);
    margin-top: -12px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-shadow: inset 0 1px #ffffff4d,inset 0 -2px 4px #0000001a,0 2px 8px #0003
}

.PageBody-module__OAJIWq__body:before {
    content: "";
    pointer-events: none;
    border-radius: 0 0 4px 4px;
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 12px #b8860b26
}

.PageBody-module__OAJIWq__content {
    padding: 24px 20px 20px
}

[data-theme=dark] .PageBody-module__OAJIWq__body {
    background: linear-gradient(#2a2520,#231f1a,#1c1915);
    border-color: #6b5a28;
    box-shadow: inset 0 1px #ffffff0d,inset 0 -2px 4px #0000004d,0 2px 8px #0006
}

[data-theme=dark] .PageBody-module__OAJIWq__body:before {
    box-shadow: inset 0 0 12px #6b5a2833
}

/* OTWARS V3 CENTER BEGIN */

/*
 * PageHeader remains the original header-editable.png.
 * Only PageBody changes from parchment to OTWars navy/steel.
 */

.PageBody-module__OAJIWq__body {
    --foreground: #dce8f5;
    --text-muted: #93a9be;
    --text-link: #57bdff;
    --text-link-hover: #f2cc6e;
    --hover-bg: rgba(24,111,177,.18);
    --active-bg: rgba(24,111,177,.26);
    --box-inner-bg: #0a1c2f;
    --box-inner-border: #705522;
    --box-inner-shadow: 2px 2px 4px rgba(0,0,0,.35);
    --input-bg: #081827;
    --input-text: #e6eff8;
    --input-border: #765b28;

    color: #dce8f5;
    background:
        radial-gradient(ellipse at 50% 0%,rgba(24,113,187,.10),transparent 45%),
        linear-gradient(180deg,#0c2238 0%,#081a2c 52%,#051320 100%);
    border-color: #b8860b;
    box-shadow:
        inset 0 1px rgba(255,255,255,.06),
        inset 0 -2px 7px rgba(0,0,0,.32),
        0 2px 8px rgba(0,0,0,.38);
}

.PageBody-module__OAJIWq__body:before {
    box-shadow:
        inset 0 0 18px rgba(18,108,179,.08),
        inset 0 0 0 1px rgba(221,177,75,.08);
}

[data-theme=dark] .PageBody-module__OAJIWq__body {
    color: #dce8f5;
    background:
        radial-gradient(ellipse at 50% 0%,rgba(24,113,187,.10),transparent 45%),
        linear-gradient(180deg,#0c2238 0%,#081a2c 52%,#051320 100%);
    border-color: #b8860b;
}

[data-theme=dark] .PageBody-module__OAJIWq__body:before {
    box-shadow:
        inset 0 0 18px rgba(18,108,179,.08),
        inset 0 0 0 1px rgba(221,177,75,.08);
}

/* OTWARS V3 CENTER END */

/* OTWARS V32 CENTER BEGIN */

/* Keep the V3 geometry; only improve hierarchy and depth. */

.PageBody-module__OAJIWq__body {
    color: #dce8f4 !important;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(29,119,192,.10),
            transparent 50%
        ),
        linear-gradient(
            180deg,
            #0c2237 0%,
            #081b2d 55%,
            #061521 100%
        ) !important;
    border-color: #a87c2c !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        inset 0 -3px 10px rgba(0,0,0,.25),
        0 3px 8px rgba(0,0,0,.34) !important;
}

.PageBody-module__OAJIWq__content {
    color: #dce8f4 !important;
}

.PageBody-module__OAJIWq__body table {
    color: #d9e6f2;
}

.PageBody-module__OAJIWq__body tr {
    border-color: rgba(145,107,41,.42) !important;
}

.PageBody-module__OAJIWq__body tr:hover {
    background: rgba(24,105,167,.13) !important;
}

.PageBody-module__OAJIWq__body .ticker-content {
    color: #e3edf7 !important;
}

/* OTWARS V32 CENTER END */

/* OTWARS V33 CENTER BEGIN */

/* Page header: keep exact asset, only add a subtle steel-blue veil. */
.PageHeader-module__HZea0q__header {
    background-image:
        linear-gradient(
            180deg,
            rgba(10,47,76,.16),
            rgba(3,21,37,.20)
        ),
        url("../images/otwars-header-editable-v31.png") !important;
    background-size: 100% 100%,100% 100% !important;
    background-repeat: no-repeat,no-repeat !important;
    background-position: center,center !important;
}

.PageHeader-module__HZea0q__title {
    color: #f0d27a !important;
    text-shadow:
        0 1px 2px rgba(0,0,0,.95),
        0 0 6px rgba(33,126,203,.10) !important;
}

.PageHeader-module__HZea0q__titleIcon {
    color: #dcb85a !important;
}

/* Slightly brighter navy body; preserve existing geometry. */
.PageBody-module__OAJIWq__body {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(30,124,198,.11),
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #0d263e 0%,
            #091d31 55%,
            #061622 100%
        ) !important;
    border-color: #a97d2d !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        inset 0 -3px 10px rgba(0,0,0,.24),
        0 3px 8px rgba(0,0,0,.34) !important;
}

.PageBody-module__OAJIWq__content {
    color: #e0eaf4 !important;
}

.PageBody-module__OAJIWq__body table {
    color: #dce7f1 !important;
}

.PageBody-module__OAJIWq__body td {
    border-color: rgba(139,104,41,.34) !important;
}

.PageBody-module__OAJIWq__body tr:hover {
    background: rgba(21,101,163,.15) !important;
}

.PageBody-module__OAJIWq__body .ticker-content {
    color: #e6eef7 !important;
}

/* OTWARS V33 CENTER END */

/* OTWARS V482 HIGHSCORES OUTFIT BEGIN */

/*
 * Highscores front-facing outfit, same 64x64 table area.
 *
 * Measured direction=3:
 * Canvas:  64x64
 * Visible: 32x32
 * Bounds:  X 32..63, Y 32..63
 */

.otwars-highscores-outfit-crop {
    position: relative !important;

    display: block !important;

    width: 64px !important;
    height: 64px !important;

    min-width: 64px !important;
    min-height: 64px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;
}

.otwars-highscores-outfit-crop
img[data-danera-current-look="1"] {
    position: absolute !important;

    left: -58px !important;
    top: -58px !important;

    display: block !important;

    width: 120px !important;
    height: 120px !important;

    min-width: 120px !important;
    min-height: 120px !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: fill !important;

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;

    transform: none !important;

    image-rendering: pixelated;

    filter:
        drop-shadow(0 2px 1px rgba(0,0,0,.62)) !important;
}

/*
 * Preserve existing Highscores geometry.
 */
#highscoresTable td:first-child {
    width: 64px !important;
    max-width: 64px !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    vertical-align: middle !important;
}

/* OTWARS V482 HIGHSCORES OUTFIT END */
